Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1esdVB-0008Rb-QR for pgsql-bugs@arkaria.postgresql.org; Sun, 04 Mar 2018 23:57:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1esdVA-0004d6-9m for pgsql-bugs@arkaria.postgresql.org; Sun, 04 Mar 2018 23:57:12 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1esdV9-0004cx-KW for pgsql-bugs@lists.postgresql.org; Sun, 04 Mar 2018 23:57:12 +0000 Received: from new1-smtp.messagingengine.com ([66.111.4.221]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1esdV6-0008RT-5P for pgsql-bugs@lists.postgresql.org; Sun, 04 Mar 2018 23:57:11 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id 87BCF1270; Sun, 4 Mar 2018 18:57:04 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Sun, 04 Mar 2018 18:57:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=aon0TT3/MQEJ+W2wiB+igXIZ9ZHC2cg7EkwYbBCz/eE=; b=rIRH00kk MYWqIiH8nXgmN4rMHdMHmiUj8do1mDCwjg7Y9/UsvtI07Jo+Vpw38w7UkR00D2W5 ka4EK7dc0mEDY+z+Iwp8yGg7ic9H8KimvdBWaD47ykKBErzC+2ZMODM+3MQGbPMV kbUtwurPQLIIYUTJV2jd5aHLn9JHG2TlrVElbKYDv2LHDlvFQ5IKlwYWRNfkO+Ag P8IkMerwVl68RXxez9D3KD3P98Qu0QthY3xnabr1vNICwUPSzHAytyWJ+r/btdmL F5JuKzcJds5PA10LvgjCwO3dcQbzOf7syCByYfQapchDB5z5V8XlKXG679JA3fyn z/qmDnOMsMHlUw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=aon0TT3/MQEJ+W2wiB+igXIZ9ZHC2 cg7EkwYbBCz/eE=; b=mQ4eRufhp4ped7jI0rRZbs6b1gHUCkXqogTXAFZ7PIrQJ CVKCbyeO2vUPazVoLUYIePf5kWrnKe9EoPHn3BHpZrIp7AbCQWUorS4PY3Hr3jlW vMmEaq5igjLaNLT0JdCiavrJfbZsch9SGX7D7lrpSWaNv/Y4xMFTmHiDfM+mlpOV MhekyzCadXED1A2Qme82j42lc6tDol/FVhhdSl13q5a90803NDb8c8IhQT+yMfsY YgP8tBS2nMQwhD7RU1eq0TH3KhrJIBgjWP3FpfYjaEyJKFuLjHoY+qv5Ztk0kWmf mpc0qsWRve5ze/GuZhcFDlG+r45GXcTMc61hzq2uQ== X-ME-Sender: Received: from paquier.xyz (c137162.net61215.cablenet.ne.jp [61.215.137.162]) by mail.messagingengine.com (Postfix) with ESMTPA id 965EF24519; Sun, 4 Mar 2018 18:57:02 -0500 (EST) Date: Mon, 5 Mar 2018 08:56:54 +0900 From: Michael Paquier To: Andrew Gierth Cc: Tom Lane , evgeni-klimov@yandex.ru, pgsql-bugs@lists.postgresql.org, Peter Eisentraut Subject: Re: BUG #15096: Unable to CREATE TABLE LIKE with bigint identity column Message-ID: <20180304235654.GA32165@paquier.xyz> References: <152009601619.21242.262498029671910378@wrigleys.postgresql.org> <31194.1520098424@sss.pgh.pa.us> <87po4lkkaj.fsf@news-spur.riddles.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="J/dobhs11T7y2rNN" Content-Disposition: inline In-Reply-To: <87po4lkkaj.fsf@news-spur.riddles.org.uk> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --J/dobhs11T7y2rNN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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=20 a string? And as far as I can see defGetInt64 is only used by sequences. -- Michael --J/dobhs11T7y2rNN Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAlqch8YACgkQnvQgOdby QH0jNw//VApqqwbnq+wZOxlomwMGStj4dBmhoOuQZebxYd/L8ZhmoOurj2rmBsNr BMV0F2mv2IxOJ9EuM9kSNBq2/nreX+HlVeInrkzDbfaH57VM0ZmET/69r3OX2v2h +7ZdfIjaye6lEY8dydN5bfeRdTx6l6OLHQNUp6jJl0bTZXu+7tCT2WmJk7KWGGaO d9ZGacklzzUnUU5eReyF5oLfbKscl359fOottLbPb9i/dPj+472LQSiVE+r+ZLbB 0xBsxktrlxvrSqHKZIDLPBQNljnyjJisVIwidaQP36QZCvIG+yEAZ2j4mh8LTbMS jkTYtM2w1LFCKylDIdcG7qQJolz8eQx0vOP4avgmip4oJV1ef0nZapGzt99zBU2E et7kHOdEACUzKKHujlmJXUevopTgYkCqzB+h9a413kDDqq6DFv87tycjF25TPKLp y3kplbckon3Ibt6Ag0C0LqafBpRrdT7lMK+1wZTwGr9B7znCiAVHI7oGenwa0msy c1vQUvmIrYLOsrelIBx0KhBJkcYkccHtO1kZ6ypIkoP+dBA2O201RJZuasoJPMSR AHP9NnQzctp0ZiW1puG3mUmVEPidRdbl3my+qs5CVbDVQGO7R7RTsozWk6DDpxch x3w5aIthTgBzZYeO4zVIxJCLSoSucBBIdLfBu5HH4axQGCm3ZJo= =ELdf -----END PGP SIGNATURE----- --J/dobhs11T7y2rNN--