]> granicus.if.org Git - postgresql/commitdiff
Add int64 -> int8 mapping to genbki
authorStephen Frost <sfrost@snowman.net>
Tue, 25 Nov 2014 16:48:16 +0000 (11:48 -0500)
committerStephen Frost <sfrost@snowman.net>
Tue, 25 Nov 2014 17:12:19 +0000 (12:12 -0500)
Per discussion with Tom and Andrew, 64bit integers are no longer a
problem for the catalogs, so go ahead and add the mapping from the C
int64 type to the int8 SQL identification to allow using them.

Patch by Adam Brightwell

src/backend/catalog/Catalog.pm

index eb91c5368348dcbf90b1930ab11f91e12b7abee8..523b37995dbef8b689bcda1d47f62959c1a273df 100644 (file)
@@ -33,6 +33,7 @@ sub Catalogs
        my %RENAME_ATTTYPE = (
                'int16'         => 'int2',
                'int32'         => 'int4',
+               'int64'         => 'int8',
                'Oid'           => 'oid',
                'NameData'      => 'name',
                'TransactionId' => 'xid');