Re: BUG #15096: Unable to CREATE TABLE LIKE with bigint identity column

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, evgeni-klimov(at)yandex(dot)ru, pgsql-bugs(at)lists(dot)postgresql(dot)org, Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
Subject: Re: BUG #15096: Unable to CREATE TABLE LIKE with bigint identity column
Date: 2018-03-04 23:56:54
Message-ID: 20180304235654.GA32165@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Andrew Gierth 2018-03-05 00:16:03 Re: BUG #15096: Unable to CREATE TABLE LIKE with bigint identity column
Previous Message Sergei Kornilov 2018-03-04 09:14:47 Re: BUG #15097: pgadmin3 tabs not properly themed with wxGTK3