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.
(You can refer to it in a primary key iff it is stored.)
It might be worth noting this somewhere in the documentation, if it already isn't in there, someplace I missed.


Reply via email to