able to infer something of the data itself from such messages.
-
+ id="amcheck-functions">
Functions
-
+ id="amcheck-optional-heapallindexed-verification">
Optional heapallindexed Verification
When the
heapallindexed argument to B-Tree
-
+ id="amcheck-using-amcheck-effectively">
Using amcheck Effectively
-
+ id="amcheck-repairing-corruption">
Repairing Corruption
No error concerning corruption raised by amcheck should
-
+ id="parser-stage-parser">
Parser
-
+ id="parser-stage-transformation-process">
Transformation Process
and plans.
-
+ id="planner-optimizer-generating-possible-plans">
Generating Possible Plans
in postgresql.conf.
-
+ id="auth-delay-configuration-parameters">
Configuration Parameters
-
+ id="auth-delay-author">
Author
that.
-
+ id="auto-explain-configuration-parameters">
Configuration Parameters
-
+ id="auto-explain-configuration-parameters-log-min-duration">
auto_explain.log_min_duration (integer)
-
+ id="auto-explain-configuration-parameters-log-parameter-max-length">
auto_explain.log_parameter_max_length (integer)
-
+ id="auto-explain-configuration-parameters-log-analyze">
auto_explain.log_analyze (boolean)
-
+ id="auto-explain-configuration-parameters-log-buffers">
auto_explain.log_buffers (boolean)
-
+ id="auto-explain-configuration-parameters-log-wal">
auto_explain.log_wal (boolean)
-
+ id="auto-explain-configuration-parameters-log-timing">
auto_explain.log_timing (boolean)
-
+ id="auto-explain-configuration-parameters-log-triggers">
auto_explain.log_triggers (boolean)
-
+ id="auto-explain-configuration-parameters-log-verbose">
auto_explain.log_verbose (boolean)
-
+ id="auto-explain-configuration-parameters-log-settings">
auto_explain.log_settings (boolean)
-
+ id="auto-explain-configuration-parameters-log-format">
auto_explain.log_format (enum)
-
+ id="auto-explain-configuration-parameters-log-level">
auto_explain.log_level (enum)
-
+ id="auto-explain-configuration-parameters-log-nested-statements">
auto_explain.log_nested_statements (boolean)
-
+ id="auto-explain-configuration-parameters-sample-rate">
auto_explain.sample_rate (real)
-
+ id="auto-explain-example">
Example
]]>
-
+ id="auto-explain-author">
Author
.
-
+ id="basebackup-to-shell-configuration-parameters">
Configuration Parameters
-
+ id="basebackup-to-shell-author">
Author
must be enabled.
-
+ id="basic-archive-configuration-parameters">
Configuration Parameters
-
+ id="basic-archive-notes">
Notes
-
+ id="basic-archive-author">
Author
indexes can also perform inequality and range searches.
-
+ id="bloom-parameters">
Parameters
-
+ id="bloom-examples">
Examples
-
+ id="bloom-operator-class-interface">
Operator Class Interface
-
+ id="bloom-limitations">
Limitations
-
+ id="bloom-authors">
Authors
on the current database.
-
+ id="btree-gin-example-usage">
Example Usage
-
+ id="btree-gin-authors">
Authors
on the current database.
-
+ id="btree-gist-example-usage">
Example Usage
-
+ id="btree-gist-authors">
Authors
system.
-
+ id="locale-overview">
Overview
-
+ id="locale-behavior">
Behavior
-
+ id="locale-selecting-locales">
Selecting Locales
-
+ id="locale-providers">
Locale Providers
-
+ id="locale-problems">
Problems
of a database cannot be changed after its creation.
-
+ id="collation-concepts">
Concepts
a database.
-
+ id="collation-managing-standard">
Standard Collations
-
+ id="collation-managing-predefined">
Predefined Collations
-
+ id="collation-managing-predefined-libc">
libc Collations
-
+ id="collation-managing-predefined-icu">
ICU Collations
Here are some example collations that might be created:
-
+ id="collation-managing-predefined-icu-de-x-icu">
de-x-icu
German collation, default variant
-
+ id="collation-managing-predefined-icu-de-at-x-icu">
de-AT-x-icu
German collation for Austria, default variant
-
+ id="collation-managing-predefined-icu-und-x-icu">
und-x-icu (for undefined
)
ensures that they are saved by pg_dump.
-
+ id="collation-managing-create-libc">
libc Collations
-
+ id="collation-managing-create-icu">
ICU Collations
Here are some examples:
-
+ id="collation-managing-create-icu-de-u-co-phonebk-x-icu">
CREATE COLLATION "de-u-co-phonebk-x-icu" (provider = icu, locale = 'de-u-co-phonebk');
CREATE COLLATION "de-u-co-phonebk-x-icu" (provider = icu, locale = 'de@collation=phonebook');
-
+ id="collation-managing-create-icu-und-u-co-emoji-x-icu">
CREATE COLLATION "und-u-co-emoji-x-icu" (provider = icu, locale = 'und-u-co-emoji');
CREATE COLLATION "und-u-co-emoji-x-icu" (provider = icu, locale = '@collation=emoji');
-
+ id="collation-managing-create-icu-en-u-kr-grek-latn">
CREATE COLLATION latinlast (provider = icu, locale = 'en-u-kr-grek-latn');
CREATE COLLATION latinlast (provider = icu, locale = 'en@colReorder=grek-latn');
-
+ id="collation-managing-create-icu-en-u-kf-upper">
CREATE COLLATION upperfirst (provider = icu, locale = 'en-u-kf-upper');
CREATE COLLATION upperfirst (provider = icu, locale = 'en@colCaseFirst=upper');
-
+ id="collation-managing-create-icu-en-u-kf-upper-kr-grek-latn">
CREATE COLLATION special (provider = icu, locale = 'en-u-kf-upper-kr-grek-latn');
CREATE COLLATION special (provider = icu, locale = 'en@colCaseFirst=upper;colReorder=grek-latn');
-
+ id="collation-managing-create-icu-en-u-kn-true">
CREATE COLLATION numeric (provider = icu, locale = 'en-u-kn-true');
CREATE COLLATION numeric (provider = icu, locale = 'en@colNumeric=yes');
-
+ id="multibyte-setting">
Setting the Character Set
-
+ id="multibyte-automatic-conversion">
Automatic Character Set Conversion Between Server and Client
-
+ id="multibyte-further-reading">
Further Reading
on the current database.
-
+ id="citext-rationale">
Rationale
-
+ id="citext-how-to-use-it">
How to Use It
-
+ id="citext-string-comparison-behavior">
String Comparison Behavior
-
+ id="citext-limitations">
Limitations
-
+ id="citext-author">
Author
- -command-interaction">
+
Parameter Interaction via SQL
Explanation of the default value:
-
+ id="guc-ssl-ciphers-high">
HIGH
-
+ id="guc-ssl-ciphers-medium">
MEDIUM
-
+ id="guc-ssl-ciphers-plus-3des">
+3DES
-
+ id="guc-ssl-ciphers-not-anull">
!aNULL
-
+ id="guc-debug-print-parse">
debug_print_parse (boolean)
debug_print_parse configuration parameter
-
+ id="guc-debug-pretty-print">
debug_pretty_print (boolean)
debug_pretty_print configuration parameter
-
+ id="runtime-config-logging-proc-title">
Process Title
-
+ id="guc-log-statement-stats">
log_statement_stats (boolean)
log_statement_stats configuration parameter
separately-installable extension.
-
+ id="contrib-spi-refint">
refint — Functions for Implementing Referential Integrity
-
+ id="contrib-spi-autoinc">
autoinc — Functions for Autoincrementing Fields
-
+ id="contrib-spi-insert-username">
insert_username — Functions for Tracking Who Changed a Table
-
+ id="contrib-spi-moddatetime">
moddatetime — Functions for Tracking Last Modification Time
on the current database.
-
+ id="cube-syntax">
Syntax
-
+ id="cube-precision">
Precision
-
+ id="cube-usage">
Usage
-
+ id="cube-defaults">
Defaults
-
+ id="cube-notes">
Notes
-
+ id="cube-credits">
Credits
mostly the same.
-
+ id="datatype-binary-bytea-hex-format">
bytea Hex Format
-
+ id="datatype-binary-bytea-escape-format">
bytea Escape Format
more than 6 digits).
-
+ id="datatype-datetime-input-dates">
Dates
-
+ id="datatype-datetime-input-times">
Times
-
+ id="datatype-datetime-input-time-stamps">
Time Stamps
a piece of data.
-
+ id="datatype-enum-declaration">
Declaration of Enumerated Types
-
+ id="datatype-enum-ordering">
Ordering
-
+ id="datatype-enum-type-safety">
Type Safety
-
+ id="datatype-enum-implementation-details">
Implementation Details
intersections. They are explained in .
-
+ id="datatype-geometric-points">
Points
-
+ id="datatype-geometric-boxes">
Boxes
-
+ id="datatype-geometric-paths">
Paths
can be found in .
-
+ id="datatype-xml-creating">
Creating XML Values
To produce a value of type xml from character data,
-
+ id="datatype-xml-encoding-handling">
Encoding Handling
Care must be taken when dealing with multiple character encodings
-
+ id="datatype-xml-accessing-xml-values">
Accessing XML Values
-
+ id="ddl-constraints-not-null">
Not-Null Constraints
-
+ id="ddl-system-columns-tableoid">
tableoid
-
+ id="ddl-system-columns-xmin">
xmin
-
+ id="ddl-system-columns-cmin">
cmin
-
+ id="ddl-system-columns-xmax">
xmax
-
+ id="ddl-system-columns-cmax">
cmax
-
+ id="ddl-system-columns-ctid">
ctid
-
+ id="ddl-alter-column-default">
Changing a Column's Default Value
-
+ id="ddl-alter-column-type">
Changing a Column's Data Type
-
+ id="ddl-alter-renaming-column">
Renaming a Column
-
+ id="ddl-alter-renaming-table">
Renaming a Table
The available privileges are:
-
+ id="ddl-priv-select">
SELECT
-
+ id="ddl-priv-insert">
INSERT
-
+ id="ddl-priv-update">
UPDATE
-
+ id="ddl-priv-delete">
DELETE
-
+ id="ddl-priv-truncate">
TRUNCATE
-
+ id="ddl-priv-references">
REFERENCES
-
+ id="ddl-priv-trigger">
TRIGGER
-
+ id="ddl-priv-create">
CREATE
-
+ id="ddl-priv-connect">
CONNECT
-
+ id="ddl-priv-temporary">
TEMPORARY
-
+ id="ddl-priv-execute">
EXECUTE
-
+ id="ddl-priv-usage">
USAGE
-
+ id="ddl-priv-set">
SET
-
+ id="ddl-priv-alter-system">
ALTER SYSTEM
-
+ id="ddl-priv-maintain">
MAINTAIN
following forms of partitioning:
-
+ id="ddl-partitioning-overview-range">
Range Partitioning
-
+ id="ddl-partitioning-overview-list">
List Partitioning
-
+ id="ddl-partitioning-overview-hash">
Hash Partitioning
on the current database.
-
+ id="dict-int-config">
Configuration
-
+ id="dict-int-usage">
Usage
search for a word using any of its synonyms.
-
+ id="dict-xsyn-config">
Configuration
-
+ id="dict-xsyn-usage">
Usage
might be optional, as noted.
-
+ id="docguide-toolsets-docbook-dtd">
-
+ id="docguide-toolsets-docbook-xsl">
-
+ id="docguide-toolsets-libxml2">
-
+ id="docguide-toolsets-libxslt">
-
+ id="docguide-toolsets-fop">
for an example.
-
+ id="docguide-toolsets-inst-fedora-et-al">
Installation on Fedora, RHEL, and Derivatives
-
+ id="docguide-toolsets-inst-freebsd">
Installation on FreeBSD
-
+ id="docguide-toolsets-inst-debian">
Debian Packages
-
+ id="docguide-toolsets-inst-macos">
macOS
documentation. (Remember to use GNU make.)
-
+ id="docguide-build-html">
HTML
-
+ id="docguide-build-manpages">
Manpages
-
+ id="docguide-build-pdf">
PDF
-
+ id="docguide-build-plain-text">
Plain Text Files
-
+ id="docguide-build-syntax-check">
Syntax Check
correct mode.
-
+ id="docguide-authoring-emacs">
Emacs
Style Guide
-
+ id="docguide-style-ref-pages">
Reference Pages
Usage
section.
-
+ id="docguide-style-ref-pages-name">
Name
-
+ id="docguide-style-ref-pages-synopsis">
Synopsis
-
+ id="docguide-style-ref-pages-description">
Description
-
+ id="docguide-style-ref-pages-options">
Options
-
+ id="docguide-style-ref-pages-exit-status">
Exit Status
-
+ id="docguide-style-ref-pages-usage">
Usage
-
+ id="docguide-style-ref-pages-environment">
Environment
-
+ id="docguide-style-ref-pages-files">
Files
-
+ id="docguide-style-ref-pages-diagnostics">
Diagnostics
-
+ id="docguide-style-ref-pages-notes">
Notes
-
+ id="docguide-style-ref-pages-examples">
Examples
-
+ id="docguide-style-ref-pages-history">
History
-
+ id="docguide-style-ref-pages-author">
Author
-
+ id="docguide-style-ref-pages-see-also">
See Also
-
+ id="earthdistance-cube-based">
Cube-Based Earth Distances
-
+ id="earthdistance-point-based">
Point-Based Earth Distances
The following transaction management commands are available:
-
+ id="ecpg-transactions-exec-sql-commit">
EXEC SQL COMMIT
-
+ id="ecpg-transactions-exec-sql-rollback">
EXEC SQL ROLLBACK
-
+ id="ecpg-transactions-exec-sql-prepare-transaction">
EXEC SQL PREPARE TRANSACTION transaction_id
-
+ id="ecpg-transactions-exec-sql-commit-prepared">
EXEC SQL COMMIT PREPARED transaction_id
-
+ id="ecpg-transactions-exec-sql-rollback-prepared">
EXEC SQL ROLLBACK PREPARED transaction_id
-
+ id="ecpg-transactions-exec-sql-autocommit-on">
EXEC SQL SET AUTOCOMMIT TO ON
-
+ id="ecpg-transactions-exec-sql-autocommit-off">
EXEC SQL SET AUTOCOMMIT TO OFF
see .
-
+ id="ecpg-special-types-timestamp-date">
timestamp, date
-
+ id="ecpg-special-types-bytea">
bytea
-
+ id="ecpg-variables-nonprimitive-c-typedefs">
Typedefs
-
+ id="ecpg-variables-nonprimitive-c-pointers">
Pointers
nonprimitive types, described in the previous section.
-
+ id="ecpg-variables-nonprimitive-sql-arrays">
Arrays
-
+ id="ecpg-variables-nonprimitive-sql-composite">
Composite Types
-
+ id="ecpg-variables-nonprimitive-sql-user-defined-base-types">
User-Defined Base Types
The following functions can be used to work with the numeric type:
-
+ id="ecpg-pgtypes-numeric-new">
PGTYPESnumeric_new
-
+ id="ecpg-pgtypes-numeric-free">
PGTYPESnumeric_free
-
+ id="ecpg-pgtypes-numeric-from-asc">
PGTYPESnumeric_from_asc
-
+ id="ecpg-pgtypes-numeric-to-asc">
PGTYPESnumeric_to_asc
-
+ id="ecpg-pgtypes-numeric-add">
PGTYPESnumeric_add
-
+ id="ecpg-pgtypes-numeric-sub">
PGTYPESnumeric_sub
-
+ id="ecpg-pgtypes-numeric-mul">
PGTYPESnumeric_mul
-
+ id="ecpg-pgtypes-numeric-div">
PGTYPESnumeric_div
-
+ id="ecpg-pgtypes-numeric-cmp">
PGTYPESnumeric_cmp
-
+ id="ecpg-pgtypes-numeric-from-int">
PGTYPESnumeric_from_int
-
+ id="ecpg-pgtypes-numeric-from-long">
PGTYPESnumeric_from_long
-
+ id="ecpg-pgtypes-numeric-copy">
PGTYPESnumeric_copy
-
+ id="ecpg-pgtypes-numeric-from-double">
PGTYPESnumeric_from_double
-
+ id="ecpg-pgtypes-numeric-to-double">
PGTYPESnumeric_to_double
-
+ id="ecpg-pgtypes-numeric-to-int">
PGTYPESnumeric_to_int
-
+ id="ecpg-pgtypes-numeric-to-long">
PGTYPESnumeric_to_long
-
+ id="ecpg-pgtypes-numeric-to-decimal">
PGTYPESnumeric_to_decimal
-
+ id="ecpg-pgtypes-numeric-from-decimal">
PGTYPESnumeric_from_decimal
The following functions can be used to work with the decimal type and are
not only contained in the libcompat library.
-
+ id="ecpg-pgtypes-decimal-new">
PGTYPESdecimal_new
-
+ id="ecpg-pgtypes-decimal-free">
PGTYPESdecimal_free
errno Values of pgtypeslib
-
+ id="ecpg-pgtypes-errno-pgtypes-num-bad-numeric">
PGTYPES_NUM_BAD_NUMERIC
-
+ id="ecpg-pgtypes-errno-pgtypes-num-overflow">
PGTYPES_NUM_OVERFLOW
-
+ id="ecpg-pgtypes-errno-pgtypes-num-underflow">
PGTYPES_NUM_UNDERFLOW
-
+ id="ecpg-pgtypes-errno-pgtypes-num-divide-zero">
PGTYPES_NUM_DIVIDE_ZERO
-
+ id="ecpg-pgtypes-errno-pgtypes-date-bad-date">
PGTYPES_DATE_BAD_DATE
-
+ id="ecpg-pgtypes-errno-pgtypes-date-err-eargs">
PGTYPES_DATE_ERR_EARGS
-
+ id="ecpg-pgtypes-errno-pgtypes-date-err-enoshortdate">
PGTYPES_DATE_ERR_ENOSHORTDATE
-
+ id="ecpg-pgtypes-errno-pgtypes-intvl-bad-interval">
PGTYPES_INTVL_BAD_INTERVAL
-
+ id="ecpg-pgtypes-errno-pgtypes-date-err-enotdmy">
PGTYPES_DATE_ERR_ENOTDMY
-
+ id="ecpg-pgtypes-errno-pgtypes-date-bad-day">
PGTYPES_DATE_BAD_DAY
-
+ id="ecpg-pgtypes-errno-pgtypes-date-bad-month">
PGTYPES_DATE_BAD_MONTH
-
+ id="ecpg-pgtypes-errno-pgtypes-ts-bad-timestamp">
PGTYPES_TS_BAD_TIMESTAMP
-
+ id="ecpg-pgtypes-errno-pgtypes-ts-err-einftime">
PGTYPES_TS_ERR_EINFTIME
variable containing an integer. Possible fields are:
-
+ id="ecpg-named-descriptors-cardinality">
CARDINALITY (integer)
-
+ id="ecpg-named-descriptors-data">
DATA
-
+ id="ecpg-named-descriptors-datetime-interval-code">
DATETIME_INTERVAL_CODE (integer)
-
+ id="ecpg-named-descriptors-datetime-interval-precision">
DATETIME_INTERVAL_PRECISION (integer)
-
+ id="ecpg-named-descriptors-indicator">
INDICATOR (integer)
-
+ id="ecpg-named-descriptors-key-member">
KEY_MEMBER (integer)
-
+ id="ecpg-named-descriptors-length">
LENGTH (integer)
-
+ id="ecpg-named-descriptors-name">
NAME (string)
-
+ id="ecpg-named-descriptors-nullable">
NULLABLE (integer)
-
+ id="ecpg-named-descriptors-octet-length">
OCTET_LENGTH (integer)
-
+ id="ecpg-named-descriptors-precision">
PRECISION (integer)
-
+ id="ecpg-named-descriptors-returned-length">
RETURNED_LENGTH (integer)
-
+ id="ecpg-named-descriptors-returned-octet-length">
RETURNED_OCTET_LENGTH (integer)
-
+ id="ecpg-named-descriptors-scale">
SCALE (integer)
-
+ id="ecpg-named-descriptors-type">
TYPE (integer)
Free the memory area allocated for the input SQLDA.
-
+ id="ecpg-sqlda-descriptors-sqlda">
SQLDA Data Structure
The meaning of the fields is:
-
+ id="ecpg-sqlda-sqlda-sqldaid">
sqldaid
-
+ id="ecpg-sqlda-sqlda-sqldabc">
sqldabc
-
+ id="ecpg-sqlda-sqlda-sqln">
sqln
-
+ id="ecpg-sqlda-sqlda-sqld">
sqld
-
+ id="ecpg-sqlda-sqlda-desc-next">
desc_next
-
+ id="ecpg-sqlda-sqlda-sqlvar">
sqlvar
The meaning of the fields is:
-
+ id="ecpg-sqlda-sqlvar-sqltype">
sqltype
-
+ id="ecpg-sqlda-sqlvar-sqllen">
sqllen
-
+ id="ecpg-sqlda-sqlvar-sqldata">
sqldata
-
+ id="ecpg-sqlda-sqlvar-sqlind">
sqlind
-
+ id="ecpg-sqlda-sqlvar-sqlname">
sqlname
The meaning of the fields is:
-
+ id="ecpg-sqlda-sqlname-length">
length
-
+ id="ecpg-sqlda-sqlname-data">
data
condition can be one of the following:
-
+ id="ecpg-whenever-sqlerror">
SQLERROR
-
+ id="ecpg-whenever-sqlwarning">
SQLWARNING
-
+ id="ecpg-whenever-not-found">
NOT FOUND
action can be one of the following:
-
+ id="ecpg-whenever-continue">
CONTINUE
-
+ id="ecpg-whenever-goto">
GOTO label
GO TO label
-
+ id="ecpg-whenever-sqlprint">
SQLPRINT
-
+ id="ecpg-whenever-stop">
STOP
-
+ id="ecpg-whenever-do-break">
DO BREAK
-
+ id="ecpg-whenever-do-continue">
DO CONTINUE
-
+ id="ecpg-whenever-call">
CALL name (args)
DO name (args)
These are the assigned SQLCODE values:
-
+ id="ecpg-sqlstate-sqlcode-ecpg-no-error">
0 (ECPG_NO_ERROR)
-
+ id="ecpg-sqlstate-sqlcode-ecpg-not-found">
100 (ECPG_NOT_FOUND)
-
+ id="ecpg-sqlstate-sqlcode-ecpg-out-of-memory">
-12 (ECPG_OUT_OF_MEMORY)
-
+ id="ecpg-sqlstate-sqlcode-ecpg-unsupported">
-200 (ECPG_UNSUPPORTED)
-
+ id="ecpg-sqlstate-sqlcode-ecpg-too-many-arguments">
-201 (ECPG_TOO_MANY_ARGUMENTS)
-
+ id="ecpg-sqlstate-sqlcode-ecpg-too-few-arguments">
-202 (ECPG_TOO_FEW_ARGUMENTS)
-
+ id="ecpg-sqlstate-sqlcode-ecpg-too-many-matches">
-203 (ECPG_TOO_MANY_MATCHES)
-
+ id="ecpg-sqlstate-sqlcode-ecpg-int-format">
-204 (ECPG_INT_FORMAT)
-
+ id="ecpg-sqlstate-sqlcode-ecpg-uint-format">
-205 (ECPG_UINT_FORMAT)
-
+ id="ecpg-sqlstate-sqlcode-ecpg-float-format">
-206 (ECPG_FLOAT_FORMAT)
-
+ id="ecpg-sqlstate-sqlcode-ecpg-numeric-format">
-207 (ECPG_NUMERIC_FORMAT)
-
+ id="ecpg-sqlstate-sqlcode-ecpg-interval-format">
-208 (ECPG_INTERVAL_FORMAT)
-
+ id="ecpg-sqlstate-sqlcode-ecpg-date-format">
-209 (ECPG_DATE_FORMAT)
-
+ id="ecpg-sqlstate-sqlcode-ecpg-timestamp-format">
-210 (ECPG_TIMESTAMP_FORMAT)
-
+ id="ecpg-sqlstate-sqlcode-ecpg-convert-bool">
-211 (ECPG_CONVERT_BOOL)
-
+ id="ecpg-sqlstate-sqlcode-ecpg-empty">
-212 (ECPG_EMPTY)
-
+ id="ecpg-sqlstate-sqlcode-ecpg-missing-indicator">
-213 (ECPG_MISSING_INDICATOR)
-
+ id="ecpg-sqlstate-sqlcode-ecpg-no-array">
-214 (ECPG_NO_ARRAY)
-
+ id="ecpg-sqlstate-sqlcode-ecpg-data-not-array">
-215 (ECPG_DATA_NOT_ARRAY)
-
+ id="ecpg-sqlstate-sqlcode-ecpg-array-insert">
-216 (ECPG_ARRAY_INSERT)
-
+ id="ecpg-sqlstate-sqlcode-ecpg-no-conn">
-220 (ECPG_NO_CONN)
-
+ id="ecpg-sqlstate-sqlcode-ecpg-not-conn">
-221 (ECPG_NOT_CONN)
-
+ id="ecpg-sqlstate-sqlcode-ecpg-invalid-stmt">
-230 (ECPG_INVALID_STMT)
-
+ id="ecpg-sqlstate-sqlcode-ecpg-informix-duplicate-key">
-239 (ECPG_INFORMIX_DUPLICATE_KEY)
-
+ id="ecpg-sqlstate-sqlcode-ecpg-unknown-descriptor">
-240 (ECPG_UNKNOWN_DESCRIPTOR)
-
+ id="ecpg-sqlstate-sqlcode-ecpg-invalid-descriptor-index">
-241 (ECPG_INVALID_DESCRIPTOR_INDEX)
-
+ id="ecpg-sqlstate-sqlcode-ecpg-unknown-descriptor-item">
-242 (ECPG_UNKNOWN_DESCRIPTOR_ITEM)
-
+ id="ecpg-sqlstate-sqlcode-ecpg-var-not-numeric">
-243 (ECPG_VAR_NOT_NUMERIC)
-
+ id="ecpg-sqlstate-sqlcode-ecpg-var-not-char">
-244 (ECPG_VAR_NOT_CHAR)
-
+ id="ecpg-sqlstate-sqlcode-ecpg-informix-subselect-not-one">
-284 (ECPG_INFORMIX_SUBSELECT_NOT_ONE)
-
+ id="ecpg-sqlstate-sqlcode-ecpg-pgsql">
-400 (ECPG_PGSQL)
-
+ id="ecpg-sqlstate-sqlcode-ecpg-trans">
-401 (ECPG_TRANS)
-
+ id="ecpg-sqlstate-sqlcode-ecpg-connect">
-402 (ECPG_CONNECT)
-
+ id="ecpg-sqlstate-sqlcode-ecpg-duplicate-key">
-403 (ECPG_DUPLICATE_KEY)
-
+ id="ecpg-sqlstate-sqlcode-ecpg-subselect-not-one">
-404 (ECPG_SUBSELECT_NOT_ONE)
-
+ id="ecpg-sqlstate-sqlcode-ecpg-warning-unknown-portal">
-602 (ECPG_WARNING_UNKNOWN_PORTAL)
-
+ id="ecpg-sqlstate-sqlcode-ecpg-warning-in-transaction">
-603 (ECPG_WARNING_IN_TRANSACTION)
-
+ id="ecpg-sqlstate-sqlcode-ecpg-warning-no-transaction">
-604 (ECPG_WARNING_NO_TRANSACTION)
-
+ id="ecpg-sqlstate-sqlcode-ecpg-warning-portal-exists">
-605 (ECPG_WARNING_PORTAL_EXISTS)
You can use the following directives to compile code sections conditionally:
-
+ id="ecpg-ifdef-ifdef">
EXEC SQL ifdef name;
-
+ id="ecpg-ifdef-ifndef">
EXEC SQL ifndef name;
-
+ id="ecpg-ifdef-elif">
EXEC SQL elif name;
-
+ id="ecpg-ifdef-else">
EXEC SQL else;
-
+ id="ecpg-ifdef-endif">
EXEC SQL endif;
(*.pgc), a header file, and a C++ file:
-
+ id="ecpg-cpp-and-c-test-mod-pgc">
test_mod.pgc
-
+ id="ecpg-cpp-and-c-test-mod-h">
test_mod.h
-
+ id="ecpg-cpp-and-c-test-cpp-cpp">
test_cpp.cpp
Parameters
-
+ id="ecpg-sql-allocate-descriptor-name">
name
Parameters
-
+ id="ecpg-sql-connect-connection-target">
connection_target
several forms.
-
+ id="ecpg-sql-connect-connection-target-database-name">
[ database_name ] [ @host ] [ :port ]
-
+ id="ecpg-sql-connect-connection-target-unix-domain-sockets">
unix:postgresql://host [ :port ] / [ database_name ] [ ?connection_option ]
-
+ id="ecpg-sql-connect-connection-target-tcp-ip">
tcp:postgresql://host [ :port ] / [ database_name ] [ ?connection_option ]
-
+ id="ecpg-sql-connect-connection-target-constant">
SQL string constant
-
+ id="ecpg-sql-connect-connection-target-host-variable">
host variable
-
+ id="ecpg-sql-connect-connection-name">
connection_name
-
+ id="ecpg-sql-connect-connection-user">
connection_user
-
+ id="ecpg-sql-connect-default">
DEFAULT
Parameters
-
+ id="ecpg-sql-deallocate-descriptor-name">
name
Parameters
-
+ id="ecpg-sql-declare-cursor-name">
cursor_name
-
+ id="ecpg-sql-declare-prepared-name">
prepared_name
-
+ id="ecpg-sql-declare-query">
query
Parameters
-
+ id="ecpg-sql-declare-statement-connection-name">
connection_name
-
+ id="ecpg-sql-declare-statement-statement-name">
statement_name
Parameters
-
+ id="ecpg-sql-describe-prepared-name">
prepared_name
-
+ id="ecpg-sql-describe-descriptor-name">
descriptor_name
-
+ id="ecpg-sql-describe-sqlda-name">
sqlda_name
Parameters
-
+ id="ecpg-sql-disconnect-connection-name">
connection_name
-
+ id="ecpg-sql-disconnect-current">
CURRENT
-
+ id="ecpg-sql-disconnect-default">
DEFAULT
-
+ id="ecpg-sql-disconnect-all">
ALL
Parameters
-
+ id="ecpg-sql-execute-immediate-string">
string
Parameters
-
+ id="ecpg-sql-get-descriptor-descriptor-name">
descriptor_name
-
+ id="ecpg-sql-get-descriptor-descriptor-header-item">
descriptor_header_item
-
+ id="ecpg-sql-get-descriptor-column-number">
column_number
-
+ id="ecpg-sql-get-descriptor-descriptor-item">
descriptor_item
-
+ id="ecpg-sql-get-descriptor-cvariable">
cvariable
Parameters
-
+ id="ecpg-sql-open-cursor-name">
cursor_name
-
+ id="ecpg-sql-open-value">
value
-
+ id="ecpg-sql-open-descriptor-name">
descriptor_name
Parameters
-
+ id="ecpg-sql-prepare-prepared-name">
prepared_name
-
+ id="ecpg-sql-prepare-string">
string
Parameters
-
+ id="ecpg-sql-set-connection-connection-name">
connection_name
-
+ id="ecpg-sql-set-connection-default">
DEFAULT
Parameters
-
+ id="ecpg-sql-set-descriptor-descriptor-name">
descriptor_name
-
+ id="ecpg-sql-set-descriptor-descriptor-header-item">
descriptor_header_item
-
+ id="ecpg-sql-set-descriptor-number">
number
-
+ id="ecpg-sql-set-descriptor-descriptor-item">
descriptor_item
-
+ id="ecpg-sql-set-descriptor-value">
value
Parameters
-
+ id="ecpg-sql-type-type-name">
type_name
-
+ id="ecpg-sql-type-ctype">
ctype
Parameters
-
+ id="ecpg-sql-var-varname">
varname
-
+ id="ecpg-sql-var-ctype">
ctype
Additional/Missing Embedded SQL Statements
-
+ id="ecpg-informix-statements-close-database">
CLOSE DATABASE
-
+ id="ecpg-informix-statements-free-cursor-name">
FREE cursor_name
-
+ id="ecpg-informix-statements-free-statement-name">
FREE statement_name
The global properties are:
-
+ id="ecpg-informix-sqlda-sqld">
sqld
-
+ id="ecpg-informix-sqlda-sqlvar">
sqlvar
-
+ id="ecpg-informix-sqlda-desc-name">
desc_name
-
+ id="ecpg-informix-sqlda-desc-occ">
desc_occ
-
+ id="ecpg-informix-sqlda-desc-next">
desc_next
-
+ id="ecpg-informix-sqlda-reserved">
reserved
-
+ id="ecpg-informix-sqlda-sqltype">
sqltype
-
+ id="ecpg-informix-sqlda-sqllen">
sqllen
-
+ id="ecpg-informix-sqlda-sqldata">
sqldata
-
+ id="ecpg-informix-sqlda-sqlind">
sqlind
-
+ id="ecpg-informix-sqlda-sqlname">
sqlname
-
+ id="ecpg-informix-sqlda-sqlformat">
sqlformat
-
+ id="ecpg-informix-sqlda-sqlitype">
sqlitype
-
+ id="ecpg-informix-sqlda-sqlilen">
sqlilen
-
+ id="ecpg-informix-sqlda-sqlxid">
sqlxid
-
+ id="ecpg-informix-sqlda-sqltypename">
sqltypename
sqltypelen
sqlownerlen
-
+ id="ecpg-informix-sqlda-sqlilongdata">
sqlilongdata
Additional Functions
-
+ id="ecpg-informix-functions-decadd">
decadd
-
+ id="ecpg-informix-functions-deccmp">
deccmp
-
+ id="ecpg-informix-functions-deccopy">
deccopy
-
+ id="ecpg-informix-functions-deccvasc">
deccvasc
-
+ id="ecpg-informix-functions-deccvdbl">
deccvdbl
-
+ id="ecpg-informix-functions-deccvint">
deccvint
-
+ id="ecpg-informix-functions-deccvlong">
deccvlong
-
+ id="ecpg-informix-functions-decdiv">
decdiv
-
+ id="ecpg-informix-functions-decmul">
decmul
-
+ id="ecpg-informix-functions-decsub">
decsub
-
+ id="ecpg-informix-functions-dectoasc">
dectoasc
-
+ id="ecpg-informix-functions-dectodbl">
dectodbl
-
+ id="ecpg-informix-functions-dectoint">
dectoint
-
+ id="ecpg-informix-functions-dectolong">
dectolong
-
+ id="ecpg-informix-functions-rdatestr">
rdatestr
-
+ id="ecpg-informix-functions-rstrdate">
rstrdate
-
+ id="ecpg-informix-functions-rtoday">
rtoday
-
+ id="ecpg-informix-functions-rjulmdy">
rjulmdy
-
+ id="ecpg-informix-functions-rdefmtdate">
rdefmtdate
-
+ id="ecpg-informix-functions-rfmtdate">
rfmtdate
-
+ id="ecpg-informix-functions-rmdyjul">
rmdyjul
-
+ id="ecpg-informix-functions-rdayofweek">
rdayofweek
-
+ id="ecpg-informix-functions-dtcurrent">
dtcurrent
-
+ id="ecpg-informix-functions-dtcvasc">
dtcvasc
-
+ id="ecpg-informix-functions-dtcvfmtasc">
dtcvfmtasc
-
+ id="ecpg-informix-functions-dtsub">
dtsub
-
+ id="ecpg-informix-functions-dttoasc">
dttoasc
-
+ id="ecpg-informix-functions-dttofmtasc">
dttofmtasc
-
+ id="ecpg-informix-functions-intoasc">
intoasc
-
+ id="ecpg-informix-functions-rfmtlong">
rfmtlong
-
+ id="ecpg-informix-functions-rupshift">
rupshift
-
+ id="ecpg-informix-functions-byleng">
byleng
-
+ id="ecpg-informix-functions-ldchar">
ldchar
-
+ id="ecpg-informix-functions-rgetmsg">
rgetmsg
-
+ id="ecpg-informix-functions-rtypalign">
rtypalign
-
+ id="ecpg-informix-functions-rtypmsize">
rtypmsize
-
+ id="ecpg-informix-functions-rtypwidth">
rtypwidth
-
+ id="ecpg-informix-functions-risnull">
risnull
however rely on the fact all of them are defined to represent negative
values.
-
+ id="ecpg-informix-constants-ecpg-informix-num-overflow">
ECPG_INFORMIX_NUM_OVERFLOW
-
+ id="ecpg-informix-constants-ecpg-informix-num-underflow">
ECPG_INFORMIX_NUM_UNDERFLOW
-
+ id="ecpg-informix-constants-ecpg-informix-divide-zero">
ECPG_INFORMIX_DIVIDE_ZERO
-
+ id="ecpg-informix-constants-ecpg-informix-bad-year">
ECPG_INFORMIX_BAD_YEAR
-
+ id="ecpg-informix-constants-ecpg-informix-bad-month">
ECPG_INFORMIX_BAD_MONTH
-
+ id="ecpg-informix-constants-ecpg-informix-bad-day">
ECPG_INFORMIX_BAD_DAY
-
+ id="ecpg-informix-constants-ecpg-informix-enoshortdate">
ECPG_INFORMIX_ENOSHORTDATE
-
+ id="ecpg-informix-constants-ecpg-informix-date-convert">
ECPG_INFORMIX_DATE_CONVERT
-
+ id="ecpg-informix-constants-ecpg-informix-out-of-memory">
ECPG_INFORMIX_OUT_OF_MEMORY
-
+ id="ecpg-informix-constants-ecpg-informix-enotdmy">
ECPG_INFORMIX_ENOTDMY
-
+ id="ecpg-informix-constants-ecpg-informix-bad-numeric">
ECPG_INFORMIX_BAD_NUMERIC
-
+ id="ecpg-informix-constants-ecpg-informix-bad-exponent">
ECPG_INFORMIX_BAD_EXPONENT
-
+ id="ecpg-informix-constants-ecpg-informix-bad-date">
ECPG_INFORMIX_BAD_DATE
-
+ id="ecpg-informix-constants-ecpg-informix-extra-chars">
ECPG_INFORMIX_EXTRA_CHARS
The arguments are:
-
+ id="ecpg-develop-line-number">
A line number
-
+ id="ecpg-develop-string">
A string
-
+ id="ecpg-develop-input-variables">
Input variables
-
+ id="ecpg-develop-ecpgt-eoit">
-
+ id="ecpg-develop-output-variables">
Output variables
-
+ id="ecpg-develop-ecpgt-eort">
types, container types, domains, and pseudo-types.
-
+ id="extend-type-system-base">
Base Types
-
+ id="extend-type-system-container">
Container Types
-
+ id="extend-type-system-pseudo">
Pseudo-Types
dropping the whole extension.
-
+ id="extend-extensions-files">
Extension Files
-
+ id="extend-extensions-files-directory">
directory (string)
-
+ id="extend-extensions-files-default-version">
default_version (string)
-
+ id="extend-extensions-files-comment">
comment (string)
-
+ id="extend-extensions-files-encoding">
encoding (string)
-
+ id="extend-extensions-files-module-pathname">
module_pathname (string)
-
+ id="extend-extensions-files-requires">
requires (string)
-
+ id="extend-extensions-files-superuser">
superuser (boolean)
-
+ id="extend-extensions-files-trusted">
trusted (boolean)
-
+ id="extend-extensions-files-relocatable">
relocatable (boolean)
-
+ id="extend-extensions-files-schema">
schema (string)
-
+ id="extend-extensions-updates">
Extension Updates
-
+ id="extend-extensions-update-scripts">
Installing Extensions Using Update Scripts
Set one of these three variables to specify what is built:
-
+ id="extend-pgxs-modules">
MODULES
-
+ id="extend-pgxs-module-big">
MODULE_big
-
+ id="extend-pgxs-program">
PROGRAM
The following variables can also be set:
-
+ id="extend-pgxs-extension">
EXTENSION
-
+ id="extend-pgxs-moduledir">
MODULEDIR
-
+ id="extend-pgxs-data">
DATA
-
+ id="extend-pgxs-data-built">
DATA_built
-
+ id="extend-pgxs-data-tsearch">
DATA_TSEARCH
-
+ id="extend-pgxs-docs">
DOCS
-
+ id="extend-pgxs-headers">
HEADERS
HEADERS_built
-
+ id="extend-pgxs-headers-module">
HEADERS_$MODULE
HEADERS_built_$MODULE
-
+ id="extend-pgxs-scripts">
SCRIPTS
-
+ id="extend-pgxs-scripts-built">
SCRIPTS_built
-
+ id="extend-pgxs-regress">
REGRESS
-
+ id="extend-pgxs-regress-opts">
REGRESS_OPTS
-
+ id="extend-pgxs-isolation">
ISOLATION
-
+ id="extend-pgxs-isolation-opts">
ISOLATION_OPTS
-
+ id="extend-pgxs-tap-tests">
TAP_TESTS
-
+ id="extend-pgxs-no-install">
NO_INSTALL
-
+ id="extend-pgxs-no-installcheck">
NO_INSTALLCHECK
-
+ id="extend-pgxs-extra-clean">
EXTRA_CLEAN
-
+ id="extend-pgxs-pg-cppflags">
PG_CPPFLAGS
-
+ id="extend-pgxs-pg-cflags">
PG_CFLAGS
-
+ id="extend-pgxs-pg-cxxflags">
PG_CXXFLAGS
-
+ id="extend-pgxs-pg-ldflags">
PG_LDFLAGS
-
+ id="extend-pgxs-pg-libs">
PG_LIBS
-
+ id="extend-pgxs-shlib-link">
SHLIB_LINK
-
+ id="extend-pgxs-pg-config">
PG_CONFIG
PostgreSQL-specific functions.
-
+ id="functions-xml-limits-xpath1-xquery-restriction">
Restriction of XQuery to XPath
implementation in
PostgreSQL.
-
+ id="functions-xml-limits-postgresql-by-value-only">
Only BY VALUE Passing Mechanism Is Supported
-
+ id="functions-xml-limits-postgresql-named-parameters">
Cannot Pass Named Parameters to Queries
-
+ id="functions-xml-limits-postgresql-no-xml-sequence">
No XML(SEQUENCE) Type
documents for processing in client applications.
-
+ id="functions-producing-xml-xmlcomment">
xmlcomment
-
+ id="functions-producing-xml-xmlconcat">
xmlconcat
-
+ id="functions-producing-xml-xmlelement">
xmlelement
-
+ id="functions-producing-xml-xmlforest">
xmlforest
-
+ id="functions-producing-xml-xmlpi">
xmlpi
-
+ id="functions-producing-xml-xmlroot">
xmlroot
of xml values.
-
+ id="functions-producing-xml-is-document">
IS DOCUMENT
-
+ id="functions-producing-xml-is-not-document">
IS NOT DOCUMENT
-
+ id="functions-subquery-single-row-comp">
Single-Row Comparison
-
+ id="functions-comparisons-not-in">
NOT IN
-
+ id="functions-comparisons-any-some">
ANY/SOME (array)
-
+ id="functions-comparisons-all">
ALL (array)
on the current database.
-
+ id="fuzzystrmatch-soundex">
Soundex
-
+ id="fuzzystrmatch-levenshtein">
Levenshtein
-
+ id="fuzzystrmatch-metaphone">
Metaphone
-
+ id="fuzzystrmatch-double-metaphone">
Double Metaphone
non-exhaustive search.
-
+ id="geqo-pg-intro-gen-possible-plans">
Generating Possible Plans with GEQO
-
+ id="history-postgresql">
on the current database.
-
+ id="hstore-external-rep">
hstore External Representation
-
+ id="hstore-ops-funcs">
hstore Operators and Functions
-
+ id="hstore-indexes">
Indexes
-
+ id="hstore-examples">
Examples
-
+ id="hstore-statistics">
Statistics
-
+ id="hstore-compatibility">
Compatibility
-
+ id="hstore-transforms">
Transforms
-
+ id="hstore-authors">
Authors
-
+ id="install-windows-full-requirements">
Requirements
The following additional products are required to build
-
+ id="install-windows-full-64-bit">
Special Considerations for 64-Bit Windows
-
+ id="install-windows-full-build">
Building
-
+ id="install-windows-full-clean-inst">
Cleaning and Installing
-
+ id="install-windows-full-reg-tests">
Running the Regression Tests
-
+ id="configure-option-prefix">
-
+ id="configure-option-exec-prefix">
-
+ id="configure-option-bindir">
-
+ id="configure-option-sysconfdir">
-
+ id="configure-option-libdir">
-
+ id="configure-option-includedir">
-
+ id="configure-option-datarootdir">
-
+ id="configure-option-datadir">
-
+ id="configure-option-localedir">
-
+ id="configure-option-mandir">
-
+ id="configure-option-docdir">
-
+ id="configure-option-htmldir">
-
+ id="configure-option-enable-nls">
-
+ id="configure-option-with-perl">
-
+ id="configure-option-with-python">
-
+ id="configure-option-with-tcl">
-
+ id="configure-option-with-tclconfig">
-
+ id="configure-option-with-icu">
-
+ id="configure-option-with-lz4">
-
+ id="configure-option-with-zstd">
-
+ id="configure-option-with-ssl">
-
+ id="configure-option-with-openssl">
-
+ id="configure-option-with-gssapi">
-
+ id="configure-option-with-ldap">
-
+ id="configure-option-with-pam">
-
+ id="configure-option-with-bsd-auth">
-
+ id="configure-option-with-systemd">
-
+ id="configure-option-with-bonjour">
-
+ id="configure-option-with-uuid">
-
+ id="configure-option-with-ossp-uuid">
-
+ id="configure-option-with-libxml">
-
+ id="configure-option-with-libxslt">
-
+ id="configure-option-without-readline">
-
+ id="configure-option-with-libedit-preferred">
-
+ id="configure-option-without-zlib">
-
+ id="configure-option-disable-spinlocks">
-
+ id="configure-option-disable-atomics">
-
+ id="configure-option-disable-thread-safety">
-
+ id="configure-option-with-includes">
-
+ id="configure-option-with-libraries">
-
+ id="configure-option-with-system-tzdata">
-
+ id="configure-option-with-extra-version">
-
+ id="configure-option-disable-rpath">
-
+ id="configure-option-with-pgport">
-
+ id="configure-option-with-krb-srvnam">
-
+ id="configure-option-with-segsize">
-
+ id="configure-option-with-blocksize">
-
+ id="configure-option-with-wal-blocksize">
-
+ id="configure-option-enable-debug">
-
+ id="configure-option-enable-cassert">
-
+ id="configure-option-enable-tap-tests">
-
+ id="configure-option-enable-depend">
-
+ id="configure-option-enable-coverage">
-
+ id="configure-option-enable-profiling">
-
+ id="configure-option-enable-dtrace">
-
+ id="configure-option-with-segsize-blocks">
this manner:
-
+ id="configure-envvars-bison">
BISON
-
+ id="configure-envvars-cc">
CC
-
+ id="configure-envvars-cflags">
CFLAGS
-
+ id="configure-envvars-clang">
CLANG
-
+ id="configure-envvars-cpp">
CPP
-
+ id="configure-envvars-cppflags">
CPPFLAGS
-
+ id="configure-envvars-cxx">
CXX
-
+ id="configure-envvars-cxxflags">
CXXFLAGS
-
+ id="configure-envvars-dtrace">
DTRACE
-
+ id="configure-envvars-dtraceflags">
DTRACEFLAGS
-
+ id="configure-envvars-flex">
FLEX
-
+ id="configure-envvars-ldflags">
LDFLAGS
-
+ id="configure-envvars-ldflags-ex">
LDFLAGS_EX
-
+ id="configure-envvars-ldflags-sl">
LDFLAGS_SL
-
+ id="configure-envvars-llvm-config">
LLVM_CONFIG
-
+ id="configure-envvars-msgfmt">
MSGFMT
-
+ id="configure-envvars-perl">
PERL
-
+ id="configure-envvars-python">
PYTHON
-
+ id="configure-envvars-tclsh">
TCLSH
-
+ id="configure-envvars-xml2-config">
XML2_CONFIG
-
+ id="configure-prefix-meson">
-
+ id="configure-bindir-meson">
-
+ id="configure-sysconfdir-meson">
-
+ id="configure-libdir-meson">
-
+ id="configure-includedir-meson">
-
+ id="configure-datadir-meson">
-
+ id="configure-localedir-meson">
-
+ id="configure-mandir-meson">
-
+ id="configure-with-nls-meson">
-
+ id="configure-with-plperl-meson">
-
+ id="configure-with-plpython-meson">
-
+ id="configure-with-pltcl-meson">
-
+ id="configure-with-tcl-version-meson">
-
+ id="configure-with-icu-meson">
-
+ id="configure-with-lz4-meson">
-
+ id="configure-with-zstd-meson">
-
+ id="configure-with-ssl-meson">
-
+ id="configure-with-gssapi-meson">
-
+ id="configure-with-ldap-meson">
-
+ id="configure-with-pam-meson">
-
+ id="configure-with-bsd-auth-meson">
-
+ id="configure-with-systemd-meson">
-
+ id="configure-with-bonjour-meson">
-
+ id="configure-with-uuid-meson">
-
+ id="configure-with-libxml-meson">
-
+ id="configure-with-libxslt-meson">
Anti-Features
-
+ id="configure-readline-meson">
-
+ id="configure-libedit-preferred-meson">
-
+ id="configure-zlib-meson">
-
+ id="configure-spinlocks-meson">
-
+ id="configure-atomics-meson">
Build Process Details
-
+ id="configure-auto-features-meson">
-
+ id="configure-backend-meson">
-
+ id="configure-c-args-meson">
-
+ id="configure-c-link-args-meson">
-
+ id="configure-extra-include-dirs-meson">
-
+ id="configure-extra-lib-dirs-meson">
-
+ id="configure-system-tzdata-meson">
-
+ id="configure-extra-version-meson">
-
+ id="configure-binary-name-meson">
Miscellaneous
-
+ id="configure-pgport-meson">
-
+ id="configure-krb-srvnam-meson">
-
+ id="configure-segsize-meson">
-
+ id="configure-blocksize-meson">
-
+ id="configure-wal-blocksize-meson">
-
+ id="configure-buildtype-meson">
-
+ id="configure-debug-meson">
-
+ id="configure-optimization-meson">
=LEVEL
-
+ id="configure-werror-meson">
-
+ id="configure-cassert-meson">
-
+ id="configure-tap-tests-meson">
-
+ id="configure-pg-test-extra-meson">
-
+ id="configure-b-coverage-meson">
-
+ id="configure-dtrace-meson">
-
+ id="configure-segsize-blocks-meson">
-
+ id="install-post-env-vars">
Environment Variables
community.
-
+ id="installation-notes-aix-mem-management">
Memory Management
operating system, the fewer issues you will experience.
-
+ id="installation-notes-solaris-req-tools">
Required Tools
-
+ id="installation-notes-solaris-configure-complains">
configure Complains About a Failed Test Program
-
+ id="installation-notes-solaris-comp-opt-perf">
Compiling for Optimal Performance
-
+ id="installation-notes-solaris-using-dtrace">
Using DTrace for Tracing PostgreSQL
the built-in functions.
-
+ id="intagg-functions">
Functions
-
+ id="intagg-samples">
Sample Uses
on the current database.
-
+ id="intarray-funcs-ops">
intarray Functions and Operators
-
+ id="intarray-index">
Index Support
-
+ id="intarray-example">
Example
-
+ id="intarray-benchmark">
Benchmark
-
+ id="intarray-Authors">
Authors
on the current database.
-
+ id="isn-data-types">
Data Types
-
+ id="isn-casts">
Casts
-
+ id="isn-funcs-ops">
Functions and Operators
-
+ id="isn-examples">
Examples
-
+ id="isn-bibliography">
Bibliography
-
+ id="isn-author">
Author
Germán Méndez Bravo (Kronuz), 2004–2006
.
-
+ id="jit-pluggable-provider-interface">
A
JIT provider is loaded by dynamically loading the
-
+ id="datatype-json-transforms">
Transforms
as further described below.
-
+ id="libpq-connstring-keyword-value">
Keyword/Value Connection Strings
-
+ id="libpq-connstring-uris">
Connection URIs
on the current database.
-
+ id="lo-rationale">
Rationale
-
+ id="lo-how-to-use">
How to Use It
-
+ id="lo-limitations">
Limitations
-
+ id="lo-author">
Author
Logical Decoding Concepts
-
+ id="logicaldecoding-explanation-log-dec">
Logical Decoding
-
+ id="logicaldecoding-explanation-output-plugins">
Output Plugins
Output plugins transform the data from the write-ahead log's internal
-
+ id="logicaldecoding-explanation-exported-snapshots">
Exported Snapshots
When a new replication slot is created using the streaming replication
Synchronous Replication Support for Logical Decoding
-
+ id="logicaldecoding-synchronous-overview">
Overview
on the current database.
-
+ id="ltree-definitions">
Definitions
-
+ id="ltree-ops-funcs">
Operators and Functions
-
+ id="ltree-indexes">
Indexes
ltree supports several types of indexes that can speed
-
+ id="ltree-example">
Example
-
+ id="ltree-transforms">
Transforms
-
+ id="ltree-authors">
Authors
to do this. This section explains how to help.
-
+ id="nls-translator-requirements">
Requirements
-
+ id="nls-translator-concepts">
Concepts
-
+ id="nls-translator-message-catalogs">
Creating and Maintaining Message Catalogs
-
+ id="nls-translator-editing-po">
Editing the PO Files
.
-
+ id="oldsnapshot-functions">
Functions
debugging purposes. All of these functions may be used only by superusers.
-
+ id="pageinspect-general-funcs">
General Functions
-
+ id="pageinspect-heap-funcs">
Heap Functions
-
+ id="pageinspect-b-tree-funcs">
B-Tree Functions
-
+ id="pageinspect-brin-funcs">
BRIN Functions
-
+ id="pageinspect-gin-funcs">
GIN Functions
-
+ id="pageinspect-gist-funcs">
GiST Functions
-
+ id="pageinspect-hash-funcs">
Hash Functions
of the planner
-
+ id="planner-stats-single-column">
Single-Column Statistics
As we saw in the previous section, the query planner needs to estimate
that are currently supported.
-
+ id="planner-stats-extended-functional-deps">
Functional Dependencies
an underestimate.
-
+ id="planner-stats-extended-functional-deps-limits">
Limitations of Functional Dependencies
-
+ id="planner-stats-extended-n-distinct-counts">
Multivariate N-Distinct Counts
-
+ id="planner-stats-extended-mcv-lists">
Multivariate MCV Lists
using GRANT.
-
+ id="pgbuffercache-pg-buffercache">
The pg_buffercache View
-
+ id="pgbuffercache-summary">
The pg_buffercache_summary() Function
-
+ id="pgbuffercache-sample-output">
Sample Output
-
+ id="pgbuffercache-authors">
Authors
OpenSSL support was not selected when PostgreSQL was built.
-
+ id="pgcrypto-general-hashing-funcs">
General Hashing Functions
-
+ id="pgcrypto-general-hashing-funcs-digest">
digest()
-
+ id="pgcrypto-general-hashing-funcs-hmac">
hmac()
-
+ id="pgcrypto-password-hashing-funcs">
Password Hashing Functions
-
+ id="pgcrypto-password-hashing-funcs-crypt">
crypt()
-
+ id="pgcrypto-password-hashing-funcs-gen-salt">
gen_salt()
-
+ id="pgcrypto-pgp-enc-funcs">
PGP Encryption Functions
-
+ id="pgcrypto-pgp-enc-funcs-pgp-sym-encrypt">
pgp_sym_encrypt()
-
+ id="pgcrypto-pgp-enc-funcs-pgp-sym-decrypt">
pgp_sym_decrypt()
-
+ id="pgcrypto-pgp-enc-funcs-pgp-pub-encrypt">
pgp_pub_encrypt()
-
+ id="pgcrypto-pgp-enc-funcs-pgp-pub-decrypt">
pgp_pub_decrypt()
-
+ id="pgcrypto-pgp-enc-funcs-pgp-key-id">
pgp_key_id()
-
+ id="pgcrypto-pgp-enc-funcs-armor">
armor(), dearmor()
-
+ id="pgcrypto-pgp-enc-funcs-pgp-armor-headers">
pgp_armor_headers
-
+ id="pgcrypto-pgp-enc-funcs-opts">
Options for PGP Functions
The rest should have reasonable defaults.
-
+ id="pgcrypto-pgp-enc-funcs-opts-cipher-algo">
cipher-algo
-
+ id="pgcrypto-pgp-enc-funcs-opts-compress-algo">
compress-algo
-
+ id="pgcrypto-pgp-enc-funcs-opts-compress-level">
compress-level
-
+ id="pgcrypto-pgp-enc-funcs-opts-convert-crlf">
convert-crlf
-
+ id="pgcrypto-pgp-enc-funcs-opts-disable-mdc">
disable-mdc
-
+ id="pgcrypto-pgp-enc-funcs-opts-sess-key">
sess-key
-
+ id="pgcrypto-pgp-enc-funcs-opts-s2k-mode">
s2k-mode
-
+ id="pgcrypto-pgp-enc-funcs-opts-s2k-count">
s2k-count
-
+ id="pgcrypto-pgp-enc-funcs-opts-s2k-digest-algo">
s2k-digest-algo
-
+ id="pgcrypto-pgp-enc-funcs-opts-s2k-cipher-algo">
s2k-cipher-algo
-
+ id="pgcrypto-pgp-enc-funcs-opts-unicode-mode">
unicode-mode
-
+ id="pgcrypto-pgp-enc-funcs-gnupg">
Generating PGP Keys with GnuPG
-
+ id="pgcrypto-pgp-enc-funcs-limitations">
Limitations of PGP Code
-
+ id="pgcrypto-raw-enc-funcs">
Raw Encryption Functions
-
+ id="pgcrypto-random-data-funcs">
Random-Data Functions
-
+ id="pgcrypto-notes">
Notes
-
+ id="pgcrypto-notes-config">
Configuration
-
+ id="pgcrypto-notes-null-handling">
NULL Handling
-
+ id="pgcrypto-notes-sec-limits">
Security Limitations
-
+ id="pgcrypto-notes-useful-reading">
Useful Reading
-
+ id="pgcrypto-notes-tech-ref">
Technical References
-
+ id="pgcrypto-author">
Author
using GRANT.
-
+ id="pgfreespacemap-funcs">
Functions
-
+ id="pgfreespacemap-sample-output">
Sample Output
-
+ id="pgfreespacemap-author">
Author
will, using 2 background workers, reload those same blocks after a restart.
-
+ id="pgprewarm-funcs">
Functions
-
+ id="pgprewarm-config-params">
Configuration Parameters
-
+ id="pgprewarm-author">
Author
-
+ id="pgrowlocks-overview">
Overview
-
+ id="pgrowlocks-sample-output">
Sample Output
-
+ id="pgrowlocks-author">
Author
CREATE EXTENSION pg_stat_statements.
-
+ id="pgstatstatements-pg-stat-statements">
The pg_stat_statements View
-
+ id="pgstatstatements-pg-stat-statements-info">
The pg_stat_statements_info View
-
+ id="pgstatstatements-funcs">
Functions
-
+ id="pgstatstatements-config-params">
Configuration Parameters
-
+ id="pgstatstatements-sample-output">
Sample Output
-
+ id="pgstatstatements-authors">
Authors
the pg_stat_scan_tables role instead.
-
+ id="pgstattuple-funcs">
Functions
-
+ id="pgstattuple-authors">
Authors
They should be used with great caution and only as a last resort.
-
+ id="pgsurgery-funcs">
Functions
-
+ id="pgsurgery-authors">
Authors
on the current database.
-
+ id="pgtrgm-concepts">
Trigram (or Trigraph) Concepts
-
+ id="pgtrgm-funcs-ops">
Functions and Operators
-
+ id="pgtrgm-guc">
GUC Parameters
-
+ id="pgtrgm-index">
Index Support
-
+ id="pgtrgm-text-search">
Text Search Integration
-
+ id="pgtrgm-references">
References
-
+ id="pgtrgm-authors">
Authors
data blocks are similarly expensive.
-
+ id="pgvisibility-funcs">
Functions
-
+ id="pgvisibility-author">
Author
superusers to others using GRANT.
-
+ id="pgwalinspect-funcs">
General Functions
-
+ id="pgwalinspect-funcs-pg-get-wal-record-info">
pg_get_wal_record_info(in_lsn pg_lsn,
-
+ id="pgwalinspect-funcs-pg-get-wal-records-info">
pg_get_wal_records_info(start_lsn pg_lsn,
-
+ id="pgwalinspect-funcs-pg-get-wal-records-info-till-end-of-wal">
pg_get_wal_records_info_till_end_of_wal(start_lsn pg_lsn,
-
+ id="pgwalinspect-funcs-pg-get-wal-stats">
pg_get_wal_stats(start_lsn pg_lsn,
-
+ id="pgwalinspect-funcs-pg-get-wal-stats-till-end-of-wal">
pg_get_wal_stats_till_end_of_wal(start_lsn pg_lsn,
-
+ id="pgwalinspect-author">
Author
NEXT.
-
+ id="plpgsql-statements-returning-return">
RETURN
-
+ id="plpgsql-statements-returning-return-next">
RETURN NEXT and RETURN QUERY
-
+ id="plpgsql-conditionals-if-then">
IF-THEN
-
+ id="plpgsql-conditionals-if-then-else">
IF-THEN-ELSE
-
+ id="plpgsql-conditionals-if-then-elsif">
IF-THEN-ELSIF
-
+ id="plpgsql-conditionals-simple-case">
Simple CASE
-
+ id="plpgsql-conditionals-searched-case">
Searched CASE
PL/pgSQL function to repeat a series of commands.
-
+ id="plpgsql-control-structures-loops-loop">
LOOP
-
+ id="plpgsql-control-structures-loops-exit">
EXIT
-
+ id="plpgsql-control-structures-loops-continue">
CONTINUE
-
+ id="plpgsql-control-structures-loops-while">
WHILE
.
-
+ id="plpgsql-cursor-opening-open-for-query">
OPEN FOR query
-
+ id="plpgsql-cursor-opening-open-for-execute">
OPEN FOR EXECUTE
only until the end of the transaction.
-
+ id="plpgsql-cursor-using-fetch">
FETCH
-
+ id="plpgsql-cursor-using-move">
MOVE
-
+ id="plpgsql-cursor-using-update-delete">
UPDATE/DELETE WHERE CURRENT OF
-
+ id="plpgsql-cursor-using-close">
CLOSE
class="parameter">option key words are:
-
+ id="raise-using-option-message">
MESSAGE
Sets the error message text. This option can't be used in the
-
+ id="raise-using-option-detail">
DETAIL
Supplies an error detail message.
-
+ id="raise-using-option-hint">
HINT
-
+ id="raise-using-option-errcode">
ERRCODE
Specifies the error code (SQLSTATE) to report, either by condition
-
+ id="raise-using-option-column">
COLUMN
CONSTRAINT
DATATYPE
top-level block. They are:
-
+ id="plpgsql-dml-trigger-new">
NEW record
-
+ id="plpgsql-dml-trigger-old">
OLD record
-
+ id="plpgsql-dml-trigger-tg-name">
TG_NAME name
-
+ id="plpgsql-dml-trigger-tg-when">
TG_WHEN text
-
+ id="plpgsql-dml-trigger-tg-level">
TG_LEVEL text
-
+ id="plpgsql-dml-trigger-tg-op">
TG_OP text
-
+ id="plpgsql-dml-trigger-tg-relid">
TG_RELID oid (references pg_class.oid)
-
+ id="plpgsql-dml-trigger-tg-relname">
TG_RELNAME name
-
+ id="plpgsql-dml-trigger-tg-table-name">
TG_TABLE_NAME name
-
+ id="plpgsql-dml-trigger-tg-table-schema">
TG_TABLE_SCHEMA name
-
+ id="plpgsql-dml-trigger-tg-nargs">
TG_NARGS integer
-
+ id="plpgsql-dml-trigger-tg-argv">
TG_ARGV text[]
in the top-level block. They are:
-
+ id="plpgsql-event-trigger-tg-event">
TG_EVENT text
-
+ id="plpgsql-event-trigger-tg-tag">
TG_TAG text
-
+ id="plpgsql-quote-tips-1-quot">
1 quotation mark
-
+ id="plpgsql-quote-tips-2-quot">
2 quotation marks
-
+ id="plpgsql-quote-tips-4-quot">
4 quotation marks
-
+ id="plpgsql-quote-tips-6-quot">
6 quotation marks
-
+ id="plpgsql-quote-tips-10-quot">
10 quotation marks
"all". The default is "none". Currently
the list of available checks includes:
-
+ id="plpgsql-extra-checks-shadowed-variables">
shadowed_variables
-
+ id="plpgsql-extra-checks-strict-multi-assignment">
strict_multi_assignment
-
+ id="plpgsql-extra-checks-too-many-rows">
too_many_rows
-
+ id="plpgsql-porting-examples">
Porting Examples
-
+ id="plpgsql-porting-other-execute">
EXECUTE
below.
-
+ id="plpython-data-type-mapping">
Data Type Mapping
When a PL/Python function is called, its arguments are converted from
-
+ id="plpython-data-null">
Null, None
If an SQL null value
null value
-
+ id="plpython-data-composite-types">
Composite Types
Composite-type arguments are passed to the function as Python mappings. The
-
+ id="plpython-data-set-returning-funcs">
Set-Returning Functions
A
PL/Python function can also return sets of
plpy.foo.
-
+ id="plpython-database-access-funcs">
Database Access Functions
the form of explicit subtransactions.
-
+ id="plpython-subtransaction-context-managers">
Subtransaction Context Managers
of columns to the remote table is by name, not position.
-
+ id="postgres-fdw-options">
FDW Options of postgres_fdw
-
+ id="postgres-fdw-options-connection">
Connection Options
-
+ id="postgres-fdw-options-object-name">
Object Name Options
-
+ id="postgres-fdw-options-cost-estimation">
Cost Estimation Options
-
+ id="postgres-fdw-options-remote-execution">
Remote Execution Options
-
+ id="postgres-fdw-options-asynchronous-execution">
Asynchronous Execution Options
-
+ id="postgres-fdw-options-transaction-management">
Transaction Management Options
-
+ id="postgres-fdw-options-updatability">
Updatability Options
-
+ id="postgres-fdw-options-truncatability">
Truncatability Options
-
+ id="postgres-fdw-options-importing">
Importing Options
-
+ id="postgres-fdw-options-connection-management">
Connection Management Options
-
+ id="postgres-fdw-functions">
Functions
-
+ id="postgres-fdw-connection-management">
Connection Management
-
+ id="postgres-fdw-transaction-management">
Transaction Management
-
+ id="postgres-fdw-remote-query-optimization">
Remote Query Optimization
-
+ id="postgres-fdw-remote-query-execution-environment">
Remote Query Execution Environment
-
+ id="postgres-fdw-cross-version-compatibility">
Cross-Version Compatibility
-
+ id="postgres-fdw-configuration-parameters">
Configuration Parameters
-
+ id="postgres-fdw-examples">
Examples
-
+ id="postgres-fdw-author">
Author
If you need help immediately, consider obtaining a commercial support contract.
-
+ id="bug-reporting-identifying-bugs">
Identifying Bugs
-
+ id="bug-reporting-what-to-report">
What to Report
-
+ id="bug-reporting-where-to-report-bugs">
Where to Report Bugs
after the start-up phase.
-
+ id="protocol-flow-start-up">
Start-up
-
+ id="protocol-flow-simple-query">
Simple Query
-
+ id="protocol-flow-function-call">
Function Call
-
+ id="protocol-flow-canceling-requests">
Canceling Requests in Progress
-
+ id="protocol-flow-termination">
Termination
-
+ id="protocol-flow-ssl">
-
+ id="protocol-flow-gssapi">
GSSAPI Session Encryption
-
+ id="queries-with-cte-materialization">
Common Table Expression Materialization
-
+ id="sql-alterrole-desc">
Description
-
+ id="sql-alterrole-params">
Parameters
-
+ id="sql-alterrole-params-name">
name
-
+ id="sql-alterrole-params-current-role">
CURRENT_ROLE
CURRENT_USER
-
+ id="sql-alterrole-params-session-user">
SESSION_USER
-
+ id="sql-alterrole-params-superuser">
SUPERUSER
NOSUPERUSER
CREATEDB
-
+ id="sql-alterrole-params-new-name">
new_name
-
+ id="sql-alterrole-params-database-name">
database_name
-
+ id="sql-alterrole-params-configuration-parameter">
configuration_parameter
value
-
+ id="sql-alterrole-notes">
Notes
-
+ id="sql-alterrole-examples">
Examples
-
+ id="sql-alterrole-compat">
Compatibility
-
+ id="sql-alterrole-see">
See Also
lock acquired will be the strictest one required by any subcommand.
-
+ id="sql-altertable-desc-add-column">
ADD COLUMN [ IF NOT EXISTS ]
-
+ id="sql-altertable-desc-drop-column">
DROP COLUMN [ IF EXISTS ]
-
+ id="sql-altertable-desc-set-data-type">
SET DATA TYPE
-
+ id="sql-altertable-desc-set-drop-default">
SET/DROP DEFAULT
-
+ id="sql-altertable-desc-set-drop-not-null">
SET/DROP NOT NULL
-
+ id="sql-altertable-desc-drop-expression">
DROP EXPRESSION [ IF EXISTS ]
-
+ id="sql-altertable-desc-generated-identity">
ADD GENERATED { ALWAYS | BY DEFAULT } AS IDENTITY
SET GENERATED { ALWAYS | BY DEFAULT }
DROP IDENTITY [ IF EXISTS ]
-
+ id="sql-altertable-desc-set-sequence-option">
SET sequence_option
RESTART
-
+ id="sql-altertable-desc-set-statistics">
SET STATISTICS
-
+ id="sql-altertable-desc-set-attribute-option">
SET ( attribute_option = value [, ... ] )
RESET ( attribute_option [, ... ] )
-
+ id="sql-altertable-desc-set-storage">
SET STORAGE { PLAIN | EXTERNAL | EXTENDED | MAIN | DEFAULT }
-
+ id="sql-altertable-desc-set-compression">
SET COMPRESSION compression_method
-
+ id="sql-altertable-desc-add-table-constraint">
ADD table_constraint [ NOT VALID ]
-
+ id="sql-altertable-desc-add-table-constraint-using-index">
ADD table_constraint_using_index
-
+ id="sql-altertable-desc-alter-constraint">
ALTER CONSTRAINT
-
+ id="sql-altertable-desc-validate-constraint">
VALIDATE CONSTRAINT
-
+ id="sql-altertable-desc-drop-constraint">
DROP CONSTRAINT [ IF EXISTS ]
-
+ id="sql-altertable-desc-disable-enable-trigger">
DISABLE/ENABLE [ REPLICA | ALWAYS ] TRIGGER
-
+ id="sql-altertable-desc-disable-enable-rule">
DISABLE/ENABLE [ REPLICA | ALWAYS ] RULE
-
+ id="sql-altertable-desc-disable-enable-row-level-security">
DISABLE/ENABLE ROW LEVEL SECURITY
-
+ id="sql-altertable-desc-force-row-level-security">
NO FORCE/FORCE ROW LEVEL SECURITY
-
+ id="sql-altertable-desc-cluster-on">
CLUSTER ON
-
+ id="sql-altertable-desc-set-without-cluster">
SET WITHOUT CLUSTER
-
+ id="sql-altertable-desc-set-without-oids">
SET WITHOUT OIDS
-
+ id="sql-altertable-desc-set-access-method">
SET ACCESS METHOD
-
+ id="sql-altertable-desc-set-tablespace">
SET TABLESPACE
-
+ id="sql-altertable-desc-set-logged-unlogged">
SET { LOGGED | UNLOGGED }
-
+ id="sql-altertable-desc-set-storage-parameter">
SET ( storage_parameter [= value] [, ... ] )
-
+ id="sql-altertable-desc-reset-storage-parameter">
RESET ( storage_parameter [, ... ] )
-
+ id="sql-altertable-desc-inherit">
INHERIT parent_table
-
+ id="sql-altertable-desc-no-inherit">
NO INHERIT parent_table
-
+ id="sql-altertable-desc-of">
OF type_name
-
+ id="sql-altertable-desc-not-of">
NOT OF
-
+ id="sql-altertable-desc-owner-to">
OWNER TO
always logged regardless of whether it changed.
This option has no effect except when logical replication is in use.
-
+ id="sql-altertable-replica-identity-default">
DEFAULT
-
+ id="sql-altertable-replica-identity-using-index">
USING INDEX index_name
-
+ id="sql-altertable-replica-identity-full">
FULL
-
+ id="sql-altertable-replica-identity-nothing">
NOTHING
-
+ id="sql-altertable-desc-rename">
RENAME
-
+ id="sql-altertable-desc-set-schema">
SET SCHEMA
-
+ id="sql-altertable-parms-if-exists">
IF EXISTS
-
+ id="sql-altertable-parms-name">
name
-
+ id="sql-altertable-parms-column-name">
column_name
-
+ id="sql-altertable-parms-new-column-name">
new_column_name
-
+ id="sql-altertable-parms-new-name">
new_name
-
+ id="sql-altertable-parms-data-type">
data_type
-
+ id="sql-altertable-parms-table-constraint">
table_constraint
-
+ id="sql-altertable-parms-constraint-name">
constraint_name
-
+ id="sql-altertable-parms-cascade">
CASCADE
-
+ id="sql-altertable-parms-restrict">
RESTRICT
-
+ id="sql-altertable-parms-trigger-name">
trigger_name
-
+ id="sql-altertable-parms-all">
ALL
-
+ id="sql-altertable-parms-user">
USER
-
+ id="sql-altertable-parms-index-name">
index_name
-
+ id="sql-altertable-parms-storage-parameter">
storage_parameter
-
+ id="sql-altertable-parms-value">
value
-
+ id="sql-altertable-parms-parent-table">
parent_table
-
+ id="sql-altertable-parms-new-owner">
new_owner
-
+ id="sql-altertable-parms-new-access-method">
new_access_method
-
+ id="sql-altertable-parms-new-tablespace">
new_tablespace
-
+ id="sql-altertable-parms-new-schema">
new_schema
-
+ id="sql-altertable-parms-partition-name">
partition_name
-
+ id="sql-altertable-parms-partition-bound-spec">
partition_bound_spec
-
+ id="sql-commit-transaction">
WORK
TRANSACTION
Parameters
-
+ id="create-database-name">
name
-
+ id="create-database-user-name">
user_name
-
+ id="create-database-template">
template
-
+ id="create-database-encoding">
encoding
-
+ id="create-database-locale">
locale
-
+ id="create-database-lc-collate">
lc_collate
-
+ id="create-database-lc-ctype">
lc_ctype
-
+ id="create-database-icu-locale">
icu_locale
-
+ id="create-database-locale-provider">
locale_provider
-
+ id="create-database-collation-version">
collation_version
-
+ id="create-database-tablespace-name">
tablespace_name
-
+ id="create-database-allowconn">
allowconn
-
+ id="create-database-connlimit">
connlimit
-
+ id="create-database-istemplate">
istemplate
-
+ id="create-database-oid">
oid
-
+ id="sql-createtable-parms-if-not-exists">
IF NOT EXISTS
-
+ id="sql-createtable-parms-table-name">
table_name
-
+ id="sql-createtable-parms-type-name">
OF type_name
-
+ id="sql-createtable-parms-column-name">
column_name
-
+ id="sql-createtable-parms-data-type">
data_type
-
+ id="sql-createtable-parms-collate">
COLLATE collation
-
+ id="sql-createtable-parms-storage">
STORAGE { PLAIN | EXTERNAL | EXTENDED | MAIN | DEFAULT }
-
+ id="sql-createtable-parms-compression">
COMPRESSION compression_method
-
+ id="sql-createtable-parms-inherits">
INHERITS ( parent_table [, ... ] )
-
+ id="sql-createtable-parms-partition-by">
PARTITION BY { RANGE | LIST | HASH } ( { column_name | ( expression ) } [ opclass ] [, ...] )
-
+ id="sql-createtable-parms-like">
LIKE source_table [ like_option ... ]
available options are:
-
+ id="sql-createtable-parms-like-opt-comments">
INCLUDING COMMENTS
-
+ id="sql-createtable-parms-like-opt-compression">
INCLUDING COMPRESSION
-
+ id="sql-createtable-parms-like-opt-constraints">
INCLUDING CONSTRAINTS
-
+ id="sql-createtable-parms-like-opt-defaults">
INCLUDING DEFAULTS
-
+ id="sql-createtable-parms-like-opt-generated">
INCLUDING GENERATED
-
+ id="sql-createtable-parms-like-opt-identity">
INCLUDING IDENTITY
-
+ id="sql-createtable-parms-like-opt-indexes">
INCLUDING INDEXES
-
+ id="sql-createtable-parms-like-opt-statistics">
INCLUDING STATISTICS
-
+ id="sql-createtable-parms-like-opt-storage">
INCLUDING STORAGE
-
+ id="sql-createtable-parms-like-opt-all">
INCLUDING ALL
-
+ id="sql-createtable-parms-constraint">
CONSTRAINT constraint_name
-
+ id="sql-createtable-parms-not-null">
NOT NULL
-
+ id="sql-createtable-parms-null">
NULL
-
+ id="sql-createtable-parms-check">
CHECK ( expression ) [ NO INHERIT ]
-
+ id="sql-createtable-parms-default">
DEFAULT
default_expr
-
+ id="sql-createtable-parms-generated-stored">
GENERATED ALWAYS AS ( generation_expr ) STOREDgenerated column
-
+ id="sql-createtable-parms-generated-identity">
GENERATED { ALWAYS | BY DEFAULT } AS IDENTITY [ ( sequence_options ) ]
-
+ id="sql-createtable-parms-unique">
UNIQUE [ NULLS [ NOT ] DISTINCT ] (column constraint)
UNIQUE [ NULLS [ NOT ] DISTINCT ] ( column_name [, ... ] )
INCLUDE ( column_name [, ...]) (table constraint)
-
+ id="sql-createtable-parms-primary-key">
PRIMARY KEY (column constraint)
PRIMARY KEY ( column_name [, ... ] )
INCLUDE ( column_name [, ...]) (table constraint)
-
+ id="sql-createtable-parms-references">
REFERENCES reftable [ ( refcolumn ) ] [ MATCH matchtype ] [ ON DELETE referential_action ] [ ON UPDATE referential_action ] (column constraint)
FOREIGN KEY ( column_name [, ... ] )
actions for each clause:
-
+ id="sql-createtable-parms-references-refact-no-action">
NO ACTION
-
+ id="sql-createtable-parms-references-refact-restrict">
RESTRICT
-
+ id="sql-createtable-parms-references-refact-cascade">
CASCADE
-
+ id="sql-createtable-parms-references-refact-set-null">
SET NULL [ ( column_name [, ... ] ) ]
-
+ id="sql-createtable-parms-references-refact-set-default">
SET DEFAULT [ ( column_name [, ... ] ) ]
-
+ id="sql-createtable-parms-deferrable">
DEFERRABLE
NOT DEFERRABLE
-
+ id="sql-createtable-parms-initially">
INITIALLY IMMEDIATE
INITIALLY DEFERRED
-
+ id="sql-createtable-parms-with">
WITH ( storage_parameter [= value] [, ... ] )
-
+ id="sql-createtable-parms-without-oids">
WITHOUT OIDS
-
+ id="sql-createtable-parms-on-commit">
ON COMMIT
The three options are:
-
+ id="sql-createtable-parms-on-commit-preserve-rows">
PRESERVE ROWS
-
+ id="sql-createtable-parms-on-commit-delete-rows">
DELETE ROWS
-
+ id="sql-createtable-parms-on-commit-drop">
DROP
-
+ id="sql-createtable-parms-using-index-tablespace">
USING INDEX TABLESPACE tablespace_name
-
+ id="app-initdb-option-auth">
-
+ id="app-initdb-option-auth-host">
-
+ id="app-initdb-option-auth-local">
-
+ id="app-initdb-option-pgdata">
-
+ id="app-initdb-option-encoding">
-
+ id="app-initdb-icu-locale">
-
+ id="app-initdb-option-locale">
-
+ id="app-initdb-option-lc-collate">
-
+ id="app-initdb-option-no-locale">
-
+ id="app-initdb-option-locale-provider">
-
+ id="app-initdb-option-no-sync">
-
+ id="app-initdb-option-no-instructions">
-
+ id="app-initdb-option-pwfile">
-
+ id="app-initdb-option-sync-only">
-
+ id="app-initdb-option-text-search-config">
-
+ id="app-initdb-option-username">
-
+ id="app-initdb-option-pwprompt">
-
+ id="app-initdb-option-waldir">
-
+ id="app-initdb-option-wal-segsize">
Other, less commonly used, options are also available:
-
+ id="app-initdb-option-debug">
-
+ id="app-initdb-option-discard-caches">
-
+ id="app-initdb-option-l">
-
+ id="app-initdb-option-no-clean">
Other options:
-
+ id="app-initdb-option-version">
-
+ id="app-initdb-option-help">
Environment
-
+ id="app-initdb-environment-pgdata">
PGDATA
-
+ id="app-initdb-environment-pg-color">
PG_COLOR
-
+ id="app-initdb-environment-tz">
TZ
-
+ id="pgbench-option-dbname">
dbname
-
+ id="pgbench-option-initialize">
-
+ id="pgbench-option-init-steps">
The available steps are:
-
+ id="pgbench-option-init-steps-d">
d (Drop)
-
+ id="pgbench-option-init-steps-t">
t (create Tables)
-
+ id="pgbench-option-init-steps-g">
g or G (Generate data, client-side or server-side)
-
+ id="pgbench-option-init-steps-v">
v (Vacuum)
-
+ id="pgbench-option-init-steps-p">
p (create Primary keys)
-
+ id="pgbench-option-init-steps-f">
f (create Foreign keys)
-
+ id="pgbench-option-fillfactor">
fillfactor
fillfactor
-
+ id="pgbench-option-no-vacuum-init">
-
+ id="pgbench-option-quiet">
-
+ id="pgbench-option-scale-init">
scale_factor
scale_factor
-
+ id="pgbench-option-foreign-keys">
-
+ id="pgbench-option-index-tablespace">
-
+ id="pgbench-option-partition-method">
-
+ id="pgbench-option-partitions">
-
+ id="pgbench-option-tablespace">
-
+ id="pgbench-option-unlogged-tables">
benchmarking arguments:
-
+ id="pgbench-option-builtin">
scriptname[@weight]
=scriptname[@weight]
-
+ id="pgbench-option-client">
clients
clients
-
+ id="pgbench-option-connect">
-
+ id="pgbench-option-debug">
-
+ id="pgbench-option-define">
varname=value
varname=value
-
+ id="pgbench-option-file">
filename[@weight]
filename[@weight]
-
+ id="pgbench-option-jobs">
threads
threads
-
+ id="pgbench-option-log">
-
+ id="pgbench-option-latency-limit">
limit
limit
-
+ id="pgbench-option-protocol">
querymode
querymode
-
+ id="pgbench-option-no-vacuum-run">
-
+ id="pgbench-option-skip-some-updates">
-
+ id="pgbench-option-progress">
sec
sec
-
+ id="pgbench-option-report-latencies">
-
+ id="pgbench-option-rate">
rate
rate
-
+ id="pgbench-option-scale-run">
scale_factor
scale_factor
-
+ id="pgbench-option-select-only">
-
+ id="pgbench-option-transactions">
transactions
transactions
-
+ id="pgbench-option-time">
seconds
seconds
-
+ id="pgbench-option-vacuum-all">
-
+ id="pgbench-option-aggregate-interval">
-
+ id="pgbench-option-failures-detailed">
-
+ id="pgbench-option-log-prefix">
-
+ id="pgbench-option-max-tries">
-
+ id="pgbench-option-progress-timestamp">
-
+ id="pgbench-option-random-seed">
seed
-
+ id="pgbench-option-sampling-rate">
-
+ id="pgbench-option-show-script">
scriptname
-
+ id="pgbench-option-verbose-errors">
-
+ id="pgbench-option-host">
hostname
hostname
-
+ id="pgbench-option-port">
port
port
-
+ id="pgbench-option-username">
login
login
-
+ id="pgbench-option-version">
-
+ id="pgbench-option-help">
Environment
-
+ id="pgbench-environment-pgdatabase">
PGDATABASE
PGHOST
PGPORT
-
+ id="pgbench-metacommand-if-else">
\if expression
\elif expression
\else
-
+ id="pgbench-metacommand-sleep">
\sleep number [ us | ms | s ]
-
+ id="pgbench-metacommand-setshell">
\setshell varname command [ argument ... ]
-
+ id="pgbench-metacommand-shell">
\shell command [ argument ... ]
Options
-
+ id="app-psql-option-echo-all">
-
+ id="app-psql-option-no-align">
-
+ id="app-psql-option-echo-errors">
-
+ id="app-psql-option-command">
-
+ id="app-psql-option-csv">
-
+ id="app-psql-option-dbname">
-
+ id="app-psql-option-echo-queries">
-
+ id="app-psql-option-echo-hidden">
-
+ id="app-psql-option-file">
-
+ id="app-psql-option-field-separator">
-
+ id="app-psql-option-field-host">
-
+ id="app-psql-option-html">
-
+ id="app-psql-option-list">
-
+ id="app-psql-option-log-file">
-
+ id="app-psql-option-no-readline">
-
+ id="app-psql-option-output">
-
+ id="app-psql-option-port">
-
+ id="app-psql-option-pset">
-
+ id="app-psql-option-quiet">
-
+ id="app-psql-option-record-separator">
-
+ id="app-psql-option-single-step">
-
+ id="app-psql-option-single-line">
-
+ id="app-psql-option-tuples-only">
-
+ id="app-psql-option-table-attr">
-
+ id="app-psql-option-username">
-
+ id="app-psql-option-variable">
-
+ id="app-psql-option-version">
-
+ id="app-psql-option-no-password">
-
+ id="app-psql-option-password">
-
+ id="app-psql-option-expanded">
-
+ id="app-psql-option-no-psqlrc">
-
+ id="app-psql-option-field-separator-zero">
-
+ id="app-psql-option-record-separator-zero">
-
+ id="app-psql-option-single-transaction">
-
+ id="app-psql-option-help">
The following meta-commands are defined:
-
+ id="app-psql-meta-command-a">
\a
-
+ id="app-psql-meta-command-bind">
\bind [ parameter ] ...
-
+ id="app-psql-meta-command-c-lc">
\c or \connect [ -reuse-previous=on|off ] [ dbname [ username ] [ host ] [ port ] | conninfo ]
-
+ id="app-psql-meta-command-c-uc">
\C [ title ]
-
+ id="app-psql-meta-command-cd">
\cd [ directory ]
-
+ id="app-psql-meta-command-conninfo">
\conninfo
-
+ id="app-psql-meta-command-copyright">
\copyright
-
+ id="app-psql-meta-command-d">
\d[S+] [ pattern ]
-
+ id="app-psql-meta-command-da-lc">
\da[S] [ pattern ]
-
+ id="app-psql-meta-command-da-uc">
\dA[+] [ pattern ]
-
+ id="app-psql-meta-command-dac">
\dAc[+]
[access-method-pattern
-
+ id="app-psql-meta-command-daf">
\dAf[+]
[access-method-pattern
-
+ id="app-psql-meta-command-dao">
\dAo[+]
[access-method-pattern
-
+ id="app-psql-meta-command-dap">
\dAp[+]
[access-method-pattern
-
+ id="app-psql-meta-command-db">
\db[+] [ pattern ]
-
+ id="app-psql-meta-command-dc-lc">
\dc[S+] [ pattern ]
-
+ id="app-psql-meta-command-dconfig">
\dconfig[+] [ pattern ]
-
+ id="app-psql-meta-command-dc-uc">
\dC[+] [ pattern ]
-
+ id="app-psql-meta-command-dd-lc">
\dd[S] [ pattern ]
-
+ id="app-psql-meta-command-dd-uc">
\dD[S+] [ pattern ]
-
+ id="app-psql-meta-command-ddp">
\ddp [ pattern ]
-
+ id="app-psql-meta-command-de">
\dE[S+] [ pattern ]
\di[S+] [ pattern ]
\dm[S+] [ pattern ]
-
+ id="app-psql-meta-command-des">
\des[+] [ pattern ]
-
+ id="app-psql-meta-command-det">
\det[+] [ pattern ]
-
+ id="app-psql-meta-command-deu">
\deu[+] [ pattern ]
-
+ id="app-psql-meta-command-dew">
\dew[+] [ pattern ]
-
+ id="app-psql-meta-command-df-lc">
\df[anptwS+] [ pattern [ arg_pattern ... ] ]
-
+ id="app-psql-meta-command-df-uc">
\dF[+] [ pattern ]
-
+ id="app-psql-meta-command-dfd">
\dFd[+] [ pattern ]
-
+ id="app-psql-meta-command-dfp">
\dFp[+] [ pattern ]
-
+ id="app-psql-meta-command-dft">
\dFt[+] [ pattern ]
-
+ id="app-psql-meta-command-dg">
\dg[S+] [ pattern ]
-
+ id="app-psql-meta-command-dl-lc">
\dl[+]
-
+ id="app-psql-meta-command-dl-uc">
\dL[S+] [ pattern ]
-
+ id="app-psql-meta-command-dn">
\dn[S+] [ pattern ]
-
+ id="app-psql-meta-command-do-lc">
\do[S+] [ pattern [ arg_pattern [ arg_pattern ] ] ]
-
+ id="app-psql-meta-command-do-uc">
\dO[S+] [ pattern ]
-
+ id="app-psql-meta-command-dp-lc">
\dp[S] [ pattern ]
-
+ id="app-psql-meta-command-dp-uc">
\dP[itn+] [ pattern ]
-
+ id="app-psql-meta-command-drds">
\drds [ role-pattern [ database-pattern ] ]
-
+ id="app-psql-meta-command-drp">
\dRp[+] [ pattern ]
-
+ id="app-psql-meta-command-drs">
\dRs[+] [ pattern ]
-
+ id="app-psql-meta-command-dt">
\dT[S+] [ pattern ]
-
+ id="app-psql-meta-command-du">
\du[S+] [ pattern ]
-
+ id="app-psql-meta-command-dx-lc">
\dx[+] [ pattern ]
-
+ id="app-psql-meta-command-dx-uc">
\dX [ pattern ]
-
+ id="app-psql-meta-command-dy">
\dy[+] [ pattern ]
-
+ id="app-psql-meta-command-edit">
\e or \edit filename line_number
-
+ id="app-psql-meta-command-echo">
\echo text [ ... ]
-
+ id="app-psql-meta-command-ef">
\ef function_description line_number
-
+ id="app-psql-meta-command-encoding">
\encoding [ encoding ]
-
+ id="app-psql-meta-command-errverbose">
\errverbose
-
+ id="app-psql-meta-command-ev">
\ev view_name line_number
-
+ id="app-psql-meta-command-f">
\f [ string ]
-
+ id="app-psql-meta-command-g">
\g [ (option=value [...]) ] [ filename ]
\g [ (option=value [...]) ] [ |command ]
-
+ id="app-psql-meta-command-gdesc">
\gdesc
-
+ id="app-psql-meta-command-getenv">
\getenv psql_var env_var
-
+ id="app-psql-meta-command-gexec">
\gexec
-
+ id="app-psql-meta-command-gset">
\gset [ prefix ]
-
+ id="app-psql-meta-command-gx">
\gx [ (option=value [...]) ] [ filename ]
\gx [ (option=value [...]) ] [ |command ]
-
+ id="app-psql-meta-command-help">
\h or \help [ command ]
-
+ id="app-psql-meta-command-html">
\H or \html
-
+ id="app-psql-meta-command-include">
\i or \include filename
-
+ id="app-psql-meta-command-include-relative">
\ir or \include_relative filename
-
+ id="app-psql-meta-command-list">
\l[+] or \list[+] [ pattern ]
-
+ id="app-psql-meta-command-lo-export">
\lo_export loid filename
-
+ id="app-psql-meta-command-lo-import">
\lo_import filename [ comment ]
-
+ id="app-psql-meta-command-lo-list">
\lo_list[+]
-
+ id="app-psql-meta-command-lo-unlink">
\lo_unlink loid
-
+ id="app-psql-meta-command-out">
\o or \out [ filename ]
\o or \out [ |command ]
-
+ id="app-psql-meta-command-print">
\p or \print
-
+ id="app-psql-meta-command-password">
\password [ username ]
-
+ id="app-psql-meta-command-prompt">
\prompt [ text ] name
-
+ id="app-psql-meta-command-pset">
\pset [ option [ value ] ]
Adjustable printing options are:
-
+ id="app-psql-meta-command-pset-border">
border
-
+ id="app-psql-meta-command-pset-columns">
columns
-
+ id="app-psql-meta-command-pset-csv-fieldsep">
csv_fieldsep
-
+ id="app-psql-meta-command-pset-expanded">
expanded (or x)
-
+ id="app-psql-meta-command-pset-xheader-width">
xheader_width
-
+ id="app-psql-meta-command-pset-fieldsep">
fieldsep
-
+ id="app-psql-meta-command-pset-fieldsep-zero">
fieldsep_zero
-
+ id="app-psql-meta-command-pset-footer">
footer
-
+ id="app-psql-meta-command-pset-format">
format
-
+ id="app-psql-meta-command-pset-linestyle">
linestyle
-
+ id="app-psql-meta-command-pset-null">
null
-
+ id="app-psql-meta-command-pset-numericlocale">
numericlocale
-
+ id="app-psql-meta-command-pset-pager">
pager
-
+ id="app-psql-meta-command-pset-pager-min-lines">
pager_min_lines
-
+ id="app-psql-meta-command-pset-recordsep">
recordsep
-
+ id="app-psql-meta-command-pset-recordsep-zero">
recordsep_zero
-
+ id="app-psql-meta-command-pset-tableattr">
tableattr (or T)
-
+ id="app-psql-meta-command-pset-title">
title (or C)
-
+ id="app-psql-meta-command-pset-tuples-only">
tuples_only (or t)
-
+ id="app-psql-meta-command-pset-unicode-border-linestyle">
unicode_border_linestyle
-
+ id="app-psql-meta-command-pset-unicode-column-linestyle">
unicode_column_linestyle
-
+ id="app-psql-meta-command-pset-unicode-header-linestyle">
unicode_header_linestyle
-
+ id="app-psql-meta-command-quit">
\q or \quit
-
+ id="app-psql-meta-command-qecho">
\qecho text [ ... ]
-
+ id="app-psql-meta-command-reset">
\r or \reset
-
+ id="app-psql-meta-command-s">
\s [ filename ]
-
+ id="app-psql-meta-command-set">
\set [ name [ value [ ... ] ] ]
-
+ id="app-psql-meta-command-setenv">
\setenv name [ value ]
-
+ id="app-psql-meta-command-sf">
\sf[+] function_description
-
+ id="app-psql-meta-command-sv">
\sv[+] view_name
-
+ id="app-psql-meta-command-t-lc">
\t
-
+ id="app-psql-meta-command-t-uc">
\T table_options
-
+ id="app-psql-meta-command-timing">
\timing [ on | off ]
-
+ id="app-psql-meta-command-unset">
\unset name
-
+ id="app-psql-meta-command-write">
\w or \write filename
\w or \write |command
-
+ id="app-psql-meta-command-warn">
\warn text [ ... ]
-
+ id="app-psql-meta-command-watch">
\watch [ seconds ]
-
+ id="app-psql-meta-command-x">
\x [ on | off | auto ]
-
+ id="app-psql-meta-command-z">
\z[S] [ pattern ]
-
+ id="app-psql-meta-command-exclamation-mark">
\! [ command ]
-
+ id="app-psql-meta-command-question-mark">
\? [ topic ]
-
+ id="app-psql-meta-command-semicolon">
\;
-
+ id="app-psql-variables-autocommit">
AUTOCOMMIT
-
+ id="app-psql-variables-comp-keyword-case">
COMP_KEYWORD_CASE
-
+ id="app-psql-variables-dbname">
DBNAME
-
+ id="app-psql-variables-echo">
ECHO
-
+ id="app-psql-variables-echo-hidden">
ECHO_HIDDEN
-
+ id="app-psql-variables-encoding">
ENCODING
-
+ id="app-psql-variables-error">
ERROR
-
+ id="app-psql-variables-fetch-count">
FETCH_COUNT
-
+ id="app-psql-variables-hide-tableam">
HIDE_TABLEAM
-
+ id="app-psql-variables-hide-toast-compression">
HIDE_TOAST_COMPRESSION
-
+ id="app-psql-variables-histcontrol">
HISTCONTROL
-
+ id="app-psql-variables-histfile">
HISTFILE
-
+ id="app-psql-variables-histsize">
HISTSIZE
-
+ id="app-psql-variables-host">
HOST
-
+ id="app-psql-variables-ignoreeof">
IGNOREEOF
-
+ id="app-psql-variables-lastoid">
LASTOID
-
+ id="app-psql-variables-last-error-message">
LAST_ERROR_MESSAGE
LAST_ERROR_SQLSTATE
-
+ id="app-psql-variables-on-error-rollback">
ON_ERROR_ROLLBACK
-
+ id="app-psql-variables-on-error-stop">
ON_ERROR_STOP
-
+ id="app-psql-variables-port">
PORT
-
+ id="app-psql-variables-prompt">
PROMPT1
PROMPT2
PROMPT3
-
+ id="app-psql-variables-quiet">
QUIET
-
+ id="app-psql-variables-row-count">
ROW_COUNT
-
+ id="app-psql-variables-server-version-name">
SERVER_VERSION_NAME
SERVER_VERSION_NUM
-
+ id="app-psql-variables-show-all-results">
SHOW_ALL_RESULTS
- >
+ >
SHOW_CONTEXT
-
+ id="app-psql-variables-singleline">
SINGLELINE
-
+ id="app-psql-variables-singlestep">
SINGLESTEP
-
+ id="app-psql-variables-sqlstate">
SQLSTATE
-
+ id="app-psql-variables-user">
USER
-
+ id="app-psql-variables-verbosity">
VERBOSITY
-
+ id="app-psql-variables-version">
VERSION
VERSION_NAME
VERSION_NUM
instead. Defined substitutions are:
-
+ id="app-psql-prompting-m-uc">
%M
-
+ id="app-psql-prompting-m-lc">
%m
-
+ id="app-psql-prompting-gt">
%>
The port number at which the database server is listening.
-
+ id="app-psql-prompting-n">
%n
-
+ id="app-psql-prompting-slash">
%/
The name of the current database.
-
+ id="app-psql-prompting-tilde">
%~
Like %/, but the output is ~
(tilde) if the database is your default database.
-
+ id="app-psql-prompting-numbersign">
%#
-
+ id="app-psql-prompting-p">
%p
The process ID of the backend currently connected to.
-
+ id="app-psql-prompting-r">
%R
-
+ id="app-psql-prompting-x">
%x
-
+ id="app-psql-prompting-l">
%l
-
+ id="app-psql-prompting-digits">
%digits
-
+ id="app-psql-prompting-name">
%:name:
-
+ id="app-psql-prompting-command">
%`command`
-
+ id="app-psql-prompting-square-brackets">
%[ ... %]
-
+ id="app-psql-prompting-w">
%w
-
+ id="app-psql-environment-columns">
COLUMNS
-
+ id="app-psql-environment-pgdatabase">
PGDATABASE
PGHOST
PGPORT
-
+ id="app-psql-environment-pg-color">
PG_COLOR
-
+ id="app-psql-environment-psql-editor">
PSQL_EDITOR
EDITOR
VISUAL
-
+ id="app-psql-environment-psql-editor-linenumber-arg">
PSQL_EDITOR_LINENUMBER_ARG
-
+ id="app-psql-environment-psql-history">
PSQL_HISTORY
-
+ id="app-psql-environment-pager">
PSQL_PAGER
PAGER
-
+ id="app-psql-environment-psql-watch-pager">
PSQL_WATCH_PAGER
-
+ id="app-psql-environment-psqlrc">
PSQLRC
-
+ id="app-psql-environment-shell">
SHELL
-
+ id="app-psql-environment-tmpdir">
TMPDIR
Files
-
+ id="app-psql-files-psqlrc">
psqlrc and ~/.psqlrc
-
+ id="app-psql-files-psql-history">
.psql_history
-
+ id="sql-rollback-transaction">
WORK
TRANSACTION
interprocess communication and locking are working correctly.
-
+ id="regress-run-temp-inst">
Running the Tests Against a Temporary Installation
-
+ id="regress-run-existing-inst">
Running the Tests Against an Existing Installation
-
+ id="regress-run-locale">
Locale and Encoding
-
+ id="regress-run-custom-settings">
Custom Server Settings
-
+ id="regress-run-extra-tests">
Extra Tests
for details.
-
+ id="regress-evaluation-message-differences">
Error Message Differences
-
+ id="regress-evaluation-locale-differences">
Locale Differences
-
+ id="regress-evaluation-date-time-differences">
Date and Time Differences
-
+ id="regress-evaluation-float-differences">
Floating-Point Differences
-
+ id="regress-evaluation-ordering-differences">
Row Ordering Differences
-
+ id="regress-evaluation-stack-depth">
Insufficient Stack Depth
-
+ id="regress-evaluation-random-test">
The random
Test
-
+ id="regress-evaluation-config-params">
Configuration Parameters
-
+ id="rowtypes-constructing">
Constructing Composite Values
-
+ id="rowtypes-modifying">
Modifying Composite Types
-
+ id="rules-views-non-select">
View Rules in Non-SELECT Statements
-
+ id="rules-views-power">
The Power of Views in PostgreSQL
-
+ id="rules-update-how">
How Update Rules Work
there is no need to apply update rules to the output of view rewriting.
-
+ id="rules-update-how-first">
A First Rule Step by Step
-
+ id="kernel-resources-limits">
Resource Limits
on the current database.
-
+ id="seg-rationale">
Rationale
-
+ id="seg-syntax">
Syntax
-
+ id="seg-precision">
Precision
-
+ id="seg-usage">
Usage
-
+ id="seg-notes">
Notes
-
+ id="seg-credits">
Credits
Features
-
+ id="sepgsql-features-controlled-obj-classes">
Controlled Object Classes
The security model of
SELinux describes all the access
-
+ id="sepgsql-features-dml-permissions">
DML Permissions
-
+ id="sepgsql-features-ddl-permissions">
DDL Permissions
SELinux defines several permissions to control common
-
+ id="sepgsql-features-trusted-procedures">
Trusted Procedures
Trusted procedures are similar to security definer functions or setuid
-
+ id="sepgsql-features-dynamic-domain-transitions">
Dynamic Domain Transitions
It is possible to use SELinux's dynamic domain transition feature
-
+ id="sepgsql-features-misc">
Miscellaneous
We reject the LOAD command across the board, because
-
+ id="error-style-guide-what-goes-where">
What Goes Where
-
+ id="error-style-guide-formatting">
Formatting
-
+ id="error-style-guide-quotation-marks">
Quotation Marks
-
+ id="error-style-guide-quotes">
Use of Quotes
-
+ id="error-style-guide-grammar-punctuation">
Grammar and Punctuation
-
+ id="error-style-guide-case">
Upper Case vs. Lower Case
-
+ id="error-style-guide-passive-voice">
Avoid Passive Voice
-
+ id="error-style-guide-tense">
Present vs. Past Tense
-
+ id="error-style-guide-object-type">
Type of the Object
-
+ id="error-style-guide-brackets">
Brackets
-
+ id="error-style-guide-error-messages">
Assembling Error Messages
-
+ id="error-style-guide-error-reasons">
Reasons for Errors
-
+ id="error-style-guide-function-names">
Function Names
-
+ id="error-style-guide-tricky-words">
Tricky Words to Avoid
-
+ id="error-style-guide-spelling">
Proper Spelling
-
+ id="error-style-guide-localization">
Localization
Miscellaneous Coding Conventions
-
+ id="source-conventions-c-standard">
C Standard
Code in
PostgreSQL should only rely on language
-
+ id="source-conventions-macros-inline">
Function-Like Macros and Inline Functions
Both macros with arguments and static inline
-
+ id="source-conventions-signal-handlers">
Writing Signal Handlers
To be suitable to run inside a signal handler code has to be
-
+ id="source-conventions-function-pointers">
Calling Function Pointers
configured with --with-ssl=openssl.
-
+ id="sslinfo-functions">
Functions Provided
-
+ id="sslinfo-author">
Author
on the current database.
-
+ id="tablefunc-functions-sect">
Functions Provided
-
+ id="tablefunc-functions-normal-rand">
normal_rand
-
+ id="tablefunc-functions-crosstab-text">
crosstab(text)
-
+ id="tablefunc-functions-crosstab-n-text">
crosstabN(text)
-
+ id="tablefunc-functions-crosstab-text-2">
crosstab(text, text)
-
+ id="tablefunc-functions-connectby">
connectby
-
+ id="tablefunc-author">
Author
on the current database.
-
+ id="tsm-system-rows-examples">
Examples
on the current database.
-
+ id="tsm-system-time-examples">
Examples
on the current database.
-
+ id="unaccent-configuration">
Configuration
-
+ id="unaccent-usage">
Usage
-
+ id="unaccent-functions">
Functions
on the current database.
-
+ id="uuid-ossp-functions-sect">
uuid-ossp Functions
-
+ id="uuid-ossp-building">
Building uuid-ossp
-
+ id="uuid-ossp-author">
Author
-
+ id="xfunc-sql-collations">
SQL Functions with Collations
-
+ id="xfunc-c-v1-call-conv">
Version 1 Calling Conventions
-
+ id="xfunc-c-code">
Writing Code
&dfunc;
-
+ id="xfunc-c-composite-type-args">
Composite-Type Arguments
-
+ id="xfunc-c-returning-rows">
Returning Rows (Composite Types)
-
+ id="xfunc-c-polymorphic">
Polymorphic Arguments and Return Types
XSLT functionality.
-
+ id="xml2-deprecation">
Deprecation Notice
-
+ id="xml2-functions">
Description of Functions
-
+ id="xml2-xpath-table">
xpath_table
of this in a view for convenience.
-
+ id="xml2-xpath-table-multivalued-results">
Multivalued Results
-
+ id="xml2-xslt">
XSLT Functions
The following functions are available if libxslt is installed:
-
+ id="xml2-xslt-xslt-process">
xslt_process
-
+ id="xml2-author">
Author
See for more information.
-
+ id="xoper-commutator">
COMMUTATOR
-
+ id="xoper-negator">
NEGATOR
-
+ id="xoper-restrict">
RESTRICT
-
+ id="xoper-join">
JOIN
-
+ id="xoper-hashes">
HASHES
-
+ id="xoper-merges">
MERGES