On 7 April 2017 at 00:44, Peter Eisentraut <peter_e@gmx.net> wrote:
> Identity columns
>
> This is the SQL standard-conforming variant of PostgreSQL's serial
> columns. It fixes a few usability issues that serial columns have:
>
> - CREATE TABLE / LIKE copies default but refers to same sequence
> - cannot add/drop serialness with ALTER TABLE
> - dropping default does not drop sequence
> - need to grant separate privileges to sequence
> - other slight weirdnesses because serial is some kind of special macro
Attached is a small patch which fixes up a warning for compilers not
smart enough to know the elog(ERROR) does not return.
--
David Rowley http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services