From: Michael Paquier <michael@paquier.xyz>
To: Andrew Gierth <andrew@tao11.riddles.org.uk>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: evgeni-klimov@yandex.ru, pgsql-bugs@lists.postgresql.org, Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Subject: Re: BUG #15096: Unable to CREATE TABLE LIKE with bigint identity column
Date: Mon, 5 Mar 2018 08:56:54 +0900
Message-ID: <20180304235654.GA32165@paquier.xyz> (raw)
In-Reply-To: <87po4lkkaj.fsf@news-spur.riddles.org.uk>
References: <152009601619.21242.262498029671910378@wrigleys.postgresql.org>
<31194.1520098424@sss.pgh.pa.us>
<87po4lkkaj.fsf@news-spur.riddles.org.uk>
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
Attachments:
signature.asc (application/pgp-signature, 832B) download
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: michael@paquier.xyz, andrew@tao11.riddles.org.uk, tgl@sss.pgh.pa.us, peter.eisentraut@2ndquadrant.com
Subject: Re: BUG #15096: Unable to CREATE TABLE LIKE with bigint identity column
In-Reply-To: <20180304235654.GA32165@paquier.xyz>
References: <152009601619.21242.262498029671910378@wrigleys.postgresql.org> <31194.1520098424@sss.pgh.pa.us> <87po4lkkaj.fsf@news-spur.riddles.org.uk> <20180304235654.GA32165@paquier.xyz>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox