Re: Update to equivalent SQL in 8.1.4. Serial Types

2019-04-08 Thread Peter Eisentraut
On 2019-02-20 13:47, PG Doc comments form wrote: > CREATE TABLE tablename ( > colname SERIAL > ); > > is equivalent to > > CREATE SEQUENCE tablename_colname_seq; > CREATE TABLE tablename ( > colname integer NOT NULL DEFAULT nextval('tablename_colname_seq') > ); > ALTER SEQUENCE

Update to equivalent SQL in 8.1.4. Serial Types

2019-02-20 Thread PG Doc comments form
The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/11/datatype-numeric.html Description: In 8.1.4. Serial Types it says that CREATE TABLE tablename ( colname SERIAL ); is equivalent to CREATE SEQUENCE tablename_colname_seq; CREATE