Search PostgreSQL documentation
PG 18 · Browse by category, or enter a name or keyword
Popular entries9769
CompatibilityCompatibility
This command conforms to the SQL standard, except that the standard only allows one view to be dropped per command, and apart from the IF EXISTS option, which is a PostgreSQL e…Compatibility
CompatibilityCompatibility
END is a PostgreSQL extension that provides functionality equivalent to COMMIT, which is specified in the SQL standard.Compatibility
CompatibilityCompatibility
The SQL standard includes an EXECUTE statement, but it is only for use in embedded SQL. This version of the EXECUTE statement also uses a somewhat different syntax.Compatibility
CompatibilityCompatibility
There is no EXPLAIN statement defined in the SQL standard.
The following syntax was used before PostgreSQL version 9.0 and is still supported:
EXPLAIN [ ANALYZE ] [ VERBOSE ] s…Compatibility
CompatibilityCompatibility
The SQL standard defines FETCH for use in embedded SQL only. The variant of FETCH described here returns the data as if it were a SELECT result rather than placing it in host v…Compatibility
CompatibilityCompatibility
According to the SQL standard, the PRIVILEGES key word in ALL PRIVILEGES is required. The SQL standard does not support setting the privileges on more than one object per comma…Compatibility
CompatibilityCompatibility
The IMPORT FOREIGN SCHEMA command conforms to the SQL standard, except that the OPTIONS clause is a PostgreSQL extension.Compatibility
CompatibilityCompatibility
INSERT conforms to the SQL standard, except that the RETURNING clause is a PostgreSQL extension, as is the ability to use WITH with INSERT, and the ability to specify an altern…Compatibility
CompatibilityCompatibility
There is no LISTEN statement in the SQL standard.Compatibility
CompatibilityCompatibility
LOAD is a PostgreSQL extension.Compatibility
CompatibilityCompatibility
There is no LOCK TABLE in the SQL standard, which instead uses SET TRANSACTION to specify concurrency levels on transactions. PostgreSQL supports that too; see SET TRANSACTION …Compatibility
CompatibilityCompatibility
This command conforms to the SQL standard.
The WITH clause, BY SOURCE and BY TARGET qualifiers to WHEN NOT MATCHED, DO NOTHING action, and RETURNING clause are extensions to th…Compatibility
CompatibilityCompatibility
There is no MOVE statement in the SQL standard.Compatibility
CompatibilityCompatibility
There is no NOTIFY statement in the SQL standard.Compatibility
CompatibilityCompatibility
PREPARE TRANSACTION is a PostgreSQL extension. It is intended for use by external transaction management systems, some of which are covered by standards (such as X/Open XA), bu…Compatibility
CompatibilityCompatibility
The SQL standard includes a PREPARE statement, but it is only for use in embedded SQL. This version of the PREPARE statement also uses a somewhat different syntax.Compatibility
CompatibilityCompatibility
The REASSIGN OWNED command is a PostgreSQL extension.Compatibility
CompatibilityCompatibility
REFRESH MATERIALIZED VIEW is a PostgreSQL extension.Compatibility
CompatibilityCompatibility
There is no REINDEX command in the SQL standard.Compatibility
CompatibilityCompatibility
This command conforms to the SQL standard. The standard specifies that the key word SAVEPOINT is mandatory, but PostgreSQL allows it to be omitted.Compatibility
CompatibilityCompatibility
RESET is a PostgreSQL extension.Compatibility
CompatibilityCompatibility
The compatibility notes of the GRANT command apply analogously to REVOKE. The keyword RESTRICT or CASCADE is required according to the standard, but PostgreSQL assumes RESTRICT…Compatibility
CompatibilityCompatibility
ROLLBACK PREPARED is a PostgreSQL extension. It is intended for use by external transaction management systems, some of which are covered by standards (such as X/Open XA), but …Compatibility
CompatibilityCompatibility
The SQL standard specifies that the key word SAVEPOINT is mandatory, but PostgreSQL and Oracle allow it to be omitted. SQL allows only WORK, not TRANSACTION, as a noise word af…Compatibility
CompatibilityCompatibility
The command ROLLBACK conforms to the SQL standard. The form ROLLBACK TRANSACTION is a PostgreSQL extension.Compatibility
CompatibilityCompatibility
SQL requires a savepoint to be destroyed automatically when another savepoint with the same name is established. In PostgreSQL, the old savepoint is kept, though only the more …Compatibility
CompatibilityCompatibility
There is no SECURITY LABEL command in the SQL standard.Compatibility
CompatibilityCompatibility
Of course, the SELECT statement is compatible with the SQL standard. But there are some extensions and some missing features.Compatibility
CompatibilityCompatibility
The SQL standard uses SELECT INTO to represent selecting values into scalar variables of a host program, rather than creating a new table. This indeed is the usage found in ECP…Compatibility
CompatibilityCompatibility
This command complies with the behavior defined in the SQL standard, except for the limitation that, in PostgreSQL, it does not apply to NOT NULL and CHECK constraints. Also, P…Compatibility
CompatibilityCompatibility
PostgreSQL allows identifier syntax ("rolename"), while the SQL standard requires the role name to be written as a string literal. SQL does not allow this command during a tran…Compatibility
CompatibilityCompatibility
The SQL standard allows some other expressions to appear in place of the literal user_name, but these options are not important in practice. PostgreSQL allows identifier syntax…Compatibility
CompatibilityCompatibility
These commands are defined in the SQL standard, except for the DEFERRABLE transaction mode and the SET TRANSACTION SNAPSHOT form, which are PostgreSQL extensions.
SERIALIZABLE …Compatibility
CompatibilityCompatibility
SET TIME ZONE extends syntax defined in the SQL standard. The standard allows only numeric time zone offsets while PostgreSQL allows more flexible time-zone specifications. All…Compatibility
CompatibilityCompatibility
The SHOW command is a PostgreSQL extension.Compatibility
CompatibilityCompatibility
In the standard, it is not necessary to issue START TRANSACTION to start a transaction block: any SQL command implicitly begins a block. PostgreSQL's behavior can be seen as im…Compatibility
CompatibilityCompatibility
The SQL:2008 standard includes a TRUNCATE command with the syntax TRUNCATE TABLE tablename. The clauses CONTINUE IDENTITY/RESTART IDENTITY also appear in that standard, but hav…Compatibility
CompatibilityCompatibility
There is no UNLISTEN command in the SQL standard.Compatibility
CompatibilityCompatibility
This command conforms to the SQL standard, except that the FROM and RETURNING clauses are PostgreSQL extensions, as is the ability to use WITH with UPDATE.
Some other database …Compatibility
CompatibilityCompatibility
There is no VACUUM statement in the SQL standard.
The following syntax was used before PostgreSQL version 9.0 and is still supported:
VACUUM [ FULL ] [ FREEZE ] [ VERBOSE ] [ A…Compatibility
More results
Find definitions in the PostgreSQL manuals, reference library, and extension catalogue.
pg17: choose a version ex: extensions only ↑↓ select ↵ open