## Bruno Wolff III ([email protected]):

> I was curious whether or not primary key could refer to a generated
> always as column. I didn't find an answer under create table or
> section 5.4. Maybe I missed it. It was easy enough to test and seems
> to work like I guessed.

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?

Regards,
Christoph

-- 
Spare Space


Reply via email to