Search PostgreSQL documentation
PG 18 · Browse by category, or enter a name or keyword
Category index4025
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
CompatibilityCompatibility
VALUES conforms to the SQL standard. LIMIT and OFFSET are PostgreSQL extensions; see also under SELECT.Compatibility
Compiling and Linking Dynamically-Loaded Functions36.10.5. Compiling and Linking Dynamically-Loaded Functions
Before you are able to use your PostgreSQL extension functions written in C, they must be compiled and linked in a special way to …Compiling and Linking Dynamically-Loaded Functions
Compiling for Dynamic Tracing27.5.1. Compiling for Dynamic Tracing
By default, probes are not available, so you will need to explicitly tell the configure script to make the probes available in PostgreSQL. To include DT…Compiling for Dynamic Tracing
Compiling for Optimal Performance17.7.4.3. Compiling for Optimal Performance
On the SPARC architecture, Sun Studio is strongly recommended for compilation. Try using the -xO5 optimization flag to generate significantly fast…Compiling for Optimal Performance
Composite Type Comparison9.25.6. Composite Type Comparison
record operator record
The SQL specification requires row-wise comparison to return NULL if the result depends on comparing two NULL values or a NULL and a …Composite Type Comparison
Composite Type Input and Output Syntax8.16.6. Composite Type Input and Output Syntax
The external text representation of a composite value consists of items that are interpreted according to the I/O conversion rules for the indi…Composite Type Input and Output Syntax
Composite Types34.4.5.2. Composite Types
Composite types are not directly supported in ECPG, but an easy workaround is possible. The available workarounds are similar to the ones described for arrays above…Composite Types
Composite Types44.2.4. Composite Types
Composite-type arguments are passed to the function as Python mappings. The element names of the mapping are the attribute names of the composite type. If an attribut…Composite Types
Composite Types8.16. Composite Types
A composite type represents the structure of a row or record; it is essentially just a list of field names and their data types. PostgreSQL allows composite types to be…Composite Types
Composite TypesComposite Types
The first form of CREATE TYPE creates a composite type. The composite type is specified by a list of attribute names and data types. An attribute's collation can be specified…Composite Types
Composite-Type Arguments36.10.7. Composite-Type Arguments
Composite types do not have a fixed layout like C structures. Instances of a composite type can contain null fields. In addition, composite types that are p…Composite-Type Arguments
compress-algoF.26.3.8.2. compress-algo
Which compression algorithm to use. Only available if PostgreSQL was built with zlib.
Values: 0 - no compression 1 - ZIP compression 2 - ZLIB compression (= ZIP plu…compress-algo
compress-levelF.26.3.8.3. compress-level
How much to compress. Higher levels compress smaller but are slower. 0 disables compression.
Values: 0, 1-9 Default: 6 Applies to: pgp_sym_encrypt, pgp_pub_encryptcompress-level
Compressed Archive Logs25.3.7.2. Compressed Archive Logs
If archive storage size is a concern, you can use gzip to compress the archive files:
archive_command = 'gzip < %p > /mnt/server/archivedir/%f.gz'
You will …Compressed Archive Logs
More results
Find definitions in the PostgreSQL manuals, reference library, and extension catalogue.
pg17: choose a version ex: extensions only ↑↓ select ↵ open