Re: BUG #15096: Unable to CREATE TABLE LIKE with bigint identitycolumn - Mailing list pgsql-bugs

From Michael Paquier
Subject Re: BUG #15096: Unable to CREATE TABLE LIKE with bigint identitycolumn
Date
Msg-id 20180304235654.GA32165@paquier.xyz
Whole thread Raw
In response to Re: BUG #15096: Unable to CREATE TABLE LIKE with bigint identity column  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Responses Re: BUG #15096: Unable to CREATE TABLE LIKE with bigint identity column  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
List pgsql-bugs
On Sat, Mar 03, 2018 at 07:55:41PM +0000, Andrew Gierth wrote:
> sequence_options thinks it can put all the sequence parameters through
> makeInteger and have them come out intact.

Yeah, on 32b machines "long" is 4 bytes...  Perhaps it would be the
occasion to introduce a T_Integer64 type for Value which gets stored as
a string?  And as far as I can see defGetInt64 is only used by
sequences.
--
Michael

Attachment

pgsql-bugs by date:

Previous
From: Sergei Kornilov
Date:
Subject: Re: BUG #15097: pgadmin3 tabs not properly themed with wxGTK3
Next
From: Andrew Gierth
Date:
Subject: Re: BUG #15096: Unable to CREATE TABLE LIKE with bigint identity column