You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CREATETABLEissue (
id BIGINT GENERATED ALWAYS AS IDENTITY PRIMARY KEY
);
CREATETABLEfoo (
bar BIGINT GENERATED ALWAYS AS (...) STORED
);
Description
Generated tables in PostgreSQL are the preferred method of creating incrementing primary keys using the IDENTITY clause. Furthermore, generated columns can also be used to make calculations on data that exists in other columns of the table.
The text was updated successfully, but these errors were encountered:
* Add grammar for PostgreSQL `GENERATED` columns
Closes#294
* Remove test assumption
* Removed unused import
* Fix grammar to line up with postgres create table documentation
* Address comments
Dialect
PostgreSQL
Failing SQL
Description
Generated tables in PostgreSQL are the preferred method of creating incrementing primary keys using the
IDENTITY
clause. Furthermore, generated columns can also be used to make calculations on data that exists in other columns of the table.The text was updated successfully, but these errors were encountered: