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

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

Here is a patch that fixes this bug, and a second patch (not for
backpatching) that changes the Value node to use int instead of long.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Attachment Content-Type Size
0001-Fix-CREATE-TABLE-LIKE-with-bigint-identity-column.patch text/plain 6.0 KB
0002-Change-internal-integer-representation-of-Value-node.patch text/plain 5.2 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2018-03-08 06:59:21 BUG #15101: function set search_path = '' breaks dump/restore
Previous Message Bossart, Nathan 2018-03-07 15:32:33 Re: BUG #14941: Vacuum crashes