RefLib

Reference library for AI

Back

postgresql_16:7.1.84.5 Compatibility

PostgreSQL 16 > Reference > SQL Commands > CREATE TABLE AS > Compatibility

CREATE TABLE AS conforms to the SQL standard. The following are nonstandard extensions: The standard requires parentheses around the subquery clause; in PostgreSQL, these parentheses are optional. In the standard, the WITH [ NO ] DATA clause is required; in PostgreSQL it is optional. PostgreSQL handles temporary tables in a way rather different from the standard; see (see postgresql_16:7.1.83) for details. The WITH clause is a PostgreSQL extension; storage parameters are not in the standard. The PostgreSQL concept of tablespaces is not part of the standard. Hence, the clause TABLESPACE is an extension.

Back