From 25976710dfd8611d3fc79c0c1e20179ff7a940ec Mon Sep 17 00:00:00 2001
From: Stephen Frost <sfrost@snowman.net>
Date: Tue, 25 Nov 2014 11:48:16 -0500
Subject: [PATCH] Add int64 -> int8 mapping to genbki

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 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/backend/catalog/Catalog.pm b/src/backend/catalog/Catalog.pm
index eb91c536834..523b37995db 100644
--- a/src/backend/catalog/Catalog.pm
+++ b/src/backend/catalog/Catalog.pm
@@ -33,6 +33,7 @@ sub Catalogs
 	my %RENAME_ATTTYPE = (
 		'int16'         => 'int2',
 		'int32'         => 'int4',
+		'int64'         => 'int8',
 		'Oid'           => 'oid',
 		'NameData'      => 'name',
 		'TransactionId' => 'xid');
-- 
GitLab