## Adrian Klaver ([email protected]):

> > There's a GENERATED BY DEFAULT in the Examples section of CREATE TABLE:
> > https://www.postgresql.org/docs/current/sql-createtable.html
> > Second CREATE TABLE in the first example block.
> > Is GENERATED ALWAYS so different that it needs extra documentation?
> 
> I would say yes. The example refers to an IDENTITY column where
> DEFAULT is one of two options, the other being ALWAYS. The whole
> command is:

I always considered AS IDENTITY as a short cut for doing all ~handwaving~
that stuff with the sequence manually (just like it was/is with SERIAL).
But maybe it's not as obvious as I thought.

Regards,
Christoph

-- 
Spare Space


Reply via email to