Version in base suite: 11.6-0+deb10u1 Base version: postgresql-11_11.6-0+deb10u1 Target version: postgresql-11_11.7-0+deb10u1 Base file: /srv/ftp-master.debian.org/ftp/pool/main/p/postgresql-11/postgresql-11_11.6-0+deb10u1.dsc Target file: /srv/ftp-master.debian.org/policy/pool/main/p/postgresql-11/postgresql-11_11.7-0+deb10u1.dsc COPYRIGHT | 2 configure | 57 configure.in | 18 contrib/cube/cubeparse.c | 278 contrib/cube/cubescan.c | 744 contrib/dict_int/dict_int.c | 5 contrib/dict_int/expected/dict_int.out | 2 contrib/dict_int/sql/dict_int.sql | 2 contrib/jsonb_plpython/jsonb_plpython.c | 7 contrib/postgres_fdw/deparse.c | 16 contrib/postgres_fdw/expected/postgres_fdw.out | 41 contrib/postgres_fdw/sql/postgres_fdw.sql | 30 contrib/seg/segparse.c | 244 contrib/seg/segscan.c | 744 contrib/tablefunc/tablefunc.c | 5 debian/changelog | 13 doc/bug.template | 2 doc/src/sgml/bloom.sgml | 4 doc/src/sgml/client-auth.sgml | 134 doc/src/sgml/ddl.sgml | 143 doc/src/sgml/func.sgml | 7 doc/src/sgml/html/acronyms.html | 4 doc/src/sgml/html/admin.html | 2 doc/src/sgml/html/adminpack.html | 2 doc/src/sgml/html/amcheck.html | 2 doc/src/sgml/html/app-clusterdb.html | 2 doc/src/sgml/html/app-createdb.html | 2 doc/src/sgml/html/app-createuser.html | 2 doc/src/sgml/html/app-dropdb.html | 2 doc/src/sgml/html/app-dropuser.html | 2 doc/src/sgml/html/app-ecpg.html | 2 doc/src/sgml/html/app-initdb.html | 2 doc/src/sgml/html/app-pg-ctl.html | 2 doc/src/sgml/html/app-pg-dumpall.html | 2 doc/src/sgml/html/app-pg-isready.html | 2 doc/src/sgml/html/app-pgbasebackup.html | 2 doc/src/sgml/html/app-pgconfig.html | 2 doc/src/sgml/html/app-pgcontroldata.html | 2 doc/src/sgml/html/app-pgdump.html | 2 doc/src/sgml/html/app-pgreceivewal.html | 2 doc/src/sgml/html/app-pgrecvlogical.html | 2 doc/src/sgml/html/app-pgresetwal.html | 2 doc/src/sgml/html/app-pgrestore.html | 2 doc/src/sgml/html/app-pgrewind.html | 2 doc/src/sgml/html/app-postgres.html | 2 doc/src/sgml/html/app-postmaster.html | 2 doc/src/sgml/html/app-psql.html | 4 doc/src/sgml/html/app-reindexdb.html | 2 doc/src/sgml/html/app-vacuumdb.html | 2 doc/src/sgml/html/appendixes.html | 2 doc/src/sgml/html/applevel-consistency.html | 2 doc/src/sgml/html/archive-recovery-settings.html | 2 doc/src/sgml/html/arrays.html | 2 doc/src/sgml/html/auth-bsd.html | 2 doc/src/sgml/html/auth-cert.html | 2 doc/src/sgml/html/auth-delay.html | 2 doc/src/sgml/html/auth-ident.html | 2 doc/src/sgml/html/auth-ldap.html | 2 doc/src/sgml/html/auth-methods.html | 58 doc/src/sgml/html/auth-pam.html | 2 doc/src/sgml/html/auth-password.html | 2 doc/src/sgml/html/auth-peer.html | 2 doc/src/sgml/html/auth-pg-hba-conf.html | 2 doc/src/sgml/html/auth-radius.html | 39 doc/src/sgml/html/auth-trust.html | 2 doc/src/sgml/html/auth-username-maps.html | 2 doc/src/sgml/html/auto-explain.html | 2 doc/src/sgml/html/backup-dump.html | 2 doc/src/sgml/html/backup-file.html | 2 doc/src/sgml/html/backup.html | 2 doc/src/sgml/html/bgworker.html | 2 doc/src/sgml/html/biblio.html | 2 doc/src/sgml/html/bki-commands.html | 2 doc/src/sgml/html/bki-example.html | 2 doc/src/sgml/html/bki-format.html | 2 doc/src/sgml/html/bki-structure.html | 2 doc/src/sgml/html/bki.html | 2 doc/src/sgml/html/bloom.html | 6 doc/src/sgml/html/bookindex.html | 18 doc/src/sgml/html/brin-builtin-opclasses.html | 2 doc/src/sgml/html/brin-extensibility.html | 2 doc/src/sgml/html/brin-intro.html | 2 doc/src/sgml/html/brin.html | 2 doc/src/sgml/html/btree-behavior.html | 2 doc/src/sgml/html/btree-gin.html | 2 doc/src/sgml/html/btree-gist.html | 2 doc/src/sgml/html/btree-implementation.html | 2 doc/src/sgml/html/btree-intro.html | 2 doc/src/sgml/html/btree-support-funcs.html | 2 doc/src/sgml/html/btree.html | 2 doc/src/sgml/html/bug-reporting.html | 4 doc/src/sgml/html/catalog-pg-aggregate.html | 2 doc/src/sgml/html/catalog-pg-am.html | 2 doc/src/sgml/html/catalog-pg-amop.html | 2 doc/src/sgml/html/catalog-pg-amproc.html | 2 doc/src/sgml/html/catalog-pg-attrdef.html | 2 doc/src/sgml/html/catalog-pg-attribute.html | 2 doc/src/sgml/html/catalog-pg-auth-members.html | 2 doc/src/sgml/html/catalog-pg-authid.html | 2 doc/src/sgml/html/catalog-pg-cast.html | 2 doc/src/sgml/html/catalog-pg-class.html | 2 doc/src/sgml/html/catalog-pg-collation.html | 2 doc/src/sgml/html/catalog-pg-constraint.html | 2 doc/src/sgml/html/catalog-pg-conversion.html | 2 doc/src/sgml/html/catalog-pg-database.html | 2 doc/src/sgml/html/catalog-pg-db-role-setting.html | 2 doc/src/sgml/html/catalog-pg-default-acl.html | 2 doc/src/sgml/html/catalog-pg-depend.html | 2 doc/src/sgml/html/catalog-pg-description.html | 2 doc/src/sgml/html/catalog-pg-enum.html | 2 doc/src/sgml/html/catalog-pg-event-trigger.html | 2 doc/src/sgml/html/catalog-pg-extension.html | 2 doc/src/sgml/html/catalog-pg-foreign-data-wrapper.html | 2 doc/src/sgml/html/catalog-pg-foreign-server.html | 2 doc/src/sgml/html/catalog-pg-foreign-table.html | 2 doc/src/sgml/html/catalog-pg-index.html | 2 doc/src/sgml/html/catalog-pg-inherits.html | 2 doc/src/sgml/html/catalog-pg-init-privs.html | 2 doc/src/sgml/html/catalog-pg-language.html | 2 doc/src/sgml/html/catalog-pg-largeobject-metadata.html | 2 doc/src/sgml/html/catalog-pg-largeobject.html | 2 doc/src/sgml/html/catalog-pg-namespace.html | 2 doc/src/sgml/html/catalog-pg-opclass.html | 2 doc/src/sgml/html/catalog-pg-operator.html | 2 doc/src/sgml/html/catalog-pg-opfamily.html | 2 doc/src/sgml/html/catalog-pg-partitioned-table.html | 2 doc/src/sgml/html/catalog-pg-pltemplate.html | 2 doc/src/sgml/html/catalog-pg-policy.html | 2 doc/src/sgml/html/catalog-pg-proc.html | 2 doc/src/sgml/html/catalog-pg-publication-rel.html | 2 doc/src/sgml/html/catalog-pg-publication.html | 2 doc/src/sgml/html/catalog-pg-range.html | 2 doc/src/sgml/html/catalog-pg-replication-origin.html | 2 doc/src/sgml/html/catalog-pg-rewrite.html | 2 doc/src/sgml/html/catalog-pg-seclabel.html | 2 doc/src/sgml/html/catalog-pg-sequence.html | 2 doc/src/sgml/html/catalog-pg-shdepend.html | 2 doc/src/sgml/html/catalog-pg-shdescription.html | 2 doc/src/sgml/html/catalog-pg-shseclabel.html | 2 doc/src/sgml/html/catalog-pg-statistic-ext.html | 2 doc/src/sgml/html/catalog-pg-statistic.html | 2 doc/src/sgml/html/catalog-pg-subscription-rel.html | 2 doc/src/sgml/html/catalog-pg-subscription.html | 2 doc/src/sgml/html/catalog-pg-tablespace.html | 2 doc/src/sgml/html/catalog-pg-transform.html | 2 doc/src/sgml/html/catalog-pg-trigger.html | 2 doc/src/sgml/html/catalog-pg-ts-config-map.html | 2 doc/src/sgml/html/catalog-pg-ts-config.html | 2 doc/src/sgml/html/catalog-pg-ts-dict.html | 2 doc/src/sgml/html/catalog-pg-ts-parser.html | 2 doc/src/sgml/html/catalog-pg-ts-template.html | 2 doc/src/sgml/html/catalog-pg-type.html | 2 doc/src/sgml/html/catalog-pg-user-mapping.html | 2 doc/src/sgml/html/catalogs-overview.html | 2 doc/src/sgml/html/catalogs.html | 2 doc/src/sgml/html/charset.html | 2 doc/src/sgml/html/citext.html | 2 doc/src/sgml/html/client-authentication-problems.html | 2 doc/src/sgml/html/client-authentication.html | 2 doc/src/sgml/html/client-interfaces.html | 2 doc/src/sgml/html/collation.html | 2 doc/src/sgml/html/config-setting.html | 2 doc/src/sgml/html/connect-estab.html | 2 doc/src/sgml/html/continuous-archiving.html | 2 doc/src/sgml/html/contrib-dblink-build-sql-delete.html | 2 doc/src/sgml/html/contrib-dblink-build-sql-insert.html | 2 doc/src/sgml/html/contrib-dblink-build-sql-update.html | 2 doc/src/sgml/html/contrib-dblink-cancel-query.html | 2 doc/src/sgml/html/contrib-dblink-close.html | 2 doc/src/sgml/html/contrib-dblink-connect-u.html | 2 doc/src/sgml/html/contrib-dblink-connect.html | 2 doc/src/sgml/html/contrib-dblink-disconnect.html | 2 doc/src/sgml/html/contrib-dblink-error-message.html | 2 doc/src/sgml/html/contrib-dblink-exec.html | 2 doc/src/sgml/html/contrib-dblink-fetch.html | 2 doc/src/sgml/html/contrib-dblink-function.html | 2 doc/src/sgml/html/contrib-dblink-get-connections.html | 2 doc/src/sgml/html/contrib-dblink-get-notify.html | 2 doc/src/sgml/html/contrib-dblink-get-pkey.html | 2 doc/src/sgml/html/contrib-dblink-get-result.html | 2 doc/src/sgml/html/contrib-dblink-is-busy.html | 2 doc/src/sgml/html/contrib-dblink-open.html | 2 doc/src/sgml/html/contrib-dblink-send-query.html | 2 doc/src/sgml/html/contrib-prog-client.html | 2 doc/src/sgml/html/contrib-prog-server.html | 2 doc/src/sgml/html/contrib-prog.html | 2 doc/src/sgml/html/contrib-spi.html | 2 doc/src/sgml/html/contrib.html | 4 doc/src/sgml/html/creating-cluster.html | 2 doc/src/sgml/html/cube.html | 2 doc/src/sgml/html/custom-scan-execution.html | 2 doc/src/sgml/html/custom-scan-path.html | 2 doc/src/sgml/html/custom-scan-plan.html | 2 doc/src/sgml/html/custom-scan.html | 2 doc/src/sgml/html/database-roles.html | 2 doc/src/sgml/html/datatype-binary.html | 2 doc/src/sgml/html/datatype-bit.html | 2 doc/src/sgml/html/datatype-boolean.html | 2 doc/src/sgml/html/datatype-character.html | 2 doc/src/sgml/html/datatype-datetime.html | 2 doc/src/sgml/html/datatype-enum.html | 2 doc/src/sgml/html/datatype-geometric.html | 2 doc/src/sgml/html/datatype-json.html | 2 doc/src/sgml/html/datatype-money.html | 2 doc/src/sgml/html/datatype-net-types.html | 2 doc/src/sgml/html/datatype-numeric.html | 2 doc/src/sgml/html/datatype-oid.html | 2 doc/src/sgml/html/datatype-pg-lsn.html | 2 doc/src/sgml/html/datatype-pseudo.html | 2 doc/src/sgml/html/datatype-textsearch.html | 2 doc/src/sgml/html/datatype-uuid.html | 2 doc/src/sgml/html/datatype-xml.html | 2 doc/src/sgml/html/datatype.html | 2 doc/src/sgml/html/datetime-appendix.html | 2 doc/src/sgml/html/datetime-config-files.html | 2 doc/src/sgml/html/datetime-input-rules.html | 2 doc/src/sgml/html/datetime-invalid-input.html | 2 doc/src/sgml/html/datetime-keywords.html | 2 doc/src/sgml/html/datetime-units-history.html | 2 doc/src/sgml/html/dblink.html | 2 doc/src/sgml/html/ddl-alter.html | 2 doc/src/sgml/html/ddl-basics.html | 2 doc/src/sgml/html/ddl-constraints.html | 45 doc/src/sgml/html/ddl-default.html | 2 doc/src/sgml/html/ddl-depend.html | 2 doc/src/sgml/html/ddl-foreign-data.html | 2 doc/src/sgml/html/ddl-inherit.html | 10 doc/src/sgml/html/ddl-others.html | 2 doc/src/sgml/html/ddl-partitioning.html | 2 doc/src/sgml/html/ddl-priv.html | 2 doc/src/sgml/html/ddl-rowsecurity.html | 2 doc/src/sgml/html/ddl-schemas.html | 74 doc/src/sgml/html/ddl-system-columns.html | 2 doc/src/sgml/html/ddl.html | 2 doc/src/sgml/html/default-roles.html | 2 doc/src/sgml/html/dict-int.html | 2 doc/src/sgml/html/dict-xsyn.html | 2 doc/src/sgml/html/different-replication-solutions.html | 2 doc/src/sgml/html/disk-full.html | 2 doc/src/sgml/html/disk-usage.html | 2 doc/src/sgml/html/diskusage.html | 2 doc/src/sgml/html/dml-delete.html | 2 doc/src/sgml/html/dml-insert.html | 2 doc/src/sgml/html/dml-returning.html | 2 doc/src/sgml/html/dml-update.html | 2 doc/src/sgml/html/dml.html | 2 doc/src/sgml/html/docguide-authoring.html | 2 doc/src/sgml/html/docguide-build.html | 2 doc/src/sgml/html/docguide-docbook.html | 2 doc/src/sgml/html/docguide-style.html | 2 doc/src/sgml/html/docguide-toolsets.html | 2 doc/src/sgml/html/docguide.html | 2 doc/src/sgml/html/domains.html | 2 doc/src/sgml/html/dynamic-trace.html | 2 doc/src/sgml/html/earthdistance.html | 2 doc/src/sgml/html/ecpg-commands.html | 2 doc/src/sgml/html/ecpg-concept.html | 2 doc/src/sgml/html/ecpg-connect.html | 2 doc/src/sgml/html/ecpg-cpp.html | 2 doc/src/sgml/html/ecpg-descriptors.html | 2 doc/src/sgml/html/ecpg-develop.html | 2 doc/src/sgml/html/ecpg-dynamic.html | 2 doc/src/sgml/html/ecpg-errors.html | 2 doc/src/sgml/html/ecpg-informix-compat.html | 2 doc/src/sgml/html/ecpg-library.html | 2 doc/src/sgml/html/ecpg-lo.html | 2 doc/src/sgml/html/ecpg-pgtypes.html | 2 doc/src/sgml/html/ecpg-preproc.html | 2 doc/src/sgml/html/ecpg-process.html | 2 doc/src/sgml/html/ecpg-sql-allocate-descriptor.html | 2 doc/src/sgml/html/ecpg-sql-commands.html | 2 doc/src/sgml/html/ecpg-sql-connect.html | 2 doc/src/sgml/html/ecpg-sql-deallocate-descriptor.html | 2 doc/src/sgml/html/ecpg-sql-declare.html | 2 doc/src/sgml/html/ecpg-sql-describe.html | 2 doc/src/sgml/html/ecpg-sql-disconnect.html | 2 doc/src/sgml/html/ecpg-sql-execute-immediate.html | 2 doc/src/sgml/html/ecpg-sql-get-descriptor.html | 2 doc/src/sgml/html/ecpg-sql-open.html | 2 doc/src/sgml/html/ecpg-sql-prepare.html | 2 doc/src/sgml/html/ecpg-sql-set-autocommit.html | 2 doc/src/sgml/html/ecpg-sql-set-connection.html | 2 doc/src/sgml/html/ecpg-sql-set-descriptor.html | 2 doc/src/sgml/html/ecpg-sql-type.html | 2 doc/src/sgml/html/ecpg-sql-var.html | 2 doc/src/sgml/html/ecpg-sql-whenever.html | 2 doc/src/sgml/html/ecpg-variables.html | 2 doc/src/sgml/html/ecpg.html | 2 doc/src/sgml/html/encryption-options.html | 2 doc/src/sgml/html/errcodes-appendix.html | 4 doc/src/sgml/html/error-message-reporting.html | 2 doc/src/sgml/html/error-style-guide.html | 2 doc/src/sgml/html/event-log-registration.html | 2 doc/src/sgml/html/event-trigger-definition.html | 2 doc/src/sgml/html/event-trigger-example.html | 2 doc/src/sgml/html/event-trigger-interface.html | 2 doc/src/sgml/html/event-trigger-matrix.html | 2 doc/src/sgml/html/event-trigger-table-rewrite-example.html | 2 doc/src/sgml/html/event-triggers.html | 2 doc/src/sgml/html/executor.html | 2 doc/src/sgml/html/explicit-joins.html | 2 doc/src/sgml/html/explicit-locking.html | 2 doc/src/sgml/html/extend-extensions.html | 2 doc/src/sgml/html/extend-how.html | 2 doc/src/sgml/html/extend-pgxs.html | 2 doc/src/sgml/html/extend-type-system.html | 2 doc/src/sgml/html/extend.html | 2 doc/src/sgml/html/external-admin-tools.html | 2 doc/src/sgml/html/external-extensions.html | 2 doc/src/sgml/html/external-interfaces.html | 2 doc/src/sgml/html/external-pl.html | 2 doc/src/sgml/html/external-projects.html | 2 doc/src/sgml/html/fdw-callbacks.html | 2 doc/src/sgml/html/fdw-functions.html | 2 doc/src/sgml/html/fdw-helpers.html | 2 doc/src/sgml/html/fdw-planning.html | 2 doc/src/sgml/html/fdw-row-locking.html | 2 doc/src/sgml/html/fdwhandler.html | 2 doc/src/sgml/html/features-sql-standard.html | 2 doc/src/sgml/html/features.html | 2 doc/src/sgml/html/file-fdw.html | 2 doc/src/sgml/html/functions-admin.html | 9 doc/src/sgml/html/functions-aggregate.html | 2 doc/src/sgml/html/functions-array.html | 2 doc/src/sgml/html/functions-binarystring.html | 2 doc/src/sgml/html/functions-bitstring.html | 2 doc/src/sgml/html/functions-comparison.html | 2 doc/src/sgml/html/functions-comparisons.html | 2 doc/src/sgml/html/functions-conditional.html | 2 doc/src/sgml/html/functions-datetime.html | 2 doc/src/sgml/html/functions-enum.html | 2 doc/src/sgml/html/functions-event-triggers.html | 2 doc/src/sgml/html/functions-formatting.html | 2 doc/src/sgml/html/functions-geometry.html | 2 doc/src/sgml/html/functions-info.html | 2 doc/src/sgml/html/functions-json.html | 2 doc/src/sgml/html/functions-logical.html | 2 doc/src/sgml/html/functions-matching.html | 2 doc/src/sgml/html/functions-math.html | 2 doc/src/sgml/html/functions-net.html | 2 doc/src/sgml/html/functions-range.html | 2 doc/src/sgml/html/functions-sequence.html | 2 doc/src/sgml/html/functions-srf.html | 2 doc/src/sgml/html/functions-string.html | 2 doc/src/sgml/html/functions-subquery.html | 2 doc/src/sgml/html/functions-textsearch.html | 2 doc/src/sgml/html/functions-trigger.html | 2 doc/src/sgml/html/functions-window.html | 2 doc/src/sgml/html/functions-xml.html | 2 doc/src/sgml/html/functions.html | 2 doc/src/sgml/html/fuzzystrmatch.html | 2 doc/src/sgml/html/generic-wal.html | 2 doc/src/sgml/html/geqo-biblio.html | 2 doc/src/sgml/html/geqo-intro.html | 2 doc/src/sgml/html/geqo-intro2.html | 2 doc/src/sgml/html/geqo-pg-intro.html | 2 doc/src/sgml/html/geqo.html | 2 doc/src/sgml/html/gin-builtin-opclasses.html | 2 doc/src/sgml/html/gin-examples.html | 2 doc/src/sgml/html/gin-extensibility.html | 2 doc/src/sgml/html/gin-implementation.html | 2 doc/src/sgml/html/gin-intro.html | 2 doc/src/sgml/html/gin-limit.html | 2 doc/src/sgml/html/gin-tips.html | 2 doc/src/sgml/html/gin.html | 2 doc/src/sgml/html/gist-builtin-opclasses.html | 2 doc/src/sgml/html/gist-examples.html | 2 doc/src/sgml/html/gist-extensibility.html | 2 doc/src/sgml/html/gist-implementation.html | 2 doc/src/sgml/html/gist-intro.html | 2 doc/src/sgml/html/gist.html | 2 doc/src/sgml/html/git.html | 2 doc/src/sgml/html/gssapi-auth.html | 2 doc/src/sgml/html/high-availability.html | 2 doc/src/sgml/html/history.html | 2 doc/src/sgml/html/hot-standby.html | 2 doc/src/sgml/html/how-parallel-query-works.html | 2 doc/src/sgml/html/hstore.html | 2 doc/src/sgml/html/index-api.html | 2 doc/src/sgml/html/index-cost-estimation.html | 2 doc/src/sgml/html/index-functions.html | 2 doc/src/sgml/html/index-locking.html | 2 doc/src/sgml/html/index-scanning.html | 2 doc/src/sgml/html/index-unique-checks.html | 2 doc/src/sgml/html/index.html | 2 doc/src/sgml/html/indexam.html | 2 doc/src/sgml/html/indexes-bitmap-scans.html | 2 doc/src/sgml/html/indexes-collations.html | 2 doc/src/sgml/html/indexes-examine.html | 2 doc/src/sgml/html/indexes-expressional.html | 9 doc/src/sgml/html/indexes-index-only-scans.html | 2 doc/src/sgml/html/indexes-intro.html | 2 doc/src/sgml/html/indexes-multicolumn.html | 2 doc/src/sgml/html/indexes-opclass.html | 2 doc/src/sgml/html/indexes-ordering.html | 2 doc/src/sgml/html/indexes-partial.html | 10 doc/src/sgml/html/indexes-types.html | 2 doc/src/sgml/html/indexes-unique.html | 2 doc/src/sgml/html/indexes.html | 2 doc/src/sgml/html/information-schema.html | 2 doc/src/sgml/html/infoschema-administrable-role-authorizations.html | 2 doc/src/sgml/html/infoschema-applicable-roles.html | 2 doc/src/sgml/html/infoschema-attributes.html | 2 doc/src/sgml/html/infoschema-character-sets.html | 2 doc/src/sgml/html/infoschema-check-constraint-routine-usage.html | 2 doc/src/sgml/html/infoschema-check-constraints.html | 2 doc/src/sgml/html/infoschema-collation-character-set-applicab.html | 2 doc/src/sgml/html/infoschema-collations.html | 2 doc/src/sgml/html/infoschema-column-domain-usage.html | 2 doc/src/sgml/html/infoschema-column-options.html | 2 doc/src/sgml/html/infoschema-column-privileges.html | 2 doc/src/sgml/html/infoschema-column-udt-usage.html | 2 doc/src/sgml/html/infoschema-columns.html | 2 doc/src/sgml/html/infoschema-constraint-column-usage.html | 2 doc/src/sgml/html/infoschema-constraint-table-usage.html | 2 doc/src/sgml/html/infoschema-data-type-privileges.html | 2 doc/src/sgml/html/infoschema-datatypes.html | 2 doc/src/sgml/html/infoschema-domain-constraints.html | 2 doc/src/sgml/html/infoschema-domain-udt-usage.html | 2 doc/src/sgml/html/infoschema-domains.html | 2 doc/src/sgml/html/infoschema-element-types.html | 2 doc/src/sgml/html/infoschema-enabled-roles.html | 2 doc/src/sgml/html/infoschema-foreign-data-wrapper-options.html | 2 doc/src/sgml/html/infoschema-foreign-data-wrappers.html | 2 doc/src/sgml/html/infoschema-foreign-server-options.html | 2 doc/src/sgml/html/infoschema-foreign-servers.html | 2 doc/src/sgml/html/infoschema-foreign-table-options.html | 2 doc/src/sgml/html/infoschema-foreign-tables.html | 2 doc/src/sgml/html/infoschema-information-schema-catalog-name.html | 2 doc/src/sgml/html/infoschema-key-column-usage.html | 2 doc/src/sgml/html/infoschema-parameters.html | 2 doc/src/sgml/html/infoschema-referential-constraints.html | 2 doc/src/sgml/html/infoschema-role-column-grants.html | 2 doc/src/sgml/html/infoschema-role-routine-grants.html | 2 doc/src/sgml/html/infoschema-role-table-grants.html | 2 doc/src/sgml/html/infoschema-role-udt-grants.html | 2 doc/src/sgml/html/infoschema-role-usage-grants.html | 2 doc/src/sgml/html/infoschema-routine-privileges.html | 2 doc/src/sgml/html/infoschema-routines.html | 2 doc/src/sgml/html/infoschema-schema.html | 2 doc/src/sgml/html/infoschema-schemata.html | 2 doc/src/sgml/html/infoschema-sequences.html | 2 doc/src/sgml/html/infoschema-sql-features.html | 2 doc/src/sgml/html/infoschema-sql-implementation-info.html | 2 doc/src/sgml/html/infoschema-sql-languages.html | 2 doc/src/sgml/html/infoschema-sql-packages.html | 2 doc/src/sgml/html/infoschema-sql-parts.html | 2 doc/src/sgml/html/infoschema-sql-sizing-profiles.html | 2 doc/src/sgml/html/infoschema-sql-sizing.html | 2 doc/src/sgml/html/infoschema-table-constraints.html | 2 doc/src/sgml/html/infoschema-table-privileges.html | 2 doc/src/sgml/html/infoschema-tables.html | 2 doc/src/sgml/html/infoschema-transforms.html | 2 doc/src/sgml/html/infoschema-triggered-update-columns.html | 2 doc/src/sgml/html/infoschema-triggers.html | 2 doc/src/sgml/html/infoschema-udt-privileges.html | 2 doc/src/sgml/html/infoschema-usage-privileges.html | 2 doc/src/sgml/html/infoschema-user-defined-types.html | 2 doc/src/sgml/html/infoschema-user-mapping-options.html | 2 doc/src/sgml/html/infoschema-user-mappings.html | 2 doc/src/sgml/html/infoschema-view-column-usage.html | 2 doc/src/sgml/html/infoschema-view-routine-usage.html | 2 doc/src/sgml/html/infoschema-view-table-usage.html | 2 doc/src/sgml/html/infoschema-views.html | 2 doc/src/sgml/html/install-getsource.html | 14 doc/src/sgml/html/install-post.html | 2 doc/src/sgml/html/install-procedure.html | 2 doc/src/sgml/html/install-requirements.html | 2 doc/src/sgml/html/install-short.html | 2 doc/src/sgml/html/install-windows-full.html | 2 doc/src/sgml/html/install-windows.html | 2 doc/src/sgml/html/installation-platform-notes.html | 2 doc/src/sgml/html/installation.html | 2 doc/src/sgml/html/intagg.html | 2 doc/src/sgml/html/intarray.html | 2 doc/src/sgml/html/internals.html | 2 doc/src/sgml/html/intro-whatis.html | 2 doc/src/sgml/html/isn.html | 2 doc/src/sgml/html/jit-configuration.html | 2 doc/src/sgml/html/jit-decision.html | 2 doc/src/sgml/html/jit-extensibility.html | 2 doc/src/sgml/html/jit-reason.html | 2 doc/src/sgml/html/jit.html | 2 doc/src/sgml/html/kernel-resources.html | 2 doc/src/sgml/html/largeobjects.html | 2 doc/src/sgml/html/legalnotice.html | 2 doc/src/sgml/html/libpq-async.html | 2 doc/src/sgml/html/libpq-build.html | 2 doc/src/sgml/html/libpq-cancel.html | 2 doc/src/sgml/html/libpq-connect.html | 8 doc/src/sgml/html/libpq-control.html | 2 doc/src/sgml/html/libpq-copy.html | 2 doc/src/sgml/html/libpq-envars.html | 2 doc/src/sgml/html/libpq-events.html | 2 doc/src/sgml/html/libpq-example.html | 2 doc/src/sgml/html/libpq-exec.html | 2 doc/src/sgml/html/libpq-fastpath.html | 2 doc/src/sgml/html/libpq-ldap.html | 2 doc/src/sgml/html/libpq-misc.html | 2 doc/src/sgml/html/libpq-notice-processing.html | 2 doc/src/sgml/html/libpq-notify.html | 2 doc/src/sgml/html/libpq-pgpass.html | 2 doc/src/sgml/html/libpq-pgservice.html | 2 doc/src/sgml/html/libpq-single-row-mode.html | 2 doc/src/sgml/html/libpq-ssl.html | 4 doc/src/sgml/html/libpq-status.html | 2 doc/src/sgml/html/libpq-threading.html | 2 doc/src/sgml/html/libpq.html | 2 doc/src/sgml/html/lo-examplesect.html | 2 doc/src/sgml/html/lo-funcs.html | 2 doc/src/sgml/html/lo-implementation.html | 2 doc/src/sgml/html/lo-interfaces.html | 2 doc/src/sgml/html/lo-intro.html | 2 doc/src/sgml/html/lo.html | 2 doc/src/sgml/html/locale.html | 2 doc/src/sgml/html/locking-indexes.html | 2 doc/src/sgml/html/log-shipping-alternative.html | 2 doc/src/sgml/html/logfile-maintenance.html | 2 doc/src/sgml/html/logical-replication-architecture.html | 2 doc/src/sgml/html/logical-replication-config.html | 2 doc/src/sgml/html/logical-replication-conflicts.html | 2 doc/src/sgml/html/logical-replication-monitoring.html | 2 doc/src/sgml/html/logical-replication-publication.html | 2 doc/src/sgml/html/logical-replication-quick-setup.html | 2 doc/src/sgml/html/logical-replication-restrictions.html | 2 doc/src/sgml/html/logical-replication-security.html | 2 doc/src/sgml/html/logical-replication-subscription.html | 2 doc/src/sgml/html/logical-replication.html | 2 doc/src/sgml/html/logicaldecoding-catalogs.html | 2 doc/src/sgml/html/logicaldecoding-example.html | 2 doc/src/sgml/html/logicaldecoding-explanation.html | 2 doc/src/sgml/html/logicaldecoding-output-plugin.html | 2 doc/src/sgml/html/logicaldecoding-sql.html | 2 doc/src/sgml/html/logicaldecoding-synchronous.html | 2 doc/src/sgml/html/logicaldecoding-walsender.html | 2 doc/src/sgml/html/logicaldecoding-writer.html | 2 doc/src/sgml/html/logicaldecoding.html | 2 doc/src/sgml/html/ltree.html | 2 doc/src/sgml/html/maintenance.html | 2 doc/src/sgml/html/manage-ag-config.html | 2 doc/src/sgml/html/manage-ag-createdb.html | 2 doc/src/sgml/html/manage-ag-dropdb.html | 2 doc/src/sgml/html/manage-ag-overview.html | 2 doc/src/sgml/html/manage-ag-tablespaces.html | 2 doc/src/sgml/html/manage-ag-templatedbs.html | 2 doc/src/sgml/html/managing-databases.html | 2 doc/src/sgml/html/monitoring-locks.html | 2 doc/src/sgml/html/monitoring-ps.html | 2 doc/src/sgml/html/monitoring-stats.html | 2 doc/src/sgml/html/monitoring.html | 2 doc/src/sgml/html/multibyte.html | 2 doc/src/sgml/html/multivariate-statistics-examples.html | 2 doc/src/sgml/html/mvcc-caveats.html | 2 doc/src/sgml/html/mvcc-intro.html | 2 doc/src/sgml/html/mvcc.html | 2 doc/src/sgml/html/nls-programmer.html | 2 doc/src/sgml/html/nls-translator.html | 2 doc/src/sgml/html/nls.html | 2 doc/src/sgml/html/non-durability.html | 2 doc/src/sgml/html/notation.html | 2 doc/src/sgml/html/oid2name.html | 2 doc/src/sgml/html/overview.html | 2 doc/src/sgml/html/pageinspect.html | 2 doc/src/sgml/html/parallel-plans.html | 6 doc/src/sgml/html/parallel-query.html | 2 doc/src/sgml/html/parallel-safety.html | 2 doc/src/sgml/html/parser-stage.html | 2 doc/src/sgml/html/passwordcheck.html | 2 doc/src/sgml/html/performance-tips.html | 2 doc/src/sgml/html/perm-functions.html | 2 doc/src/sgml/html/pgarchivecleanup.html | 2 doc/src/sgml/html/pgbench.html | 2 doc/src/sgml/html/pgbuffercache.html | 2 doc/src/sgml/html/pgcrypto.html | 2 doc/src/sgml/html/pgfreespacemap.html | 2 doc/src/sgml/html/pgprewarm.html | 2 doc/src/sgml/html/pgrowlocks.html | 2 doc/src/sgml/html/pgstandby.html | 2 doc/src/sgml/html/pgstatstatements.html | 2 doc/src/sgml/html/pgstattuple.html | 2 doc/src/sgml/html/pgtestfsync.html | 2 doc/src/sgml/html/pgtesttiming.html | 2 doc/src/sgml/html/pgtrgm.html | 2 doc/src/sgml/html/pgupgrade.html | 2 doc/src/sgml/html/pgverifychecksums.html | 2 doc/src/sgml/html/pgvisibility.html | 2 doc/src/sgml/html/pgwaldump.html | 2 doc/src/sgml/html/planner-optimizer.html | 2 doc/src/sgml/html/planner-stats-details.html | 2 doc/src/sgml/html/planner-stats-security.html | 2 doc/src/sgml/html/planner-stats.html | 2 doc/src/sgml/html/plhandler.html | 2 doc/src/sgml/html/plperl-builtins.html | 2 doc/src/sgml/html/plperl-data.html | 2 doc/src/sgml/html/plperl-event-triggers.html | 2 doc/src/sgml/html/plperl-funcs.html | 2 doc/src/sgml/html/plperl-global.html | 2 doc/src/sgml/html/plperl-triggers.html | 2 doc/src/sgml/html/plperl-trusted.html | 2 doc/src/sgml/html/plperl-under-the-hood.html | 2 doc/src/sgml/html/plperl.html | 2 doc/src/sgml/html/plpgsql-control-structures.html | 2 doc/src/sgml/html/plpgsql-cursors.html | 2 doc/src/sgml/html/plpgsql-declarations.html | 2 doc/src/sgml/html/plpgsql-development-tips.html | 2 doc/src/sgml/html/plpgsql-errors-and-messages.html | 2 doc/src/sgml/html/plpgsql-expressions.html | 2 doc/src/sgml/html/plpgsql-implementation.html | 2 doc/src/sgml/html/plpgsql-overview.html | 2 doc/src/sgml/html/plpgsql-porting.html | 2 doc/src/sgml/html/plpgsql-statements.html | 2 doc/src/sgml/html/plpgsql-structure.html | 2 doc/src/sgml/html/plpgsql-transactions.html | 2 doc/src/sgml/html/plpgsql-trigger.html | 2 doc/src/sgml/html/plpgsql.html | 2 doc/src/sgml/html/plpython-data.html | 2 doc/src/sgml/html/plpython-database.html | 2 doc/src/sgml/html/plpython-do.html | 2 doc/src/sgml/html/plpython-envar.html | 2 doc/src/sgml/html/plpython-funcs.html | 2 doc/src/sgml/html/plpython-python23.html | 2 doc/src/sgml/html/plpython-sharing.html | 2 doc/src/sgml/html/plpython-subtransaction.html | 2 doc/src/sgml/html/plpython-transactions.html | 2 doc/src/sgml/html/plpython-trigger.html | 2 doc/src/sgml/html/plpython-util.html | 2 doc/src/sgml/html/plpython.html | 2 doc/src/sgml/html/pltcl-config.html | 2 doc/src/sgml/html/pltcl-data.html | 2 doc/src/sgml/html/pltcl-dbaccess.html | 2 doc/src/sgml/html/pltcl-error-handling.html | 2 doc/src/sgml/html/pltcl-event-trigger.html | 2 doc/src/sgml/html/pltcl-functions.html | 2 doc/src/sgml/html/pltcl-global.html | 2 doc/src/sgml/html/pltcl-overview.html | 2 doc/src/sgml/html/pltcl-procnames.html | 2 doc/src/sgml/html/pltcl-subtransactions.html | 2 doc/src/sgml/html/pltcl-transactions.html | 2 doc/src/sgml/html/pltcl-trigger.html | 2 doc/src/sgml/html/pltcl.html | 2 doc/src/sgml/html/populate.html | 2 doc/src/sgml/html/postgres-fdw.html | 2 doc/src/sgml/html/postgres-user.html | 2 doc/src/sgml/html/preface.html | 4 doc/src/sgml/html/preventing-server-spoofing.html | 2 doc/src/sgml/html/progress-reporting.html | 2 doc/src/sgml/html/protocol-changes.html | 2 doc/src/sgml/html/protocol-error-fields.html | 2 doc/src/sgml/html/protocol-flow.html | 2 doc/src/sgml/html/protocol-logical-replication.html | 2 doc/src/sgml/html/protocol-logicalrep-message-formats.html | 2 doc/src/sgml/html/protocol-message-formats.html | 2 doc/src/sgml/html/protocol-message-types.html | 2 doc/src/sgml/html/protocol-overview.html | 2 doc/src/sgml/html/protocol-replication.html | 2 doc/src/sgml/html/protocol.html | 2 doc/src/sgml/html/queries-limit.html | 2 doc/src/sgml/html/queries-order.html | 2 doc/src/sgml/html/queries-overview.html | 2 doc/src/sgml/html/queries-select-lists.html | 2 doc/src/sgml/html/queries-table-expressions.html | 2 doc/src/sgml/html/queries-union.html | 2 doc/src/sgml/html/queries-values.html | 2 doc/src/sgml/html/queries-with.html | 2 doc/src/sgml/html/queries.html | 2 doc/src/sgml/html/query-path.html | 2 doc/src/sgml/html/querytree.html | 2 doc/src/sgml/html/rangetypes.html | 37 doc/src/sgml/html/recovery-config.html | 2 doc/src/sgml/html/recovery-target-settings.html | 2 doc/src/sgml/html/reference-client.html | 2 doc/src/sgml/html/reference-server.html | 2 doc/src/sgml/html/reference.html | 2 doc/src/sgml/html/regress-coverage.html | 2 doc/src/sgml/html/regress-evaluation.html | 2 doc/src/sgml/html/regress-run.html | 2 doc/src/sgml/html/regress-tap.html | 2 doc/src/sgml/html/regress-variant.html | 2 doc/src/sgml/html/regress.html | 2 doc/src/sgml/html/release-11-1.html | 10 doc/src/sgml/html/release-11-2.html | 12 doc/src/sgml/html/release-11-3.html | 12 doc/src/sgml/html/release-11-4.html | 12 doc/src/sgml/html/release-11-5.html | 12 doc/src/sgml/html/release-11-6.html | 12 doc/src/sgml/html/release-11-7.html | 360 doc/src/sgml/html/release-11.html | 63 doc/src/sgml/html/release-prior.html | 4 doc/src/sgml/html/release.html | 4 doc/src/sgml/html/replication-origins.html | 2 doc/src/sgml/html/resources.html | 2 doc/src/sgml/html/role-attributes.html | 2 doc/src/sgml/html/role-membership.html | 2 doc/src/sgml/html/role-removal.html | 2 doc/src/sgml/html/routine-reindex.html | 2 doc/src/sgml/html/routine-vacuuming.html | 2 doc/src/sgml/html/row-estimation-examples.html | 2 doc/src/sgml/html/rowtypes.html | 2 doc/src/sgml/html/rule-system.html | 2 doc/src/sgml/html/rules-materializedviews.html | 2 doc/src/sgml/html/rules-privileges.html | 2 doc/src/sgml/html/rules-status.html | 2 doc/src/sgml/html/rules-triggers.html | 2 doc/src/sgml/html/rules-update.html | 2 doc/src/sgml/html/rules-views.html | 2 doc/src/sgml/html/rules.html | 2 doc/src/sgml/html/runtime-config-autovacuum.html | 2 doc/src/sgml/html/runtime-config-client.html | 2 doc/src/sgml/html/runtime-config-compatible.html | 2 doc/src/sgml/html/runtime-config-connection.html | 2 doc/src/sgml/html/runtime-config-custom.html | 2 doc/src/sgml/html/runtime-config-developer.html | 2 doc/src/sgml/html/runtime-config-error-handling.html | 2 doc/src/sgml/html/runtime-config-file-locations.html | 2 doc/src/sgml/html/runtime-config-locks.html | 2 doc/src/sgml/html/runtime-config-logging.html | 2 doc/src/sgml/html/runtime-config-preset.html | 2 doc/src/sgml/html/runtime-config-query.html | 2 doc/src/sgml/html/runtime-config-replication.html | 2 doc/src/sgml/html/runtime-config-resource.html | 2 doc/src/sgml/html/runtime-config-short.html | 2 doc/src/sgml/html/runtime-config-statistics.html | 2 doc/src/sgml/html/runtime-config-wal.html | 2 doc/src/sgml/html/runtime-config.html | 2 doc/src/sgml/html/runtime.html | 2 doc/src/sgml/html/sasl-authentication.html | 2 doc/src/sgml/html/seg.html | 2 doc/src/sgml/html/sepgsql.html | 2 doc/src/sgml/html/server-programming.html | 2 doc/src/sgml/html/server-shutdown.html | 2 doc/src/sgml/html/server-start.html | 2 doc/src/sgml/html/source-conventions.html | 2 doc/src/sgml/html/source-format.html | 2 doc/src/sgml/html/source.html | 2 doc/src/sgml/html/sourcerepo.html | 2 doc/src/sgml/html/spgist-builtin-opclasses.html | 2 doc/src/sgml/html/spgist-examples.html | 2 doc/src/sgml/html/spgist-extensibility.html | 2 doc/src/sgml/html/spgist-implementation.html | 2 doc/src/sgml/html/spgist-intro.html | 2 doc/src/sgml/html/spgist.html | 2 doc/src/sgml/html/spi-examples.html | 2 doc/src/sgml/html/spi-interface-support.html | 2 doc/src/sgml/html/spi-interface.html | 2 doc/src/sgml/html/spi-memory.html | 2 doc/src/sgml/html/spi-realloc.html | 2 doc/src/sgml/html/spi-spi-commit.html | 2 doc/src/sgml/html/spi-spi-connect.html | 2 doc/src/sgml/html/spi-spi-copytuple.html | 2 doc/src/sgml/html/spi-spi-cursor-close.html | 2 doc/src/sgml/html/spi-spi-cursor-fetch.html | 2 doc/src/sgml/html/spi-spi-cursor-find.html | 2 doc/src/sgml/html/spi-spi-cursor-move.html | 2 doc/src/sgml/html/spi-spi-cursor-open-with-args.html | 2 doc/src/sgml/html/spi-spi-cursor-open-with-paramlist.html | 2 doc/src/sgml/html/spi-spi-cursor-open.html | 2 doc/src/sgml/html/spi-spi-exec.html | 2 doc/src/sgml/html/spi-spi-execp.html | 2 doc/src/sgml/html/spi-spi-execute-plan-with-paramlist.html | 2 doc/src/sgml/html/spi-spi-execute-plan.html | 2 doc/src/sgml/html/spi-spi-execute-with-args.html | 2 doc/src/sgml/html/spi-spi-execute.html | 2 doc/src/sgml/html/spi-spi-finish.html | 2 doc/src/sgml/html/spi-spi-fname.html | 2 doc/src/sgml/html/spi-spi-fnumber.html | 2 doc/src/sgml/html/spi-spi-freeplan.html | 2 doc/src/sgml/html/spi-spi-freetuple.html | 2 doc/src/sgml/html/spi-spi-freetupletable.html | 2 doc/src/sgml/html/spi-spi-getargcount.html | 2 doc/src/sgml/html/spi-spi-getargtypeid.html | 2 doc/src/sgml/html/spi-spi-getbinval.html | 2 doc/src/sgml/html/spi-spi-getnspname.html | 2 doc/src/sgml/html/spi-spi-getrelname.html | 2 doc/src/sgml/html/spi-spi-gettype.html | 2 doc/src/sgml/html/spi-spi-gettypeid.html | 2 doc/src/sgml/html/spi-spi-getvalue.html | 2 doc/src/sgml/html/spi-spi-is-cursor-plan.html | 2 doc/src/sgml/html/spi-spi-keepplan.html | 2 doc/src/sgml/html/spi-spi-modifytuple.html | 2 doc/src/sgml/html/spi-spi-palloc.html | 2 doc/src/sgml/html/spi-spi-pfree.html | 2 doc/src/sgml/html/spi-spi-prepare-cursor.html | 2 doc/src/sgml/html/spi-spi-prepare-params.html | 2 doc/src/sgml/html/spi-spi-prepare.html | 2 doc/src/sgml/html/spi-spi-register-relation.html | 2 doc/src/sgml/html/spi-spi-register-trigger-data.html | 2 doc/src/sgml/html/spi-spi-result-code-string.html | 2 doc/src/sgml/html/spi-spi-returntuple.html | 2 doc/src/sgml/html/spi-spi-rollback.html | 2 doc/src/sgml/html/spi-spi-saveplan.html | 2 doc/src/sgml/html/spi-spi-scroll-cursor-fetch.html | 2 doc/src/sgml/html/spi-spi-scroll-cursor-move.html | 2 doc/src/sgml/html/spi-spi-start-transaction.html | 2 doc/src/sgml/html/spi-spi-unregister-relation.html | 2 doc/src/sgml/html/spi-transaction.html | 2 doc/src/sgml/html/spi-visibility.html | 2 doc/src/sgml/html/spi.html | 2 doc/src/sgml/html/sql-abort.html | 2 doc/src/sgml/html/sql-alteraggregate.html | 2 doc/src/sgml/html/sql-altercollation.html | 2 doc/src/sgml/html/sql-alterconversion.html | 2 doc/src/sgml/html/sql-alterdatabase.html | 2 doc/src/sgml/html/sql-alterdefaultprivileges.html | 32 doc/src/sgml/html/sql-alterdomain.html | 21 doc/src/sgml/html/sql-altereventtrigger.html | 2 doc/src/sgml/html/sql-alterextension.html | 2 doc/src/sgml/html/sql-alterforeigndatawrapper.html | 2 doc/src/sgml/html/sql-alterforeigntable.html | 2 doc/src/sgml/html/sql-alterfunction.html | 2 doc/src/sgml/html/sql-altergroup.html | 2 doc/src/sgml/html/sql-alterindex.html | 2 doc/src/sgml/html/sql-alterlanguage.html | 2 doc/src/sgml/html/sql-alterlargeobject.html | 2 doc/src/sgml/html/sql-altermaterializedview.html | 2 doc/src/sgml/html/sql-alteropclass.html | 2 doc/src/sgml/html/sql-alteroperator.html | 2 doc/src/sgml/html/sql-alteropfamily.html | 2 doc/src/sgml/html/sql-alterpolicy.html | 2 doc/src/sgml/html/sql-alterprocedure.html | 2 doc/src/sgml/html/sql-alterpublication.html | 2 doc/src/sgml/html/sql-alterrole.html | 2 doc/src/sgml/html/sql-alterroutine.html | 2 doc/src/sgml/html/sql-alterrule.html | 2 doc/src/sgml/html/sql-alterschema.html | 2 doc/src/sgml/html/sql-altersequence.html | 2 doc/src/sgml/html/sql-alterserver.html | 2 doc/src/sgml/html/sql-alterstatistics.html | 2 doc/src/sgml/html/sql-altersubscription.html | 5 doc/src/sgml/html/sql-altersystem.html | 2 doc/src/sgml/html/sql-altertable.html | 79 doc/src/sgml/html/sql-altertablespace.html | 2 doc/src/sgml/html/sql-altertrigger.html | 2 doc/src/sgml/html/sql-altertsconfig.html | 2 doc/src/sgml/html/sql-altertsdictionary.html | 2 doc/src/sgml/html/sql-altertsparser.html | 2 doc/src/sgml/html/sql-altertstemplate.html | 2 doc/src/sgml/html/sql-altertype.html | 2 doc/src/sgml/html/sql-alteruser.html | 2 doc/src/sgml/html/sql-alterusermapping.html | 2 doc/src/sgml/html/sql-alterview.html | 2 doc/src/sgml/html/sql-analyze.html | 2 doc/src/sgml/html/sql-begin.html | 2 doc/src/sgml/html/sql-call.html | 2 doc/src/sgml/html/sql-checkpoint.html | 2 doc/src/sgml/html/sql-close.html | 2 doc/src/sgml/html/sql-cluster.html | 2 doc/src/sgml/html/sql-commands.html | 2 doc/src/sgml/html/sql-comment.html | 2 doc/src/sgml/html/sql-commit-prepared.html | 2 doc/src/sgml/html/sql-commit.html | 2 doc/src/sgml/html/sql-copy.html | 12 doc/src/sgml/html/sql-create-access-method.html | 2 doc/src/sgml/html/sql-createaggregate.html | 2 doc/src/sgml/html/sql-createcast.html | 2 doc/src/sgml/html/sql-createcollation.html | 2 doc/src/sgml/html/sql-createconversion.html | 2 doc/src/sgml/html/sql-createdatabase.html | 2 doc/src/sgml/html/sql-createdomain.html | 22 doc/src/sgml/html/sql-createeventtrigger.html | 2 doc/src/sgml/html/sql-createextension.html | 2 doc/src/sgml/html/sql-createforeigndatawrapper.html | 2 doc/src/sgml/html/sql-createforeigntable.html | 2 doc/src/sgml/html/sql-createfunction.html | 2 doc/src/sgml/html/sql-creategroup.html | 2 doc/src/sgml/html/sql-createindex.html | 6 doc/src/sgml/html/sql-createlanguage.html | 2 doc/src/sgml/html/sql-creatematerializedview.html | 2 doc/src/sgml/html/sql-createopclass.html | 2 doc/src/sgml/html/sql-createoperator.html | 2 doc/src/sgml/html/sql-createopfamily.html | 2 doc/src/sgml/html/sql-createpolicy.html | 2 doc/src/sgml/html/sql-createprocedure.html | 2 doc/src/sgml/html/sql-createpublication.html | 2 doc/src/sgml/html/sql-createrole.html | 2 doc/src/sgml/html/sql-createrule.html | 2 doc/src/sgml/html/sql-createschema.html | 2 doc/src/sgml/html/sql-createsequence.html | 2 doc/src/sgml/html/sql-createserver.html | 2 doc/src/sgml/html/sql-createstatistics.html | 2 doc/src/sgml/html/sql-createsubscription.html | 2 doc/src/sgml/html/sql-createtable.html | 8 doc/src/sgml/html/sql-createtableas.html | 2 doc/src/sgml/html/sql-createtablespace.html | 2 doc/src/sgml/html/sql-createtransform.html | 2 doc/src/sgml/html/sql-createtrigger.html | 2 doc/src/sgml/html/sql-createtsconfig.html | 2 doc/src/sgml/html/sql-createtsdictionary.html | 2 doc/src/sgml/html/sql-createtsparser.html | 2 doc/src/sgml/html/sql-createtstemplate.html | 2 doc/src/sgml/html/sql-createtype.html | 2 doc/src/sgml/html/sql-createuser.html | 2 doc/src/sgml/html/sql-createusermapping.html | 2 doc/src/sgml/html/sql-createview.html | 2 doc/src/sgml/html/sql-deallocate.html | 2 doc/src/sgml/html/sql-declare.html | 2 doc/src/sgml/html/sql-delete.html | 2 doc/src/sgml/html/sql-discard.html | 2 doc/src/sgml/html/sql-do.html | 2 doc/src/sgml/html/sql-drop-access-method.html | 2 doc/src/sgml/html/sql-drop-owned.html | 2 doc/src/sgml/html/sql-dropaggregate.html | 2 doc/src/sgml/html/sql-dropcast.html | 2 doc/src/sgml/html/sql-dropcollation.html | 2 doc/src/sgml/html/sql-dropconversion.html | 2 doc/src/sgml/html/sql-dropdatabase.html | 2 doc/src/sgml/html/sql-dropdomain.html | 2 doc/src/sgml/html/sql-dropeventtrigger.html | 2 doc/src/sgml/html/sql-dropextension.html | 2 doc/src/sgml/html/sql-dropforeigndatawrapper.html | 2 doc/src/sgml/html/sql-dropforeigntable.html | 2 doc/src/sgml/html/sql-dropfunction.html | 2 doc/src/sgml/html/sql-dropgroup.html | 2 doc/src/sgml/html/sql-dropindex.html | 6 doc/src/sgml/html/sql-droplanguage.html | 2 doc/src/sgml/html/sql-dropmaterializedview.html | 2 doc/src/sgml/html/sql-dropopclass.html | 2 doc/src/sgml/html/sql-dropoperator.html | 2 doc/src/sgml/html/sql-dropopfamily.html | 2 doc/src/sgml/html/sql-droppolicy.html | 2 doc/src/sgml/html/sql-dropprocedure.html | 2 doc/src/sgml/html/sql-droppublication.html | 2 doc/src/sgml/html/sql-droprole.html | 2 doc/src/sgml/html/sql-droproutine.html | 2 doc/src/sgml/html/sql-droprule.html | 2 doc/src/sgml/html/sql-dropschema.html | 2 doc/src/sgml/html/sql-dropsequence.html | 2 doc/src/sgml/html/sql-dropserver.html | 2 doc/src/sgml/html/sql-dropstatistics.html | 2 doc/src/sgml/html/sql-dropsubscription.html | 2 doc/src/sgml/html/sql-droptable.html | 2 doc/src/sgml/html/sql-droptablespace.html | 2 doc/src/sgml/html/sql-droptransform.html | 2 doc/src/sgml/html/sql-droptrigger.html | 2 doc/src/sgml/html/sql-droptsconfig.html | 2 doc/src/sgml/html/sql-droptsdictionary.html | 2 doc/src/sgml/html/sql-droptsparser.html | 2 doc/src/sgml/html/sql-droptstemplate.html | 2 doc/src/sgml/html/sql-droptype.html | 2 doc/src/sgml/html/sql-dropuser.html | 2 doc/src/sgml/html/sql-dropusermapping.html | 2 doc/src/sgml/html/sql-dropview.html | 2 doc/src/sgml/html/sql-end.html | 2 doc/src/sgml/html/sql-execute.html | 2 doc/src/sgml/html/sql-explain.html | 2 doc/src/sgml/html/sql-expressions.html | 2 doc/src/sgml/html/sql-fetch.html | 2 doc/src/sgml/html/sql-grant.html | 2 doc/src/sgml/html/sql-importforeignschema.html | 2 doc/src/sgml/html/sql-insert.html | 4 doc/src/sgml/html/sql-keywords-appendix.html | 4 doc/src/sgml/html/sql-listen.html | 2 doc/src/sgml/html/sql-load.html | 2 doc/src/sgml/html/sql-lock.html | 2 doc/src/sgml/html/sql-move.html | 2 doc/src/sgml/html/sql-notify.html | 2 doc/src/sgml/html/sql-prepare-transaction.html | 2 doc/src/sgml/html/sql-prepare.html | 2 doc/src/sgml/html/sql-reassign-owned.html | 2 doc/src/sgml/html/sql-refreshmaterializedview.html | 2 doc/src/sgml/html/sql-reindex.html | 2 doc/src/sgml/html/sql-release-savepoint.html | 2 doc/src/sgml/html/sql-reset.html | 2 doc/src/sgml/html/sql-revoke.html | 2 doc/src/sgml/html/sql-rollback-prepared.html | 2 doc/src/sgml/html/sql-rollback-to.html | 2 doc/src/sgml/html/sql-rollback.html | 2 doc/src/sgml/html/sql-savepoint.html | 2 doc/src/sgml/html/sql-security-label.html | 4 doc/src/sgml/html/sql-select.html | 8 doc/src/sgml/html/sql-selectinto.html | 2 doc/src/sgml/html/sql-set-constraints.html | 2 doc/src/sgml/html/sql-set-role.html | 2 doc/src/sgml/html/sql-set-session-authorization.html | 2 doc/src/sgml/html/sql-set-transaction.html | 2 doc/src/sgml/html/sql-set.html | 2 doc/src/sgml/html/sql-show.html | 2 doc/src/sgml/html/sql-start-transaction.html | 2 doc/src/sgml/html/sql-syntax-calling-funcs.html | 2 doc/src/sgml/html/sql-syntax-lexical.html | 2 doc/src/sgml/html/sql-syntax.html | 2 doc/src/sgml/html/sql-truncate.html | 2 doc/src/sgml/html/sql-unlisten.html | 2 doc/src/sgml/html/sql-update.html | 2 doc/src/sgml/html/sql-vacuum.html | 2 doc/src/sgml/html/sql-values.html | 2 doc/src/sgml/html/sql.html | 2 doc/src/sgml/html/ssh-tunnels.html | 2 doc/src/sgml/html/ssl-tcp.html | 2 doc/src/sgml/html/sslinfo.html | 2 doc/src/sgml/html/sspi-auth.html | 2 doc/src/sgml/html/standby-settings.html | 2 doc/src/sgml/html/storage-file-layout.html | 2 doc/src/sgml/html/storage-fsm.html | 2 doc/src/sgml/html/storage-init.html | 2 doc/src/sgml/html/storage-page-layout.html | 2 doc/src/sgml/html/storage-toast.html | 2 doc/src/sgml/html/storage-vm.html | 2 doc/src/sgml/html/storage.html | 2 doc/src/sgml/html/supported-platforms.html | 2 doc/src/sgml/html/system-catalog-declarations.html | 2 doc/src/sgml/html/system-catalog-initial-data.html | 2 doc/src/sgml/html/tablefunc.html | 2 doc/src/sgml/html/tablesample-method.html | 2 doc/src/sgml/html/tablesample-support-functions.html | 2 doc/src/sgml/html/tcn.html | 2 doc/src/sgml/html/test-decoding.html | 2 doc/src/sgml/html/textsearch-configuration.html | 2 doc/src/sgml/html/textsearch-controls.html | 2 doc/src/sgml/html/textsearch-debugging.html | 2 doc/src/sgml/html/textsearch-dictionaries.html | 2 doc/src/sgml/html/textsearch-features.html | 2 doc/src/sgml/html/textsearch-indexes.html | 2 doc/src/sgml/html/textsearch-intro.html | 2 doc/src/sgml/html/textsearch-limitations.html | 2 doc/src/sgml/html/textsearch-parsers.html | 2 doc/src/sgml/html/textsearch-psql.html | 2 doc/src/sgml/html/textsearch-tables.html | 2 doc/src/sgml/html/textsearch.html | 2 doc/src/sgml/html/transaction-iso.html | 2 doc/src/sgml/html/trigger-datachanges.html | 2 doc/src/sgml/html/trigger-definition.html | 2 doc/src/sgml/html/trigger-example.html | 2 doc/src/sgml/html/trigger-interface.html | 2 doc/src/sgml/html/triggers.html | 2 doc/src/sgml/html/tsm-system-rows.html | 2 doc/src/sgml/html/tsm-system-time.html | 2 doc/src/sgml/html/tutorial-accessdb.html | 6 doc/src/sgml/html/tutorial-advanced-intro.html | 2 doc/src/sgml/html/tutorial-advanced.html | 2 doc/src/sgml/html/tutorial-agg.html | 2 doc/src/sgml/html/tutorial-arch.html | 2 doc/src/sgml/html/tutorial-concepts.html | 2 doc/src/sgml/html/tutorial-conclusion.html | 2 doc/src/sgml/html/tutorial-createdb.html | 2 doc/src/sgml/html/tutorial-delete.html | 2 doc/src/sgml/html/tutorial-fk.html | 2 doc/src/sgml/html/tutorial-inheritance.html | 2 doc/src/sgml/html/tutorial-install.html | 2 doc/src/sgml/html/tutorial-join.html | 2 doc/src/sgml/html/tutorial-populate.html | 2 doc/src/sgml/html/tutorial-select.html | 2 doc/src/sgml/html/tutorial-sql-intro.html | 2 doc/src/sgml/html/tutorial-sql.html | 2 doc/src/sgml/html/tutorial-start.html | 2 doc/src/sgml/html/tutorial-table.html | 2 doc/src/sgml/html/tutorial-transactions.html | 2 doc/src/sgml/html/tutorial-update.html | 2 doc/src/sgml/html/tutorial-views.html | 2 doc/src/sgml/html/tutorial-window.html | 2 doc/src/sgml/html/tutorial.html | 2 doc/src/sgml/html/typeconv-func.html | 2 doc/src/sgml/html/typeconv-oper.html | 2 doc/src/sgml/html/typeconv-overview.html | 2 doc/src/sgml/html/typeconv-query.html | 2 doc/src/sgml/html/typeconv-select.html | 2 doc/src/sgml/html/typeconv-union-case.html | 2 doc/src/sgml/html/typeconv.html | 2 doc/src/sgml/html/unaccent.html | 2 doc/src/sgml/html/unsupported-features-sql-standard.html | 2 doc/src/sgml/html/upgrading.html | 4 doc/src/sgml/html/user-manag.html | 2 doc/src/sgml/html/using-explain.html | 21 doc/src/sgml/html/uuid-ossp.html | 2 doc/src/sgml/html/vacuumlo.html | 2 doc/src/sgml/html/view-pg-available-extension-versions.html | 2 doc/src/sgml/html/view-pg-available-extensions.html | 2 doc/src/sgml/html/view-pg-config.html | 2 doc/src/sgml/html/view-pg-cursors.html | 2 doc/src/sgml/html/view-pg-file-settings.html | 2 doc/src/sgml/html/view-pg-group.html | 2 doc/src/sgml/html/view-pg-hba-file-rules.html | 2 doc/src/sgml/html/view-pg-indexes.html | 2 doc/src/sgml/html/view-pg-locks.html | 2 doc/src/sgml/html/view-pg-matviews.html | 2 doc/src/sgml/html/view-pg-policies.html | 2 doc/src/sgml/html/view-pg-prepared-statements.html | 2 doc/src/sgml/html/view-pg-prepared-xacts.html | 2 doc/src/sgml/html/view-pg-publication-tables.html | 2 doc/src/sgml/html/view-pg-replication-origin-status.html | 2 doc/src/sgml/html/view-pg-replication-slots.html | 2 doc/src/sgml/html/view-pg-roles.html | 2 doc/src/sgml/html/view-pg-rules.html | 2 doc/src/sgml/html/view-pg-seclabels.html | 2 doc/src/sgml/html/view-pg-sequences.html | 2 doc/src/sgml/html/view-pg-settings.html | 2 doc/src/sgml/html/view-pg-shadow.html | 2 doc/src/sgml/html/view-pg-stats.html | 2 doc/src/sgml/html/view-pg-tables.html | 2 doc/src/sgml/html/view-pg-timezone-abbrevs.html | 2 doc/src/sgml/html/view-pg-timezone-names.html | 2 doc/src/sgml/html/view-pg-user-mappings.html | 2 doc/src/sgml/html/view-pg-user.html | 2 doc/src/sgml/html/view-pg-views.html | 2 doc/src/sgml/html/views-overview.html | 2 doc/src/sgml/html/wal-async-commit.html | 2 doc/src/sgml/html/wal-configuration.html | 2 doc/src/sgml/html/wal-internals.html | 2 doc/src/sgml/html/wal-intro.html | 2 doc/src/sgml/html/wal-reliability.html | 2 doc/src/sgml/html/wal.html | 2 doc/src/sgml/html/warm-standby-failover.html | 2 doc/src/sgml/html/warm-standby.html | 2 doc/src/sgml/html/when-can-parallel-query-be-used.html | 2 doc/src/sgml/html/xaggr.html | 2 doc/src/sgml/html/xfunc-c.html | 2 doc/src/sgml/html/xfunc-internal.html | 2 doc/src/sgml/html/xfunc-overload.html | 2 doc/src/sgml/html/xfunc-pl.html | 2 doc/src/sgml/html/xfunc-sql.html | 2 doc/src/sgml/html/xfunc-volatility.html | 2 doc/src/sgml/html/xfunc.html | 2 doc/src/sgml/html/xindex.html | 2 doc/src/sgml/html/xml-limits-conformance.html | 2 doc/src/sgml/html/xml2.html | 2 doc/src/sgml/html/xoper-optimization.html | 4 doc/src/sgml/html/xoper.html | 2 doc/src/sgml/html/xplang-install.html | 2 doc/src/sgml/html/xplang.html | 2 doc/src/sgml/html/xproc.html | 2 doc/src/sgml/html/xtypes.html | 2 doc/src/sgml/indices.sgml | 19 doc/src/sgml/legal.sgml | 6 doc/src/sgml/libpq.sgml | 8 doc/src/sgml/man1/clusterdb.1 | 8 doc/src/sgml/man1/createdb.1 | 8 doc/src/sgml/man1/createuser.1 | 8 doc/src/sgml/man1/dropdb.1 | 8 doc/src/sgml/man1/dropuser.1 | 8 doc/src/sgml/man1/ecpg.1 | 8 doc/src/sgml/man1/initdb.1 | 8 doc/src/sgml/man1/oid2name.1 | 8 doc/src/sgml/man1/pg_archivecleanup.1 | 8 doc/src/sgml/man1/pg_basebackup.1 | 8 doc/src/sgml/man1/pg_config.1 | 8 doc/src/sgml/man1/pg_controldata.1 | 8 doc/src/sgml/man1/pg_ctl.1 | 8 doc/src/sgml/man1/pg_dump.1 | 8 doc/src/sgml/man1/pg_dumpall.1 | 8 doc/src/sgml/man1/pg_isready.1 | 8 doc/src/sgml/man1/pg_receivewal.1 | 8 doc/src/sgml/man1/pg_recvlogical.1 | 8 doc/src/sgml/man1/pg_resetwal.1 | 8 doc/src/sgml/man1/pg_restore.1 | 8 doc/src/sgml/man1/pg_rewind.1 | 8 doc/src/sgml/man1/pg_standby.1 | 8 doc/src/sgml/man1/pg_test_fsync.1 | 8 doc/src/sgml/man1/pg_test_timing.1 | 8 doc/src/sgml/man1/pg_upgrade.1 | 8 doc/src/sgml/man1/pg_verify_checksums.1 | 8 doc/src/sgml/man1/pg_waldump.1 | 8 doc/src/sgml/man1/pgbench.1 | 8 doc/src/sgml/man1/postgres.1 | 8 doc/src/sgml/man1/postmaster.1 | 8 doc/src/sgml/man1/psql.1 | 10 doc/src/sgml/man1/reindexdb.1 | 8 doc/src/sgml/man1/vacuumdb.1 | 8 doc/src/sgml/man1/vacuumlo.1 | 8 doc/src/sgml/man3/SPI_commit.3 | 8 doc/src/sgml/man3/SPI_connect.3 | 8 doc/src/sgml/man3/SPI_copytuple.3 | 8 doc/src/sgml/man3/SPI_cursor_close.3 | 8 doc/src/sgml/man3/SPI_cursor_fetch.3 | 8 doc/src/sgml/man3/SPI_cursor_find.3 | 8 doc/src/sgml/man3/SPI_cursor_move.3 | 8 doc/src/sgml/man3/SPI_cursor_open.3 | 8 doc/src/sgml/man3/SPI_cursor_open_with_args.3 | 8 doc/src/sgml/man3/SPI_cursor_open_with_paramlist.3 | 8 doc/src/sgml/man3/SPI_exec.3 | 8 doc/src/sgml/man3/SPI_execp.3 | 8 doc/src/sgml/man3/SPI_execute.3 | 8 doc/src/sgml/man3/SPI_execute_plan.3 | 8 doc/src/sgml/man3/SPI_execute_plan_with_paramlist.3 | 8 doc/src/sgml/man3/SPI_execute_with_args.3 | 8 doc/src/sgml/man3/SPI_finish.3 | 8 doc/src/sgml/man3/SPI_fname.3 | 8 doc/src/sgml/man3/SPI_fnumber.3 | 8 doc/src/sgml/man3/SPI_freeplan.3 | 8 doc/src/sgml/man3/SPI_freetuple.3 | 8 doc/src/sgml/man3/SPI_freetuptable.3 | 8 doc/src/sgml/man3/SPI_getargcount.3 | 8 doc/src/sgml/man3/SPI_getargtypeid.3 | 8 doc/src/sgml/man3/SPI_getbinval.3 | 8 doc/src/sgml/man3/SPI_getnspname.3 | 8 doc/src/sgml/man3/SPI_getrelname.3 | 8 doc/src/sgml/man3/SPI_gettype.3 | 8 doc/src/sgml/man3/SPI_gettypeid.3 | 8 doc/src/sgml/man3/SPI_getvalue.3 | 8 doc/src/sgml/man3/SPI_is_cursor_plan.3 | 8 doc/src/sgml/man3/SPI_keepplan.3 | 8 doc/src/sgml/man3/SPI_modifytuple.3 | 8 doc/src/sgml/man3/SPI_palloc.3 | 8 doc/src/sgml/man3/SPI_pfree.3 | 8 doc/src/sgml/man3/SPI_prepare.3 | 8 doc/src/sgml/man3/SPI_prepare_cursor.3 | 8 doc/src/sgml/man3/SPI_prepare_params.3 | 8 doc/src/sgml/man3/SPI_register_relation.3 | 8 doc/src/sgml/man3/SPI_register_trigger_data.3 | 8 doc/src/sgml/man3/SPI_repalloc.3 | 8 doc/src/sgml/man3/SPI_result_code_string.3 | 8 doc/src/sgml/man3/SPI_returntuple.3 | 8 doc/src/sgml/man3/SPI_rollback.3 | 8 doc/src/sgml/man3/SPI_saveplan.3 | 8 doc/src/sgml/man3/SPI_scroll_cursor_fetch.3 | 8 doc/src/sgml/man3/SPI_scroll_cursor_move.3 | 8 doc/src/sgml/man3/SPI_start_transaction.3 | 8 doc/src/sgml/man3/SPI_unregister_relation.3 | 8 doc/src/sgml/man3/dblink.3 | 8 doc/src/sgml/man3/dblink_build_sql_delete.3 | 8 doc/src/sgml/man3/dblink_build_sql_insert.3 | 8 doc/src/sgml/man3/dblink_build_sql_update.3 | 8 doc/src/sgml/man3/dblink_cancel_query.3 | 8 doc/src/sgml/man3/dblink_close.3 | 8 doc/src/sgml/man3/dblink_connect.3 | 8 doc/src/sgml/man3/dblink_connect_u.3 | 8 doc/src/sgml/man3/dblink_disconnect.3 | 8 doc/src/sgml/man3/dblink_error_message.3 | 8 doc/src/sgml/man3/dblink_exec.3 | 8 doc/src/sgml/man3/dblink_fetch.3 | 8 doc/src/sgml/man3/dblink_get_connections.3 | 8 doc/src/sgml/man3/dblink_get_notify.3 | 8 doc/src/sgml/man3/dblink_get_pkey.3 | 8 doc/src/sgml/man3/dblink_get_result.3 | 8 doc/src/sgml/man3/dblink_is_busy.3 | 8 doc/src/sgml/man3/dblink_open.3 | 8 doc/src/sgml/man3/dblink_send_query.3 | 8 doc/src/sgml/man7/ABORT.7 | 8 doc/src/sgml/man7/ALTER_AGGREGATE.7 | 8 doc/src/sgml/man7/ALTER_COLLATION.7 | 8 doc/src/sgml/man7/ALTER_CONVERSION.7 | 8 doc/src/sgml/man7/ALTER_DATABASE.7 | 8 doc/src/sgml/man7/ALTER_DEFAULT_PRIVILEGES.7 | 38 doc/src/sgml/man7/ALTER_DOMAIN.7 | 22 doc/src/sgml/man7/ALTER_EVENT_TRIGGER.7 | 8 doc/src/sgml/man7/ALTER_EXTENSION.7 | 8 doc/src/sgml/man7/ALTER_FOREIGN_DATA_WRAPPER.7 | 8 doc/src/sgml/man7/ALTER_FOREIGN_TABLE.7 | 8 doc/src/sgml/man7/ALTER_FUNCTION.7 | 8 doc/src/sgml/man7/ALTER_GROUP.7 | 8 doc/src/sgml/man7/ALTER_INDEX.7 | 8 doc/src/sgml/man7/ALTER_LANGUAGE.7 | 8 doc/src/sgml/man7/ALTER_LARGE_OBJECT.7 | 8 doc/src/sgml/man7/ALTER_MATERIALIZED_VIEW.7 | 8 doc/src/sgml/man7/ALTER_OPERATOR.7 | 8 doc/src/sgml/man7/ALTER_OPERATOR_CLASS.7 | 8 doc/src/sgml/man7/ALTER_OPERATOR_FAMILY.7 | 8 doc/src/sgml/man7/ALTER_POLICY.7 | 8 doc/src/sgml/man7/ALTER_PROCEDURE.7 | 8 doc/src/sgml/man7/ALTER_PUBLICATION.7 | 8 doc/src/sgml/man7/ALTER_ROLE.7 | 8 doc/src/sgml/man7/ALTER_ROUTINE.7 | 8 doc/src/sgml/man7/ALTER_RULE.7 | 8 doc/src/sgml/man7/ALTER_SCHEMA.7 | 8 doc/src/sgml/man7/ALTER_SEQUENCE.7 | 8 doc/src/sgml/man7/ALTER_SERVER.7 | 8 doc/src/sgml/man7/ALTER_STATISTICS.7 | 8 doc/src/sgml/man7/ALTER_SUBSCRIPTION.7 | 10 doc/src/sgml/man7/ALTER_SYSTEM.7 | 8 doc/src/sgml/man7/ALTER_TABLE.7 | 72 doc/src/sgml/man7/ALTER_TABLESPACE.7 | 8 doc/src/sgml/man7/ALTER_TEXT_SEARCH_CONFIGURATION.7 | 8 doc/src/sgml/man7/ALTER_TEXT_SEARCH_DICTIONARY.7 | 8 doc/src/sgml/man7/ALTER_TEXT_SEARCH_PARSER.7 | 8 doc/src/sgml/man7/ALTER_TEXT_SEARCH_TEMPLATE.7 | 8 doc/src/sgml/man7/ALTER_TRIGGER.7 | 8 doc/src/sgml/man7/ALTER_TYPE.7 | 8 doc/src/sgml/man7/ALTER_USER.7 | 8 doc/src/sgml/man7/ALTER_USER_MAPPING.7 | 8 doc/src/sgml/man7/ALTER_VIEW.7 | 8 doc/src/sgml/man7/ANALYZE.7 | 8 doc/src/sgml/man7/BEGIN.7 | 8 doc/src/sgml/man7/CALL.7 | 8 doc/src/sgml/man7/CHECKPOINT.7 | 8 doc/src/sgml/man7/CLOSE.7 | 8 doc/src/sgml/man7/CLUSTER.7 | 8 doc/src/sgml/man7/COMMENT.7 | 8 doc/src/sgml/man7/COMMIT.7 | 8 doc/src/sgml/man7/COMMIT_PREPARED.7 | 8 doc/src/sgml/man7/COPY.7 | 17 doc/src/sgml/man7/CREATE_ACCESS_METHOD.7 | 8 doc/src/sgml/man7/CREATE_AGGREGATE.7 | 8 doc/src/sgml/man7/CREATE_CAST.7 | 8 doc/src/sgml/man7/CREATE_COLLATION.7 | 8 doc/src/sgml/man7/CREATE_CONVERSION.7 | 8 doc/src/sgml/man7/CREATE_DATABASE.7 | 8 doc/src/sgml/man7/CREATE_DOMAIN.7 | 27 doc/src/sgml/man7/CREATE_EVENT_TRIGGER.7 | 8 doc/src/sgml/man7/CREATE_EXTENSION.7 | 8 doc/src/sgml/man7/CREATE_FOREIGN_DATA_WRAPPER.7 | 8 doc/src/sgml/man7/CREATE_FOREIGN_TABLE.7 | 8 doc/src/sgml/man7/CREATE_FUNCTION.7 | 8 doc/src/sgml/man7/CREATE_GROUP.7 | 8 doc/src/sgml/man7/CREATE_INDEX.7 | 12 doc/src/sgml/man7/CREATE_LANGUAGE.7 | 8 doc/src/sgml/man7/CREATE_MATERIALIZED_VIEW.7 | 8 doc/src/sgml/man7/CREATE_OPERATOR.7 | 8 doc/src/sgml/man7/CREATE_OPERATOR_CLASS.7 | 8 doc/src/sgml/man7/CREATE_OPERATOR_FAMILY.7 | 8 doc/src/sgml/man7/CREATE_POLICY.7 | 8 doc/src/sgml/man7/CREATE_PROCEDURE.7 | 8 doc/src/sgml/man7/CREATE_PUBLICATION.7 | 8 doc/src/sgml/man7/CREATE_ROLE.7 | 8 doc/src/sgml/man7/CREATE_RULE.7 | 8 doc/src/sgml/man7/CREATE_SCHEMA.7 | 8 doc/src/sgml/man7/CREATE_SEQUENCE.7 | 8 doc/src/sgml/man7/CREATE_SERVER.7 | 8 doc/src/sgml/man7/CREATE_STATISTICS.7 | 8 doc/src/sgml/man7/CREATE_SUBSCRIPTION.7 | 8 doc/src/sgml/man7/CREATE_TABLE.7 | 13 doc/src/sgml/man7/CREATE_TABLESPACE.7 | 8 doc/src/sgml/man7/CREATE_TABLE_AS.7 | 8 doc/src/sgml/man7/CREATE_TEXT_SEARCH_CONFIGURATION.7 | 8 doc/src/sgml/man7/CREATE_TEXT_SEARCH_DICTIONARY.7 | 8 doc/src/sgml/man7/CREATE_TEXT_SEARCH_PARSER.7 | 8 doc/src/sgml/man7/CREATE_TEXT_SEARCH_TEMPLATE.7 | 8 doc/src/sgml/man7/CREATE_TRANSFORM.7 | 8 doc/src/sgml/man7/CREATE_TRIGGER.7 | 8 doc/src/sgml/man7/CREATE_TYPE.7 | 8 doc/src/sgml/man7/CREATE_USER.7 | 8 doc/src/sgml/man7/CREATE_USER_MAPPING.7 | 8 doc/src/sgml/man7/CREATE_VIEW.7 | 8 doc/src/sgml/man7/DEALLOCATE.7 | 8 doc/src/sgml/man7/DECLARE.7 | 8 doc/src/sgml/man7/DELETE.7 | 8 doc/src/sgml/man7/DISCARD.7 | 8 doc/src/sgml/man7/DO.7 | 8 doc/src/sgml/man7/DROP_ACCESS_METHOD.7 | 8 doc/src/sgml/man7/DROP_AGGREGATE.7 | 8 doc/src/sgml/man7/DROP_CAST.7 | 8 doc/src/sgml/man7/DROP_COLLATION.7 | 8 doc/src/sgml/man7/DROP_CONVERSION.7 | 8 doc/src/sgml/man7/DROP_DATABASE.7 | 8 doc/src/sgml/man7/DROP_DOMAIN.7 | 8 doc/src/sgml/man7/DROP_EVENT_TRIGGER.7 | 8 doc/src/sgml/man7/DROP_EXTENSION.7 | 8 doc/src/sgml/man7/DROP_FOREIGN_DATA_WRAPPER.7 | 8 doc/src/sgml/man7/DROP_FOREIGN_TABLE.7 | 8 doc/src/sgml/man7/DROP_FUNCTION.7 | 8 doc/src/sgml/man7/DROP_GROUP.7 | 8 doc/src/sgml/man7/DROP_INDEX.7 | 12 doc/src/sgml/man7/DROP_LANGUAGE.7 | 8 doc/src/sgml/man7/DROP_MATERIALIZED_VIEW.7 | 8 doc/src/sgml/man7/DROP_OPERATOR.7 | 8 doc/src/sgml/man7/DROP_OPERATOR_CLASS.7 | 8 doc/src/sgml/man7/DROP_OPERATOR_FAMILY.7 | 8 doc/src/sgml/man7/DROP_OWNED.7 | 8 doc/src/sgml/man7/DROP_POLICY.7 | 8 doc/src/sgml/man7/DROP_PROCEDURE.7 | 8 doc/src/sgml/man7/DROP_PUBLICATION.7 | 8 doc/src/sgml/man7/DROP_ROLE.7 | 8 doc/src/sgml/man7/DROP_ROUTINE.7 | 8 doc/src/sgml/man7/DROP_RULE.7 | 8 doc/src/sgml/man7/DROP_SCHEMA.7 | 8 doc/src/sgml/man7/DROP_SEQUENCE.7 | 8 doc/src/sgml/man7/DROP_SERVER.7 | 8 doc/src/sgml/man7/DROP_STATISTICS.7 | 8 doc/src/sgml/man7/DROP_SUBSCRIPTION.7 | 8 doc/src/sgml/man7/DROP_TABLE.7 | 8 doc/src/sgml/man7/DROP_TABLESPACE.7 | 8 doc/src/sgml/man7/DROP_TEXT_SEARCH_CONFIGURATION.7 | 8 doc/src/sgml/man7/DROP_TEXT_SEARCH_DICTIONARY.7 | 8 doc/src/sgml/man7/DROP_TEXT_SEARCH_PARSER.7 | 8 doc/src/sgml/man7/DROP_TEXT_SEARCH_TEMPLATE.7 | 8 doc/src/sgml/man7/DROP_TRANSFORM.7 | 8 doc/src/sgml/man7/DROP_TRIGGER.7 | 8 doc/src/sgml/man7/DROP_TYPE.7 | 8 doc/src/sgml/man7/DROP_USER.7 | 8 doc/src/sgml/man7/DROP_USER_MAPPING.7 | 8 doc/src/sgml/man7/DROP_VIEW.7 | 8 doc/src/sgml/man7/END.7 | 8 doc/src/sgml/man7/EXECUTE.7 | 8 doc/src/sgml/man7/EXPLAIN.7 | 8 doc/src/sgml/man7/FETCH.7 | 8 doc/src/sgml/man7/GRANT.7 | 8 doc/src/sgml/man7/IMPORT_FOREIGN_SCHEMA.7 | 8 doc/src/sgml/man7/INSERT.7 | 10 doc/src/sgml/man7/LISTEN.7 | 8 doc/src/sgml/man7/LOAD.7 | 8 doc/src/sgml/man7/LOCK.7 | 8 doc/src/sgml/man7/MOVE.7 | 8 doc/src/sgml/man7/NOTIFY.7 | 8 doc/src/sgml/man7/PREPARE.7 | 8 doc/src/sgml/man7/PREPARE_TRANSACTION.7 | 8 doc/src/sgml/man7/REASSIGN_OWNED.7 | 8 doc/src/sgml/man7/REFRESH_MATERIALIZED_VIEW.7 | 8 doc/src/sgml/man7/REINDEX.7 | 8 doc/src/sgml/man7/RELEASE_SAVEPOINT.7 | 8 doc/src/sgml/man7/RESET.7 | 8 doc/src/sgml/man7/REVOKE.7 | 8 doc/src/sgml/man7/ROLLBACK.7 | 8 doc/src/sgml/man7/ROLLBACK_PREPARED.7 | 8 doc/src/sgml/man7/ROLLBACK_TO_SAVEPOINT.7 | 8 doc/src/sgml/man7/SAVEPOINT.7 | 8 doc/src/sgml/man7/SECURITY_LABEL.7 | 10 doc/src/sgml/man7/SELECT.7 | 17 doc/src/sgml/man7/SELECT_INTO.7 | 8 doc/src/sgml/man7/SET.7 | 8 doc/src/sgml/man7/SET_CONSTRAINTS.7 | 8 doc/src/sgml/man7/SET_ROLE.7 | 8 doc/src/sgml/man7/SET_SESSION_AUTHORIZATION.7 | 8 doc/src/sgml/man7/SET_TRANSACTION.7 | 8 doc/src/sgml/man7/SHOW.7 | 8 doc/src/sgml/man7/START_TRANSACTION.7 | 8 doc/src/sgml/man7/TRUNCATE.7 | 8 doc/src/sgml/man7/UNLISTEN.7 | 8 doc/src/sgml/man7/UPDATE.7 | 8 doc/src/sgml/man7/VACUUM.7 | 8 doc/src/sgml/man7/VALUES.7 | 8 doc/src/sgml/parallel.sgml | 4 doc/src/sgml/perform.sgml | 19 doc/src/sgml/rangetypes.sgml | 37 doc/src/sgml/ref/alter_default_privileges.sgml | 30 doc/src/sgml/ref/alter_domain.sgml | 21 doc/src/sgml/ref/alter_subscription.sgml | 3 doc/src/sgml/ref/alter_table.sgml | 87 doc/src/sgml/ref/copy.sgml | 10 doc/src/sgml/ref/create_domain.sgml | 24 doc/src/sgml/ref/create_index.sgml | 5 doc/src/sgml/ref/create_table.sgml | 6 doc/src/sgml/ref/drop_index.sgml | 5 doc/src/sgml/ref/insert.sgml | 2 doc/src/sgml/ref/security_label.sgml | 2 doc/src/sgml/ref/select.sgml | 8 doc/src/sgml/release-11.sgml | 1202 src/backend/access/brin/brin_inclusion.c | 16 src/backend/access/common/tupconvert.c | 32 src/backend/access/gin/README | 233 src/backend/access/gin/ginbtree.c | 7 src/backend/access/gin/gindatapage.c | 3 src/backend/access/gin/ginvacuum.c | 65 src/backend/access/gin/ginxlog.c | 2 src/backend/access/nbtree/nbtsort.c | 11 src/backend/access/transam/clog.c | 13 src/backend/access/transam/xact.c | 19 src/backend/access/transam/xlog.c | 28 src/backend/bootstrap/bootparse.c | 420 src/backend/bootstrap/bootscanner.c | 740 src/backend/catalog/dependency.c | 22 src/backend/catalog/heap.c | 21 src/backend/catalog/index.c | 102 src/backend/catalog/namespace.c | 4 src/backend/commands/alter.c | 11 src/backend/commands/async.c | 12 src/backend/commands/explain.c | 67 src/backend/commands/indexcmds.c | 33 src/backend/commands/tablecmds.c | 93 src/backend/executor/execExprInterp.c | 21 src/backend/executor/execMain.c | 31 src/backend/executor/execReplication.c | 3 src/backend/executor/nodeAgg.c | 38 src/backend/executor/nodeHash.c | 21 src/backend/executor/nodeHashjoin.c | 21 src/backend/executor/nodeLimit.c | 14 src/backend/executor/nodeValuesscan.c | 110 src/backend/libpq/hba.c | 8 src/backend/optimizer/path/allpaths.c | 2 src/backend/optimizer/util/relnode.c | 2 src/backend/parser/gram.c | 8738 +++--- src/backend/parser/gram.h | 12 src/backend/parser/scan.c | 680 src/backend/partitioning/partbounds.c | 2 src/backend/po/de.po | 1453 - src/backend/po/fr.po | 2058 - src/backend/po/ja.po | 2 src/backend/po/ru.po | 2277 - src/backend/po/sv.po | 2222 - src/backend/po/tr.po | 5111 +-- src/backend/port/win32/signal.c | 45 src/backend/replication/logical/proto.c | 4 src/backend/replication/logical/relation.c | 38 src/backend/replication/logical/reorderbuffer.c | 76 src/backend/replication/logical/worker.c | 50 src/backend/replication/repl_gram.c | 384 src/backend/replication/repl_scanner.c | 744 src/backend/replication/slotfuncs.c | 31 src/backend/replication/syncrep_gram.c | 248 src/backend/replication/syncrep_scanner.c | 744 src/backend/rewrite/rewriteHandler.c | 81 src/backend/storage/ipc/dsm.c | 17 src/backend/storage/lmgr/lwlock.c | 1 src/backend/storage/smgr/md.c | 20 src/backend/tcop/postgres.c | 11 src/backend/utils/adt/formatting.c | 174 src/backend/utils/adt/misc.c | 4 src/backend/utils/adt/pgstatfuncs.c | 8 src/backend/utils/adt/rangetypes_selfuncs.c | 100 src/backend/utils/adt/ruleutils.c | 34 src/backend/utils/adt/selfuncs.c | 180 src/backend/utils/adt/timestamp.c | 23 src/backend/utils/cache/lsyscache.c | 26 src/backend/utils/cache/relcache.c | 52 src/backend/utils/init/miscinit.c | 4 src/backend/utils/misc/guc-file.c | 758 src/backend/utils/mmgr/slab.c | 28 src/bin/pg_ctl/po/de.po | 4 src/bin/pg_ctl/po/ru.po | 2 src/bin/pg_ctl/t/001_start_stop.pl | 2 src/bin/pg_dump/parallel.c | 36 src/bin/pg_dump/po/fr.po | 761 src/bin/pg_dump/po/ru.po | 183 src/bin/pg_dump/po/sv.po | 366 src/bin/pg_dump/t/002_pg_dump.pl | 26 src/bin/pg_upgrade/po/ru.po | 26 src/bin/pg_upgrade/version.c | 245 src/bin/pg_waldump/po/ru.po | 76 src/bin/pgbench/exprparse.c | 392 src/bin/pgbench/exprscan.c | 784 src/bin/psql/psqlscanslash.c | 759 src/bin/psql/sql_help.c | 2 src/bin/scripts/createuser.c | 17 src/fe_utils/psqlscan.c | 862 src/include/access/session.h | 2 src/include/catalog/index.h | 2 src/include/nodes/execnodes.h | 11 src/include/pg_config.h.in | 2 src/include/pg_config.h.win32 | 8 src/include/pgstat.h | 6 src/include/replication/reorderbuffer.h | 7 src/include/rewrite/rewriteHandler.h | 1 src/include/storage/proc.h | 6 src/include/utils/lsyscache.h | 1 src/include/utils/relcache.h | 1 src/interfaces/ecpg/pgtypeslib/timestamp.c | 4 src/interfaces/ecpg/preproc/pgc.c | 1379 - src/interfaces/ecpg/preproc/preproc.c |12962 +++++----- src/interfaces/ecpg/preproc/preproc.h | 12 src/interfaces/ecpg/test/expected/pgtypeslib-dt_test.c | 24 src/interfaces/ecpg/test/expected/pgtypeslib-dt_test.stderr | 2 src/interfaces/ecpg/test/expected/pgtypeslib-dt_test.stdout | 2 src/interfaces/ecpg/test/pgtypeslib/dt_test.pgc | 16 src/interfaces/libpq/fe-connect.c | 18 src/interfaces/libpq/libpq-dist.rc | 8 src/interfaces/libpq/libpq-int.h | 9 src/interfaces/libpq/libpq.rc.in | 8 src/interfaces/libpq/po/ru.po | 154 src/pl/plpgsql/src/expected/plpgsql_record.out | 6 src/pl/plpgsql/src/pl_exec.c | 11 src/pl/plpgsql/src/pl_gram.c | 862 src/pl/plpgsql/src/pl_gram.h | 12 src/pl/plpgsql/src/po/ru.po | 10 src/pl/plpgsql/src/sql/plpgsql_record.sql | 1 src/port/open.c | 43 src/port/win32ver.rc | 4 src/test/isolation/README | 29 src/test/isolation/expected/async-notify.out | 110 src/test/isolation/isolationtester.c | 121 src/test/isolation/specparse.c | 296 src/test/isolation/specs/async-notify.spec | 90 src/test/isolation/specscanner.c | 778 src/test/modules/dummy_seclabel/README | 18 src/test/perl/PostgresNode.pm | 17 src/test/perl/TestLib.pm | 9 src/test/recovery/t/001_stream_rep.pl | 27 src/test/recovery/t/006_logical_decoding.pl | 26 src/test/regress/expected/alter_generic.out | 2 src/test/regress/expected/alter_table.out | 38 src/test/regress/expected/create_index.out | 62 src/test/regress/expected/create_table.out | 13 src/test/regress/expected/horology.out | 65 src/test/regress/expected/inherit.out | 82 src/test/regress/expected/partition_join.out | 10 src/test/regress/expected/partition_prune.out | 4 src/test/regress/expected/rangetypes.out | 92 src/test/regress/expected/rules.out | 12 src/test/regress/expected/sanity_check.out | 2 src/test/regress/expected/select_parallel.out | 41 src/test/regress/expected/stats_ext.out | 12 src/test/regress/expected/subselect.out | 27 src/test/regress/expected/temp.out | 2 src/test/regress/expected/timestamp.out | 508 src/test/regress/expected/timestamptz.out | 592 src/test/regress/expected/triggers.out | 36 src/test/regress/expected/updatable_views.out | 21 src/test/regress/sql/alter_generic.sql | 2 src/test/regress/sql/alter_table.sql | 39 src/test/regress/sql/create_index.sql | 37 src/test/regress/sql/create_table.sql | 12 src/test/regress/sql/horology.sql | 19 src/test/regress/sql/inherit.sql | 38 src/test/regress/sql/partition_join.sql | 11 src/test/regress/sql/rangetypes.sql | 33 src/test/regress/sql/rules.sql | 2 src/test/regress/sql/select_parallel.sql | 22 src/test/regress/sql/stats_ext.sql | 4 src/test/regress/sql/subselect.sql | 14 src/test/regress/sql/temp.sql | 3 src/test/regress/sql/timestamp.sql | 45 src/test/regress/sql/timestamptz.sql | 53 src/test/regress/sql/triggers.sql | 4 src/test/regress/sql/updatable_views.sql | 14 src/test/subscription/t/001_rep_changes.pl | 96 src/test/subscription/t/003_constraints.pl | 32 1591 files changed, 34851 insertions(+), 27227 deletions(-) diff -Nru postgresql-11-11.6/COPYRIGHT postgresql-11-11.7/COPYRIGHT --- postgresql-11-11.6/COPYRIGHT 2019-11-11 22:05:05.000000000 +0000 +++ postgresql-11-11.7/COPYRIGHT 2020-02-10 22:17:28.000000000 +0000 @@ -1,7 +1,7 @@ PostgreSQL Database Management System (formerly known as Postgres, then as Postgres95) -Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group +Portions Copyright (c) 1996-2020, PostgreSQL Global Development Group Portions Copyright (c) 1994, The Regents of the University of California diff -Nru postgresql-11-11.6/configure postgresql-11-11.7/configure --- postgresql-11-11.6/configure 2019-11-11 22:05:05.000000000 +0000 +++ postgresql-11-11.7/configure 2020-02-10 22:17:28.000000000 +0000 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for PostgreSQL 11.6. +# Generated by GNU Autoconf 2.69 for PostgreSQL 11.7. # # Report bugs to . # @@ -582,8 +582,8 @@ # Identity of this package. PACKAGE_NAME='PostgreSQL' PACKAGE_TARNAME='postgresql' -PACKAGE_VERSION='11.6' -PACKAGE_STRING='PostgreSQL 11.6' +PACKAGE_VERSION='11.7' +PACKAGE_STRING='PostgreSQL 11.7' PACKAGE_BUGREPORT='pgsql-bugs@postgresql.org' PACKAGE_URL='' @@ -1432,7 +1432,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures PostgreSQL 11.6 to adapt to many kinds of systems. +\`configure' configures PostgreSQL 11.7 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1497,7 +1497,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of PostgreSQL 11.6:";; + short | recursive ) echo "Configuration of PostgreSQL 11.7:";; esac cat <<\_ACEOF @@ -1659,7 +1659,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -PostgreSQL configure 11.6 +PostgreSQL configure 11.7 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2412,7 +2412,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by PostgreSQL $as_me 11.6, which was +It was created by PostgreSQL $as_me 11.7, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -11786,7 +11786,7 @@ fi fi - for ac_func in SSL_clear_options SSL_get_current_compression X509_get_signature_nid + for ac_func in SSL_get_current_compression X509_get_signature_nid do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" @@ -11829,6 +11829,43 @@ fi done + # SSL_clear_options is a macro in OpenSSL from 0.9.8 to 1.0.2, and + # a function from 1.1.0 onwards so we cannot use AC_CHECK_FUNCS. + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_clear_options" >&5 +$as_echo_n "checking for SSL_clear_options... " >&6; } +if ${ac_cv_func_ssl_clear_options+:} false; then : + $as_echo_n "(cached) " >&6 +else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ + + #include + #include + SSL *ssl; + +int +main () +{ +return SSL_clear_options(ssl, 0); + ; + return 0; +} +_ACEOF +if ac_fn_c_try_link "$LINENO"; then : + ac_cv_func_ssl_clear_options=yes +else + ac_cv_func_ssl_clear_options=no +fi +rm -f core conftest.err conftest.$ac_objext \ + conftest$ac_exeext conftest.$ac_ext +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_ssl_clear_options" >&5 +$as_echo "$ac_cv_func_ssl_clear_options" >&6; } + if test $ac_cv_func_ssl_clear_options = yes ; then + +$as_echo "#define HAVE_SSL_CLEAR_OPTIONS 1" >>confdefs.h + + fi fi if test "$with_pam" = yes ; then @@ -19493,7 +19530,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by PostgreSQL $as_me 11.6, which was +This file was extended by PostgreSQL $as_me 11.7, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -19563,7 +19600,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -PostgreSQL config.status 11.6 +PostgreSQL config.status 11.7 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -Nru postgresql-11-11.6/configure.in postgresql-11-11.7/configure.in --- postgresql-11-11.6/configure.in 2019-11-11 22:05:05.000000000 +0000 +++ postgresql-11-11.7/configure.in 2020-02-10 22:17:28.000000000 +0000 @@ -17,7 +17,7 @@ dnl m4_pattern_forbid(^PGAC_)dnl to catch undefined macros -AC_INIT([PostgreSQL], [11.6], [pgsql-bugs@postgresql.org]) +AC_INIT([PostgreSQL], [11.7], [pgsql-bugs@postgresql.org]) m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.69], [], [m4_fatal([Autoconf version 2.69 is required. Untested combinations of 'autoconf' and PostgreSQL versions are not @@ -1203,7 +1203,7 @@ AC_SEARCH_LIBS(CRYPTO_new_ex_data, [eay32 crypto], [], [AC_MSG_ERROR([library 'eay32' or 'crypto' is required for OpenSSL])]) AC_SEARCH_LIBS(SSL_new, [ssleay32 ssl], [], [AC_MSG_ERROR([library 'ssleay32' or 'ssl' is required for OpenSSL])]) fi - AC_CHECK_FUNCS([SSL_clear_options SSL_get_current_compression X509_get_signature_nid]) + AC_CHECK_FUNCS([SSL_get_current_compression X509_get_signature_nid]) # Functions introduced in OpenSSL 1.1.0. We used to check for # OPENSSL_VERSION_NUMBER, but that didn't work with 1.1.0, because LibreSSL # defines OPENSSL_VERSION_NUMBER to claim version 2.0.0, even though it @@ -1214,6 +1214,20 @@ # thread-safety. In 1.1.0, it's no longer required, and CRYPTO_lock() # function was removed. AC_CHECK_FUNCS([CRYPTO_lock]) + # SSL_clear_options is a macro in OpenSSL from 0.9.8 to 1.0.2, and + # a function from 1.1.0 onwards so we cannot use AC_CHECK_FUNCS. + AC_CACHE_CHECK([for SSL_clear_options], ac_cv_func_ssl_clear_options, + [AC_LINK_IFELSE([AC_LANG_PROGRAM([ + #include + #include + SSL *ssl; + ], + [return SSL_clear_options(ssl, 0);])], + [ac_cv_func_ssl_clear_options=yes], + [ac_cv_func_ssl_clear_options=no])]) + if test $ac_cv_func_ssl_clear_options = yes ; then + AC_DEFINE(HAVE_SSL_CLEAR_OPTIONS, 1, [Define to 1 if you have SSL_clear_options()]) + fi fi if test "$with_pam" = yes ; then diff -Nru postgresql-11-11.6/contrib/cube/cubeparse.c postgresql-11-11.7/contrib/cube/cubeparse.c --- postgresql-11-11.6/contrib/cube/cubeparse.c 2019-11-11 22:19:15.000000000 +0000 +++ postgresql-11-11.7/contrib/cube/cubeparse.c 2020-02-10 22:30:48.000000000 +0000 @@ -1,8 +1,9 @@ -/* A Bison parser, made by GNU Bison 3.0.4. */ +/* A Bison parser, made by GNU Bison 3.3.2. */ /* Bison implementation for Yacc-like parsers in C - Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc. + Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2019 Free Software Foundation, + Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -40,11 +41,14 @@ define necessary library symbols; they are noted "INFRINGES ON USER NAME SPACE" below. */ +/* Undocumented macros, especially those whose name start with YY_, + are private implementation details. Do not rely on them. */ + /* Identify Bison output. */ #define YYBISON 1 /* Bison version. */ -#define YYBISON_VERSION "3.0.4" +#define YYBISON_VERSION "3.3.2" /* Skeleton name. */ #define YYSKELETON_NAME "yacc.c" @@ -69,8 +73,8 @@ #define yylval cube_yylval #define yychar cube_yychar -/* Copy the first part of user declarations. */ -#line 1 "cubeparse.y" /* yacc.c:339 */ +/* First part of user prologue. */ +#line 1 "cubeparse.y" /* yacc.c:337 */ /* contrib/cube/cubeparse.y */ @@ -104,13 +108,16 @@ static NDBOX *write_point_as_box(int dim, char *str); -#line 108 "cubeparse.c" /* yacc.c:339 */ - +#line 112 "cubeparse.c" /* yacc.c:337 */ # ifndef YY_NULLPTR -# if defined __cplusplus && 201103L <= __cplusplus -# define YY_NULLPTR nullptr +# if defined __cplusplus +# if 201103L <= __cplusplus +# define YY_NULLPTR nullptr +# else +# define YY_NULLPTR 0 +# endif # else -# define YY_NULLPTR 0 +# define YY_NULLPTR ((void*)0) # endif # endif @@ -159,9 +166,7 @@ -/* Copy the second part of user declarations. */ -#line 165 "cubeparse.c" /* yacc.c:358 */ #ifdef short # undef short @@ -182,13 +187,13 @@ #ifdef YYTYPE_UINT16 typedef YYTYPE_UINT16 yytype_uint16; #else -typedef unsigned short int yytype_uint16; +typedef unsigned short yytype_uint16; #endif #ifdef YYTYPE_INT16 typedef YYTYPE_INT16 yytype_int16; #else -typedef short int yytype_int16; +typedef short yytype_int16; #endif #ifndef YYSIZE_T @@ -200,7 +205,7 @@ # include /* INFRINGES ON USER NAME SPACE */ # define YYSIZE_T size_t # else -# define YYSIZE_T unsigned int +# define YYSIZE_T unsigned # endif #endif @@ -236,15 +241,6 @@ # define YY_ATTRIBUTE_UNUSED YY_ATTRIBUTE ((__unused__)) #endif -#if !defined _Noreturn \ - && (!defined __STDC_VERSION__ || __STDC_VERSION__ < 201112) -# if defined _MSC_VER && 1200 <= _MSC_VER -# define _Noreturn __declspec (noreturn) -# else -# define _Noreturn YY_ATTRIBUTE ((__noreturn__)) -# endif -#endif - /* Suppress unused-variable warnings by "using" E. */ #if ! defined lint || defined __GNUC__ # define YYUSE(E) ((void) (E)) @@ -252,7 +248,7 @@ # define YYUSE(E) /* empty */ #endif -#if defined __GNUC__ && 407 <= __GNUC__ * 100 + __GNUC_MINOR__ +#if defined __GNUC__ && ! defined __ICC && 407 <= __GNUC__ * 100 + __GNUC_MINOR__ /* Suppress an incorrect diagnostic about yylval being uninitialized. */ # define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \ _Pragma ("GCC diagnostic push") \ @@ -414,16 +410,16 @@ /* YYNSTATES -- Number of states. */ #define YYNSTATES 19 -/* YYTRANSLATE[YYX] -- Symbol number corresponding to YYX as returned - by yylex, with out-of-bounds checking. */ #define YYUNDEFTOK 2 #define YYMAXUTOK 263 +/* YYTRANSLATE(TOKEN-NUM) -- Symbol number corresponding to TOKEN-NUM + as returned by yylex, with out-of-bounds checking. */ #define YYTRANSLATE(YYX) \ - ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) + ((unsigned) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) /* YYTRANSLATE[TOKEN-NUM] -- Symbol number corresponding to TOKEN-NUM - as returned by yylex, without out-of-bounds checking. */ + as returned by yylex. */ static const yytype_uint8 yytranslate[] = { 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, @@ -570,22 +566,22 @@ #define YYRECOVERING() (!!yyerrstatus) -#define YYBACKUP(Token, Value) \ -do \ - if (yychar == YYEMPTY) \ - { \ - yychar = (Token); \ - yylval = (Value); \ - YYPOPSTACK (yylen); \ - yystate = *yyssp; \ - goto yybackup; \ - } \ - else \ - { \ - yyerror (result, YY_("syntax error: cannot back up")); \ - YYERROR; \ - } \ -while (0) +#define YYBACKUP(Token, Value) \ + do \ + if (yychar == YYEMPTY) \ + { \ + yychar = (Token); \ + yylval = (Value); \ + YYPOPSTACK (yylen); \ + yystate = *yyssp; \ + goto yybackup; \ + } \ + else \ + { \ + yyerror (result, YY_("syntax error: cannot back up")); \ + YYERROR; \ + } \ + while (0) /* Error token number */ #define YYTERROR 1 @@ -625,38 +621,38 @@ } while (0) -/*----------------------------------------. -| Print this symbol's value on YYOUTPUT. | -`----------------------------------------*/ +/*-----------------------------------. +| Print this symbol's value on YYO. | +`-----------------------------------*/ static void -yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep, NDBOX **result) +yy_symbol_value_print (FILE *yyo, int yytype, YYSTYPE const * const yyvaluep, NDBOX **result) { - FILE *yyo = yyoutput; - YYUSE (yyo); + FILE *yyoutput = yyo; + YYUSE (yyoutput); YYUSE (result); if (!yyvaluep) return; # ifdef YYPRINT if (yytype < YYNTOKENS) - YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep); + YYPRINT (yyo, yytoknum[yytype], *yyvaluep); # endif YYUSE (yytype); } -/*--------------------------------. -| Print this symbol on YYOUTPUT. | -`--------------------------------*/ +/*---------------------------. +| Print this symbol on YYO. | +`---------------------------*/ static void -yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep, NDBOX **result) +yy_symbol_print (FILE *yyo, int yytype, YYSTYPE const * const yyvaluep, NDBOX **result) { - YYFPRINTF (yyoutput, "%s %s (", + YYFPRINTF (yyo, "%s %s (", yytype < YYNTOKENS ? "token" : "nterm", yytname[yytype]); - yy_symbol_value_print (yyoutput, yytype, yyvaluep, result); - YYFPRINTF (yyoutput, ")"); + yy_symbol_value_print (yyo, yytype, yyvaluep, result); + YYFPRINTF (yyo, ")"); } /*------------------------------------------------------------------. @@ -690,7 +686,7 @@ static void yy_reduce_print (yytype_int16 *yyssp, YYSTYPE *yyvsp, int yyrule, NDBOX **result) { - unsigned long int yylno = yyrline[yyrule]; + unsigned long yylno = yyrline[yyrule]; int yynrhs = yyr2[yyrule]; int yyi; YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n", @@ -701,7 +697,7 @@ YYFPRINTF (stderr, " $%d = ", yyi + 1); yy_symbol_print (stderr, yystos[yyssp[yyi + 1 - yynrhs]], - &(yyvsp[(yyi + 1) - (yynrhs)]) + &yyvsp[(yyi + 1) - (yynrhs)] , result); YYFPRINTF (stderr, "\n"); } @@ -805,7 +801,10 @@ case '\\': if (*++yyp != '\\') goto do_not_strip_quotes; - /* Fall through. */ + else + goto append; + + append: default: if (yyres) yyres[yyn] = *yyp; @@ -823,7 +822,7 @@ if (! yyres) return yystrlen (yystr); - return yystpcpy (yyres, yystr) - yyres; + return (YYSIZE_T) (yystpcpy (yyres, yystr) - yyres); } # endif @@ -901,10 +900,10 @@ yyarg[yycount++] = yytname[yyx]; { YYSIZE_T yysize1 = yysize + yytnamerr (YY_NULLPTR, yytname[yyx]); - if (! (yysize <= yysize1 - && yysize1 <= YYSTACK_ALLOC_MAXIMUM)) + if (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM) + yysize = yysize1; + else return 2; - yysize = yysize1; } } } @@ -916,6 +915,7 @@ case N: \ yyformat = S; \ break + default: /* Avoid compiler warnings. */ YYCASE_(0, YY_("syntax error")); YYCASE_(1, YY_("syntax error, unexpected %s")); YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s")); @@ -927,9 +927,10 @@ { YYSIZE_T yysize1 = yysize + yystrlen (yyformat); - if (! (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM)) + if (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM) + yysize = yysize1; + else return 2; - yysize = yysize1; } if (*yymsg_alloc < yysize) @@ -1056,23 +1057,31 @@ yychar = YYEMPTY; /* Cause a token to be read. */ goto yysetstate; + /*------------------------------------------------------------. -| yynewstate -- Push a new state, which is found in yystate. | +| yynewstate -- push a new state, which is found in yystate. | `------------------------------------------------------------*/ - yynewstate: +yynewstate: /* In all cases, when you get here, the value and location stacks have just been pushed. So pushing a state here evens the stacks. */ yyssp++; - yysetstate: - *yyssp = yystate; + +/*--------------------------------------------------------------------. +| yynewstate -- set current state (the top of the stack) to yystate. | +`--------------------------------------------------------------------*/ +yysetstate: + *yyssp = (yytype_int16) yystate; if (yyss + yystacksize - 1 <= yyssp) +#if !defined yyoverflow && !defined YYSTACK_RELOCATE + goto yyexhaustedlab; +#else { /* Get the current used size of the three stacks, in elements. */ - YYSIZE_T yysize = yyssp - yyss + 1; + YYSIZE_T yysize = (YYSIZE_T) (yyssp - yyss + 1); -#ifdef yyoverflow +# if defined yyoverflow { /* Give user a chance to reallocate the stack. Use copies of these so that the &'s don't force the real ones into @@ -1088,14 +1097,10 @@ &yyss1, yysize * sizeof (*yyssp), &yyvs1, yysize * sizeof (*yyvsp), &yystacksize); - yyss = yyss1; yyvs = yyvs1; } -#else /* no yyoverflow */ -# ifndef YYSTACK_RELOCATE - goto yyexhaustedlab; -# else +# else /* defined YYSTACK_RELOCATE */ /* Extend the stack our own way. */ if (YYMAXDEPTH <= yystacksize) goto yyexhaustedlab; @@ -1111,22 +1116,22 @@ goto yyexhaustedlab; YYSTACK_RELOCATE (yyss_alloc, yyss); YYSTACK_RELOCATE (yyvs_alloc, yyvs); -# undef YYSTACK_RELOCATE +# undef YYSTACK_RELOCATE if (yyss1 != yyssa) YYSTACK_FREE (yyss1); } # endif -#endif /* no yyoverflow */ yyssp = yyss + yysize - 1; yyvsp = yyvs + yysize - 1; YYDPRINTF ((stderr, "Stack size increased to %lu\n", - (unsigned long int) yystacksize)); + (unsigned long) yystacksize)); if (yyss + yystacksize - 1 <= yyssp) YYABORT; } +#endif /* !defined yyoverflow && !defined YYSTACK_RELOCATE */ YYDPRINTF ((stderr, "Entering state %d\n", yystate)); @@ -1135,11 +1140,11 @@ goto yybackup; + /*-----------. | yybackup. | `-----------*/ yybackup: - /* Do appropriate processing given the current state. Read a lookahead token if we need one and don't already have one. */ @@ -1212,7 +1217,7 @@ /*-----------------------------. -| yyreduce -- Do a reduction. | +| yyreduce -- do a reduction. | `-----------------------------*/ yyreduce: /* yyn is the number of a rule to reduce with. */ @@ -1233,18 +1238,18 @@ switch (yyn) { case 2: -#line 47 "cubeparse.y" /* yacc.c:1646 */ +#line 47 "cubeparse.y" /* yacc.c:1652 */ { int dim; - dim = item_count((yyvsp[-3]), ','); - if (item_count((yyvsp[-1]), ',') != dim) + dim = item_count(yyvsp[-3], ','); + if (item_count(yyvsp[-1], ',') != dim) { ereport(ERROR, (errcode(ERRCODE_INVALID_TEXT_REPRESENTATION), errmsg("invalid input syntax for cube"), errdetail("Different point dimensions in (%s) and (%s).", - (yyvsp[-3]), (yyvsp[-1])))); + yyvsp[-3], yyvsp[-1]))); YYABORT; } if (dim > CUBE_MAX_DIM) @@ -1257,24 +1262,24 @@ YYABORT; } - *result = write_box( dim, (yyvsp[-3]), (yyvsp[-1]) ); + *result = write_box( dim, yyvsp[-3], yyvsp[-1] ); } -#line 1263 "cubeparse.c" /* yacc.c:1646 */ +#line 1268 "cubeparse.c" /* yacc.c:1652 */ break; case 3: -#line 74 "cubeparse.y" /* yacc.c:1646 */ +#line 74 "cubeparse.y" /* yacc.c:1652 */ { int dim; - dim = item_count((yyvsp[-2]), ','); - if (item_count((yyvsp[0]), ',') != dim) + dim = item_count(yyvsp[-2], ','); + if (item_count(yyvsp[0], ',') != dim) { ereport(ERROR, (errcode(ERRCODE_INVALID_TEXT_REPRESENTATION), errmsg("invalid input syntax for cube"), errdetail("Different point dimensions in (%s) and (%s).", - (yyvsp[-2]), (yyvsp[0])))); + yyvsp[-2], yyvsp[0]))); YYABORT; } if (dim > CUBE_MAX_DIM) @@ -1287,17 +1292,17 @@ YYABORT; } - *result = write_box( dim, (yyvsp[-2]), (yyvsp[0]) ); + *result = write_box( dim, yyvsp[-2], yyvsp[0] ); } -#line 1293 "cubeparse.c" /* yacc.c:1646 */ +#line 1298 "cubeparse.c" /* yacc.c:1652 */ break; case 4: -#line 101 "cubeparse.y" /* yacc.c:1646 */ +#line 101 "cubeparse.y" /* yacc.c:1652 */ { int dim; - dim = item_count((yyvsp[0]), ','); + dim = item_count(yyvsp[0], ','); if (dim > CUBE_MAX_DIM) { ereport(ERROR, @@ -1308,17 +1313,17 @@ YYABORT; } - *result = write_point_as_box(dim, (yyvsp[0])); + *result = write_point_as_box(dim, yyvsp[0]); } -#line 1314 "cubeparse.c" /* yacc.c:1646 */ +#line 1319 "cubeparse.c" /* yacc.c:1652 */ break; case 5: -#line 119 "cubeparse.y" /* yacc.c:1646 */ +#line 119 "cubeparse.y" /* yacc.c:1652 */ { int dim; - dim = item_count((yyvsp[0]), ','); + dim = item_count(yyvsp[0], ','); if (dim > CUBE_MAX_DIM) { ereport(ERROR, @@ -1329,49 +1334,49 @@ YYABORT; } - *result = write_point_as_box(dim, (yyvsp[0])); + *result = write_point_as_box(dim, yyvsp[0]); } -#line 1335 "cubeparse.c" /* yacc.c:1646 */ +#line 1340 "cubeparse.c" /* yacc.c:1652 */ break; case 6: -#line 138 "cubeparse.y" /* yacc.c:1646 */ +#line 138 "cubeparse.y" /* yacc.c:1652 */ { - (yyval) = (yyvsp[-1]); + yyval = yyvsp[-1]; } -#line 1343 "cubeparse.c" /* yacc.c:1646 */ +#line 1348 "cubeparse.c" /* yacc.c:1652 */ break; case 7: -#line 142 "cubeparse.y" /* yacc.c:1646 */ +#line 142 "cubeparse.y" /* yacc.c:1652 */ { - (yyval) = pstrdup(""); + yyval = pstrdup(""); } -#line 1351 "cubeparse.c" /* yacc.c:1646 */ +#line 1356 "cubeparse.c" /* yacc.c:1652 */ break; case 8: -#line 148 "cubeparse.y" /* yacc.c:1646 */ +#line 148 "cubeparse.y" /* yacc.c:1652 */ { /* alloc enough space to be sure whole list will fit */ - (yyval) = palloc(scanbuflen + 1); - strcpy((yyval), (yyvsp[0])); + yyval = palloc(scanbuflen + 1); + strcpy(yyval, yyvsp[0]); } -#line 1361 "cubeparse.c" /* yacc.c:1646 */ +#line 1366 "cubeparse.c" /* yacc.c:1652 */ break; case 9: -#line 154 "cubeparse.y" /* yacc.c:1646 */ +#line 154 "cubeparse.y" /* yacc.c:1652 */ { - (yyval) = (yyvsp[-2]); - strcat((yyval), ","); - strcat((yyval), (yyvsp[0])); + yyval = yyvsp[-2]; + strcat(yyval, ","); + strcat(yyval, yyvsp[0]); } -#line 1371 "cubeparse.c" /* yacc.c:1646 */ +#line 1376 "cubeparse.c" /* yacc.c:1652 */ break; -#line 1375 "cubeparse.c" /* yacc.c:1646 */ +#line 1380 "cubeparse.c" /* yacc.c:1652 */ default: break; } /* User semantic actions sometimes alter yychar, and that requires @@ -1396,14 +1401,13 @@ /* Now 'shift' the result of the reduction. Determine what state that goes to, based on the state we popped back to and the rule number reduced by. */ - - yyn = yyr1[yyn]; - - yystate = yypgoto[yyn - YYNTOKENS] + *yyssp; - if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp) - yystate = yytable[yystate]; - else - yystate = yydefgoto[yyn - YYNTOKENS]; + { + const int yylhs = yyr1[yyn] - YYNTOKENS; + const int yyi = yypgoto[yylhs] + *yyssp; + yystate = (0 <= yyi && yyi <= YYLAST && yycheck[yyi] == *yyssp + ? yytable[yyi] + : yydefgoto[yylhs]); + } goto yynewstate; @@ -1486,12 +1490,10 @@ | yyerrorlab -- error raised explicitly by YYERROR. | `---------------------------------------------------*/ yyerrorlab: - - /* Pacify compilers like GCC when the user code never invokes - YYERROR and the label yyerrorlab therefore never appears in user - code. */ - if (/*CONSTCOND*/ 0) - goto yyerrorlab; + /* Pacify compilers when the user code never invokes YYERROR and the + label yyerrorlab therefore never appears in user code. */ + if (0) + YYERROR; /* Do not reclaim the symbols of the rule whose action triggered this YYERROR. */ @@ -1553,6 +1555,7 @@ yyresult = 0; goto yyreturn; + /*-----------------------------------. | yyabortlab -- YYABORT comes here. | `-----------------------------------*/ @@ -1560,6 +1563,7 @@ yyresult = 1; goto yyreturn; + #if !defined yyoverflow || YYERROR_VERBOSE /*-------------------------------------------------. | yyexhaustedlab -- memory exhaustion comes here. | @@ -1570,6 +1574,10 @@ /* Fall through. */ #endif + +/*-----------------------------------------------------. +| yyreturn -- parsing is finished, return the result. | +`-----------------------------------------------------*/ yyreturn: if (yychar != YYEMPTY) { @@ -1599,7 +1607,7 @@ #endif return yyresult; } -#line 161 "cubeparse.y" /* yacc.c:1906 */ +#line 161 "cubeparse.y" /* yacc.c:1918 */ /* This assumes the string has been normalized by productions above */ diff -Nru postgresql-11-11.6/contrib/cube/cubescan.c postgresql-11-11.7/contrib/cube/cubescan.c --- postgresql-11-11.6/contrib/cube/cubescan.c 2019-11-11 22:19:15.000000000 +0000 +++ postgresql-11-11.7/contrib/cube/cubescan.c 2020-02-10 22:30:48.000000000 +0000 @@ -8,11 +8,17 @@ #define yy_create_buffer cube_yy_create_buffer #define yy_delete_buffer cube_yy_delete_buffer -#define yy_flex_debug cube_yy_flex_debug +#define yy_scan_buffer cube_yy_scan_buffer +#define yy_scan_string cube_yy_scan_string +#define yy_scan_bytes cube_yy_scan_bytes #define yy_init_buffer cube_yy_init_buffer #define yy_flush_buffer cube_yy_flush_buffer #define yy_load_buffer_state cube_yy_load_buffer_state #define yy_switch_to_buffer cube_yy_switch_to_buffer +#define yypush_buffer_state cube_yypush_buffer_state +#define yypop_buffer_state cube_yypop_buffer_state +#define yyensure_buffer_stack cube_yyensure_buffer_stack +#define yy_flex_debug cube_yy_flex_debug #define yyin cube_yyin #define yyleng cube_yyleng #define yylex cube_yylex @@ -28,11 +34,245 @@ #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MINOR_VERSION 6 -#define YY_FLEX_SUBMINOR_VERSION 1 +#define YY_FLEX_SUBMINOR_VERSION 4 #if YY_FLEX_SUBMINOR_VERSION > 0 #define FLEX_BETA #endif +#ifdef yy_create_buffer +#define cube_yy_create_buffer_ALREADY_DEFINED +#else +#define yy_create_buffer cube_yy_create_buffer +#endif + +#ifdef yy_delete_buffer +#define cube_yy_delete_buffer_ALREADY_DEFINED +#else +#define yy_delete_buffer cube_yy_delete_buffer +#endif + +#ifdef yy_scan_buffer +#define cube_yy_scan_buffer_ALREADY_DEFINED +#else +#define yy_scan_buffer cube_yy_scan_buffer +#endif + +#ifdef yy_scan_string +#define cube_yy_scan_string_ALREADY_DEFINED +#else +#define yy_scan_string cube_yy_scan_string +#endif + +#ifdef yy_scan_bytes +#define cube_yy_scan_bytes_ALREADY_DEFINED +#else +#define yy_scan_bytes cube_yy_scan_bytes +#endif + +#ifdef yy_init_buffer +#define cube_yy_init_buffer_ALREADY_DEFINED +#else +#define yy_init_buffer cube_yy_init_buffer +#endif + +#ifdef yy_flush_buffer +#define cube_yy_flush_buffer_ALREADY_DEFINED +#else +#define yy_flush_buffer cube_yy_flush_buffer +#endif + +#ifdef yy_load_buffer_state +#define cube_yy_load_buffer_state_ALREADY_DEFINED +#else +#define yy_load_buffer_state cube_yy_load_buffer_state +#endif + +#ifdef yy_switch_to_buffer +#define cube_yy_switch_to_buffer_ALREADY_DEFINED +#else +#define yy_switch_to_buffer cube_yy_switch_to_buffer +#endif + +#ifdef yypush_buffer_state +#define cube_yypush_buffer_state_ALREADY_DEFINED +#else +#define yypush_buffer_state cube_yypush_buffer_state +#endif + +#ifdef yypop_buffer_state +#define cube_yypop_buffer_state_ALREADY_DEFINED +#else +#define yypop_buffer_state cube_yypop_buffer_state +#endif + +#ifdef yyensure_buffer_stack +#define cube_yyensure_buffer_stack_ALREADY_DEFINED +#else +#define yyensure_buffer_stack cube_yyensure_buffer_stack +#endif + +#ifdef yylex +#define cube_yylex_ALREADY_DEFINED +#else +#define yylex cube_yylex +#endif + +#ifdef yyrestart +#define cube_yyrestart_ALREADY_DEFINED +#else +#define yyrestart cube_yyrestart +#endif + +#ifdef yylex_init +#define cube_yylex_init_ALREADY_DEFINED +#else +#define yylex_init cube_yylex_init +#endif + +#ifdef yylex_init_extra +#define cube_yylex_init_extra_ALREADY_DEFINED +#else +#define yylex_init_extra cube_yylex_init_extra +#endif + +#ifdef yylex_destroy +#define cube_yylex_destroy_ALREADY_DEFINED +#else +#define yylex_destroy cube_yylex_destroy +#endif + +#ifdef yyget_debug +#define cube_yyget_debug_ALREADY_DEFINED +#else +#define yyget_debug cube_yyget_debug +#endif + +#ifdef yyset_debug +#define cube_yyset_debug_ALREADY_DEFINED +#else +#define yyset_debug cube_yyset_debug +#endif + +#ifdef yyget_extra +#define cube_yyget_extra_ALREADY_DEFINED +#else +#define yyget_extra cube_yyget_extra +#endif + +#ifdef yyset_extra +#define cube_yyset_extra_ALREADY_DEFINED +#else +#define yyset_extra cube_yyset_extra +#endif + +#ifdef yyget_in +#define cube_yyget_in_ALREADY_DEFINED +#else +#define yyget_in cube_yyget_in +#endif + +#ifdef yyset_in +#define cube_yyset_in_ALREADY_DEFINED +#else +#define yyset_in cube_yyset_in +#endif + +#ifdef yyget_out +#define cube_yyget_out_ALREADY_DEFINED +#else +#define yyget_out cube_yyget_out +#endif + +#ifdef yyset_out +#define cube_yyset_out_ALREADY_DEFINED +#else +#define yyset_out cube_yyset_out +#endif + +#ifdef yyget_leng +#define cube_yyget_leng_ALREADY_DEFINED +#else +#define yyget_leng cube_yyget_leng +#endif + +#ifdef yyget_text +#define cube_yyget_text_ALREADY_DEFINED +#else +#define yyget_text cube_yyget_text +#endif + +#ifdef yyget_lineno +#define cube_yyget_lineno_ALREADY_DEFINED +#else +#define yyget_lineno cube_yyget_lineno +#endif + +#ifdef yyset_lineno +#define cube_yyset_lineno_ALREADY_DEFINED +#else +#define yyset_lineno cube_yyset_lineno +#endif + +#ifdef yywrap +#define cube_yywrap_ALREADY_DEFINED +#else +#define yywrap cube_yywrap +#endif + +#ifdef yyalloc +#define cube_yyalloc_ALREADY_DEFINED +#else +#define yyalloc cube_yyalloc +#endif + +#ifdef yyrealloc +#define cube_yyrealloc_ALREADY_DEFINED +#else +#define yyrealloc cube_yyrealloc +#endif + +#ifdef yyfree +#define cube_yyfree_ALREADY_DEFINED +#else +#define yyfree cube_yyfree +#endif + +#ifdef yytext +#define cube_yytext_ALREADY_DEFINED +#else +#define yytext cube_yytext +#endif + +#ifdef yyleng +#define cube_yyleng_ALREADY_DEFINED +#else +#define yyleng cube_yyleng +#endif + +#ifdef yyin +#define cube_yyin_ALREADY_DEFINED +#else +#define yyin cube_yyin +#endif + +#ifdef yyout +#define cube_yyout_ALREADY_DEFINED +#else +#define yyout cube_yyout +#endif + +#ifdef yy_flex_debug +#define cube_yy_flex_debug_ALREADY_DEFINED +#else +#define yy_flex_debug cube_yy_flex_debug +#endif + +#ifdef yylineno +#define cube_yylineno_ALREADY_DEFINED +#else +#define yylineno cube_yylineno +#endif + /* First, we deal with platform-specific or compiler-specific issues. */ /* begin standard C headers. */ @@ -103,10 +343,16 @@ #define UINT32_MAX (4294967295U) #endif +#ifndef SIZE_MAX +#define SIZE_MAX (~(size_t)0) +#endif + #endif /* ! C99 */ #endif /* ! FLEXINT_H */ +/* begin standard C++ headers. */ + /* TODO: this is always defined, so inline it */ #define yyconst const @@ -119,32 +365,26 @@ /* Returned upon end-of-file. */ #define YY_NULL 0 -/* Promotes a possibly negative, possibly signed char to an unsigned - * integer for use as an array index. If the signed char is negative, - * we want to instead treat it as an 8-bit unsigned char, hence the - * double cast. +/* Promotes a possibly negative, possibly signed char to an + * integer in range [0..255] for use as an array index. */ -#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) +#define YY_SC_TO_UI(c) ((YY_CHAR) (c)) /* Enter a start condition. This macro really ought to take a parameter, * but we do it the disgusting crufty way forced on us by the ()-less * definition of BEGIN. */ #define BEGIN (yy_start) = 1 + 2 * - /* Translate the current start state into a value that can be later handed * to BEGIN to return to the state. The YYSTATE alias is for lex * compatibility. */ #define YY_START (((yy_start) - 1) / 2) #define YYSTATE YY_START - /* Action number for EOF rule of a given start state. */ #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) - /* Special action meaning "start processing a new file". */ -#define YY_NEW_FILE cube_yyrestart(cube_yyin ) - +#define YY_NEW_FILE yyrestart( yyin ) #define YY_END_OF_BUFFER_CHAR 0 /* Size of default input buffer. */ @@ -174,14 +414,14 @@ typedef size_t yy_size_t; #endif -extern int cube_yyleng; +extern int yyleng; -extern FILE *cube_yyin, *cube_yyout; +extern FILE *yyin, *yyout; #define EOB_ACT_CONTINUE_SCAN 0 #define EOB_ACT_END_OF_FILE 1 #define EOB_ACT_LAST_MATCH 2 - + #define YY_LESS_LINENO(n) #define YY_LINENO_REWIND_TO(ptr) @@ -189,16 +429,15 @@ #define yyless(n) \ do \ { \ - /* Undo effects of setting up cube_yytext. */ \ + /* Undo effects of setting up yytext. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ *yy_cp = (yy_hold_char); \ YY_RESTORE_YY_MORE_OFFSET \ (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ - YY_DO_BEFORE_ACTION; /* set up cube_yytext again */ \ + YY_DO_BEFORE_ACTION; /* set up yytext again */ \ } \ while ( 0 ) - #define unput(c) yyunput( c, (yytext_ptr) ) #ifndef YY_STRUCT_YY_BUFFER_STATE @@ -258,8 +497,8 @@ * possible backing-up. * * When we actually see the EOF, we change the status to "new" - * (via cube_yyrestart()), so that the user can continue scanning by - * just pointing cube_yyin at a new input file. + * (via yyrestart()), so that the user can continue scanning by + * just pointing yyin at a new input file. */ #define YY_BUFFER_EOF_PENDING 2 @@ -280,109 +519,101 @@ #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ : NULL) - /* Same as previous macro, but useful when we know that the buffer stack is not * NULL or when we need an lvalue. For internal use only. */ #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] -/* yy_hold_char holds the character lost when cube_yytext is formed. */ +/* yy_hold_char holds the character lost when yytext is formed. */ static char yy_hold_char; static int yy_n_chars; /* number of characters read into yy_ch_buf */ -int cube_yyleng; +int yyleng; /* Points to current character in buffer. */ static char *yy_c_buf_p = NULL; static int yy_init = 0; /* whether we need to initialize */ static int yy_start = 0; /* start state number */ -/* Flag which is used to allow cube_yywrap()'s to do buffer switches - * instead of setting up a fresh cube_yyin. A bit of a hack ... +/* Flag which is used to allow yywrap()'s to do buffer switches + * instead of setting up a fresh yyin. A bit of a hack ... */ static int yy_did_buffer_switch_on_eof; -void cube_yyrestart (FILE *input_file ); -void cube_yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ); -YY_BUFFER_STATE cube_yy_create_buffer (FILE *file,int size ); -void cube_yy_delete_buffer (YY_BUFFER_STATE b ); -void cube_yy_flush_buffer (YY_BUFFER_STATE b ); -void cube_yypush_buffer_state (YY_BUFFER_STATE new_buffer ); -void cube_yypop_buffer_state (void ); - -static void cube_yyensure_buffer_stack (void ); -static void cube_yy_load_buffer_state (void ); -static void cube_yy_init_buffer (YY_BUFFER_STATE b,FILE *file ); - -#define YY_FLUSH_BUFFER cube_yy_flush_buffer(YY_CURRENT_BUFFER ) - -YY_BUFFER_STATE cube_yy_scan_buffer (char *base,yy_size_t size ); -YY_BUFFER_STATE cube_yy_scan_string (yyconst char *yy_str ); -YY_BUFFER_STATE cube_yy_scan_bytes (yyconst char *bytes,int len ); - -void *cube_yyalloc (yy_size_t ); -void *cube_yyrealloc (void *,yy_size_t ); -void cube_yyfree (void * ); - -#define yy_new_buffer cube_yy_create_buffer +void yyrestart ( FILE *input_file ); +void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer ); +YY_BUFFER_STATE yy_create_buffer ( FILE *file, int size ); +void yy_delete_buffer ( YY_BUFFER_STATE b ); +void yy_flush_buffer ( YY_BUFFER_STATE b ); +void yypush_buffer_state ( YY_BUFFER_STATE new_buffer ); +void yypop_buffer_state ( void ); + +static void yyensure_buffer_stack ( void ); +static void yy_load_buffer_state ( void ); +static void yy_init_buffer ( YY_BUFFER_STATE b, FILE *file ); +#define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER ) + +YY_BUFFER_STATE yy_scan_buffer ( char *base, yy_size_t size ); +YY_BUFFER_STATE yy_scan_string ( const char *yy_str ); +YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len ); + +void *yyalloc ( yy_size_t ); +void *yyrealloc ( void *, yy_size_t ); +void yyfree ( void * ); +#define yy_new_buffer yy_create_buffer #define yy_set_interactive(is_interactive) \ { \ if ( ! YY_CURRENT_BUFFER ){ \ - cube_yyensure_buffer_stack (); \ + yyensure_buffer_stack (); \ YY_CURRENT_BUFFER_LVALUE = \ - cube_yy_create_buffer(cube_yyin,YY_BUF_SIZE ); \ + yy_create_buffer( yyin, YY_BUF_SIZE ); \ } \ YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ } - #define yy_set_bol(at_bol) \ { \ if ( ! YY_CURRENT_BUFFER ){\ - cube_yyensure_buffer_stack (); \ + yyensure_buffer_stack (); \ YY_CURRENT_BUFFER_LVALUE = \ - cube_yy_create_buffer(cube_yyin,YY_BUF_SIZE ); \ + yy_create_buffer( yyin, YY_BUF_SIZE ); \ } \ YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ } - #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) /* Begin user sect3 */ #define cube_yywrap() (/*CONSTCOND*/1) #define YY_SKIP_YYWRAP +typedef flex_uint8_t YY_CHAR; -typedef unsigned char YY_CHAR; - -FILE *cube_yyin = NULL, *cube_yyout = NULL; +FILE *yyin = NULL, *yyout = NULL; typedef int yy_state_type; -extern int cube_yylineno; +extern int yylineno; +int yylineno = 1; -int cube_yylineno = 1; - -extern char *cube_yytext; +extern char *yytext; #ifdef yytext_ptr #undef yytext_ptr #endif -#define yytext_ptr cube_yytext +#define yytext_ptr yytext -static yy_state_type yy_get_previous_state (void ); -static yy_state_type yy_try_NUL_trans (yy_state_type current_state ); -static int yy_get_next_buffer (void ); -static void yynoreturn yy_fatal_error (yyconst char* msg ); +static yy_state_type yy_get_previous_state ( void ); +static yy_state_type yy_try_NUL_trans ( yy_state_type current_state ); +static int yy_get_next_buffer ( void ); +static void yynoreturn yy_fatal_error ( const char* msg ); /* Done after the current pattern has been matched and before the - * corresponding action - sets up cube_yytext. + * corresponding action - sets up yytext. */ #define YY_DO_BEFORE_ACTION \ (yytext_ptr) = yy_bp; \ - cube_yyleng = (int) (yy_cp - yy_bp); \ + yyleng = (int) (yy_cp - yy_bp); \ (yy_hold_char) = *yy_cp; \ *yy_cp = '\0'; \ (yy_c_buf_p) = yy_cp; - #define YY_NUM_RULES 11 #define YY_END_OF_BUFFER 12 /* This struct is not used in this scanner, @@ -392,7 +623,7 @@ flex_int32_t yy_verify; flex_int32_t yy_nxt; }; -static yyconst flex_int16_t yy_accept[37] = +static const flex_int16_t yy_accept[37] = { 0, 0, 0, 12, 10, 9, 9, 6, 7, 10, 8, 10, 1, 10, 10, 4, 5, 9, 0, 1, 0, @@ -400,7 +631,7 @@ 0, 0, 0, 0, 2, 0 } ; -static yyconst YY_CHAR yy_ec[256] = +static const YY_CHAR yy_ec[256] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, @@ -432,13 +663,13 @@ 1, 1, 1, 1, 1 } ; -static yyconst YY_CHAR yy_meta[19] = +static const YY_CHAR yy_meta[19] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 } ; -static yyconst flex_uint16_t yy_base[37] = +static const flex_int16_t yy_base[37] = { 0, 0, 0, 53, 54, 17, 19, 54, 54, 15, 54, 43, 21, 37, 40, 54, 54, 23, 40, 0, 34, @@ -446,7 +677,7 @@ 28, 28, 25, 11, 54, 54 } ; -static yyconst flex_int16_t yy_def[37] = +static const flex_int16_t yy_def[37] = { 0, 36, 1, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 12, 36, @@ -454,7 +685,7 @@ 36, 36, 36, 36, 36, 0 } ; -static yyconst flex_uint16_t yy_nxt[73] = +static const flex_int16_t yy_nxt[73] = { 0, 4, 5, 6, 7, 8, 9, 10, 11, 12, 4, 4, 4, 13, 14, 4, 4, 15, 16, 17, 17, @@ -466,7 +697,7 @@ 36, 36 } ; -static yyconst flex_int16_t yy_chk[73] = +static const flex_int16_t yy_chk[73] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 5, @@ -481,8 +712,8 @@ static yy_state_type yy_last_accepting_state; static char *yy_last_accepting_cpos; -extern int cube_yy_flex_debug; -int cube_yy_flex_debug = 0; +extern int yy_flex_debug; +int yy_flex_debug = 0; /* The intent behind this definition is that it'll catch * any uses of REJECT which flex missed. @@ -491,7 +722,7 @@ #define yymore() yymore_used_but_not_detected #define YY_MORE_ADJ 0 #define YY_RESTORE_YY_MORE_OFFSET -char *cube_yytext; +char *yytext; #line 1 "cubescan.l" #line 2 "cubescan.l" /* @@ -519,8 +750,9 @@ /* this is now declared in cubeparse.y: */ /* static char *scanbuf; */ /* static int scanbuflen; */ +#line 754 "cubescan.c" #define YY_NO_INPUT 1 -#line 524 "cubescan.c" +#line 756 "cubescan.c" #define INITIAL 0 @@ -536,36 +768,36 @@ #define YY_EXTRA_TYPE void * #endif -static int yy_init_globals (void ); +static int yy_init_globals ( void ); /* Accessor methods to globals. These are made visible to non-reentrant scanners for convenience. */ -int cube_yylex_destroy (void ); +int yylex_destroy ( void ); -int cube_yyget_debug (void ); +int yyget_debug ( void ); -void cube_yyset_debug (int debug_flag ); +void yyset_debug ( int debug_flag ); -YY_EXTRA_TYPE cube_yyget_extra (void ); +YY_EXTRA_TYPE yyget_extra ( void ); -void cube_yyset_extra (YY_EXTRA_TYPE user_defined ); +void yyset_extra ( YY_EXTRA_TYPE user_defined ); -FILE *cube_yyget_in (void ); +FILE *yyget_in ( void ); -void cube_yyset_in (FILE * _in_str ); +void yyset_in ( FILE * _in_str ); -FILE *cube_yyget_out (void ); +FILE *yyget_out ( void ); -void cube_yyset_out (FILE * _out_str ); +void yyset_out ( FILE * _out_str ); - int cube_yyget_leng (void ); + int yyget_leng ( void ); -char *cube_yyget_text (void ); +char *yyget_text ( void ); -int cube_yyget_lineno (void ); +int yyget_lineno ( void ); -void cube_yyset_lineno (int _line_number ); +void yyset_lineno ( int _line_number ); /* Macros after this point can all be overridden by user definitions in * section 1. @@ -573,9 +805,9 @@ #ifndef YY_SKIP_YYWRAP #ifdef __cplusplus -extern "C" int cube_yywrap (void ); +extern "C" int yywrap ( void ); #else -extern int cube_yywrap (void ); +extern int yywrap ( void ); #endif #endif @@ -584,19 +816,18 @@ #endif #ifndef yytext_ptr -static void yy_flex_strncpy (char *,yyconst char *,int ); +static void yy_flex_strncpy ( char *, const char *, int ); #endif #ifdef YY_NEED_STRLEN -static int yy_flex_strlen (yyconst char * ); +static int yy_flex_strlen ( const char * ); #endif #ifndef YY_NO_INPUT - #ifdef __cplusplus -static int yyinput (void ); +static int yyinput ( void ); #else -static int input (void ); +static int input ( void ); #endif #endif @@ -616,7 +847,7 @@ /* This used to be an fputs(), but since the string might contain NUL's, * we now use fwrite(). */ -#define ECHO do { if (fwrite( cube_yytext, (size_t) cube_yyleng, 1, cube_yyout )) {} } while (0) +#define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0) #endif /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, @@ -627,20 +858,20 @@ if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ { \ int c = '*'; \ - size_t n; \ + int n; \ for ( n = 0; n < max_size && \ - (c = getc( cube_yyin )) != EOF && c != '\n'; ++n ) \ + (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ buf[n] = (char) c; \ if ( c == '\n' ) \ buf[n++] = (char) c; \ - if ( c == EOF && ferror( cube_yyin ) ) \ + if ( c == EOF && ferror( yyin ) ) \ YY_FATAL_ERROR( "input in flex scanner failed" ); \ result = n; \ } \ else \ { \ errno=0; \ - while ( (result = (int) fread(buf, 1, max_size, cube_yyin))==0 && ferror(cube_yyin)) \ + while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \ { \ if( errno != EINTR) \ { \ @@ -648,7 +879,7 @@ break; \ } \ errno=0; \ - clearerr(cube_yyin); \ + clearerr(yyin); \ } \ }\ \ @@ -681,12 +912,12 @@ #ifndef YY_DECL #define YY_DECL_IS_OURS 1 -extern int cube_yylex (void); +extern int yylex (void); -#define YY_DECL int cube_yylex (void) +#define YY_DECL int yylex (void) #endif /* !YY_DECL */ -/* Code executed at the beginning of each rule, after cube_yytext and cube_yyleng +/* Code executed at the beginning of each rule, after yytext and yyleng * have been set up. */ #ifndef YY_USER_ACTION @@ -720,32 +951,32 @@ if ( ! (yy_start) ) (yy_start) = 1; /* first start state */ - if ( ! cube_yyin ) - cube_yyin = stdin; + if ( ! yyin ) + yyin = stdin; - if ( ! cube_yyout ) - cube_yyout = stdout; + if ( ! yyout ) + yyout = stdout; if ( ! YY_CURRENT_BUFFER ) { - cube_yyensure_buffer_stack (); + yyensure_buffer_stack (); YY_CURRENT_BUFFER_LVALUE = - cube_yy_create_buffer(cube_yyin,YY_BUF_SIZE ); + yy_create_buffer( yyin, YY_BUF_SIZE ); } - cube_yy_load_buffer_state( ); + yy_load_buffer_state( ); } { #line 46 "cubescan.l" -#line 743 "cubescan.c" +#line 974 "cubescan.c" while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ { yy_cp = (yy_c_buf_p); - /* Support of cube_yytext. */ + /* Support of yytext. */ *yy_cp = (yy_hold_char); /* yy_bp points to the position in yy_ch_buf of the start of @@ -767,9 +998,9 @@ { yy_current_state = (int) yy_def[yy_current_state]; if ( yy_current_state >= 37 ) - yy_c = yy_meta[(unsigned int) yy_c]; + yy_c = yy_meta[yy_c]; } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (flex_int16_t) yy_c]; + yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; ++yy_cp; } while ( yy_current_state != 36 ); @@ -795,17 +1026,17 @@ case 1: YY_RULE_SETUP #line 48 "cubescan.l" -yylval = cube_yytext; return CUBEFLOAT; +yylval = yytext; return CUBEFLOAT; YY_BREAK case 2: YY_RULE_SETUP #line 49 "cubescan.l" -yylval = cube_yytext; return CUBEFLOAT; +yylval = yytext; return CUBEFLOAT; YY_BREAK case 3: YY_RULE_SETUP #line 50 "cubescan.l" -yylval = cube_yytext; return CUBEFLOAT; +yylval = yytext; return CUBEFLOAT; YY_BREAK case 4: YY_RULE_SETUP @@ -841,14 +1072,14 @@ case 10: YY_RULE_SETUP #line 57 "cubescan.l" -return cube_yytext[0]; /* alert parser of the garbage */ +return yytext[0]; /* alert parser of the garbage */ YY_BREAK case 11: YY_RULE_SETUP #line 59 "cubescan.l" YY_FATAL_ERROR( "flex scanner jammed" ); YY_BREAK -#line 852 "cubescan.c" +#line 1083 "cubescan.c" case YY_STATE_EOF(INITIAL): yyterminate(); @@ -865,15 +1096,15 @@ { /* We're scanning a new file or input source. It's * possible that this happened because the user - * just pointed cube_yyin at a new source and called - * cube_yylex(). If so, then we have to assure + * just pointed yyin at a new source and called + * yylex(). If so, then we have to assure * consistency between YY_CURRENT_BUFFER and our * globals. Here is the right place to do so, because * this is the first action (other than possibly a * back-up) that will match for the new input source. */ (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; - YY_CURRENT_BUFFER_LVALUE->yy_input_file = cube_yyin; + YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; } @@ -927,11 +1158,11 @@ { (yy_did_buffer_switch_on_eof) = 0; - if ( cube_yywrap( ) ) + if ( yywrap( ) ) { /* Note: because we've taken care in * yy_get_next_buffer() to have set up - * cube_yytext, we can now set up + * yytext, we can now set up * yy_c_buf_p so that if some total * hoser (like flex itself) wants to * call the scanner after we return the @@ -981,7 +1212,7 @@ } /* end of action switch */ } /* end of scanning one token */ } /* end of user's declarations */ -} /* end of cube_yylex */ +} /* end of yylex */ /* yy_get_next_buffer - try to read in a new buffer * @@ -1059,7 +1290,8 @@ b->yy_ch_buf = (char *) /* Include room in for 2 EOB chars. */ - cube_yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); + yyrealloc( (void *) b->yy_ch_buf, + (yy_size_t) (b->yy_buf_size + 2) ); } else /* Can't grow it, we don't own it. */ @@ -1091,7 +1323,7 @@ if ( number_to_move == YY_MORE_ADJ ) { ret_val = EOB_ACT_END_OF_FILE; - cube_yyrestart(cube_yyin ); + yyrestart( yyin ); } else @@ -1108,9 +1340,12 @@ if (((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { /* Extend the array by 50%, plus the number we really need. */ int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); - YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) cube_yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ); + YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc( + (void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size ); if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); + /* "- 2" to take care of EOB's */ + YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2); } (yy_n_chars) += number_to_move; @@ -1143,9 +1378,9 @@ { yy_current_state = (int) yy_def[yy_current_state]; if ( yy_current_state >= 37 ) - yy_c = yy_meta[(unsigned int) yy_c]; + yy_c = yy_meta[yy_c]; } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (flex_int16_t) yy_c]; + yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; } return yy_current_state; @@ -1171,9 +1406,9 @@ { yy_current_state = (int) yy_def[yy_current_state]; if ( yy_current_state >= 37 ) - yy_c = yy_meta[(unsigned int) yy_c]; + yy_c = yy_meta[yy_c]; } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (flex_int16_t) yy_c]; + yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; yy_is_jam = (yy_current_state == 36); return yy_is_jam ? 0 : yy_current_state; @@ -1207,7 +1442,7 @@ else { /* need more input */ - int offset = (yy_c_buf_p) - (yytext_ptr); + int offset = (int) ((yy_c_buf_p) - (yytext_ptr)); ++(yy_c_buf_p); switch ( yy_get_next_buffer( ) ) @@ -1224,13 +1459,13 @@ */ /* Reset buffer status. */ - cube_yyrestart(cube_yyin ); + yyrestart( yyin ); /*FALLTHROUGH*/ case EOB_ACT_END_OF_FILE: { - if ( cube_yywrap( ) ) + if ( yywrap( ) ) return 0; if ( ! (yy_did_buffer_switch_on_eof) ) @@ -1250,7 +1485,7 @@ } c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ - *(yy_c_buf_p) = '\0'; /* preserve cube_yytext */ + *(yy_c_buf_p) = '\0'; /* preserve yytext */ (yy_hold_char) = *++(yy_c_buf_p); return c; @@ -1262,32 +1497,32 @@ * * @note This function does not reset the start condition to @c INITIAL . */ - void cube_yyrestart (FILE * input_file ) + void yyrestart (FILE * input_file ) { if ( ! YY_CURRENT_BUFFER ){ - cube_yyensure_buffer_stack (); + yyensure_buffer_stack (); YY_CURRENT_BUFFER_LVALUE = - cube_yy_create_buffer(cube_yyin,YY_BUF_SIZE ); + yy_create_buffer( yyin, YY_BUF_SIZE ); } - cube_yy_init_buffer(YY_CURRENT_BUFFER,input_file ); - cube_yy_load_buffer_state( ); + yy_init_buffer( YY_CURRENT_BUFFER, input_file ); + yy_load_buffer_state( ); } /** Switch to a different input buffer. * @param new_buffer The new input buffer. * */ - void cube_yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) + void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) { /* TODO. We should be able to replace this entire function body * with - * cube_yypop_buffer_state(); - * cube_yypush_buffer_state(new_buffer); + * yypop_buffer_state(); + * yypush_buffer_state(new_buffer); */ - cube_yyensure_buffer_stack (); + yyensure_buffer_stack (); if ( YY_CURRENT_BUFFER == new_buffer ) return; @@ -1300,21 +1535,21 @@ } YY_CURRENT_BUFFER_LVALUE = new_buffer; - cube_yy_load_buffer_state( ); + yy_load_buffer_state( ); /* We don't actually know whether we did this switch during - * EOF (cube_yywrap()) processing, but the only time this flag - * is looked at is after cube_yywrap() is called, so it's safe + * EOF (yywrap()) processing, but the only time this flag + * is looked at is after yywrap() is called, so it's safe * to go ahead and always set it. */ (yy_did_buffer_switch_on_eof) = 1; } -static void cube_yy_load_buffer_state (void) +static void yy_load_buffer_state (void) { (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; - cube_yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; + yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; (yy_hold_char) = *(yy_c_buf_p); } @@ -1324,35 +1559,35 @@ * * @return the allocated buffer state. */ - YY_BUFFER_STATE cube_yy_create_buffer (FILE * file, int size ) + YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) { YY_BUFFER_STATE b; - b = (YY_BUFFER_STATE) cube_yyalloc(sizeof( struct yy_buffer_state ) ); + b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) ); if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in cube_yy_create_buffer()" ); + YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - b->yy_buf_size = (yy_size_t)size; + b->yy_buf_size = size; /* yy_ch_buf has to be 2 characters longer than the size given because * we need to put in 2 end-of-buffer characters. */ - b->yy_ch_buf = (char *) cube_yyalloc(b->yy_buf_size + 2 ); + b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) ); if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( "out of dynamic memory in cube_yy_create_buffer()" ); + YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); b->yy_is_our_buffer = 1; - cube_yy_init_buffer(b,file ); + yy_init_buffer( b, file ); return b; } /** Destroy the buffer. - * @param b a buffer created with cube_yy_create_buffer() + * @param b a buffer created with yy_create_buffer() * */ - void cube_yy_delete_buffer (YY_BUFFER_STATE b ) + void yy_delete_buffer (YY_BUFFER_STATE b ) { if ( ! b ) @@ -1362,27 +1597,27 @@ YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; if ( b->yy_is_our_buffer ) - cube_yyfree((void *) b->yy_ch_buf ); + yyfree( (void *) b->yy_ch_buf ); - cube_yyfree((void *) b ); + yyfree( (void *) b ); } /* Initializes or reinitializes a buffer. * This function is sometimes called more than once on the same buffer, - * such as during a cube_yyrestart() or at EOF. + * such as during a yyrestart() or at EOF. */ - static void cube_yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) + static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) { int oerrno = errno; - cube_yy_flush_buffer(b ); + yy_flush_buffer( b ); b->yy_input_file = file; b->yy_fill_buffer = 1; - /* If b is the current buffer, then cube_yy_init_buffer was _probably_ - * called from cube_yyrestart() or through yy_get_next_buffer. + /* If b is the current buffer, then yy_init_buffer was _probably_ + * called from yyrestart() or through yy_get_next_buffer. * In that case, we don't want to reset the lineno or column. */ if (b != YY_CURRENT_BUFFER){ @@ -1399,7 +1634,7 @@ * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. * */ - void cube_yy_flush_buffer (YY_BUFFER_STATE b ) + void yy_flush_buffer (YY_BUFFER_STATE b ) { if ( ! b ) return; @@ -1419,7 +1654,7 @@ b->yy_buffer_status = YY_BUFFER_NEW; if ( b == YY_CURRENT_BUFFER ) - cube_yy_load_buffer_state( ); + yy_load_buffer_state( ); } /** Pushes the new state onto the stack. The new state becomes @@ -1428,14 +1663,14 @@ * @param new_buffer The new state. * */ -void cube_yypush_buffer_state (YY_BUFFER_STATE new_buffer ) +void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) { if (new_buffer == NULL) return; - cube_yyensure_buffer_stack(); + yyensure_buffer_stack(); - /* This block is copied from cube_yy_switch_to_buffer. */ + /* This block is copied from yy_switch_to_buffer. */ if ( YY_CURRENT_BUFFER ) { /* Flush out information for old buffer. */ @@ -1449,8 +1684,8 @@ (yy_buffer_stack_top)++; YY_CURRENT_BUFFER_LVALUE = new_buffer; - /* copied from cube_yy_switch_to_buffer. */ - cube_yy_load_buffer_state( ); + /* copied from yy_switch_to_buffer. */ + yy_load_buffer_state( ); (yy_did_buffer_switch_on_eof) = 1; } @@ -1458,18 +1693,18 @@ * The next element becomes the new top. * */ -void cube_yypop_buffer_state (void) +void yypop_buffer_state (void) { if (!YY_CURRENT_BUFFER) return; - cube_yy_delete_buffer(YY_CURRENT_BUFFER ); + yy_delete_buffer(YY_CURRENT_BUFFER ); YY_CURRENT_BUFFER_LVALUE = NULL; if ((yy_buffer_stack_top) > 0) --(yy_buffer_stack_top); if (YY_CURRENT_BUFFER) { - cube_yy_load_buffer_state( ); + yy_load_buffer_state( ); (yy_did_buffer_switch_on_eof) = 1; } } @@ -1477,9 +1712,9 @@ /* Allocates the stack if it does not exist. * Guarantees space for at least one push. */ -static void cube_yyensure_buffer_stack (void) +static void yyensure_buffer_stack (void) { - int num_to_alloc; + yy_size_t num_to_alloc; if (!(yy_buffer_stack)) { @@ -1488,11 +1723,11 @@ * immediate realloc on the next call. */ num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */ - (yy_buffer_stack) = (struct yy_buffer_state**)cube_yyalloc + (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc (num_to_alloc * sizeof(struct yy_buffer_state*) ); if ( ! (yy_buffer_stack) ) - YY_FATAL_ERROR( "out of dynamic memory in cube_yyensure_buffer_stack()" ); + YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); @@ -1507,12 +1742,12 @@ yy_size_t grow_size = 8 /* arbitrary grow size */; num_to_alloc = (yy_buffer_stack_max) + grow_size; - (yy_buffer_stack) = (struct yy_buffer_state**)cube_yyrealloc + (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc ((yy_buffer_stack), num_to_alloc * sizeof(struct yy_buffer_state*) ); if ( ! (yy_buffer_stack) ) - YY_FATAL_ERROR( "out of dynamic memory in cube_yyensure_buffer_stack()" ); + YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); /* zero only the new slots.*/ memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); @@ -1526,7 +1761,7 @@ * * @return the newly allocated buffer state object. */ -YY_BUFFER_STATE cube_yy_scan_buffer (char * base, yy_size_t size ) +YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) { YY_BUFFER_STATE b; @@ -1536,11 +1771,11 @@ /* They forgot to leave room for the EOB's. */ return NULL; - b = (YY_BUFFER_STATE) cube_yyalloc(sizeof( struct yy_buffer_state ) ); + b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) ); if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in cube_yy_scan_buffer()" ); + YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); - b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ + b->yy_buf_size = (int) (size - 2); /* "- 2" to take care of EOB's */ b->yy_buf_pos = b->yy_ch_buf = base; b->yy_is_our_buffer = 0; b->yy_input_file = NULL; @@ -1550,33 +1785,33 @@ b->yy_fill_buffer = 0; b->yy_buffer_status = YY_BUFFER_NEW; - cube_yy_switch_to_buffer(b ); + yy_switch_to_buffer( b ); return b; } -/** Setup the input buffer state to scan a string. The next call to cube_yylex() will +/** Setup the input buffer state to scan a string. The next call to yylex() will * scan from a @e copy of @a str. * @param yystr a NUL-terminated string to scan * * @return the newly allocated buffer state object. * @note If you want to scan bytes that may contain NUL values, then use - * cube_yy_scan_bytes() instead. + * yy_scan_bytes() instead. */ -YY_BUFFER_STATE cube_yy_scan_string (yyconst char * yystr ) +YY_BUFFER_STATE yy_scan_string (const char * yystr ) { - return cube_yy_scan_bytes(yystr,(int) strlen(yystr) ); + return yy_scan_bytes( yystr, (int) strlen(yystr) ); } -/** Setup the input buffer state to scan the given bytes. The next call to cube_yylex() will +/** Setup the input buffer state to scan the given bytes. The next call to yylex() will * scan from a @e copy of @a bytes. * @param yybytes the byte buffer to scan * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes. * * @return the newly allocated buffer state object. */ -YY_BUFFER_STATE cube_yy_scan_bytes (yyconst char * yybytes, int _yybytes_len ) +YY_BUFFER_STATE yy_scan_bytes (const char * yybytes, int _yybytes_len ) { YY_BUFFER_STATE b; char *buf; @@ -1585,18 +1820,18 @@ /* Get memory for full buffer, including space for trailing EOB's. */ n = (yy_size_t) (_yybytes_len + 2); - buf = (char *) cube_yyalloc(n ); + buf = (char *) yyalloc( n ); if ( ! buf ) - YY_FATAL_ERROR( "out of dynamic memory in cube_yy_scan_bytes()" ); + YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); for ( i = 0; i < _yybytes_len; ++i ) buf[i] = yybytes[i]; buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; - b = cube_yy_scan_buffer(buf,n ); + b = yy_scan_buffer( buf, n ); if ( ! b ) - YY_FATAL_ERROR( "bad buffer in cube_yy_scan_bytes()" ); + YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); /* It's okay to grow etc. this buffer, and we should throw it * away when we're done. @@ -1610,9 +1845,9 @@ #define YY_EXIT_FAILURE 2 #endif -static void yynoreturn yy_fatal_error (yyconst char* msg ) +static void yynoreturn yy_fatal_error (const char* msg ) { - (void) fprintf( stderr, "%s\n", msg ); + fprintf( stderr, "%s\n", msg ); exit( YY_EXIT_FAILURE ); } @@ -1622,14 +1857,14 @@ #define yyless(n) \ do \ { \ - /* Undo effects of setting up cube_yytext. */ \ + /* Undo effects of setting up yytext. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ - cube_yytext[cube_yyleng] = (yy_hold_char); \ - (yy_c_buf_p) = cube_yytext + yyless_macro_arg; \ + yytext[yyleng] = (yy_hold_char); \ + (yy_c_buf_p) = yytext + yyless_macro_arg; \ (yy_hold_char) = *(yy_c_buf_p); \ *(yy_c_buf_p) = '\0'; \ - cube_yyleng = yyless_macro_arg; \ + yyleng = yyless_macro_arg; \ } \ while ( 0 ) @@ -1638,85 +1873,85 @@ /** Get the current line number. * */ -int cube_yyget_lineno (void) +int yyget_lineno (void) { - return cube_yylineno; + return yylineno; } /** Get the input stream. * */ -FILE *cube_yyget_in (void) +FILE *yyget_in (void) { - return cube_yyin; + return yyin; } /** Get the output stream. * */ -FILE *cube_yyget_out (void) +FILE *yyget_out (void) { - return cube_yyout; + return yyout; } /** Get the length of the current token. * */ -int cube_yyget_leng (void) +int yyget_leng (void) { - return cube_yyleng; + return yyleng; } /** Get the current token. * */ -char *cube_yyget_text (void) +char *yyget_text (void) { - return cube_yytext; + return yytext; } /** Set the current line number. * @param _line_number line number * */ -void cube_yyset_lineno (int _line_number ) +void yyset_lineno (int _line_number ) { - cube_yylineno = _line_number; + yylineno = _line_number; } /** Set the input stream. This does not discard the current * input buffer. * @param _in_str A readable stream. * - * @see cube_yy_switch_to_buffer + * @see yy_switch_to_buffer */ -void cube_yyset_in (FILE * _in_str ) +void yyset_in (FILE * _in_str ) { - cube_yyin = _in_str ; + yyin = _in_str ; } -void cube_yyset_out (FILE * _out_str ) +void yyset_out (FILE * _out_str ) { - cube_yyout = _out_str ; + yyout = _out_str ; } -int cube_yyget_debug (void) +int yyget_debug (void) { - return cube_yy_flex_debug; + return yy_flex_debug; } -void cube_yyset_debug (int _bdebug ) +void yyset_debug (int _bdebug ) { - cube_yy_flex_debug = _bdebug ; + yy_flex_debug = _bdebug ; } static int yy_init_globals (void) { /* Initialization is the same as for the non-reentrant scanner. - * This function is called from cube_yylex_destroy(), so don't allocate here. + * This function is called from yylex_destroy(), so don't allocate here. */ (yy_buffer_stack) = NULL; @@ -1728,36 +1963,36 @@ /* Defined in main.c */ #ifdef YY_STDINIT - cube_yyin = stdin; - cube_yyout = stdout; + yyin = stdin; + yyout = stdout; #else - cube_yyin = NULL; - cube_yyout = NULL; + yyin = NULL; + yyout = NULL; #endif /* For future reference: Set errno on error, since we are called by - * cube_yylex_init() + * yylex_init() */ return 0; } -/* cube_yylex_destroy is for both reentrant and non-reentrant scanners. */ -int cube_yylex_destroy (void) +/* yylex_destroy is for both reentrant and non-reentrant scanners. */ +int yylex_destroy (void) { /* Pop the buffer stack, destroying each element. */ while(YY_CURRENT_BUFFER){ - cube_yy_delete_buffer(YY_CURRENT_BUFFER ); + yy_delete_buffer( YY_CURRENT_BUFFER ); YY_CURRENT_BUFFER_LVALUE = NULL; - cube_yypop_buffer_state(); + yypop_buffer_state(); } /* Destroy the stack itself. */ - cube_yyfree((yy_buffer_stack) ); + yyfree((yy_buffer_stack) ); (yy_buffer_stack) = NULL; /* Reset the globals. This is important in a non-reentrant scanner so the next time - * cube_yylex() is called, initialization will occur. */ + * yylex() is called, initialization will occur. */ yy_init_globals( ); return 0; @@ -1768,7 +2003,7 @@ */ #ifndef yytext_ptr -static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) +static void yy_flex_strncpy (char* s1, const char * s2, int n ) { int i; @@ -1778,7 +2013,7 @@ #endif #ifdef YY_NEED_STRLEN -static int yy_flex_strlen (yyconst char * s ) +static int yy_flex_strlen (const char * s ) { int n; for ( n = 0; s[n]; ++n ) @@ -1788,12 +2023,12 @@ } #endif -void *cube_yyalloc (yy_size_t size ) +void *yyalloc (yy_size_t size ) { return malloc(size); } -void *cube_yyrealloc (void * ptr, yy_size_t size ) +void *yyrealloc (void * ptr, yy_size_t size ) { /* The cast to (char *) in the following accommodates both @@ -1806,9 +2041,9 @@ return realloc(ptr, size); } -void cube_yyfree (void * ptr ) +void yyfree (void * ptr ) { - free( (char *) ptr ); /* see cube_yyrealloc() for (char *) cast */ + free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ } #define YYTABLES_NAME "yytables" @@ -1816,14 +2051,13 @@ #line 59 "cubescan.l" - /* LCOV_EXCL_STOP */ /* result is not used, but Bison expects this signature */ void yyerror(NDBOX **result, const char *message) { - if (*cube_yytext == YY_END_OF_BUFFER_CHAR) + if (*yytext == YY_END_OF_BUFFER_CHAR) { ereport(ERROR, (errcode(ERRCODE_INVALID_TEXT_REPRESENTATION), @@ -1837,7 +2071,7 @@ (errcode(ERRCODE_INVALID_TEXT_REPRESENTATION), errmsg("invalid input syntax for cube"), /* translator: first %s is typically "syntax error" */ - errdetail("%s at or near \"%s\"", message, cube_yytext))); + errdetail("%s at or near \"%s\"", message, yytext))); } } @@ -1854,7 +2088,7 @@ * Might be left over after ereport() */ if (YY_CURRENT_BUFFER) - cube_yy_delete_buffer(YY_CURRENT_BUFFER); + yy_delete_buffer(YY_CURRENT_BUFFER); /* * Make a scan buffer with special termination needed by flex. @@ -1863,7 +2097,7 @@ scanbuf = palloc(slen + 2); memcpy(scanbuf, str, slen); scanbuf[slen] = scanbuf[slen + 1] = YY_END_OF_BUFFER_CHAR; - scanbufhandle = cube_yy_scan_buffer(scanbuf,slen + 2); + scanbufhandle = yy_scan_buffer(scanbuf, slen + 2); BEGIN(INITIAL); } @@ -1875,7 +2109,7 @@ void cube_scanner_finish(void) { - cube_yy_delete_buffer(scanbufhandle); + yy_delete_buffer(scanbufhandle); pfree(scanbuf); } diff -Nru postgresql-11-11.6/contrib/dict_int/dict_int.c postgresql-11-11.7/contrib/dict_int/dict_int.c --- postgresql-11-11.6/contrib/dict_int/dict_int.c 2019-11-11 22:05:05.000000000 +0000 +++ postgresql-11-11.7/contrib/dict_int/dict_int.c 2020-02-10 22:17:28.000000000 +0000 @@ -45,6 +45,11 @@ if (strcmp(defel->defname, "maxlen") == 0) { d->maxlen = atoi(defGetString(defel)); + + if (d->maxlen < 1) + ereport(ERROR, + (errcode(ERRCODE_INVALID_PARAMETER_VALUE), + errmsg("maxlen value has to be >= 1"))); } else if (strcmp(defel->defname, "rejectlong") == 0) { diff -Nru postgresql-11-11.6/contrib/dict_int/expected/dict_int.out postgresql-11-11.7/contrib/dict_int/expected/dict_int.out --- postgresql-11-11.6/contrib/dict_int/expected/dict_int.out 2019-11-11 22:05:05.000000000 +0000 +++ postgresql-11-11.7/contrib/dict_int/expected/dict_int.out 2020-02-10 22:17:28.000000000 +0000 @@ -300,3 +300,5 @@ {314532} (1 row) +ALTER TEXT SEARCH DICTIONARY intdict (MAXLEN = -214783648); +ERROR: maxlen value has to be >= 1 diff -Nru postgresql-11-11.6/contrib/dict_int/sql/dict_int.sql postgresql-11-11.7/contrib/dict_int/sql/dict_int.sql --- postgresql-11-11.6/contrib/dict_int/sql/dict_int.sql 2019-11-11 22:05:05.000000000 +0000 +++ postgresql-11-11.7/contrib/dict_int/sql/dict_int.sql 2020-02-10 22:17:28.000000000 +0000 @@ -51,3 +51,5 @@ select ts_lexize('intdict', '313425'); select ts_lexize('intdict', '641439323669'); select ts_lexize('intdict', '314532610153'); + +ALTER TEXT SEARCH DICTIONARY intdict (MAXLEN = -214783648); diff -Nru postgresql-11-11.6/contrib/jsonb_plpython/jsonb_plpython.c postgresql-11-11.7/contrib/jsonb_plpython/jsonb_plpython.c --- postgresql-11-11.6/contrib/jsonb_plpython/jsonb_plpython.c 2019-11-11 22:05:05.000000000 +0000 +++ postgresql-11-11.7/contrib/jsonb_plpython/jsonb_plpython.c 2020-02-10 22:17:28.000000000 +0000 @@ -367,7 +367,6 @@ static JsonbValue * PLyObject_ToJsonbValue(PyObject *obj, JsonbParseState **jsonb_state, bool is_elem) { - JsonbValue buf; JsonbValue *out; if (!(PyString_Check(obj) || PyUnicode_Check(obj))) @@ -378,11 +377,7 @@ return PLyMapping_ToJsonbValue(obj, jsonb_state); } - /* Allocate JsonbValue in heap only if it is raw scalar value. */ - if (*jsonb_state) - out = &buf; - else - out = palloc(sizeof(JsonbValue)); + out = palloc(sizeof(JsonbValue)); if (obj == Py_None) out->type = jbvNull; diff -Nru postgresql-11-11.6/contrib/postgres_fdw/deparse.c postgresql-11-11.7/contrib/postgres_fdw/deparse.c --- postgresql-11-11.6/contrib/postgres_fdw/deparse.c 2019-11-11 22:05:05.000000000 +0000 +++ postgresql-11-11.7/contrib/postgres_fdw/deparse.c 2020-02-10 22:17:28.000000000 +0000 @@ -392,6 +392,22 @@ Param *p = (Param *) node; /* + * If it's a MULTIEXPR Param, punt. We can't tell from here + * whether the referenced sublink/subplan contains any remote + * Vars; if it does, handling that is too complicated to + * consider supporting at present. Fortunately, MULTIEXPR + * Params are not reduced to plain PARAM_EXEC until the end of + * planning, so we can easily detect this case. (Normal + * PARAM_EXEC Params are safe to ship because their values + * come from somewhere else in the plan tree; but a MULTIEXPR + * references a sub-select elsewhere in the same targetlist, + * so we'd be on the hook to evaluate it somehow if we wanted + * to handle such cases as direct foreign updates.) + */ + if (p->paramkind == PARAM_MULTIEXPR) + return false; + + /* * Collation rule is same as for Consts and non-foreign Vars. */ collation = p->paramcollid; diff -Nru postgresql-11-11.6/contrib/postgres_fdw/expected/postgres_fdw.out postgresql-11-11.7/contrib/postgres_fdw/expected/postgres_fdw.out --- postgresql-11-11.6/contrib/postgres_fdw/expected/postgres_fdw.out 2019-11-11 22:05:05.000000000 +0000 +++ postgresql-11-11.7/contrib/postgres_fdw/expected/postgres_fdw.out 2020-02-10 22:17:28.000000000 +0000 @@ -139,8 +139,8 @@ -- =================================================================== -- tests for validator -- =================================================================== --- requiressl, krbsrvname and gsslib are omitted because they depend on --- configure options +-- requiressl and some other parameters are omitted because +-- valid values for them depend on configure options ALTER SERVER testserver1 OPTIONS ( use_remote_estimate 'false', updatable 'true', @@ -164,10 +164,10 @@ sslcert 'value', sslkey 'value', sslrootcert 'value', - sslcrl 'value' + sslcrl 'value', --requirepeer 'value', - -- krbsrvname 'value', - -- gsslib 'value', + krbsrvname 'value', + gsslib 'value' --replication 'value' ); -- Error, invalid list syntax @@ -5594,6 +5594,37 @@ (10 rows) DELETE FROM ft2 WHERE ft2.c1 > 1200; +-- Test UPDATE with a MULTIEXPR sub-select +-- (maybe someday this'll be remotely executable, but not today) +EXPLAIN (verbose, costs off) +UPDATE ft2 AS target SET (c2, c7) = ( + SELECT c2 * 10, c7 + FROM ft2 AS src + WHERE target.c1 = src.c1 +) WHERE c1 > 1100; + QUERY PLAN +--------------------------------------------------------------------------------------------------------------------------------------------------- + Update on public.ft2 target + Remote SQL: UPDATE "S 1"."T 1" SET c2 = $2, c7 = $3 WHERE ctid = $1 + -> Foreign Scan on public.ft2 target + Output: target.c1, $1, NULL::integer, target.c3, target.c4, target.c5, target.c6, $2, target.c8, (SubPlan 1 (returns $1,$2)), target.ctid + Remote SQL: SELECT "C 1", c3, c4, c5, c6, c8, ctid FROM "S 1"."T 1" WHERE (("C 1" > 1100)) FOR UPDATE + SubPlan 1 (returns $1,$2) + -> Foreign Scan on public.ft2 src + Output: (src.c2 * 10), src.c7 + Remote SQL: SELECT c2, c7 FROM "S 1"."T 1" WHERE (($1::integer = "C 1")) +(9 rows) + +UPDATE ft2 AS target SET (c2, c7) = ( + SELECT c2 * 10, c7 + FROM ft2 AS src + WHERE target.c1 = src.c1 +) WHERE c1 > 1100; +UPDATE ft2 AS target SET (c2) = ( + SELECT c2 / 10 + FROM ft2 AS src + WHERE target.c1 = src.c1 +) WHERE c1 > 1100; -- Test UPDATE/DELETE with WHERE or JOIN/ON conditions containing -- user-defined operators/functions ALTER SERVER loopback OPTIONS (DROP extensions); diff -Nru postgresql-11-11.6/contrib/postgres_fdw/sql/postgres_fdw.sql postgresql-11-11.7/contrib/postgres_fdw/sql/postgres_fdw.sql --- postgresql-11-11.6/contrib/postgres_fdw/sql/postgres_fdw.sql 2019-11-11 22:05:05.000000000 +0000 +++ postgresql-11-11.7/contrib/postgres_fdw/sql/postgres_fdw.sql 2020-02-10 22:17:28.000000000 +0000 @@ -153,8 +153,8 @@ -- =================================================================== -- tests for validator -- =================================================================== --- requiressl, krbsrvname and gsslib are omitted because they depend on --- configure options +-- requiressl and some other parameters are omitted because +-- valid values for them depend on configure options ALTER SERVER testserver1 OPTIONS ( use_remote_estimate 'false', updatable 'true', @@ -178,10 +178,10 @@ sslcert 'value', sslkey 'value', sslrootcert 'value', - sslcrl 'value' + sslcrl 'value', --requirepeer 'value', - -- krbsrvname 'value', - -- gsslib 'value', + krbsrvname 'value', + gsslib 'value' --replication 'value' ); @@ -1167,6 +1167,26 @@ RETURNING 100; DELETE FROM ft2 WHERE ft2.c1 > 1200; +-- Test UPDATE with a MULTIEXPR sub-select +-- (maybe someday this'll be remotely executable, but not today) +EXPLAIN (verbose, costs off) +UPDATE ft2 AS target SET (c2, c7) = ( + SELECT c2 * 10, c7 + FROM ft2 AS src + WHERE target.c1 = src.c1 +) WHERE c1 > 1100; +UPDATE ft2 AS target SET (c2, c7) = ( + SELECT c2 * 10, c7 + FROM ft2 AS src + WHERE target.c1 = src.c1 +) WHERE c1 > 1100; + +UPDATE ft2 AS target SET (c2) = ( + SELECT c2 / 10 + FROM ft2 AS src + WHERE target.c1 = src.c1 +) WHERE c1 > 1100; + -- Test UPDATE/DELETE with WHERE or JOIN/ON conditions containing -- user-defined operators/functions ALTER SERVER loopback OPTIONS (DROP extensions); diff -Nru postgresql-11-11.6/contrib/seg/segparse.c postgresql-11-11.7/contrib/seg/segparse.c --- postgresql-11-11.6/contrib/seg/segparse.c 2019-11-11 22:19:15.000000000 +0000 +++ postgresql-11-11.7/contrib/seg/segparse.c 2020-02-10 22:30:48.000000000 +0000 @@ -1,8 +1,9 @@ -/* A Bison parser, made by GNU Bison 3.0.4. */ +/* A Bison parser, made by GNU Bison 3.3.2. */ /* Bison implementation for Yacc-like parsers in C - Copyright (C) 1984, 1989-1990, 2000-2015 Free Software Foundation, Inc. + Copyright (C) 1984, 1989-1990, 2000-2015, 2018-2019 Free Software Foundation, + Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -40,11 +41,14 @@ define necessary library symbols; they are noted "INFRINGES ON USER NAME SPACE" below. */ +/* Undocumented macros, especially those whose name start with YY_, + are private implementation details. Do not rely on them. */ + /* Identify Bison output. */ #define YYBISON 1 /* Bison version. */ -#define YYBISON_VERSION "3.0.4" +#define YYBISON_VERSION "3.3.2" /* Skeleton name. */ #define YYSKELETON_NAME "yacc.c" @@ -69,8 +73,8 @@ #define yylval seg_yylval #define yychar seg_yychar -/* Copy the first part of user declarations. */ -#line 1 "segparse.y" /* yacc.c:339 */ +/* First part of user prologue. */ +#line 1 "segparse.y" /* yacc.c:337 */ /* contrib/seg/segparse.y */ @@ -105,13 +109,16 @@ }; -#line 109 "segparse.c" /* yacc.c:339 */ - +#line 113 "segparse.c" /* yacc.c:337 */ # ifndef YY_NULLPTR -# if defined __cplusplus && 201103L <= __cplusplus -# define YY_NULLPTR nullptr +# if defined __cplusplus +# if 201103L <= __cplusplus +# define YY_NULLPTR nullptr +# else +# define YY_NULLPTR 0 +# endif # else -# define YY_NULLPTR 0 +# define YY_NULLPTR ((void*)0) # endif # endif @@ -149,7 +156,7 @@ union YYSTYPE { -#line 41 "segparse.y" /* yacc.c:355 */ +#line 41 "segparse.y" /* yacc.c:352 */ struct BND { float val; @@ -158,7 +165,7 @@ } bnd; char * text; -#line 162 "segparse.c" /* yacc.c:355 */ +#line 169 "segparse.c" /* yacc.c:352 */ }; typedef union YYSTYPE YYSTYPE; @@ -173,9 +180,7 @@ -/* Copy the second part of user declarations. */ -#line 179 "segparse.c" /* yacc.c:358 */ #ifdef short # undef short @@ -196,13 +201,13 @@ #ifdef YYTYPE_UINT16 typedef YYTYPE_UINT16 yytype_uint16; #else -typedef unsigned short int yytype_uint16; +typedef unsigned short yytype_uint16; #endif #ifdef YYTYPE_INT16 typedef YYTYPE_INT16 yytype_int16; #else -typedef short int yytype_int16; +typedef short yytype_int16; #endif #ifndef YYSIZE_T @@ -214,7 +219,7 @@ # include /* INFRINGES ON USER NAME SPACE */ # define YYSIZE_T size_t # else -# define YYSIZE_T unsigned int +# define YYSIZE_T unsigned # endif #endif @@ -250,15 +255,6 @@ # define YY_ATTRIBUTE_UNUSED YY_ATTRIBUTE ((__unused__)) #endif -#if !defined _Noreturn \ - && (!defined __STDC_VERSION__ || __STDC_VERSION__ < 201112) -# if defined _MSC_VER && 1200 <= _MSC_VER -# define _Noreturn __declspec (noreturn) -# else -# define _Noreturn YY_ATTRIBUTE ((__noreturn__)) -# endif -#endif - /* Suppress unused-variable warnings by "using" E. */ #if ! defined lint || defined __GNUC__ # define YYUSE(E) ((void) (E)) @@ -266,7 +262,7 @@ # define YYUSE(E) /* empty */ #endif -#if defined __GNUC__ && 407 <= __GNUC__ * 100 + __GNUC_MINOR__ +#if defined __GNUC__ && ! defined __ICC && 407 <= __GNUC__ * 100 + __GNUC_MINOR__ /* Suppress an incorrect diagnostic about yylval being uninitialized. */ # define YY_IGNORE_MAYBE_UNINITIALIZED_BEGIN \ _Pragma ("GCC diagnostic push") \ @@ -428,16 +424,16 @@ /* YYNSTATES -- Number of states. */ #define YYNSTATES 14 -/* YYTRANSLATE[YYX] -- Symbol number corresponding to YYX as returned - by yylex, with out-of-bounds checking. */ #define YYUNDEFTOK 2 #define YYMAXUTOK 261 +/* YYTRANSLATE(TOKEN-NUM) -- Symbol number corresponding to TOKEN-NUM + as returned by yylex, with out-of-bounds checking. */ #define YYTRANSLATE(YYX) \ - ((unsigned int) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) + ((unsigned) (YYX) <= YYMAXUTOK ? yytranslate[YYX] : YYUNDEFTOK) /* YYTRANSLATE[TOKEN-NUM] -- Symbol number corresponding to TOKEN-NUM - as returned by yylex, without out-of-bounds checking. */ + as returned by yylex. */ static const yytype_uint8 yytranslate[] = { 0, 2, 2, 2, 2, 2, 2, 2, 2, 2, @@ -583,22 +579,22 @@ #define YYRECOVERING() (!!yyerrstatus) -#define YYBACKUP(Token, Value) \ -do \ - if (yychar == YYEMPTY) \ - { \ - yychar = (Token); \ - yylval = (Value); \ - YYPOPSTACK (yylen); \ - yystate = *yyssp; \ - goto yybackup; \ - } \ - else \ - { \ - yyerror (result, YY_("syntax error: cannot back up")); \ - YYERROR; \ - } \ -while (0) +#define YYBACKUP(Token, Value) \ + do \ + if (yychar == YYEMPTY) \ + { \ + yychar = (Token); \ + yylval = (Value); \ + YYPOPSTACK (yylen); \ + yystate = *yyssp; \ + goto yybackup; \ + } \ + else \ + { \ + yyerror (result, YY_("syntax error: cannot back up")); \ + YYERROR; \ + } \ + while (0) /* Error token number */ #define YYTERROR 1 @@ -638,38 +634,38 @@ } while (0) -/*----------------------------------------. -| Print this symbol's value on YYOUTPUT. | -`----------------------------------------*/ +/*-----------------------------------. +| Print this symbol's value on YYO. | +`-----------------------------------*/ static void -yy_symbol_value_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep, SEG *result) +yy_symbol_value_print (FILE *yyo, int yytype, YYSTYPE const * const yyvaluep, SEG *result) { - FILE *yyo = yyoutput; - YYUSE (yyo); + FILE *yyoutput = yyo; + YYUSE (yyoutput); YYUSE (result); if (!yyvaluep) return; # ifdef YYPRINT if (yytype < YYNTOKENS) - YYPRINT (yyoutput, yytoknum[yytype], *yyvaluep); + YYPRINT (yyo, yytoknum[yytype], *yyvaluep); # endif YYUSE (yytype); } -/*--------------------------------. -| Print this symbol on YYOUTPUT. | -`--------------------------------*/ +/*---------------------------. +| Print this symbol on YYO. | +`---------------------------*/ static void -yy_symbol_print (FILE *yyoutput, int yytype, YYSTYPE const * const yyvaluep, SEG *result) +yy_symbol_print (FILE *yyo, int yytype, YYSTYPE const * const yyvaluep, SEG *result) { - YYFPRINTF (yyoutput, "%s %s (", + YYFPRINTF (yyo, "%s %s (", yytype < YYNTOKENS ? "token" : "nterm", yytname[yytype]); - yy_symbol_value_print (yyoutput, yytype, yyvaluep, result); - YYFPRINTF (yyoutput, ")"); + yy_symbol_value_print (yyo, yytype, yyvaluep, result); + YYFPRINTF (yyo, ")"); } /*------------------------------------------------------------------. @@ -703,7 +699,7 @@ static void yy_reduce_print (yytype_int16 *yyssp, YYSTYPE *yyvsp, int yyrule, SEG *result) { - unsigned long int yylno = yyrline[yyrule]; + unsigned long yylno = yyrline[yyrule]; int yynrhs = yyr2[yyrule]; int yyi; YYFPRINTF (stderr, "Reducing stack by rule %d (line %lu):\n", @@ -714,7 +710,7 @@ YYFPRINTF (stderr, " $%d = ", yyi + 1); yy_symbol_print (stderr, yystos[yyssp[yyi + 1 - yynrhs]], - &(yyvsp[(yyi + 1) - (yynrhs)]) + &yyvsp[(yyi + 1) - (yynrhs)] , result); YYFPRINTF (stderr, "\n"); } @@ -818,7 +814,10 @@ case '\\': if (*++yyp != '\\') goto do_not_strip_quotes; - /* Fall through. */ + else + goto append; + + append: default: if (yyres) yyres[yyn] = *yyp; @@ -836,7 +835,7 @@ if (! yyres) return yystrlen (yystr); - return yystpcpy (yyres, yystr) - yyres; + return (YYSIZE_T) (yystpcpy (yyres, yystr) - yyres); } # endif @@ -914,10 +913,10 @@ yyarg[yycount++] = yytname[yyx]; { YYSIZE_T yysize1 = yysize + yytnamerr (YY_NULLPTR, yytname[yyx]); - if (! (yysize <= yysize1 - && yysize1 <= YYSTACK_ALLOC_MAXIMUM)) + if (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM) + yysize = yysize1; + else return 2; - yysize = yysize1; } } } @@ -929,6 +928,7 @@ case N: \ yyformat = S; \ break + default: /* Avoid compiler warnings. */ YYCASE_(0, YY_("syntax error")); YYCASE_(1, YY_("syntax error, unexpected %s")); YYCASE_(2, YY_("syntax error, unexpected %s, expecting %s")); @@ -940,9 +940,10 @@ { YYSIZE_T yysize1 = yysize + yystrlen (yyformat); - if (! (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM)) + if (yysize <= yysize1 && yysize1 <= YYSTACK_ALLOC_MAXIMUM) + yysize = yysize1; + else return 2; - yysize = yysize1; } if (*yymsg_alloc < yysize) @@ -1069,23 +1070,31 @@ yychar = YYEMPTY; /* Cause a token to be read. */ goto yysetstate; + /*------------------------------------------------------------. -| yynewstate -- Push a new state, which is found in yystate. | +| yynewstate -- push a new state, which is found in yystate. | `------------------------------------------------------------*/ - yynewstate: +yynewstate: /* In all cases, when you get here, the value and location stacks have just been pushed. So pushing a state here evens the stacks. */ yyssp++; - yysetstate: - *yyssp = yystate; + +/*--------------------------------------------------------------------. +| yynewstate -- set current state (the top of the stack) to yystate. | +`--------------------------------------------------------------------*/ +yysetstate: + *yyssp = (yytype_int16) yystate; if (yyss + yystacksize - 1 <= yyssp) +#if !defined yyoverflow && !defined YYSTACK_RELOCATE + goto yyexhaustedlab; +#else { /* Get the current used size of the three stacks, in elements. */ - YYSIZE_T yysize = yyssp - yyss + 1; + YYSIZE_T yysize = (YYSIZE_T) (yyssp - yyss + 1); -#ifdef yyoverflow +# if defined yyoverflow { /* Give user a chance to reallocate the stack. Use copies of these so that the &'s don't force the real ones into @@ -1101,14 +1110,10 @@ &yyss1, yysize * sizeof (*yyssp), &yyvs1, yysize * sizeof (*yyvsp), &yystacksize); - yyss = yyss1; yyvs = yyvs1; } -#else /* no yyoverflow */ -# ifndef YYSTACK_RELOCATE - goto yyexhaustedlab; -# else +# else /* defined YYSTACK_RELOCATE */ /* Extend the stack our own way. */ if (YYMAXDEPTH <= yystacksize) goto yyexhaustedlab; @@ -1124,22 +1129,22 @@ goto yyexhaustedlab; YYSTACK_RELOCATE (yyss_alloc, yyss); YYSTACK_RELOCATE (yyvs_alloc, yyvs); -# undef YYSTACK_RELOCATE +# undef YYSTACK_RELOCATE if (yyss1 != yyssa) YYSTACK_FREE (yyss1); } # endif -#endif /* no yyoverflow */ yyssp = yyss + yysize - 1; yyvsp = yyvs + yysize - 1; YYDPRINTF ((stderr, "Stack size increased to %lu\n", - (unsigned long int) yystacksize)); + (unsigned long) yystacksize)); if (yyss + yystacksize - 1 <= yyssp) YYABORT; } +#endif /* !defined yyoverflow && !defined YYSTACK_RELOCATE */ YYDPRINTF ((stderr, "Entering state %d\n", yystate)); @@ -1148,11 +1153,11 @@ goto yybackup; + /*-----------. | yybackup. | `-----------*/ yybackup: - /* Do appropriate processing given the current state. Read a lookahead token if we need one and don't already have one. */ @@ -1225,7 +1230,7 @@ /*-----------------------------. -| yyreduce -- Do a reduction. | +| yyreduce -- do a reduction. | `-----------------------------*/ yyreduce: /* yyn is the number of a rule to reduce with. */ @@ -1246,7 +1251,7 @@ switch (yyn) { case 2: -#line 62 "segparse.y" /* yacc.c:1646 */ +#line 62 "segparse.y" /* yacc.c:1652 */ { result->lower = (yyvsp[-2].bnd).val - (yyvsp[0].bnd).val; result->upper = (yyvsp[-2].bnd).val + (yyvsp[0].bnd).val; @@ -1257,11 +1262,11 @@ result->l_ext = '\0'; result->u_ext = '\0'; } -#line 1261 "segparse.c" /* yacc.c:1646 */ +#line 1266 "segparse.c" /* yacc.c:1652 */ break; case 3: -#line 74 "segparse.y" /* yacc.c:1646 */ +#line 74 "segparse.y" /* yacc.c:1652 */ { result->lower = (yyvsp[-2].bnd).val; result->upper = (yyvsp[0].bnd).val; @@ -1278,11 +1283,11 @@ result->l_ext = ( (yyvsp[-2].bnd).ext ? (yyvsp[-2].bnd).ext : '\0' ); result->u_ext = ( (yyvsp[0].bnd).ext ? (yyvsp[0].bnd).ext : '\0' ); } -#line 1282 "segparse.c" /* yacc.c:1646 */ +#line 1287 "segparse.c" /* yacc.c:1652 */ break; case 4: -#line 92 "segparse.y" /* yacc.c:1646 */ +#line 92 "segparse.y" /* yacc.c:1652 */ { result->lower = (yyvsp[-1].bnd).val; result->upper = HUGE_VAL; @@ -1291,11 +1296,11 @@ result->l_ext = ( (yyvsp[-1].bnd).ext ? (yyvsp[-1].bnd).ext : '\0' ); result->u_ext = '-'; } -#line 1295 "segparse.c" /* yacc.c:1646 */ +#line 1300 "segparse.c" /* yacc.c:1652 */ break; case 5: -#line 102 "segparse.y" /* yacc.c:1646 */ +#line 102 "segparse.y" /* yacc.c:1652 */ { result->lower = -HUGE_VAL; result->upper = (yyvsp[0].bnd).val; @@ -1304,21 +1309,21 @@ result->l_ext = '-'; result->u_ext = ( (yyvsp[0].bnd).ext ? (yyvsp[0].bnd).ext : '\0' ); } -#line 1308 "segparse.c" /* yacc.c:1646 */ +#line 1313 "segparse.c" /* yacc.c:1652 */ break; case 6: -#line 112 "segparse.y" /* yacc.c:1646 */ +#line 112 "segparse.y" /* yacc.c:1652 */ { result->lower = result->upper = (yyvsp[0].bnd).val; result->l_sigd = result->u_sigd = (yyvsp[0].bnd).sigd; result->l_ext = result->u_ext = ( (yyvsp[0].bnd).ext ? (yyvsp[0].bnd).ext : '\0' ); } -#line 1318 "segparse.c" /* yacc.c:1646 */ +#line 1323 "segparse.c" /* yacc.c:1652 */ break; case 7: -#line 120 "segparse.y" /* yacc.c:1646 */ +#line 120 "segparse.y" /* yacc.c:1652 */ { /* temp variable avoids a gcc 3.3.x bug on Sparc64 */ float val = seg_atof((yyvsp[0].text)); @@ -1327,11 +1332,11 @@ (yyval.bnd).sigd = significant_digits((yyvsp[0].text)); (yyval.bnd).val = val; } -#line 1331 "segparse.c" /* yacc.c:1646 */ +#line 1336 "segparse.c" /* yacc.c:1652 */ break; case 8: -#line 129 "segparse.y" /* yacc.c:1646 */ +#line 129 "segparse.y" /* yacc.c:1652 */ { /* temp variable avoids a gcc 3.3.x bug on Sparc64 */ float val = seg_atof((yyvsp[0].text)); @@ -1340,11 +1345,11 @@ (yyval.bnd).sigd = significant_digits((yyvsp[0].text)); (yyval.bnd).val = val; } -#line 1344 "segparse.c" /* yacc.c:1646 */ +#line 1349 "segparse.c" /* yacc.c:1652 */ break; case 9: -#line 140 "segparse.y" /* yacc.c:1646 */ +#line 140 "segparse.y" /* yacc.c:1652 */ { /* temp variable avoids a gcc 3.3.x bug on Sparc64 */ float val = seg_atof((yyvsp[0].text)); @@ -1353,11 +1358,11 @@ (yyval.bnd).sigd = significant_digits((yyvsp[0].text)); (yyval.bnd).val = val; } -#line 1357 "segparse.c" /* yacc.c:1646 */ +#line 1362 "segparse.c" /* yacc.c:1652 */ break; -#line 1361 "segparse.c" /* yacc.c:1646 */ +#line 1366 "segparse.c" /* yacc.c:1652 */ default: break; } /* User semantic actions sometimes alter yychar, and that requires @@ -1382,14 +1387,13 @@ /* Now 'shift' the result of the reduction. Determine what state that goes to, based on the state we popped back to and the rule number reduced by. */ - - yyn = yyr1[yyn]; - - yystate = yypgoto[yyn - YYNTOKENS] + *yyssp; - if (0 <= yystate && yystate <= YYLAST && yycheck[yystate] == *yyssp) - yystate = yytable[yystate]; - else - yystate = yydefgoto[yyn - YYNTOKENS]; + { + const int yylhs = yyr1[yyn] - YYNTOKENS; + const int yyi = yypgoto[yylhs] + *yyssp; + yystate = (0 <= yyi && yyi <= YYLAST && yycheck[yyi] == *yyssp + ? yytable[yyi] + : yydefgoto[yylhs]); + } goto yynewstate; @@ -1472,12 +1476,10 @@ | yyerrorlab -- error raised explicitly by YYERROR. | `---------------------------------------------------*/ yyerrorlab: - - /* Pacify compilers like GCC when the user code never invokes - YYERROR and the label yyerrorlab therefore never appears in user - code. */ - if (/*CONSTCOND*/ 0) - goto yyerrorlab; + /* Pacify compilers when the user code never invokes YYERROR and the + label yyerrorlab therefore never appears in user code. */ + if (0) + YYERROR; /* Do not reclaim the symbols of the rule whose action triggered this YYERROR. */ @@ -1539,6 +1541,7 @@ yyresult = 0; goto yyreturn; + /*-----------------------------------. | yyabortlab -- YYABORT comes here. | `-----------------------------------*/ @@ -1546,6 +1549,7 @@ yyresult = 1; goto yyreturn; + #if !defined yyoverflow || YYERROR_VERBOSE /*-------------------------------------------------. | yyexhaustedlab -- memory exhaustion comes here. | @@ -1556,6 +1560,10 @@ /* Fall through. */ #endif + +/*-----------------------------------------------------. +| yyreturn -- parsing is finished, return the result. | +`-----------------------------------------------------*/ yyreturn: if (yychar != YYEMPTY) { @@ -1585,7 +1593,7 @@ #endif return yyresult; } -#line 150 "segparse.y" /* yacc.c:1906 */ +#line 150 "segparse.y" /* yacc.c:1918 */ diff -Nru postgresql-11-11.6/contrib/seg/segscan.c postgresql-11-11.7/contrib/seg/segscan.c --- postgresql-11-11.6/contrib/seg/segscan.c 2019-11-11 22:19:15.000000000 +0000 +++ postgresql-11-11.7/contrib/seg/segscan.c 2020-02-10 22:30:48.000000000 +0000 @@ -8,11 +8,17 @@ #define yy_create_buffer seg_yy_create_buffer #define yy_delete_buffer seg_yy_delete_buffer -#define yy_flex_debug seg_yy_flex_debug +#define yy_scan_buffer seg_yy_scan_buffer +#define yy_scan_string seg_yy_scan_string +#define yy_scan_bytes seg_yy_scan_bytes #define yy_init_buffer seg_yy_init_buffer #define yy_flush_buffer seg_yy_flush_buffer #define yy_load_buffer_state seg_yy_load_buffer_state #define yy_switch_to_buffer seg_yy_switch_to_buffer +#define yypush_buffer_state seg_yypush_buffer_state +#define yypop_buffer_state seg_yypop_buffer_state +#define yyensure_buffer_stack seg_yyensure_buffer_stack +#define yy_flex_debug seg_yy_flex_debug #define yyin seg_yyin #define yyleng seg_yyleng #define yylex seg_yylex @@ -28,11 +34,245 @@ #define FLEX_SCANNER #define YY_FLEX_MAJOR_VERSION 2 #define YY_FLEX_MINOR_VERSION 6 -#define YY_FLEX_SUBMINOR_VERSION 1 +#define YY_FLEX_SUBMINOR_VERSION 4 #if YY_FLEX_SUBMINOR_VERSION > 0 #define FLEX_BETA #endif +#ifdef yy_create_buffer +#define seg_yy_create_buffer_ALREADY_DEFINED +#else +#define yy_create_buffer seg_yy_create_buffer +#endif + +#ifdef yy_delete_buffer +#define seg_yy_delete_buffer_ALREADY_DEFINED +#else +#define yy_delete_buffer seg_yy_delete_buffer +#endif + +#ifdef yy_scan_buffer +#define seg_yy_scan_buffer_ALREADY_DEFINED +#else +#define yy_scan_buffer seg_yy_scan_buffer +#endif + +#ifdef yy_scan_string +#define seg_yy_scan_string_ALREADY_DEFINED +#else +#define yy_scan_string seg_yy_scan_string +#endif + +#ifdef yy_scan_bytes +#define seg_yy_scan_bytes_ALREADY_DEFINED +#else +#define yy_scan_bytes seg_yy_scan_bytes +#endif + +#ifdef yy_init_buffer +#define seg_yy_init_buffer_ALREADY_DEFINED +#else +#define yy_init_buffer seg_yy_init_buffer +#endif + +#ifdef yy_flush_buffer +#define seg_yy_flush_buffer_ALREADY_DEFINED +#else +#define yy_flush_buffer seg_yy_flush_buffer +#endif + +#ifdef yy_load_buffer_state +#define seg_yy_load_buffer_state_ALREADY_DEFINED +#else +#define yy_load_buffer_state seg_yy_load_buffer_state +#endif + +#ifdef yy_switch_to_buffer +#define seg_yy_switch_to_buffer_ALREADY_DEFINED +#else +#define yy_switch_to_buffer seg_yy_switch_to_buffer +#endif + +#ifdef yypush_buffer_state +#define seg_yypush_buffer_state_ALREADY_DEFINED +#else +#define yypush_buffer_state seg_yypush_buffer_state +#endif + +#ifdef yypop_buffer_state +#define seg_yypop_buffer_state_ALREADY_DEFINED +#else +#define yypop_buffer_state seg_yypop_buffer_state +#endif + +#ifdef yyensure_buffer_stack +#define seg_yyensure_buffer_stack_ALREADY_DEFINED +#else +#define yyensure_buffer_stack seg_yyensure_buffer_stack +#endif + +#ifdef yylex +#define seg_yylex_ALREADY_DEFINED +#else +#define yylex seg_yylex +#endif + +#ifdef yyrestart +#define seg_yyrestart_ALREADY_DEFINED +#else +#define yyrestart seg_yyrestart +#endif + +#ifdef yylex_init +#define seg_yylex_init_ALREADY_DEFINED +#else +#define yylex_init seg_yylex_init +#endif + +#ifdef yylex_init_extra +#define seg_yylex_init_extra_ALREADY_DEFINED +#else +#define yylex_init_extra seg_yylex_init_extra +#endif + +#ifdef yylex_destroy +#define seg_yylex_destroy_ALREADY_DEFINED +#else +#define yylex_destroy seg_yylex_destroy +#endif + +#ifdef yyget_debug +#define seg_yyget_debug_ALREADY_DEFINED +#else +#define yyget_debug seg_yyget_debug +#endif + +#ifdef yyset_debug +#define seg_yyset_debug_ALREADY_DEFINED +#else +#define yyset_debug seg_yyset_debug +#endif + +#ifdef yyget_extra +#define seg_yyget_extra_ALREADY_DEFINED +#else +#define yyget_extra seg_yyget_extra +#endif + +#ifdef yyset_extra +#define seg_yyset_extra_ALREADY_DEFINED +#else +#define yyset_extra seg_yyset_extra +#endif + +#ifdef yyget_in +#define seg_yyget_in_ALREADY_DEFINED +#else +#define yyget_in seg_yyget_in +#endif + +#ifdef yyset_in +#define seg_yyset_in_ALREADY_DEFINED +#else +#define yyset_in seg_yyset_in +#endif + +#ifdef yyget_out +#define seg_yyget_out_ALREADY_DEFINED +#else +#define yyget_out seg_yyget_out +#endif + +#ifdef yyset_out +#define seg_yyset_out_ALREADY_DEFINED +#else +#define yyset_out seg_yyset_out +#endif + +#ifdef yyget_leng +#define seg_yyget_leng_ALREADY_DEFINED +#else +#define yyget_leng seg_yyget_leng +#endif + +#ifdef yyget_text +#define seg_yyget_text_ALREADY_DEFINED +#else +#define yyget_text seg_yyget_text +#endif + +#ifdef yyget_lineno +#define seg_yyget_lineno_ALREADY_DEFINED +#else +#define yyget_lineno seg_yyget_lineno +#endif + +#ifdef yyset_lineno +#define seg_yyset_lineno_ALREADY_DEFINED +#else +#define yyset_lineno seg_yyset_lineno +#endif + +#ifdef yywrap +#define seg_yywrap_ALREADY_DEFINED +#else +#define yywrap seg_yywrap +#endif + +#ifdef yyalloc +#define seg_yyalloc_ALREADY_DEFINED +#else +#define yyalloc seg_yyalloc +#endif + +#ifdef yyrealloc +#define seg_yyrealloc_ALREADY_DEFINED +#else +#define yyrealloc seg_yyrealloc +#endif + +#ifdef yyfree +#define seg_yyfree_ALREADY_DEFINED +#else +#define yyfree seg_yyfree +#endif + +#ifdef yytext +#define seg_yytext_ALREADY_DEFINED +#else +#define yytext seg_yytext +#endif + +#ifdef yyleng +#define seg_yyleng_ALREADY_DEFINED +#else +#define yyleng seg_yyleng +#endif + +#ifdef yyin +#define seg_yyin_ALREADY_DEFINED +#else +#define yyin seg_yyin +#endif + +#ifdef yyout +#define seg_yyout_ALREADY_DEFINED +#else +#define yyout seg_yyout +#endif + +#ifdef yy_flex_debug +#define seg_yy_flex_debug_ALREADY_DEFINED +#else +#define yy_flex_debug seg_yy_flex_debug +#endif + +#ifdef yylineno +#define seg_yylineno_ALREADY_DEFINED +#else +#define yylineno seg_yylineno +#endif + /* First, we deal with platform-specific or compiler-specific issues. */ /* begin standard C headers. */ @@ -103,10 +343,16 @@ #define UINT32_MAX (4294967295U) #endif +#ifndef SIZE_MAX +#define SIZE_MAX (~(size_t)0) +#endif + #endif /* ! C99 */ #endif /* ! FLEXINT_H */ +/* begin standard C++ headers. */ + /* TODO: this is always defined, so inline it */ #define yyconst const @@ -119,32 +365,26 @@ /* Returned upon end-of-file. */ #define YY_NULL 0 -/* Promotes a possibly negative, possibly signed char to an unsigned - * integer for use as an array index. If the signed char is negative, - * we want to instead treat it as an 8-bit unsigned char, hence the - * double cast. +/* Promotes a possibly negative, possibly signed char to an + * integer in range [0..255] for use as an array index. */ -#define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) +#define YY_SC_TO_UI(c) ((YY_CHAR) (c)) /* Enter a start condition. This macro really ought to take a parameter, * but we do it the disgusting crufty way forced on us by the ()-less * definition of BEGIN. */ #define BEGIN (yy_start) = 1 + 2 * - /* Translate the current start state into a value that can be later handed * to BEGIN to return to the state. The YYSTATE alias is for lex * compatibility. */ #define YY_START (((yy_start) - 1) / 2) #define YYSTATE YY_START - /* Action number for EOF rule of a given start state. */ #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) - /* Special action meaning "start processing a new file". */ -#define YY_NEW_FILE seg_yyrestart(seg_yyin ) - +#define YY_NEW_FILE yyrestart( yyin ) #define YY_END_OF_BUFFER_CHAR 0 /* Size of default input buffer. */ @@ -174,14 +414,14 @@ typedef size_t yy_size_t; #endif -extern int seg_yyleng; +extern int yyleng; -extern FILE *seg_yyin, *seg_yyout; +extern FILE *yyin, *yyout; #define EOB_ACT_CONTINUE_SCAN 0 #define EOB_ACT_END_OF_FILE 1 #define EOB_ACT_LAST_MATCH 2 - + #define YY_LESS_LINENO(n) #define YY_LINENO_REWIND_TO(ptr) @@ -189,16 +429,15 @@ #define yyless(n) \ do \ { \ - /* Undo effects of setting up seg_yytext. */ \ + /* Undo effects of setting up yytext. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ *yy_cp = (yy_hold_char); \ YY_RESTORE_YY_MORE_OFFSET \ (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ - YY_DO_BEFORE_ACTION; /* set up seg_yytext again */ \ + YY_DO_BEFORE_ACTION; /* set up yytext again */ \ } \ while ( 0 ) - #define unput(c) yyunput( c, (yytext_ptr) ) #ifndef YY_STRUCT_YY_BUFFER_STATE @@ -258,8 +497,8 @@ * possible backing-up. * * When we actually see the EOF, we change the status to "new" - * (via seg_yyrestart()), so that the user can continue scanning by - * just pointing seg_yyin at a new input file. + * (via yyrestart()), so that the user can continue scanning by + * just pointing yyin at a new input file. */ #define YY_BUFFER_EOF_PENDING 2 @@ -280,109 +519,101 @@ #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ : NULL) - /* Same as previous macro, but useful when we know that the buffer stack is not * NULL or when we need an lvalue. For internal use only. */ #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] -/* yy_hold_char holds the character lost when seg_yytext is formed. */ +/* yy_hold_char holds the character lost when yytext is formed. */ static char yy_hold_char; static int yy_n_chars; /* number of characters read into yy_ch_buf */ -int seg_yyleng; +int yyleng; /* Points to current character in buffer. */ static char *yy_c_buf_p = NULL; static int yy_init = 0; /* whether we need to initialize */ static int yy_start = 0; /* start state number */ -/* Flag which is used to allow seg_yywrap()'s to do buffer switches - * instead of setting up a fresh seg_yyin. A bit of a hack ... +/* Flag which is used to allow yywrap()'s to do buffer switches + * instead of setting up a fresh yyin. A bit of a hack ... */ static int yy_did_buffer_switch_on_eof; -void seg_yyrestart (FILE *input_file ); -void seg_yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ); -YY_BUFFER_STATE seg_yy_create_buffer (FILE *file,int size ); -void seg_yy_delete_buffer (YY_BUFFER_STATE b ); -void seg_yy_flush_buffer (YY_BUFFER_STATE b ); -void seg_yypush_buffer_state (YY_BUFFER_STATE new_buffer ); -void seg_yypop_buffer_state (void ); - -static void seg_yyensure_buffer_stack (void ); -static void seg_yy_load_buffer_state (void ); -static void seg_yy_init_buffer (YY_BUFFER_STATE b,FILE *file ); - -#define YY_FLUSH_BUFFER seg_yy_flush_buffer(YY_CURRENT_BUFFER ) - -YY_BUFFER_STATE seg_yy_scan_buffer (char *base,yy_size_t size ); -YY_BUFFER_STATE seg_yy_scan_string (yyconst char *yy_str ); -YY_BUFFER_STATE seg_yy_scan_bytes (yyconst char *bytes,int len ); - -void *seg_yyalloc (yy_size_t ); -void *seg_yyrealloc (void *,yy_size_t ); -void seg_yyfree (void * ); - -#define yy_new_buffer seg_yy_create_buffer +void yyrestart ( FILE *input_file ); +void yy_switch_to_buffer ( YY_BUFFER_STATE new_buffer ); +YY_BUFFER_STATE yy_create_buffer ( FILE *file, int size ); +void yy_delete_buffer ( YY_BUFFER_STATE b ); +void yy_flush_buffer ( YY_BUFFER_STATE b ); +void yypush_buffer_state ( YY_BUFFER_STATE new_buffer ); +void yypop_buffer_state ( void ); + +static void yyensure_buffer_stack ( void ); +static void yy_load_buffer_state ( void ); +static void yy_init_buffer ( YY_BUFFER_STATE b, FILE *file ); +#define YY_FLUSH_BUFFER yy_flush_buffer( YY_CURRENT_BUFFER ) + +YY_BUFFER_STATE yy_scan_buffer ( char *base, yy_size_t size ); +YY_BUFFER_STATE yy_scan_string ( const char *yy_str ); +YY_BUFFER_STATE yy_scan_bytes ( const char *bytes, int len ); + +void *yyalloc ( yy_size_t ); +void *yyrealloc ( void *, yy_size_t ); +void yyfree ( void * ); +#define yy_new_buffer yy_create_buffer #define yy_set_interactive(is_interactive) \ { \ if ( ! YY_CURRENT_BUFFER ){ \ - seg_yyensure_buffer_stack (); \ + yyensure_buffer_stack (); \ YY_CURRENT_BUFFER_LVALUE = \ - seg_yy_create_buffer(seg_yyin,YY_BUF_SIZE ); \ + yy_create_buffer( yyin, YY_BUF_SIZE ); \ } \ YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ } - #define yy_set_bol(at_bol) \ { \ if ( ! YY_CURRENT_BUFFER ){\ - seg_yyensure_buffer_stack (); \ + yyensure_buffer_stack (); \ YY_CURRENT_BUFFER_LVALUE = \ - seg_yy_create_buffer(seg_yyin,YY_BUF_SIZE ); \ + yy_create_buffer( yyin, YY_BUF_SIZE ); \ } \ YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ } - #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) /* Begin user sect3 */ #define seg_yywrap() (/*CONSTCOND*/1) #define YY_SKIP_YYWRAP +typedef flex_uint8_t YY_CHAR; -typedef unsigned char YY_CHAR; - -FILE *seg_yyin = NULL, *seg_yyout = NULL; +FILE *yyin = NULL, *yyout = NULL; typedef int yy_state_type; -extern int seg_yylineno; +extern int yylineno; +int yylineno = 1; -int seg_yylineno = 1; - -extern char *seg_yytext; +extern char *yytext; #ifdef yytext_ptr #undef yytext_ptr #endif -#define yytext_ptr seg_yytext +#define yytext_ptr yytext -static yy_state_type yy_get_previous_state (void ); -static yy_state_type yy_try_NUL_trans (yy_state_type current_state ); -static int yy_get_next_buffer (void ); -static void yynoreturn yy_fatal_error (yyconst char* msg ); +static yy_state_type yy_get_previous_state ( void ); +static yy_state_type yy_try_NUL_trans ( yy_state_type current_state ); +static int yy_get_next_buffer ( void ); +static void yynoreturn yy_fatal_error ( const char* msg ); /* Done after the current pattern has been matched and before the - * corresponding action - sets up seg_yytext. + * corresponding action - sets up yytext. */ #define YY_DO_BEFORE_ACTION \ (yytext_ptr) = yy_bp; \ - seg_yyleng = (int) (yy_cp - yy_bp); \ + yyleng = (int) (yy_cp - yy_bp); \ (yy_hold_char) = *yy_cp; \ *yy_cp = '\0'; \ (yy_c_buf_p) = yy_cp; - #define YY_NUM_RULES 9 #define YY_END_OF_BUFFER 10 /* This struct is not used in this scanner, @@ -392,14 +623,14 @@ flex_int32_t yy_verify; flex_int32_t yy_nxt; }; -static yyconst flex_int16_t yy_accept[30] = +static const flex_int16_t yy_accept[30] = { 0, 0, 0, 10, 8, 7, 7, 8, 8, 8, 8, 3, 4, 5, 6, 7, 0, 0, 3, 1, 0, 0, 0, 0, 1, 3, 0, 3, 2, 0 } ; -static yyconst YY_CHAR yy_ec[256] = +static const YY_CHAR yy_ec[256] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 1, 2, 2, 1, 1, 1, 1, 1, 1, 1, @@ -431,27 +662,27 @@ 1, 1, 1, 1, 1 } ; -static yyconst YY_CHAR yy_meta[15] = +static const YY_CHAR yy_meta[15] = { 0, 1, 1, 1, 1, 1, 1, 2, 2, 1, 2, 1, 1, 1, 1 } ; -static yyconst flex_uint16_t yy_base[31] = +static const flex_int16_t yy_base[31] = { 0, 0, 0, 40, 41, 13, 15, 32, 31, 27, 27, 10, 41, 41, 41, 19, 27, 26, 0, 24, 22, 21, 26, 23, 41, 14, 18, 16, 41, 41, 23 } ; -static yyconst flex_int16_t yy_def[31] = +static const flex_int16_t yy_def[31] = { 0, 29, 1, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 11, 29, 29, 30, 29, 29, 29, 29, 29, 29, 29, 0, 29 } ; -static yyconst flex_uint16_t yy_nxt[56] = +static const flex_int16_t yy_nxt[56] = { 0, 4, 5, 6, 7, 8, 4, 9, 9, 10, 11, 12, 13, 4, 14, 15, 15, 15, 15, 20, 18, @@ -461,7 +692,7 @@ 29, 29, 29, 29, 29 } ; -static yyconst flex_int16_t yy_chk[56] = +static const flex_int16_t yy_chk[56] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 5, 5, 6, 6, 11, 11, @@ -474,8 +705,8 @@ static yy_state_type yy_last_accepting_state; static char *yy_last_accepting_cpos; -extern int seg_yy_flex_debug; -int seg_yy_flex_debug = 0; +extern int yy_flex_debug; +int yy_flex_debug = 0; /* The intent behind this definition is that it'll catch * any uses of REJECT which flex missed. @@ -484,7 +715,7 @@ #define yymore() yymore_used_but_not_detected #define YY_MORE_ADJ 0 #define YY_RESTORE_YY_MORE_OFFSET -char *seg_yytext; +char *yytext; #line 1 "segscan.l" #line 2 "segscan.l" /* @@ -510,8 +741,9 @@ static YY_BUFFER_STATE scanbufhandle; static char *scanbuf; static int scanbuflen; +#line 745 "segscan.c" #define YY_NO_INPUT 1 -#line 515 "segscan.c" +#line 747 "segscan.c" #define INITIAL 0 @@ -527,36 +759,36 @@ #define YY_EXTRA_TYPE void * #endif -static int yy_init_globals (void ); +static int yy_init_globals ( void ); /* Accessor methods to globals. These are made visible to non-reentrant scanners for convenience. */ -int seg_yylex_destroy (void ); +int yylex_destroy ( void ); -int seg_yyget_debug (void ); +int yyget_debug ( void ); -void seg_yyset_debug (int debug_flag ); +void yyset_debug ( int debug_flag ); -YY_EXTRA_TYPE seg_yyget_extra (void ); +YY_EXTRA_TYPE yyget_extra ( void ); -void seg_yyset_extra (YY_EXTRA_TYPE user_defined ); +void yyset_extra ( YY_EXTRA_TYPE user_defined ); -FILE *seg_yyget_in (void ); +FILE *yyget_in ( void ); -void seg_yyset_in (FILE * _in_str ); +void yyset_in ( FILE * _in_str ); -FILE *seg_yyget_out (void ); +FILE *yyget_out ( void ); -void seg_yyset_out (FILE * _out_str ); +void yyset_out ( FILE * _out_str ); - int seg_yyget_leng (void ); + int yyget_leng ( void ); -char *seg_yyget_text (void ); +char *yyget_text ( void ); -int seg_yyget_lineno (void ); +int yyget_lineno ( void ); -void seg_yyset_lineno (int _line_number ); +void yyset_lineno ( int _line_number ); /* Macros after this point can all be overridden by user definitions in * section 1. @@ -564,9 +796,9 @@ #ifndef YY_SKIP_YYWRAP #ifdef __cplusplus -extern "C" int seg_yywrap (void ); +extern "C" int yywrap ( void ); #else -extern int seg_yywrap (void ); +extern int yywrap ( void ); #endif #endif @@ -575,19 +807,18 @@ #endif #ifndef yytext_ptr -static void yy_flex_strncpy (char *,yyconst char *,int ); +static void yy_flex_strncpy ( char *, const char *, int ); #endif #ifdef YY_NEED_STRLEN -static int yy_flex_strlen (yyconst char * ); +static int yy_flex_strlen ( const char * ); #endif #ifndef YY_NO_INPUT - #ifdef __cplusplus -static int yyinput (void ); +static int yyinput ( void ); #else -static int input (void ); +static int input ( void ); #endif #endif @@ -607,7 +838,7 @@ /* This used to be an fputs(), but since the string might contain NUL's, * we now use fwrite(). */ -#define ECHO do { if (fwrite( seg_yytext, (size_t) seg_yyleng, 1, seg_yyout )) {} } while (0) +#define ECHO do { if (fwrite( yytext, (size_t) yyleng, 1, yyout )) {} } while (0) #endif /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, @@ -618,20 +849,20 @@ if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ { \ int c = '*'; \ - size_t n; \ + int n; \ for ( n = 0; n < max_size && \ - (c = getc( seg_yyin )) != EOF && c != '\n'; ++n ) \ + (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ buf[n] = (char) c; \ if ( c == '\n' ) \ buf[n++] = (char) c; \ - if ( c == EOF && ferror( seg_yyin ) ) \ + if ( c == EOF && ferror( yyin ) ) \ YY_FATAL_ERROR( "input in flex scanner failed" ); \ result = n; \ } \ else \ { \ errno=0; \ - while ( (result = (int) fread(buf, 1, max_size, seg_yyin))==0 && ferror(seg_yyin)) \ + while ( (result = (int) fread(buf, 1, (yy_size_t) max_size, yyin)) == 0 && ferror(yyin)) \ { \ if( errno != EINTR) \ { \ @@ -639,7 +870,7 @@ break; \ } \ errno=0; \ - clearerr(seg_yyin); \ + clearerr(yyin); \ } \ }\ \ @@ -672,12 +903,12 @@ #ifndef YY_DECL #define YY_DECL_IS_OURS 1 -extern int seg_yylex (void); +extern int yylex (void); -#define YY_DECL int seg_yylex (void) +#define YY_DECL int yylex (void) #endif /* !YY_DECL */ -/* Code executed at the beginning of each rule, after seg_yytext and seg_yyleng +/* Code executed at the beginning of each rule, after yytext and yyleng * have been set up. */ #ifndef YY_USER_ACTION @@ -711,32 +942,32 @@ if ( ! (yy_start) ) (yy_start) = 1; /* first start state */ - if ( ! seg_yyin ) - seg_yyin = stdin; + if ( ! yyin ) + yyin = stdin; - if ( ! seg_yyout ) - seg_yyout = stdout; + if ( ! yyout ) + yyout = stdout; if ( ! YY_CURRENT_BUFFER ) { - seg_yyensure_buffer_stack (); + yyensure_buffer_stack (); YY_CURRENT_BUFFER_LVALUE = - seg_yy_create_buffer(seg_yyin,YY_BUF_SIZE ); + yy_create_buffer( yyin, YY_BUF_SIZE ); } - seg_yy_load_buffer_state( ); + yy_load_buffer_state( ); } { #line 43 "segscan.l" -#line 734 "segscan.c" +#line 965 "segscan.c" while ( /*CONSTCOND*/1 ) /* loops until end-of-file is reached */ { yy_cp = (yy_c_buf_p); - /* Support of seg_yytext. */ + /* Support of yytext. */ *yy_cp = (yy_hold_char); /* yy_bp points to the position in yy_ch_buf of the start of @@ -758,9 +989,9 @@ { yy_current_state = (int) yy_def[yy_current_state]; if ( yy_current_state >= 30 ) - yy_c = yy_meta[(unsigned int) yy_c]; + yy_c = yy_meta[yy_c]; } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (flex_int16_t) yy_c]; + yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; ++yy_cp; } while ( yy_current_state != 29 ); @@ -786,17 +1017,17 @@ case 1: YY_RULE_SETUP #line 45 "segscan.l" -yylval.text = seg_yytext; return RANGE; +yylval.text = yytext; return RANGE; YY_BREAK case 2: YY_RULE_SETUP #line 46 "segscan.l" -yylval.text = seg_yytext; return PLUMIN; +yylval.text = yytext; return PLUMIN; YY_BREAK case 3: YY_RULE_SETUP #line 47 "segscan.l" -yylval.text = seg_yytext; return SEGFLOAT; +yylval.text = yytext; return SEGFLOAT; YY_BREAK case 4: YY_RULE_SETUP @@ -822,14 +1053,14 @@ case 8: YY_RULE_SETUP #line 52 "segscan.l" -return seg_yytext[0]; /* alert parser of the garbage */ +return yytext[0]; /* alert parser of the garbage */ YY_BREAK case 9: YY_RULE_SETUP #line 54 "segscan.l" YY_FATAL_ERROR( "flex scanner jammed" ); YY_BREAK -#line 833 "segscan.c" +#line 1064 "segscan.c" case YY_STATE_EOF(INITIAL): yyterminate(); @@ -846,15 +1077,15 @@ { /* We're scanning a new file or input source. It's * possible that this happened because the user - * just pointed seg_yyin at a new source and called - * seg_yylex(). If so, then we have to assure + * just pointed yyin at a new source and called + * yylex(). If so, then we have to assure * consistency between YY_CURRENT_BUFFER and our * globals. Here is the right place to do so, because * this is the first action (other than possibly a * back-up) that will match for the new input source. */ (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; - YY_CURRENT_BUFFER_LVALUE->yy_input_file = seg_yyin; + YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; } @@ -908,11 +1139,11 @@ { (yy_did_buffer_switch_on_eof) = 0; - if ( seg_yywrap( ) ) + if ( yywrap( ) ) { /* Note: because we've taken care in * yy_get_next_buffer() to have set up - * seg_yytext, we can now set up + * yytext, we can now set up * yy_c_buf_p so that if some total * hoser (like flex itself) wants to * call the scanner after we return the @@ -962,7 +1193,7 @@ } /* end of action switch */ } /* end of scanning one token */ } /* end of user's declarations */ -} /* end of seg_yylex */ +} /* end of yylex */ /* yy_get_next_buffer - try to read in a new buffer * @@ -1040,7 +1271,8 @@ b->yy_ch_buf = (char *) /* Include room in for 2 EOB chars. */ - seg_yyrealloc((void *) b->yy_ch_buf,b->yy_buf_size + 2 ); + yyrealloc( (void *) b->yy_ch_buf, + (yy_size_t) (b->yy_buf_size + 2) ); } else /* Can't grow it, we don't own it. */ @@ -1072,7 +1304,7 @@ if ( number_to_move == YY_MORE_ADJ ) { ret_val = EOB_ACT_END_OF_FILE; - seg_yyrestart(seg_yyin ); + yyrestart( yyin ); } else @@ -1089,9 +1321,12 @@ if (((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { /* Extend the array by 50%, plus the number we really need. */ int new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); - YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) seg_yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ); + YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc( + (void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf, (yy_size_t) new_size ); if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); + /* "- 2" to take care of EOB's */ + YY_CURRENT_BUFFER_LVALUE->yy_buf_size = (int) (new_size - 2); } (yy_n_chars) += number_to_move; @@ -1124,9 +1359,9 @@ { yy_current_state = (int) yy_def[yy_current_state]; if ( yy_current_state >= 30 ) - yy_c = yy_meta[(unsigned int) yy_c]; + yy_c = yy_meta[yy_c]; } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (flex_int16_t) yy_c]; + yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; } return yy_current_state; @@ -1152,9 +1387,9 @@ { yy_current_state = (int) yy_def[yy_current_state]; if ( yy_current_state >= 30 ) - yy_c = yy_meta[(unsigned int) yy_c]; + yy_c = yy_meta[yy_c]; } - yy_current_state = yy_nxt[yy_base[yy_current_state] + (flex_int16_t) yy_c]; + yy_current_state = yy_nxt[yy_base[yy_current_state] + yy_c]; yy_is_jam = (yy_current_state == 29); return yy_is_jam ? 0 : yy_current_state; @@ -1188,7 +1423,7 @@ else { /* need more input */ - int offset = (yy_c_buf_p) - (yytext_ptr); + int offset = (int) ((yy_c_buf_p) - (yytext_ptr)); ++(yy_c_buf_p); switch ( yy_get_next_buffer( ) ) @@ -1205,13 +1440,13 @@ */ /* Reset buffer status. */ - seg_yyrestart(seg_yyin ); + yyrestart( yyin ); /*FALLTHROUGH*/ case EOB_ACT_END_OF_FILE: { - if ( seg_yywrap( ) ) + if ( yywrap( ) ) return 0; if ( ! (yy_did_buffer_switch_on_eof) ) @@ -1231,7 +1466,7 @@ } c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ - *(yy_c_buf_p) = '\0'; /* preserve seg_yytext */ + *(yy_c_buf_p) = '\0'; /* preserve yytext */ (yy_hold_char) = *++(yy_c_buf_p); return c; @@ -1243,32 +1478,32 @@ * * @note This function does not reset the start condition to @c INITIAL . */ - void seg_yyrestart (FILE * input_file ) + void yyrestart (FILE * input_file ) { if ( ! YY_CURRENT_BUFFER ){ - seg_yyensure_buffer_stack (); + yyensure_buffer_stack (); YY_CURRENT_BUFFER_LVALUE = - seg_yy_create_buffer(seg_yyin,YY_BUF_SIZE ); + yy_create_buffer( yyin, YY_BUF_SIZE ); } - seg_yy_init_buffer(YY_CURRENT_BUFFER,input_file ); - seg_yy_load_buffer_state( ); + yy_init_buffer( YY_CURRENT_BUFFER, input_file ); + yy_load_buffer_state( ); } /** Switch to a different input buffer. * @param new_buffer The new input buffer. * */ - void seg_yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) + void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) { /* TODO. We should be able to replace this entire function body * with - * seg_yypop_buffer_state(); - * seg_yypush_buffer_state(new_buffer); + * yypop_buffer_state(); + * yypush_buffer_state(new_buffer); */ - seg_yyensure_buffer_stack (); + yyensure_buffer_stack (); if ( YY_CURRENT_BUFFER == new_buffer ) return; @@ -1281,21 +1516,21 @@ } YY_CURRENT_BUFFER_LVALUE = new_buffer; - seg_yy_load_buffer_state( ); + yy_load_buffer_state( ); /* We don't actually know whether we did this switch during - * EOF (seg_yywrap()) processing, but the only time this flag - * is looked at is after seg_yywrap() is called, so it's safe + * EOF (yywrap()) processing, but the only time this flag + * is looked at is after yywrap() is called, so it's safe * to go ahead and always set it. */ (yy_did_buffer_switch_on_eof) = 1; } -static void seg_yy_load_buffer_state (void) +static void yy_load_buffer_state (void) { (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; - seg_yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; + yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; (yy_hold_char) = *(yy_c_buf_p); } @@ -1305,35 +1540,35 @@ * * @return the allocated buffer state. */ - YY_BUFFER_STATE seg_yy_create_buffer (FILE * file, int size ) + YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) { YY_BUFFER_STATE b; - b = (YY_BUFFER_STATE) seg_yyalloc(sizeof( struct yy_buffer_state ) ); + b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) ); if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in seg_yy_create_buffer()" ); + YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); - b->yy_buf_size = (yy_size_t)size; + b->yy_buf_size = size; /* yy_ch_buf has to be 2 characters longer than the size given because * we need to put in 2 end-of-buffer characters. */ - b->yy_ch_buf = (char *) seg_yyalloc(b->yy_buf_size + 2 ); + b->yy_ch_buf = (char *) yyalloc( (yy_size_t) (b->yy_buf_size + 2) ); if ( ! b->yy_ch_buf ) - YY_FATAL_ERROR( "out of dynamic memory in seg_yy_create_buffer()" ); + YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); b->yy_is_our_buffer = 1; - seg_yy_init_buffer(b,file ); + yy_init_buffer( b, file ); return b; } /** Destroy the buffer. - * @param b a buffer created with seg_yy_create_buffer() + * @param b a buffer created with yy_create_buffer() * */ - void seg_yy_delete_buffer (YY_BUFFER_STATE b ) + void yy_delete_buffer (YY_BUFFER_STATE b ) { if ( ! b ) @@ -1343,27 +1578,27 @@ YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; if ( b->yy_is_our_buffer ) - seg_yyfree((void *) b->yy_ch_buf ); + yyfree( (void *) b->yy_ch_buf ); - seg_yyfree((void *) b ); + yyfree( (void *) b ); } /* Initializes or reinitializes a buffer. * This function is sometimes called more than once on the same buffer, - * such as during a seg_yyrestart() or at EOF. + * such as during a yyrestart() or at EOF. */ - static void seg_yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) + static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) { int oerrno = errno; - seg_yy_flush_buffer(b ); + yy_flush_buffer( b ); b->yy_input_file = file; b->yy_fill_buffer = 1; - /* If b is the current buffer, then seg_yy_init_buffer was _probably_ - * called from seg_yyrestart() or through yy_get_next_buffer. + /* If b is the current buffer, then yy_init_buffer was _probably_ + * called from yyrestart() or through yy_get_next_buffer. * In that case, we don't want to reset the lineno or column. */ if (b != YY_CURRENT_BUFFER){ @@ -1380,7 +1615,7 @@ * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. * */ - void seg_yy_flush_buffer (YY_BUFFER_STATE b ) + void yy_flush_buffer (YY_BUFFER_STATE b ) { if ( ! b ) return; @@ -1400,7 +1635,7 @@ b->yy_buffer_status = YY_BUFFER_NEW; if ( b == YY_CURRENT_BUFFER ) - seg_yy_load_buffer_state( ); + yy_load_buffer_state( ); } /** Pushes the new state onto the stack. The new state becomes @@ -1409,14 +1644,14 @@ * @param new_buffer The new state. * */ -void seg_yypush_buffer_state (YY_BUFFER_STATE new_buffer ) +void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) { if (new_buffer == NULL) return; - seg_yyensure_buffer_stack(); + yyensure_buffer_stack(); - /* This block is copied from seg_yy_switch_to_buffer. */ + /* This block is copied from yy_switch_to_buffer. */ if ( YY_CURRENT_BUFFER ) { /* Flush out information for old buffer. */ @@ -1430,8 +1665,8 @@ (yy_buffer_stack_top)++; YY_CURRENT_BUFFER_LVALUE = new_buffer; - /* copied from seg_yy_switch_to_buffer. */ - seg_yy_load_buffer_state( ); + /* copied from yy_switch_to_buffer. */ + yy_load_buffer_state( ); (yy_did_buffer_switch_on_eof) = 1; } @@ -1439,18 +1674,18 @@ * The next element becomes the new top. * */ -void seg_yypop_buffer_state (void) +void yypop_buffer_state (void) { if (!YY_CURRENT_BUFFER) return; - seg_yy_delete_buffer(YY_CURRENT_BUFFER ); + yy_delete_buffer(YY_CURRENT_BUFFER ); YY_CURRENT_BUFFER_LVALUE = NULL; if ((yy_buffer_stack_top) > 0) --(yy_buffer_stack_top); if (YY_CURRENT_BUFFER) { - seg_yy_load_buffer_state( ); + yy_load_buffer_state( ); (yy_did_buffer_switch_on_eof) = 1; } } @@ -1458,9 +1693,9 @@ /* Allocates the stack if it does not exist. * Guarantees space for at least one push. */ -static void seg_yyensure_buffer_stack (void) +static void yyensure_buffer_stack (void) { - int num_to_alloc; + yy_size_t num_to_alloc; if (!(yy_buffer_stack)) { @@ -1469,11 +1704,11 @@ * immediate realloc on the next call. */ num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */ - (yy_buffer_stack) = (struct yy_buffer_state**)seg_yyalloc + (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc (num_to_alloc * sizeof(struct yy_buffer_state*) ); if ( ! (yy_buffer_stack) ) - YY_FATAL_ERROR( "out of dynamic memory in seg_yyensure_buffer_stack()" ); + YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); @@ -1488,12 +1723,12 @@ yy_size_t grow_size = 8 /* arbitrary grow size */; num_to_alloc = (yy_buffer_stack_max) + grow_size; - (yy_buffer_stack) = (struct yy_buffer_state**)seg_yyrealloc + (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc ((yy_buffer_stack), num_to_alloc * sizeof(struct yy_buffer_state*) ); if ( ! (yy_buffer_stack) ) - YY_FATAL_ERROR( "out of dynamic memory in seg_yyensure_buffer_stack()" ); + YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); /* zero only the new slots.*/ memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); @@ -1507,7 +1742,7 @@ * * @return the newly allocated buffer state object. */ -YY_BUFFER_STATE seg_yy_scan_buffer (char * base, yy_size_t size ) +YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) { YY_BUFFER_STATE b; @@ -1517,11 +1752,11 @@ /* They forgot to leave room for the EOB's. */ return NULL; - b = (YY_BUFFER_STATE) seg_yyalloc(sizeof( struct yy_buffer_state ) ); + b = (YY_BUFFER_STATE) yyalloc( sizeof( struct yy_buffer_state ) ); if ( ! b ) - YY_FATAL_ERROR( "out of dynamic memory in seg_yy_scan_buffer()" ); + YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); - b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ + b->yy_buf_size = (int) (size - 2); /* "- 2" to take care of EOB's */ b->yy_buf_pos = b->yy_ch_buf = base; b->yy_is_our_buffer = 0; b->yy_input_file = NULL; @@ -1531,33 +1766,33 @@ b->yy_fill_buffer = 0; b->yy_buffer_status = YY_BUFFER_NEW; - seg_yy_switch_to_buffer(b ); + yy_switch_to_buffer( b ); return b; } -/** Setup the input buffer state to scan a string. The next call to seg_yylex() will +/** Setup the input buffer state to scan a string. The next call to yylex() will * scan from a @e copy of @a str. * @param yystr a NUL-terminated string to scan * * @return the newly allocated buffer state object. * @note If you want to scan bytes that may contain NUL values, then use - * seg_yy_scan_bytes() instead. + * yy_scan_bytes() instead. */ -YY_BUFFER_STATE seg_yy_scan_string (yyconst char * yystr ) +YY_BUFFER_STATE yy_scan_string (const char * yystr ) { - return seg_yy_scan_bytes(yystr,(int) strlen(yystr) ); + return yy_scan_bytes( yystr, (int) strlen(yystr) ); } -/** Setup the input buffer state to scan the given bytes. The next call to seg_yylex() will +/** Setup the input buffer state to scan the given bytes. The next call to yylex() will * scan from a @e copy of @a bytes. * @param yybytes the byte buffer to scan * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes. * * @return the newly allocated buffer state object. */ -YY_BUFFER_STATE seg_yy_scan_bytes (yyconst char * yybytes, int _yybytes_len ) +YY_BUFFER_STATE yy_scan_bytes (const char * yybytes, int _yybytes_len ) { YY_BUFFER_STATE b; char *buf; @@ -1566,18 +1801,18 @@ /* Get memory for full buffer, including space for trailing EOB's. */ n = (yy_size_t) (_yybytes_len + 2); - buf = (char *) seg_yyalloc(n ); + buf = (char *) yyalloc( n ); if ( ! buf ) - YY_FATAL_ERROR( "out of dynamic memory in seg_yy_scan_bytes()" ); + YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); for ( i = 0; i < _yybytes_len; ++i ) buf[i] = yybytes[i]; buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; - b = seg_yy_scan_buffer(buf,n ); + b = yy_scan_buffer( buf, n ); if ( ! b ) - YY_FATAL_ERROR( "bad buffer in seg_yy_scan_bytes()" ); + YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); /* It's okay to grow etc. this buffer, and we should throw it * away when we're done. @@ -1591,9 +1826,9 @@ #define YY_EXIT_FAILURE 2 #endif -static void yynoreturn yy_fatal_error (yyconst char* msg ) +static void yynoreturn yy_fatal_error (const char* msg ) { - (void) fprintf( stderr, "%s\n", msg ); + fprintf( stderr, "%s\n", msg ); exit( YY_EXIT_FAILURE ); } @@ -1603,14 +1838,14 @@ #define yyless(n) \ do \ { \ - /* Undo effects of setting up seg_yytext. */ \ + /* Undo effects of setting up yytext. */ \ int yyless_macro_arg = (n); \ YY_LESS_LINENO(yyless_macro_arg);\ - seg_yytext[seg_yyleng] = (yy_hold_char); \ - (yy_c_buf_p) = seg_yytext + yyless_macro_arg; \ + yytext[yyleng] = (yy_hold_char); \ + (yy_c_buf_p) = yytext + yyless_macro_arg; \ (yy_hold_char) = *(yy_c_buf_p); \ *(yy_c_buf_p) = '\0'; \ - seg_yyleng = yyless_macro_arg; \ + yyleng = yyless_macro_arg; \ } \ while ( 0 ) @@ -1619,85 +1854,85 @@ /** Get the current line number. * */ -int seg_yyget_lineno (void) +int yyget_lineno (void) { - return seg_yylineno; + return yylineno; } /** Get the input stream. * */ -FILE *seg_yyget_in (void) +FILE *yyget_in (void) { - return seg_yyin; + return yyin; } /** Get the output stream. * */ -FILE *seg_yyget_out (void) +FILE *yyget_out (void) { - return seg_yyout; + return yyout; } /** Get the length of the current token. * */ -int seg_yyget_leng (void) +int yyget_leng (void) { - return seg_yyleng; + return yyleng; } /** Get the current token. * */ -char *seg_yyget_text (void) +char *yyget_text (void) { - return seg_yytext; + return yytext; } /** Set the current line number. * @param _line_number line number * */ -void seg_yyset_lineno (int _line_number ) +void yyset_lineno (int _line_number ) { - seg_yylineno = _line_number; + yylineno = _line_number; } /** Set the input stream. This does not discard the current * input buffer. * @param _in_str A readable stream. * - * @see seg_yy_switch_to_buffer + * @see yy_switch_to_buffer */ -void seg_yyset_in (FILE * _in_str ) +void yyset_in (FILE * _in_str ) { - seg_yyin = _in_str ; + yyin = _in_str ; } -void seg_yyset_out (FILE * _out_str ) +void yyset_out (FILE * _out_str ) { - seg_yyout = _out_str ; + yyout = _out_str ; } -int seg_yyget_debug (void) +int yyget_debug (void) { - return seg_yy_flex_debug; + return yy_flex_debug; } -void seg_yyset_debug (int _bdebug ) +void yyset_debug (int _bdebug ) { - seg_yy_flex_debug = _bdebug ; + yy_flex_debug = _bdebug ; } static int yy_init_globals (void) { /* Initialization is the same as for the non-reentrant scanner. - * This function is called from seg_yylex_destroy(), so don't allocate here. + * This function is called from yylex_destroy(), so don't allocate here. */ (yy_buffer_stack) = NULL; @@ -1709,36 +1944,36 @@ /* Defined in main.c */ #ifdef YY_STDINIT - seg_yyin = stdin; - seg_yyout = stdout; + yyin = stdin; + yyout = stdout; #else - seg_yyin = NULL; - seg_yyout = NULL; + yyin = NULL; + yyout = NULL; #endif /* For future reference: Set errno on error, since we are called by - * seg_yylex_init() + * yylex_init() */ return 0; } -/* seg_yylex_destroy is for both reentrant and non-reentrant scanners. */ -int seg_yylex_destroy (void) +/* yylex_destroy is for both reentrant and non-reentrant scanners. */ +int yylex_destroy (void) { /* Pop the buffer stack, destroying each element. */ while(YY_CURRENT_BUFFER){ - seg_yy_delete_buffer(YY_CURRENT_BUFFER ); + yy_delete_buffer( YY_CURRENT_BUFFER ); YY_CURRENT_BUFFER_LVALUE = NULL; - seg_yypop_buffer_state(); + yypop_buffer_state(); } /* Destroy the stack itself. */ - seg_yyfree((yy_buffer_stack) ); + yyfree((yy_buffer_stack) ); (yy_buffer_stack) = NULL; /* Reset the globals. This is important in a non-reentrant scanner so the next time - * seg_yylex() is called, initialization will occur. */ + * yylex() is called, initialization will occur. */ yy_init_globals( ); return 0; @@ -1749,7 +1984,7 @@ */ #ifndef yytext_ptr -static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) +static void yy_flex_strncpy (char* s1, const char * s2, int n ) { int i; @@ -1759,7 +1994,7 @@ #endif #ifdef YY_NEED_STRLEN -static int yy_flex_strlen (yyconst char * s ) +static int yy_flex_strlen (const char * s ) { int n; for ( n = 0; s[n]; ++n ) @@ -1769,12 +2004,12 @@ } #endif -void *seg_yyalloc (yy_size_t size ) +void *yyalloc (yy_size_t size ) { return malloc(size); } -void *seg_yyrealloc (void * ptr, yy_size_t size ) +void *yyrealloc (void * ptr, yy_size_t size ) { /* The cast to (char *) in the following accommodates both @@ -1787,9 +2022,9 @@ return realloc(ptr, size); } -void seg_yyfree (void * ptr ) +void yyfree (void * ptr ) { - free( (char *) ptr ); /* see seg_yyrealloc() for (char *) cast */ + free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ } #define YYTABLES_NAME "yytables" @@ -1797,13 +2032,12 @@ #line 54 "segscan.l" - /* LCOV_EXCL_STOP */ void yyerror(SEG *result, const char *message) { - if (*seg_yytext == YY_END_OF_BUFFER_CHAR) + if (*yytext == YY_END_OF_BUFFER_CHAR) { ereport(ERROR, (errcode(ERRCODE_SYNTAX_ERROR), @@ -1817,7 +2051,7 @@ (errcode(ERRCODE_SYNTAX_ERROR), errmsg("bad seg representation"), /* translator: first %s is typically "syntax error" */ - errdetail("%s at or near \"%s\"", message, seg_yytext))); + errdetail("%s at or near \"%s\"", message, yytext))); } } @@ -1834,7 +2068,7 @@ * Might be left over after ereport() */ if (YY_CURRENT_BUFFER) - seg_yy_delete_buffer(YY_CURRENT_BUFFER); + yy_delete_buffer(YY_CURRENT_BUFFER); /* * Make a scan buffer with special termination needed by flex. @@ -1843,7 +2077,7 @@ scanbuf = palloc(slen + 2); memcpy(scanbuf, str, slen); scanbuf[slen] = scanbuf[slen + 1] = YY_END_OF_BUFFER_CHAR; - scanbufhandle = seg_yy_scan_buffer(scanbuf,slen + 2); + scanbufhandle = yy_scan_buffer(scanbuf, slen + 2); BEGIN(INITIAL); } @@ -1855,7 +2089,7 @@ void seg_scanner_finish(void) { - seg_yy_delete_buffer(scanbufhandle); + yy_delete_buffer(scanbufhandle); pfree(scanbuf); } diff -Nru postgresql-11-11.6/contrib/tablefunc/tablefunc.c postgresql-11-11.7/contrib/tablefunc/tablefunc.c --- postgresql-11-11.6/contrib/tablefunc/tablefunc.c 2019-11-11 22:05:05.000000000 +0000 +++ postgresql-11-11.7/contrib/tablefunc/tablefunc.c 2020-02-10 22:17:28.000000000 +0000 @@ -763,6 +763,11 @@ /* get the category from the current sql result tuple */ catname = SPI_getvalue(spi_tuple, spi_tupdesc, 1); + if (catname == NULL) + ereport(ERROR, + (errcode(ERRCODE_SYNTAX_ERROR), + errmsg("provided \"categories\" SQL must " \ + "not return NULL values"))); SPIcontext = MemoryContextSwitchTo(per_query_ctx); diff -Nru postgresql-11-11.6/debian/changelog postgresql-11-11.7/debian/changelog --- postgresql-11-11.6/debian/changelog 2019-11-18 10:16:59.000000000 +0000 +++ postgresql-11-11.7/debian/changelog 2020-02-11 12:48:46.000000000 +0000 @@ -1,3 +1,16 @@ +postgresql-11 (11.7-0+deb10u1) buster-security; urgency=medium + + * New upstream version. + + Add missing permissions checks for ALTER ... DEPENDS ON EXTENSION. + + Marking an object as dependent on an extension did not have any + privilege check whatsoever. This oversight allowed any user to mark + routines, triggers, materialized views, or indexes as droppable by + anyone able to drop an extension. Require that the calling user own the + specified object (and hence have privilege to drop it). (CVE-2020-1720) + + -- Christoph Berg Tue, 11 Feb 2020 13:48:46 +0100 + postgresql-11 (11.6-0+deb10u1) buster; urgency=medium * New upstream version. diff -Nru postgresql-11-11.6/doc/bug.template postgresql-11-11.7/doc/bug.template --- postgresql-11-11.6/doc/bug.template 2019-11-11 22:05:05.000000000 +0000 +++ postgresql-11-11.7/doc/bug.template 2020-02-10 22:17:28.000000000 +0000 @@ -27,7 +27,7 @@ Operating System (example: Linux 2.4.18) : - PostgreSQL version (example: PostgreSQL 11.6): PostgreSQL 11.6 + PostgreSQL version (example: PostgreSQL 11.7): PostgreSQL 11.7 Compiler used (example: gcc 3.3.5) : diff -Nru postgresql-11-11.6/doc/src/sgml/bloom.sgml postgresql-11-11.7/doc/src/sgml/bloom.sgml --- postgresql-11-11.6/doc/src/sgml/bloom.sgml 2019-11-11 22:05:05.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/bloom.sgml 2020-02-10 22:17:28.000000000 +0000 @@ -65,8 +65,8 @@ Number of bits generated for each index column. Each parameter's name refers to the number of the index column that it controls. The default - is 2 bits and maximum is 4095. Parameters for - index columns not actually used are ignored. + is 2 bits and the maximum is 4095. + Parameters for index columns not actually used are ignored. diff -Nru postgresql-11-11.6/doc/src/sgml/client-auth.sgml postgresql-11-11.7/doc/src/sgml/client-auth.sgml --- postgresql-11-11.6/doc/src/sgml/client-auth.sgml 2019-11-11 22:05:05.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/client-auth.sgml 2020-02-10 22:17:28.000000000 +0000 @@ -860,8 +860,101 @@ Authentication Methods + - The following sections describe the authentication methods in more detail. + PostgreSQL provides various methods for + authenticating users: + + + + + Trust authentication, which + simply trusts that users are who they say they are. + + + + + Password authentication, which + requires that users send a password. + + + + + GSSAPI authentication, which + relies on a GSSAPI-compatible security library. Typically this is + used to access an authentication server such as a Kerberos or + Microsoft Active Directory server. + + + + + SSPI authentication, which + uses a Windows-specific protocol similar to GSSAPI. + + + + + Ident authentication, which + relies on an Identification Protocol (RFC 1413) + service on the client's machine. (On local Unix-socket connections, + this is treated as peer authentication.) + + + + + Peer authentication, which + relies on operating system facilities to identify the process at the + other end of a local connection. This is not supported for remote + connections. + + + + + LDAP authentication, which + relies on an LDAP authentication server. + + + + + RADIUS authentication, which + relies on a RADIUS authentication server. + + + + + Certificate authentication, which + requires an SSL connection and authenticates users by checking the + SSL certificate they send. + + + + + PAM authentication, which + relies on a PAM (Pluggable Authentication Modules) library. + + + + + BSD authentication, which + relies on the BSD Authentication framework (currently available + only on OpenBSD). + + + + + + + Peer authentication is usually recommendable for local connections, + though trust authentication might be sufficient in some circumstances. + Password authentication is the easiest choice for remote connections. + All the other options require some kind of external security + infrastructure (usually an authentication server or a certificate + authority for issuing SSL certificates), or are platform-specific. + + + + The following sections describe each of these authentication methods + in more detail. @@ -1751,7 +1844,7 @@ user name, password (encrypted) and NAS Identifier. The request will be encrypted using a secret shared with the server. The RADIUS server will respond to - this server with either Access Accept or + this request with either Access Accept or Access Reject. There is no support for RADIUS accounting. @@ -1760,11 +1853,11 @@ be tried sequentially. If a negative response is received from a server, the authentication will fail. If no response is received, the next server in the list will be tried. To specify multiple - servers, put the names within quotes and separate the server names - with a comma. If multiple servers are specified, all other RADIUS - options can also be given as a comma separate list, to apply - individual values to each server. They can also be specified as - a single value, in which case this value will apply to all servers. + servers, separate the server names with commas and surround the list + with double quotes. If multiple servers are specified, the other + RADIUS options can also be given as comma-separated lists, to provide + individual values for each server. They can also be specified as + a single value, in which case that value will apply to all servers. @@ -1774,7 +1867,7 @@ radiusservers - The name or IP addresses of the RADIUS servers to connect to. + The DNS names or IP addresses of the RADIUS servers to connect to. This parameter is required. @@ -1785,7 +1878,7 @@ The shared secrets used when talking securely to the RADIUS - server. This must have exactly the same value on the PostgreSQL + servers. This must have exactly the same value on the PostgreSQL and RADIUS servers. It is recommended that this be a string of at least 16 characters. This parameter is required. @@ -1805,8 +1898,9 @@ radiusports - The port number on the RADIUS servers to connect to. If no port - is specified, the default port 1812 will be used. + The port numbers to connect to on the RADIUS servers. If no port + is specified, the default RADIUS port (1812) + will be used. @@ -1815,10 +1909,10 @@ radiusidentifiers - The string used as NAS Identifier in the RADIUS - requests. This parameter can be used as a second parameter - identifying for example which database user the user is attempting - to authenticate as, which can be used for policy matching on + The strings to be used as NAS Identifier in the + RADIUS requests. This parameter can be used, for example, to + identify which database cluster the user is attempting to connect + to, which can be useful for policy matching on the RADIUS server. If no identifier is specified, the default postgresql will be used. @@ -1827,6 +1921,16 @@ + + + If it is necessary to have a comma or whitespace in a RADIUS parameter + value, that can be done by putting double quotes around the value, but + it is tedious because two layers of double-quoting are now required. + An example of putting whitespace into RADIUS secret strings is: + +host ... radius radiusservers="server1,server2" radiussecrets="""secret one"",""secret two""" + + diff -Nru postgresql-11-11.6/doc/src/sgml/ddl.sgml postgresql-11-11.7/doc/src/sgml/ddl.sgml --- postgresql-11-11.6/doc/src/sgml/ddl.sgml 2019-11-11 22:05:05.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/ddl.sgml 2020-02-10 22:17:28.000000000 +0000 @@ -403,6 +403,59 @@ ensure that a column does not contain null values, the not-null constraint described in the next section can be used. + + + + PostgreSQL does not support + CHECK constraints that reference table data other than + the new or updated row being checked. While a CHECK + constraint that violates this rule may appear to work in simple + tests, it cannot guarantee that the database will not reach a state + in which the constraint condition is false (due to subsequent changes + of the other row(s) involved). This would cause a database dump and + reload to fail. The reload could fail even when the complete + database state is consistent with the constraint, due to rows not + being loaded in an order that will satisfy the constraint. If + possible, use UNIQUE, EXCLUDE, + or FOREIGN KEY constraints to express + cross-row and cross-table restrictions. + + + + If what you desire is a one-time check against other rows at row + insertion, rather than a continuously-maintained consistency + guarantee, a custom trigger can be used + to implement that. (This approach avoids the dump/reload problem because + pg_dump does not reinstall triggers until after + reloading data, so that the check will not be enforced during a + dump/reload.) + + + + + + PostgreSQL assumes that + CHECK constraints' conditions are immutable, that + is, they will always give the same result for the same input row. + This assumption is what justifies examining CHECK + constraints only when rows are inserted or updated, and not at other + times. (The warning above about not referencing other table data is + really a special case of this restriction.) + + + + An example of a common way to break this assumption is to reference a + user-defined function in a CHECK expression, and + then change the behavior of that + function. PostgreSQL does not disallow + that, but it will not notice if there are rows in the table that now + violate the CHECK constraint. That would cause a + subsequent database dump and reload to fail. + The recommended way to handle such a change is to drop the constraint + (using ALTER TABLE), adjust the function definition, + and re-add the constraint, thereby rechecking it against all table rows. + + @@ -2390,56 +2443,57 @@ Usage Patterns - Schemas can be used to organize your data in many ways. There are a few - usage patterns easily supported by the default configuration, only one of - which suffices when database users mistrust other database users: + Schemas can be used to organize your data in many ways. + A secure schema usage pattern prevents untrusted + users from changing the behavior of other users' queries. When a database + does not use a secure schema usage pattern, users wishing to securely + query that database would take protective action at the beginning of each + session. Specifically, they would begin each session by + setting search_path to the empty string or otherwise + removing non-superuser-writable schemas + from search_path. There are a few usage patterns + easily supported by the default configuration: + doesn't preserve that DROP. + + A database owner can attack the database's users via "CREATE SCHEMA + trojan; ALTER DATABASE $mydb SET search_path = trojan, public;". A + CREATEROLE user can issue "GRANT $dbowner TO $me" and then use the + database owner attack. --> Constrain ordinary users to user-private schemas. To implement this, issue REVOKE CREATE ON SCHEMA public FROM PUBLIC, - and create a schema for each user with the same name as that user. If - affected users had logged in before this, consider auditing the public + and create a schema for each user with the same name as that user. + Recall that the default search path starts + with $user, which resolves to the user name. + Therefore, if each user has a separate schema, they access their own + schemas by default. After adopting this pattern in a database where + untrusted users had already logged in, consider auditing the public schema for objects named like objects in - schema pg_catalog. Recall that the default search - path starts with $user, which resolves to the user - name. Therefore, if each user has a separate schema, they access their - own schemas by default. + schema pg_catalog. This pattern is a secure schema + usage pattern unless an untrusted user is the database owner or holds + the CREATEROLE privilege, in which case no secure + schema usage pattern exists. - - - - Remove the public schema from each user's default search path - using ALTER ROLE user SET - search_path = "$user". Everyone retains the ability to - create objects in the public schema, but only qualified names will - choose those objects. While qualified table references are fine, calls - to functions in the public schema will be - unsafe or unreliable. Also, a user holding - the CREATEROLE privilege can undo this setting and - issue arbitrary queries under the identity of users relying on the - setting. If you create functions or extensions in the public schema or - grant CREATEROLE to users not warranting this - almost-superuser ability, use the first pattern instead. - Remove the public schema from search_path in - postgresql.conf. - The ensuing user experience matches the previous pattern. In addition - to that pattern's implications for functions - and CREATEROLE, this trusts database owners - like CREATEROLE. If you create functions or - extensions in the public schema or assign - the CREATEROLE - privilege, CREATEDB privilege or individual database - ownership to users not warranting almost-superuser access, use the - first pattern instead. + Remove the public schema from the default search path, by modifying + postgresql.conf + or by issuing ALTER ROLE ALL SET search_path = + "$user". Everyone retains the ability to create objects in + the public schema, but only qualified names will choose those objects. + While qualified table references are fine, calls to functions in the + public schema will be unsafe or + unreliable. If you create functions or extensions in the public + schema, use the first pattern instead. Otherwise, like the first + pattern, this is secure unless an untrusted user is the database owner + or holds the CREATEROLE privilege. @@ -2447,10 +2501,9 @@ Keep the default. All users access the public schema implicitly. This simulates the situation where schemas are not available at all, giving - a smooth transition from the non-schema-aware world. However, any user - can issue arbitrary queries under the identity of any user not electing - to protect itself individually. This pattern is acceptable only when - the database has a single user or a few mutually-trusting users. + a smooth transition from the non-schema-aware world. However, this is + never a secure pattern. It is acceptable only when the database has a + single user or a few mutually-trusting users. @@ -2767,7 +2820,15 @@ accessed through cities. This preserves the appearance that the data is (also) in the parent table. But the capitals table could not be updated directly - without an additional grant. In a similar way, the parent table's row + without an additional grant. Two exceptions to this rule are + TRUNCATE and LOCK TABLE, + where permissions on the child tables are always checked, + whether they are processed directly or recursively via those commands + performed on the parent table. + + + + In a similar way, the parent table's row security policies (see ) are applied to rows coming from child tables during an inherited query. A child table's policies, if any, are applied only when it is the table explicitly named diff -Nru postgresql-11-11.6/doc/src/sgml/func.sgml postgresql-11-11.7/doc/src/sgml/func.sgml --- postgresql-11-11.6/doc/src/sgml/func.sgml 2019-11-11 22:05:05.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/func.sgml 2020-02-10 22:17:28.000000000 +0000 @@ -19437,8 +19437,11 @@ Advances the current confirmed position of a replication slot named slot_name. The slot will not be moved backwards, - and it will not be moved beyond the current insert location. Returns - name of the slot and real position to which it was advanced to. + and it will not be moved beyond the current insert location. Returns + the name of the slot and the real position to which it was advanced to. + The information of the updated slot is written out at the follow-up + checkpoint if any advancing is done. In the event of a crash, the + slot may return to an earlier position. diff -Nru postgresql-11-11.6/doc/src/sgml/html/acronyms.html postgresql-11-11.7/doc/src/sgml/html/acronyms.html --- postgresql-11-11.6/doc/src/sgml/html/acronyms.html 2019-11-11 22:18:57.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/acronyms.html 2020-02-10 22:30:29.000000000 +0000 @@ -1,5 +1,5 @@ -Appendix K. Acronyms

Appendix K. Acronyms

+Appendix K. Acronyms

Appendix K. Acronyms

This is a list of acronyms commonly used in the PostgreSQL documentation and in discussions about PostgreSQL. @@ -135,7 +135,7 @@ Pluggable Authentication Modules

PGSQL

- PostgreSQL + PostgreSQL

PGXS

PostgreSQL Extension System

PID

diff -Nru postgresql-11-11.6/doc/src/sgml/html/admin.html postgresql-11-11.7/doc/src/sgml/html/admin.html --- postgresql-11-11.6/doc/src/sgml/html/admin.html 2019-11-11 22:18:37.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/admin.html 2020-02-10 22:30:11.000000000 +0000 @@ -1,5 +1,5 @@ -Part III. Server Administration

Part III. Server Administration

+Part III. Server Administration

Part III. Server Administration

This part covers topics that are of interest to a PostgreSQL database administrator. This includes installation of the software, set up and configuration of the diff -Nru postgresql-11-11.6/doc/src/sgml/html/adminpack.html postgresql-11-11.7/doc/src/sgml/html/adminpack.html --- postgresql-11-11.6/doc/src/sgml/html/adminpack.html 2019-11-11 22:18:55.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/adminpack.html 2020-02-10 22:30:27.000000000 +0000 @@ -1,5 +1,5 @@ -F.1. adminpack

F.1. adminpack

+F.1. adminpack

F.1. adminpack

adminpack provides a number of support functions which pgAdmin and other administration and management tools can use to provide additional functionality, such as remote management diff -Nru postgresql-11-11.6/doc/src/sgml/html/amcheck.html postgresql-11-11.7/doc/src/sgml/html/amcheck.html --- postgresql-11-11.6/doc/src/sgml/html/amcheck.html 2019-11-11 22:18:55.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/amcheck.html 2020-02-10 22:30:27.000000000 +0000 @@ -1,5 +1,5 @@ -F.2. amcheck

F.2. amcheck

+F.2. amcheck

F.2. amcheck

The amcheck module provides functions that allow you to verify the logical consistency of the structure of relations. If the structure appears to be valid, no error is raised. diff -Nru postgresql-11-11.6/doc/src/sgml/html/app-clusterdb.html postgresql-11-11.7/doc/src/sgml/html/app-clusterdb.html --- postgresql-11-11.6/doc/src/sgml/html/app-clusterdb.html 2019-11-11 22:18:48.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/app-clusterdb.html 2020-02-10 22:30:21.000000000 +0000 @@ -1,5 +1,5 @@ -clusterdb

clusterdb

clusterdb — cluster a PostgreSQL database

Synopsis

clusterdb [connection-option...] [ --verbose | -v ] +clusterdb

clusterdb

clusterdb — cluster a PostgreSQL database

Synopsis

clusterdb [connection-option...] [ --verbose | -v ] [ --table | -t table diff -Nru postgresql-11-11.6/doc/src/sgml/html/app-createdb.html postgresql-11-11.7/doc/src/sgml/html/app-createdb.html --- postgresql-11-11.6/doc/src/sgml/html/app-createdb.html 2019-11-11 22:18:48.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/app-createdb.html 2020-02-10 22:30:21.000000000 +0000 @@ -1,5 +1,5 @@ -createdb

createdb

createdb — create a new PostgreSQL database

Synopsis

createdb [connection-option...] [option...] [dbname +createdb

createdb

createdb — create a new PostgreSQL database

Synopsis

createdb [connection-option...] [option...] [dbname [description]]

Description

diff -Nru postgresql-11-11.6/doc/src/sgml/html/app-createuser.html postgresql-11-11.7/doc/src/sgml/html/app-createuser.html --- postgresql-11-11.6/doc/src/sgml/html/app-createuser.html 2019-11-11 22:18:48.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/app-createuser.html 2020-02-10 22:30:21.000000000 +0000 @@ -1,5 +1,5 @@ -createuser

createuser

createuser — define a new PostgreSQL user account

Synopsis

createuser [connection-option...] [option...] [username]

Description

+createuser

createuser

createuser — define a new PostgreSQL user account

Synopsis

createuser [connection-option...] [option...] [username]

Description

createuser creates a new PostgreSQL user (or more precisely, a role). Only superusers and users with CREATEROLE privilege can create diff -Nru postgresql-11-11.6/doc/src/sgml/html/app-dropdb.html postgresql-11-11.7/doc/src/sgml/html/app-dropdb.html --- postgresql-11-11.6/doc/src/sgml/html/app-dropdb.html 2019-11-11 22:18:48.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/app-dropdb.html 2020-02-10 22:30:21.000000000 +0000 @@ -1,5 +1,5 @@ -dropdb

dropdb

dropdb — remove a PostgreSQL database

Synopsis

dropdb [connection-option...] [option...] dbname

Description

+dropdb

dropdb

dropdb — remove a PostgreSQL database

Synopsis

dropdb [connection-option...] [option...] dbname

Description

dropdb destroys an existing PostgreSQL database. The user who executes this command must be a database diff -Nru postgresql-11-11.6/doc/src/sgml/html/app-dropuser.html postgresql-11-11.7/doc/src/sgml/html/app-dropuser.html --- postgresql-11-11.6/doc/src/sgml/html/app-dropuser.html 2019-11-11 22:18:48.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/app-dropuser.html 2020-02-10 22:30:21.000000000 +0000 @@ -1,5 +1,5 @@ -dropuser

dropuser

dropuser — remove a PostgreSQL user account

Synopsis

dropuser [connection-option...] [option...] [username]

Description

+dropuser

dropuser

dropuser — remove a PostgreSQL user account

Synopsis

dropuser [connection-option...] [option...] [username]

Description

dropuser removes an existing PostgreSQL user. Only superusers and users with the CREATEROLE privilege can diff -Nru postgresql-11-11.6/doc/src/sgml/html/app-ecpg.html postgresql-11-11.7/doc/src/sgml/html/app-ecpg.html --- postgresql-11-11.6/doc/src/sgml/html/app-ecpg.html 2019-11-11 22:18:48.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/app-ecpg.html 2020-02-10 22:30:21.000000000 +0000 @@ -1,5 +1,5 @@ -ecpg

ecpg

ecpg — embedded SQL C preprocessor

Synopsis

ecpg [option...] file...

Description

+ecpg

ecpg

ecpg — embedded SQL C preprocessor

Synopsis

ecpg [option...] file...

Description

ecpg is the embedded SQL preprocessor for C programs. It converts C programs with embedded SQL statements to normal C code by replacing the SQL invocations with special diff -Nru postgresql-11-11.6/doc/src/sgml/html/app-initdb.html postgresql-11-11.7/doc/src/sgml/html/app-initdb.html --- postgresql-11-11.6/doc/src/sgml/html/app-initdb.html 2019-11-11 22:18:49.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/app-initdb.html 2020-02-10 22:30:22.000000000 +0000 @@ -1,5 +1,5 @@ -initdb

initdb

initdb — create a new PostgreSQL database cluster

Synopsis

initdb [option...] [ --pgdata | -D ] directory

+initdb

initdb

initdb — create a new PostgreSQL database cluster

Synopsis

initdb [option...] [ --pgdata | -D ] directory

Description

initdb creates a new diff -Nru postgresql-11-11.6/doc/src/sgml/html/app-pg-ctl.html postgresql-11-11.7/doc/src/sgml/html/app-pg-ctl.html --- postgresql-11-11.6/doc/src/sgml/html/app-pg-ctl.html 2019-11-11 22:18:49.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/app-pg-ctl.html 2020-02-10 22:30:22.000000000 +0000 @@ -1,5 +1,5 @@ -pg_ctl

pg_ctl

pg_ctl — initialize, start, stop, or control a PostgreSQL server

Synopsis

pg_ctl init[db] [-D datadir] [-s] [-o initdb-options]

pg_ctl start [-D datadir] [-l filename] [-W] [-t seconds] [-s] [-o options] [-p path] [-c]

pg_ctl stop [-D datadir] [-m +pg_ctl

pg_ctl

pg_ctl — initialize, start, stop, or control a PostgreSQL server

Synopsis

pg_ctl init[db] [-D datadir] [-s] [-o initdb-options]

pg_ctl start [-D datadir] [-l filename] [-W] [-t seconds] [-s] [-o options] [-p path] [-c]

pg_ctl stop [-D datadir] [-m s[mart] | f[ast] | i[mmediate] ] [-W] [-t seconds] [-s]

pg_ctl restart [-D datadir] [-m s[mart] | f[ast] | i[mmediate] diff -Nru postgresql-11-11.6/doc/src/sgml/html/app-pg-dumpall.html postgresql-11-11.7/doc/src/sgml/html/app-pg-dumpall.html --- postgresql-11-11.6/doc/src/sgml/html/app-pg-dumpall.html 2019-11-11 22:18:48.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/app-pg-dumpall.html 2020-02-10 22:30:21.000000000 +0000 @@ -1,5 +1,5 @@ -pg_dumpall

pg_dumpall

pg_dumpall — extract a PostgreSQL database cluster into a script file

Synopsis

pg_dumpall [connection-option...] [option...]

Description

+pg_dumpall

pg_dumpall

pg_dumpall — extract a PostgreSQL database cluster into a script file

Synopsis

pg_dumpall [connection-option...] [option...]

Description

pg_dumpall is a utility for writing out (dumping) all PostgreSQL databases of a cluster into one script file. The script file contains diff -Nru postgresql-11-11.6/doc/src/sgml/html/app-pg-isready.html postgresql-11-11.7/doc/src/sgml/html/app-pg-isready.html --- postgresql-11-11.6/doc/src/sgml/html/app-pg-isready.html 2019-11-11 22:18:48.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/app-pg-isready.html 2020-02-10 22:30:21.000000000 +0000 @@ -1,5 +1,5 @@ -pg_isready

pg_isready

pg_isready — check the connection status of a PostgreSQL server

Synopsis

pg_isready [connection-option...] [option...]

Description

+pg_isready

pg_isready

pg_isready — check the connection status of a PostgreSQL server

Synopsis

pg_isready [connection-option...] [option...]

Description

pg_isready is a utility for checking the connection status of a PostgreSQL database server. The exit status specifies the result of the connection check. diff -Nru postgresql-11-11.6/doc/src/sgml/html/app-pgbasebackup.html postgresql-11-11.7/doc/src/sgml/html/app-pgbasebackup.html --- postgresql-11-11.6/doc/src/sgml/html/app-pgbasebackup.html 2019-11-11 22:18:48.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/app-pgbasebackup.html 2020-02-10 22:30:21.000000000 +0000 @@ -1,5 +1,5 @@ -pg_basebackup

pg_basebackup

pg_basebackup — take a base backup of a PostgreSQL cluster

Synopsis

pg_basebackup [option...]

+pg_basebackup

pg_basebackup

pg_basebackup — take a base backup of a PostgreSQL cluster

Synopsis

pg_basebackup [option...]

Description

pg_basebackup is used to take base backups of diff -Nru postgresql-11-11.6/doc/src/sgml/html/app-pgconfig.html postgresql-11-11.7/doc/src/sgml/html/app-pgconfig.html --- postgresql-11-11.6/doc/src/sgml/html/app-pgconfig.html 2019-11-11 22:18:48.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/app-pgconfig.html 2020-02-10 22:30:21.000000000 +0000 @@ -1,5 +1,5 @@ -pg_config

pg_config

pg_config — retrieve information about the installed version of PostgreSQL

Synopsis

pg_config [option...]

Description

+pg_config

pg_config

pg_config — retrieve information about the installed version of PostgreSQL

Synopsis

pg_config [option...]

Description

The pg_config utility prints configuration parameters of the currently installed version of PostgreSQL. It is intended, for example, to be used by software packages that want to interface diff -Nru postgresql-11-11.6/doc/src/sgml/html/app-pgcontroldata.html postgresql-11-11.7/doc/src/sgml/html/app-pgcontroldata.html --- postgresql-11-11.6/doc/src/sgml/html/app-pgcontroldata.html 2019-11-11 22:18:49.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/app-pgcontroldata.html 2020-02-10 22:30:22.000000000 +0000 @@ -1,5 +1,5 @@ -pg_controldata

pg_controldata

pg_controldata — display control information of a PostgreSQL database cluster

Synopsis

pg_controldata [option] [[ --pgdata | -D ] datadir]

Description

+pg_controldata

pg_controldata

pg_controldata — display control information of a PostgreSQL database cluster

Synopsis

pg_controldata [option] [[ --pgdata | -D ] datadir]

Description

pg_controldata prints information initialized during initdb, such as the catalog version. It also shows information about write-ahead logging and checkpoint diff -Nru postgresql-11-11.6/doc/src/sgml/html/app-pgdump.html postgresql-11-11.7/doc/src/sgml/html/app-pgdump.html --- postgresql-11-11.6/doc/src/sgml/html/app-pgdump.html 2019-11-11 22:18:48.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/app-pgdump.html 2020-02-10 22:30:21.000000000 +0000 @@ -1,5 +1,5 @@ -pg_dump

pg_dump

pg_dump — +pg_dump

pg_dump

pg_dump — extract a PostgreSQL database into a script file or other archive file

Synopsis

pg_dump [connection-option...] [option...] [dbname]

Description diff -Nru postgresql-11-11.6/doc/src/sgml/html/app-pgreceivewal.html postgresql-11-11.7/doc/src/sgml/html/app-pgreceivewal.html --- postgresql-11-11.6/doc/src/sgml/html/app-pgreceivewal.html 2019-11-11 22:18:48.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/app-pgreceivewal.html 2020-02-10 22:30:21.000000000 +0000 @@ -1,5 +1,5 @@ -pg_receivewal

pg_receivewal

pg_receivewal — stream write-ahead logs from a PostgreSQL server

Synopsis

pg_receivewal [option...]

+pg_receivewal

pg_receivewal

pg_receivewal — stream write-ahead logs from a PostgreSQL server

Synopsis

pg_receivewal [option...]

Description

pg_receivewal is used to stream the write-ahead log diff -Nru postgresql-11-11.6/doc/src/sgml/html/app-pgrecvlogical.html postgresql-11-11.7/doc/src/sgml/html/app-pgrecvlogical.html --- postgresql-11-11.6/doc/src/sgml/html/app-pgrecvlogical.html 2019-11-11 22:18:49.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/app-pgrecvlogical.html 2020-02-10 22:30:21.000000000 +0000 @@ -1,5 +1,5 @@ -pg_recvlogical

pg_recvlogical

pg_recvlogical — control PostgreSQL logical decoding streams

Synopsis

pg_recvlogical [option...]

Description

+pg_recvlogical

pg_recvlogical

pg_recvlogical — control PostgreSQL logical decoding streams

Synopsis

pg_recvlogical [option...]

Description

pg_recvlogical controls logical decoding replication slots and streams data from such replication slots.

diff -Nru postgresql-11-11.6/doc/src/sgml/html/app-pgresetwal.html postgresql-11-11.7/doc/src/sgml/html/app-pgresetwal.html --- postgresql-11-11.6/doc/src/sgml/html/app-pgresetwal.html 2019-11-11 22:18:49.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/app-pgresetwal.html 2020-02-10 22:30:22.000000000 +0000 @@ -1,5 +1,5 @@ -pg_resetwal

pg_resetwal

pg_resetwal — reset the write-ahead log and other control information of a PostgreSQL database cluster

Synopsis

pg_resetwal [ --force | -f ] [ --dry-run | -n ] [option...] [ --pgdata | -D ] datadir

Description

+pg_resetwal

pg_resetwal

pg_resetwal — reset the write-ahead log and other control information of a PostgreSQL database cluster

Synopsis

pg_resetwal [ --force | -f ] [ --dry-run | -n ] [option...] [ --pgdata | -D ] datadir

Description

pg_resetwal clears the write-ahead log (WAL) and optionally resets some other control information stored in the pg_control file. This function is sometimes needed diff -Nru postgresql-11-11.6/doc/src/sgml/html/app-pgrestore.html postgresql-11-11.7/doc/src/sgml/html/app-pgrestore.html --- postgresql-11-11.6/doc/src/sgml/html/app-pgrestore.html 2019-11-11 22:18:49.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/app-pgrestore.html 2020-02-10 22:30:21.000000000 +0000 @@ -1,5 +1,5 @@ -pg_restore

pg_restore

pg_restore — +pg_restore

pg_restore

pg_restore — restore a PostgreSQL database from an archive file created by pg_dump

Synopsis

pg_restore [connection-option...] [option...] [filename]

Description

diff -Nru postgresql-11-11.6/doc/src/sgml/html/app-pgrewind.html postgresql-11-11.7/doc/src/sgml/html/app-pgrewind.html --- postgresql-11-11.6/doc/src/sgml/html/app-pgrewind.html 2019-11-11 22:18:49.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/app-pgrewind.html 2020-02-10 22:30:22.000000000 +0000 @@ -1,5 +1,5 @@ -pg_rewind

pg_rewind

pg_rewind — synchronize a PostgreSQL data directory with another data directory that was forked from it

Synopsis

pg_rewind [option...] { -D | --target-pgdata } directory { --source-pgdata=directory | --source-server=connstr }

Description

+pg_rewind

pg_rewind

pg_rewind — synchronize a PostgreSQL data directory with another data directory that was forked from it

Synopsis

pg_rewind [option...] { -D | --target-pgdata } directory { --source-pgdata=directory | --source-server=connstr }

Description

pg_rewind is a tool for synchronizing a PostgreSQL cluster with another copy of the same cluster, after the clusters' timelines have diverged. A typical scenario is to bring an old master server back online diff -Nru postgresql-11-11.6/doc/src/sgml/html/app-postgres.html postgresql-11-11.7/doc/src/sgml/html/app-postgres.html --- postgresql-11-11.6/doc/src/sgml/html/app-postgres.html 2019-11-11 22:18:49.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/app-postgres.html 2020-02-10 22:30:22.000000000 +0000 @@ -1,5 +1,5 @@ -postgres

postgres

postgres — PostgreSQL database server

Synopsis

postgres [option...]

Description

+postgres

postgres

postgres — PostgreSQL database server

Synopsis

postgres [option...]

Description

postgres is the PostgreSQL database server. In order for a client application to access a database it connects (over a diff -Nru postgresql-11-11.6/doc/src/sgml/html/app-postmaster.html postgresql-11-11.7/doc/src/sgml/html/app-postmaster.html --- postgresql-11-11.6/doc/src/sgml/html/app-postmaster.html 2019-11-11 22:18:49.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/app-postmaster.html 2020-02-10 22:30:22.000000000 +0000 @@ -1,5 +1,5 @@ -postmaster

postmaster

postmaster — PostgreSQL database server

Synopsis

postmaster [option...]

Description

+postmaster

postmaster

postmaster — PostgreSQL database server

Synopsis

postmaster [option...]

Description

postmaster is a deprecated alias of postgres.

See Also

postgres diff -Nru postgresql-11-11.6/doc/src/sgml/html/app-psql.html postgresql-11-11.7/doc/src/sgml/html/app-psql.html --- postgresql-11-11.6/doc/src/sgml/html/app-psql.html 2019-11-11 22:18:49.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/app-psql.html 2020-02-10 22:30:21.000000000 +0000 @@ -1,5 +1,5 @@ -psql

psql

psql — +psql

psql

psqlPostgreSQL interactive terminal

Synopsis

psql [option...] [dbname [username]]

Description

@@ -348,7 +348,7 @@ the string =>. For example:

 $ psql testdb
-psql (11.6)
+psql (11.7)
 Type "help" for help.
 
 testdb=>
diff -Nru postgresql-11-11.6/doc/src/sgml/html/app-reindexdb.html postgresql-11-11.7/doc/src/sgml/html/app-reindexdb.html
--- postgresql-11-11.6/doc/src/sgml/html/app-reindexdb.html	2019-11-11 22:18:49.000000000 +0000
+++ postgresql-11-11.7/doc/src/sgml/html/app-reindexdb.html	2020-02-10 22:30:21.000000000 +0000
@@ -1,5 +1,5 @@
 
-reindexdb

reindexdb

reindexdb — reindex a PostgreSQL database

Synopsis

reindexdb [connection-option...] [option...] +reindexdb

reindexdb

reindexdb — reindex a PostgreSQL database

Synopsis

reindexdb [connection-option...] [option...] [ --schema | -S schema diff -Nru postgresql-11-11.6/doc/src/sgml/html/app-vacuumdb.html postgresql-11-11.7/doc/src/sgml/html/app-vacuumdb.html --- postgresql-11-11.6/doc/src/sgml/html/app-vacuumdb.html 2019-11-11 22:18:49.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/app-vacuumdb.html 2020-02-10 22:30:21.000000000 +0000 @@ -1,5 +1,5 @@ -vacuumdb

vacuumdb

vacuumdb — garbage-collect and analyze a PostgreSQL database

Synopsis

vacuumdb [connection-option...] [option...] +vacuumdb

vacuumdb

vacuumdb — garbage-collect and analyze a PostgreSQL database

Synopsis

vacuumdb [connection-option...] [option...] [ --table | -t table diff -Nru postgresql-11-11.6/doc/src/sgml/html/appendixes.html postgresql-11-11.7/doc/src/sgml/html/appendixes.html --- postgresql-11-11.6/doc/src/sgml/html/appendixes.html 2019-11-11 22:18:57.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/appendixes.html 2020-02-10 22:30:29.000000000 +0000 @@ -1,2 +1,2 @@ -Part VIII. Appendixes

Part VIII. Appendixes

Table of Contents

A. PostgreSQL Error Codes
B. Date/Time Support
B.1. Date/Time Input Interpretation
B.2. Handling of Invalid or Ambiguous Timestamps
B.3. Date/Time Key Words
B.4. Date/Time Configuration Files
B.5. History of Units
C. SQL Key Words
D. SQL Conformance
D.1. Supported Features
D.2. Unsupported Features
D.3. XML Limits and Conformance to SQL/XML
E. Release Notes
E.1. Release 11.6
E.2. Release 11.5
E.3. Release 11.4
E.4. Release 11.3
E.5. Release 11.2
E.6. Release 11.1
E.7. Release 11
E.8. Prior Releases
F. Additional Supplied Modules
F.1. adminpack
F.2. amcheck
F.3. auth_delay
F.4. auto_explain
F.5. bloom
F.6. btree_gin
F.7. btree_gist
F.8. citext
F.9. cube
F.10. dblink
F.11. dict_int
F.12. dict_xsyn
F.13. earthdistance
F.14. file_fdw
F.15. fuzzystrmatch
F.16. hstore
F.17. intagg
F.18. intarray
F.19. isn
F.20. lo
F.21. ltree
F.22. pageinspect
F.23. passwordcheck
F.24. pg_buffercache
F.25. pgcrypto
F.26. pg_freespacemap
F.27. pg_prewarm
F.28. pgrowlocks
F.29. pg_stat_statements
F.30. pgstattuple
F.31. pg_trgm
F.32. pg_visibility
F.33. postgres_fdw
F.34. seg
F.35. sepgsql
F.36. spi
F.37. sslinfo
F.38. tablefunc
F.39. tcn
F.40. test_decoding
F.41. tsm_system_rows
F.42. tsm_system_time
F.43. unaccent
F.44. uuid-ossp
F.45. xml2
G. Additional Supplied Programs
G.1. Client Applications
G.2. Server Applications
H. External Projects
H.1. Client Interfaces
H.2. Administration Tools
H.3. Procedural Languages
H.4. Extensions
I. The Source Code Repository
I.1. Getting The Source via Git
J. Documentation
J.1. DocBook
J.2. Tool Sets
J.3. Building The Documentation
J.4. Documentation Authoring
J.5. Style Guide
K. Acronyms
\ No newline at end of file +Part VIII. Appendixes

Part VIII. Appendixes

Table of Contents

A. PostgreSQL Error Codes
B. Date/Time Support
B.1. Date/Time Input Interpretation
B.2. Handling of Invalid or Ambiguous Timestamps
B.3. Date/Time Key Words
B.4. Date/Time Configuration Files
B.5. History of Units
C. SQL Key Words
D. SQL Conformance
D.1. Supported Features
D.2. Unsupported Features
D.3. XML Limits and Conformance to SQL/XML
E. Release Notes
E.1. Release 11.7
E.2. Release 11.6
E.3. Release 11.5
E.4. Release 11.4
E.5. Release 11.3
E.6. Release 11.2
E.7. Release 11.1
E.8. Release 11
E.9. Prior Releases
F. Additional Supplied Modules
F.1. adminpack
F.2. amcheck
F.3. auth_delay
F.4. auto_explain
F.5. bloom
F.6. btree_gin
F.7. btree_gist
F.8. citext
F.9. cube
F.10. dblink
F.11. dict_int
F.12. dict_xsyn
F.13. earthdistance
F.14. file_fdw
F.15. fuzzystrmatch
F.16. hstore
F.17. intagg
F.18. intarray
F.19. isn
F.20. lo
F.21. ltree
F.22. pageinspect
F.23. passwordcheck
F.24. pg_buffercache
F.25. pgcrypto
F.26. pg_freespacemap
F.27. pg_prewarm
F.28. pgrowlocks
F.29. pg_stat_statements
F.30. pgstattuple
F.31. pg_trgm
F.32. pg_visibility
F.33. postgres_fdw
F.34. seg
F.35. sepgsql
F.36. spi
F.37. sslinfo
F.38. tablefunc
F.39. tcn
F.40. test_decoding
F.41. tsm_system_rows
F.42. tsm_system_time
F.43. unaccent
F.44. uuid-ossp
F.45. xml2
G. Additional Supplied Programs
G.1. Client Applications
G.2. Server Applications
H. External Projects
H.1. Client Interfaces
H.2. Administration Tools
H.3. Procedural Languages
H.4. Extensions
I. The Source Code Repository
I.1. Getting The Source via Git
J. Documentation
J.1. DocBook
J.2. Tool Sets
J.3. Building The Documentation
J.4. Documentation Authoring
J.5. Style Guide
K. Acronyms
\ No newline at end of file diff -Nru postgresql-11-11.6/doc/src/sgml/html/applevel-consistency.html postgresql-11-11.7/doc/src/sgml/html/applevel-consistency.html --- postgresql-11-11.6/doc/src/sgml/html/applevel-consistency.html 2019-11-11 22:18:34.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/applevel-consistency.html 2020-02-10 22:30:08.000000000 +0000 @@ -1,5 +1,5 @@ -13.4. Data Consistency Checks at the Application Level

13.4. Data Consistency Checks at the Application Level

+13.4. Data Consistency Checks at the Application Level

13.4. Data Consistency Checks at the Application Level

It is very difficult to enforce business rules regarding data integrity using Read Committed transactions because the view of the data is shifting with each statement, and even a single statement may not diff -Nru postgresql-11-11.6/doc/src/sgml/html/archive-recovery-settings.html postgresql-11-11.7/doc/src/sgml/html/archive-recovery-settings.html --- postgresql-11-11.6/doc/src/sgml/html/archive-recovery-settings.html 2019-11-11 22:18:36.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/archive-recovery-settings.html 2020-02-10 22:30:10.000000000 +0000 @@ -1,5 +1,5 @@ -27.1. Archive Recovery Settings

27.1. Archive Recovery Settings

restore_command (string) +27.1. Archive Recovery Settings

27.1. Archive Recovery Settings

restore_command (string)

The local shell command to execute to retrieve an archived segment of diff -Nru postgresql-11-11.6/doc/src/sgml/html/arrays.html postgresql-11-11.7/doc/src/sgml/html/arrays.html --- postgresql-11-11.6/doc/src/sgml/html/arrays.html 2019-11-11 22:18:31.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/arrays.html 2020-02-10 22:30:05.000000000 +0000 @@ -1,5 +1,5 @@ -8.15. Arrays

8.15. Arrays

+8.15. Arrays

8.15. Arrays

PostgreSQL allows columns of a table to be defined as variable-length multidimensional arrays. Arrays of any built-in or user-defined base type, enum type, composite type, range type, diff -Nru postgresql-11-11.6/doc/src/sgml/html/auth-bsd.html postgresql-11-11.7/doc/src/sgml/html/auth-bsd.html --- postgresql-11-11.6/doc/src/sgml/html/auth-bsd.html 2019-11-11 22:18:35.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/auth-bsd.html 2020-02-10 22:30:10.000000000 +0000 @@ -1,5 +1,5 @@ -20.14. BSD Authentication

20.14. BSD Authentication

+20.14. BSD Authentication

20.14. BSD Authentication

This authentication method operates similarly to password except that it uses BSD Authentication to verify the password. BSD Authentication is used only diff -Nru postgresql-11-11.6/doc/src/sgml/html/auth-cert.html postgresql-11-11.7/doc/src/sgml/html/auth-cert.html --- postgresql-11-11.6/doc/src/sgml/html/auth-cert.html 2019-11-11 22:18:35.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/auth-cert.html 2020-02-10 22:30:10.000000000 +0000 @@ -1,5 +1,5 @@ -20.12. Certificate Authentication

20.12. Certificate Authentication

+20.12. Certificate Authentication

20.12. Certificate Authentication

This authentication method uses SSL client certificates to perform authentication. It is therefore only available for SSL connections. When using this authentication method, the server will require that diff -Nru postgresql-11-11.6/doc/src/sgml/html/auth-delay.html postgresql-11-11.7/doc/src/sgml/html/auth-delay.html --- postgresql-11-11.6/doc/src/sgml/html/auth-delay.html 2019-11-11 22:18:55.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/auth-delay.html 2020-02-10 22:30:27.000000000 +0000 @@ -1,5 +1,5 @@ -F.3. auth_delay

F.3. auth_delay

+F.3. auth_delay

F.3. auth_delay

auth_delay causes the server to pause briefly before reporting authentication failure, to make brute-force attacks on database passwords more difficult. Note that it does nothing to prevent diff -Nru postgresql-11-11.6/doc/src/sgml/html/auth-ident.html postgresql-11-11.7/doc/src/sgml/html/auth-ident.html --- postgresql-11-11.6/doc/src/sgml/html/auth-ident.html 2019-11-11 22:18:35.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/auth-ident.html 2020-02-10 22:30:10.000000000 +0000 @@ -1,5 +1,5 @@ -20.8. Ident Authentication

20.8. Ident Authentication

+20.8. Ident Authentication

20.8. Ident Authentication

The ident authentication method works by obtaining the client's operating system user name from an ident server and using it as the allowed database user name (with an optional user name mapping). diff -Nru postgresql-11-11.6/doc/src/sgml/html/auth-ldap.html postgresql-11-11.7/doc/src/sgml/html/auth-ldap.html --- postgresql-11-11.6/doc/src/sgml/html/auth-ldap.html 2019-11-11 22:18:35.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/auth-ldap.html 2020-02-10 22:30:10.000000000 +0000 @@ -1,5 +1,5 @@ -20.10. LDAP Authentication

20.10. LDAP Authentication

+20.10. LDAP Authentication

20.10. LDAP Authentication

This authentication method operates similarly to password except that it uses LDAP as the password verification method. LDAP is used only to validate diff -Nru postgresql-11-11.6/doc/src/sgml/html/auth-methods.html postgresql-11-11.7/doc/src/sgml/html/auth-methods.html --- postgresql-11-11.6/doc/src/sgml/html/auth-methods.html 2019-11-11 22:18:35.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/auth-methods.html 2020-02-10 22:30:10.000000000 +0000 @@ -1,4 +1,58 @@ -20.3. Authentication Methods

20.3. Authentication Methods

- The following sections describe the authentication methods in more detail. +20.3. Authentication Methods

20.3. Authentication Methods

+ PostgreSQL provides various methods for + authenticating users: + +

  • + Trust authentication, which + simply trusts that users are who they say they are. +

  • + Password authentication, which + requires that users send a password. +

  • + GSSAPI authentication, which + relies on a GSSAPI-compatible security library. Typically this is + used to access an authentication server such as a Kerberos or + Microsoft Active Directory server. +

  • + SSPI authentication, which + uses a Windows-specific protocol similar to GSSAPI. +

  • + Ident authentication, which + relies on an Identification Protocol (RFC 1413) + service on the client's machine. (On local Unix-socket connections, + this is treated as peer authentication.) +

  • + Peer authentication, which + relies on operating system facilities to identify the process at the + other end of a local connection. This is not supported for remote + connections. +

  • + LDAP authentication, which + relies on an LDAP authentication server. +

  • + RADIUS authentication, which + relies on a RADIUS authentication server. +

  • + Certificate authentication, which + requires an SSL connection and authenticates users by checking the + SSL certificate they send. +

  • + PAM authentication, which + relies on a PAM (Pluggable Authentication Modules) library. +

  • + BSD authentication, which + relies on the BSD Authentication framework (currently available + only on OpenBSD). +

+

+ Peer authentication is usually recommendable for local connections, + though trust authentication might be sufficient in some circumstances. + Password authentication is the easiest choice for remote connections. + All the other options require some kind of external security + infrastructure (usually an authentication server or a certificate + authority for issuing SSL certificates), or are platform-specific. +

+ The following sections describe each of these authentication methods + in more detail.

\ No newline at end of file diff -Nru postgresql-11-11.6/doc/src/sgml/html/auth-pam.html postgresql-11-11.7/doc/src/sgml/html/auth-pam.html --- postgresql-11-11.6/doc/src/sgml/html/auth-pam.html 2019-11-11 22:18:35.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/auth-pam.html 2020-02-10 22:30:10.000000000 +0000 @@ -1,5 +1,5 @@ -20.13. PAM Authentication

20.13. PAM Authentication

+20.13. PAM Authentication

20.13. PAM Authentication

This authentication method operates similarly to password except that it uses PAM (Pluggable Authentication Modules) as the authentication mechanism. The diff -Nru postgresql-11-11.6/doc/src/sgml/html/auth-password.html postgresql-11-11.7/doc/src/sgml/html/auth-password.html --- postgresql-11-11.6/doc/src/sgml/html/auth-password.html 2019-11-11 22:18:35.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/auth-password.html 2020-02-10 22:30:10.000000000 +0000 @@ -1,5 +1,5 @@ -20.5. Password Authentication

20.5. Password Authentication

+20.5. Password Authentication

20.5. Password Authentication

There are several password-based authentication methods. These methods operate similarly but differ in how the users' passwords are stored on the server and how the password provided by a client is sent across the diff -Nru postgresql-11-11.6/doc/src/sgml/html/auth-peer.html postgresql-11-11.7/doc/src/sgml/html/auth-peer.html --- postgresql-11-11.6/doc/src/sgml/html/auth-peer.html 2019-11-11 22:18:35.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/auth-peer.html 2020-02-10 22:30:10.000000000 +0000 @@ -1,5 +1,5 @@ -20.9. Peer Authentication

20.9. Peer Authentication

+20.9. Peer Authentication

20.9. Peer Authentication

The peer authentication method works by obtaining the client's operating system user name from the kernel and using it as the allowed database user name (with optional user name mapping). This diff -Nru postgresql-11-11.6/doc/src/sgml/html/auth-pg-hba-conf.html postgresql-11-11.7/doc/src/sgml/html/auth-pg-hba-conf.html --- postgresql-11-11.6/doc/src/sgml/html/auth-pg-hba-conf.html 2019-11-11 22:18:35.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/auth-pg-hba-conf.html 2020-02-10 22:30:09.000000000 +0000 @@ -1,5 +1,5 @@ -20.1. The pg_hba.conf File

20.1. The pg_hba.conf File

+20.1. The pg_hba.conf File

20.1. The pg_hba.conf File

Client authentication is controlled by a configuration file, which traditionally is named pg_hba.conf and is stored in the database diff -Nru postgresql-11-11.6/doc/src/sgml/html/auth-radius.html postgresql-11-11.7/doc/src/sgml/html/auth-radius.html --- postgresql-11-11.6/doc/src/sgml/html/auth-radius.html 2019-11-11 22:18:35.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/auth-radius.html 2020-02-10 22:30:10.000000000 +0000 @@ -1,5 +1,5 @@ -20.11. RADIUS Authentication

20.11. RADIUS Authentication

+20.11. RADIUS Authentication

20.11. RADIUS Authentication

This authentication method operates similarly to password except that it uses RADIUS as the password verification method. RADIUS is used only to validate @@ -13,26 +13,26 @@ user name, password (encrypted) and NAS Identifier. The request will be encrypted using a secret shared with the server. The RADIUS server will respond to - this server with either Access Accept or + this request with either Access Accept or Access Reject. There is no support for RADIUS accounting.

Multiple RADIUS servers can be specified, in which case they will be tried sequentially. If a negative response is received from a server, the authentication will fail. If no response is received, the next server in the list will be tried. To specify multiple - servers, put the names within quotes and separate the server names - with a comma. If multiple servers are specified, all other RADIUS - options can also be given as a comma separate list, to apply - individual values to each server. They can also be specified as - a single value, in which case this value will apply to all servers. + servers, separate the server names with commas and surround the list + with double quotes. If multiple servers are specified, the other + RADIUS options can also be given as comma-separated lists, to provide + individual values for each server. They can also be specified as + a single value, in which case that value will apply to all servers.

The following configuration options are supported for RADIUS:

radiusservers

- The name or IP addresses of the RADIUS servers to connect to. + The DNS names or IP addresses of the RADIUS servers to connect to. This parameter is required.

radiussecrets

The shared secrets used when talking securely to the RADIUS - server. This must have exactly the same value on the PostgreSQL + servers. This must have exactly the same value on the PostgreSQL and RADIUS servers. It is recommended that this be a string of at least 16 characters. This parameter is required.

Note

@@ -43,14 +43,23 @@ external security measures should be applied if necessary.

radiusports

- The port number on the RADIUS servers to connect to. If no port - is specified, the default port 1812 will be used. + The port numbers to connect to on the RADIUS servers. If no port + is specified, the default RADIUS port (1812) + will be used.

radiusidentifiers

- The string used as NAS Identifier in the RADIUS - requests. This parameter can be used as a second parameter - identifying for example which database user the user is attempting - to authenticate as, which can be used for policy matching on + The strings to be used as NAS Identifier in the + RADIUS requests. This parameter can be used, for example, to + identify which database cluster the user is attempting to connect + to, which can be useful for policy matching on the RADIUS server. If no identifier is specified, the default postgresql will be used.

+

+ If it is necessary to have a comma or whitespace in a RADIUS parameter + value, that can be done by putting double quotes around the value, but + it is tedious because two layers of double-quoting are now required. + An example of putting whitespace into RADIUS secret strings is: +

+host ... radius radiusservers="server1,server2" radiussecrets="""secret one"",""secret two"""
+

\ No newline at end of file diff -Nru postgresql-11-11.6/doc/src/sgml/html/auth-trust.html postgresql-11-11.7/doc/src/sgml/html/auth-trust.html --- postgresql-11-11.6/doc/src/sgml/html/auth-trust.html 2019-11-11 22:18:35.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/auth-trust.html 2020-02-10 22:30:10.000000000 +0000 @@ -1,5 +1,5 @@ -20.4. Trust Authentication

20.4. Trust Authentication

+20.4. Trust Authentication

20.4. Trust Authentication

When trust authentication is specified, PostgreSQL assumes that anyone who can connect to the server is authorized to access the database with diff -Nru postgresql-11-11.6/doc/src/sgml/html/auth-username-maps.html postgresql-11-11.7/doc/src/sgml/html/auth-username-maps.html --- postgresql-11-11.6/doc/src/sgml/html/auth-username-maps.html 2019-11-11 22:18:35.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/auth-username-maps.html 2020-02-10 22:30:09.000000000 +0000 @@ -1,5 +1,5 @@ -20.2. User Name Maps

20.2. User Name Maps

+20.2. User Name Maps

20.2. User Name Maps

When using an external authentication system such as Ident or GSSAPI, the name of the operating system user that initiated the connection might not be the same as the database user (role) that is to be used. diff -Nru postgresql-11-11.6/doc/src/sgml/html/auto-explain.html postgresql-11-11.7/doc/src/sgml/html/auto-explain.html --- postgresql-11-11.6/doc/src/sgml/html/auto-explain.html 2019-11-11 22:18:55.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/auto-explain.html 2020-02-10 22:30:27.000000000 +0000 @@ -1,5 +1,5 @@ -F.4. auto_explain

F.4. auto_explain

+F.4. auto_explain

F.4. auto_explain

The auto_explain module provides a means for logging execution plans of slow statements automatically, without having to run EXPLAIN diff -Nru postgresql-11-11.6/doc/src/sgml/html/backup-dump.html postgresql-11-11.7/doc/src/sgml/html/backup-dump.html --- postgresql-11-11.6/doc/src/sgml/html/backup-dump.html 2019-11-11 22:18:36.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/backup-dump.html 2020-02-10 22:30:10.000000000 +0000 @@ -1,5 +1,5 @@ -25.1. SQL Dump

25.1. SQL Dump

+25.1. SQL Dump

25.1. SQL Dump

The idea behind this dump method is to generate a file with SQL commands that, when fed back to the server, will recreate the database in the same state as it was at the time of the dump. diff -Nru postgresql-11-11.6/doc/src/sgml/html/backup-file.html postgresql-11-11.7/doc/src/sgml/html/backup-file.html --- postgresql-11-11.6/doc/src/sgml/html/backup-file.html 2019-11-11 22:18:36.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/backup-file.html 2020-02-10 22:30:10.000000000 +0000 @@ -1,5 +1,5 @@ -25.2. File System Level Backup

25.2. File System Level Backup

+25.2. File System Level Backup

25.2. File System Level Backup

An alternative backup strategy is to directly copy the files that PostgreSQL uses to store the data in the database; Section 18.2 explains where these files diff -Nru postgresql-11-11.6/doc/src/sgml/html/backup.html postgresql-11-11.7/doc/src/sgml/html/backup.html --- postgresql-11-11.6/doc/src/sgml/html/backup.html 2019-11-11 22:18:36.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/backup.html 2020-02-10 22:30:10.000000000 +0000 @@ -1,5 +1,5 @@ -Chapter 25. Backup and Restore

Chapter 25. Backup and Restore

+Chapter 25. Backup and Restore

Chapter 25. Backup and Restore

As with everything that contains valuable data, PostgreSQL databases should be backed up regularly. While the procedure is essentially simple, it is important to have a clear understanding of diff -Nru postgresql-11-11.6/doc/src/sgml/html/bgworker.html postgresql-11-11.7/doc/src/sgml/html/bgworker.html --- postgresql-11-11.6/doc/src/sgml/html/bgworker.html 2019-11-11 22:18:42.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/bgworker.html 2020-02-10 22:30:15.000000000 +0000 @@ -1,5 +1,5 @@ -Chapter 48. Background Worker Processes

Chapter 48. Background Worker Processes

+Chapter 48. Background Worker Processes

Chapter 48. Background Worker Processes

PostgreSQL can be extended to run user-supplied code in separate processes. Such processes are started, stopped and monitored by postgres, which permits them to have a lifetime closely linked to the server's status. diff -Nru postgresql-11-11.6/doc/src/sgml/html/biblio.html postgresql-11-11.7/doc/src/sgml/html/biblio.html --- postgresql-11-11.6/doc/src/sgml/html/biblio.html 2019-11-11 22:18:57.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/biblio.html 2020-02-10 22:30:29.000000000 +0000 @@ -1,5 +1,5 @@ -Bibliography

Bibliography

+Bibliography

Bibliography

Selected references and readings for SQL and PostgreSQL.

diff -Nru postgresql-11-11.6/doc/src/sgml/html/bki-commands.html postgresql-11-11.7/doc/src/sgml/html/bki-commands.html --- postgresql-11-11.6/doc/src/sgml/html/bki-commands.html 2019-11-11 22:18:53.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/bki-commands.html 2020-02-10 22:30:25.000000000 +0000 @@ -1,5 +1,5 @@ -69.4. BKI Commands

69.4. BKI Commands

+69.4. BKI Commands

69.4. BKI Commands

create tablename tableoid diff -Nru postgresql-11-11.6/doc/src/sgml/html/bki-example.html postgresql-11-11.7/doc/src/sgml/html/bki-example.html --- postgresql-11-11.6/doc/src/sgml/html/bki-example.html 2019-11-11 22:18:53.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/bki-example.html 2020-02-10 22:30:25.000000000 +0000 @@ -1,5 +1,5 @@ -69.6. BKI Example

69.6. BKI Example

+69.6. BKI Example

69.6. BKI Example

The following sequence of commands will create the table test_table with OID 420, having two columns cola and colb of type diff -Nru postgresql-11-11.6/doc/src/sgml/html/bki-format.html postgresql-11-11.7/doc/src/sgml/html/bki-format.html --- postgresql-11-11.6/doc/src/sgml/html/bki-format.html 2019-11-11 22:18:53.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/bki-format.html 2020-02-10 22:30:25.000000000 +0000 @@ -1,5 +1,5 @@ -69.3. BKI File Format

69.3. BKI File Format

+69.3. BKI File Format

69.3. BKI File Format

This section describes how the PostgreSQL backend interprets BKI files. This description will be easier to understand if the postgres.bki diff -Nru postgresql-11-11.6/doc/src/sgml/html/bki-structure.html postgresql-11-11.7/doc/src/sgml/html/bki-structure.html --- postgresql-11-11.6/doc/src/sgml/html/bki-structure.html 2019-11-11 22:18:53.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/bki-structure.html 2020-02-10 22:30:25.000000000 +0000 @@ -1,5 +1,5 @@ -69.5. Structure of the Bootstrap BKI File

69.5. Structure of the Bootstrap BKI File

+69.5. Structure of the Bootstrap BKI File

69.5. Structure of the Bootstrap BKI File

The open command cannot be used until the tables it uses exist and have entries for the table that is to be opened. (These minimum tables are pg_class, diff -Nru postgresql-11-11.6/doc/src/sgml/html/bki.html postgresql-11-11.7/doc/src/sgml/html/bki.html --- postgresql-11-11.6/doc/src/sgml/html/bki.html 2019-11-11 22:18:53.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/bki.html 2020-02-10 22:30:25.000000000 +0000 @@ -1,5 +1,5 @@ -Chapter 69. System Catalog Declarations and Initial Contents

Chapter 69. System Catalog Declarations and Initial Contents

+Chapter 69. System Catalog Declarations and Initial Contents

Chapter 69. System Catalog Declarations and Initial Contents

PostgreSQL uses many different system catalogs to keep track of the existence and properties of database objects, such as tables and functions. Physically there is no difference between a system diff -Nru postgresql-11-11.6/doc/src/sgml/html/bloom.html postgresql-11-11.7/doc/src/sgml/html/bloom.html --- postgresql-11-11.6/doc/src/sgml/html/bloom.html 2019-11-11 22:18:55.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/bloom.html 2020-02-10 22:30:27.000000000 +0000 @@ -1,5 +1,5 @@ -F.5. bloom

F.5. bloom

+F.5. bloom

F.5. bloom

bloom provides an index access method based on Bloom filters.

@@ -32,8 +32,8 @@

col1 — col32

Number of bits generated for each index column. Each parameter's name refers to the number of the index column that it controls. The default - is 2 bits and maximum is 4095. Parameters for - index columns not actually used are ignored. + is 2 bits and the maximum is 4095. + Parameters for index columns not actually used are ignored.

F.5.2. Examples

This is an example of creating a bloom index:

diff -Nru postgresql-11-11.6/doc/src/sgml/html/bookindex.html postgresql-11-11.7/doc/src/sgml/html/bookindex.html
--- postgresql-11-11.6/doc/src/sgml/html/bookindex.html	2019-11-11 22:18:58.000000000 +0000
+++ postgresql-11-11.7/doc/src/sgml/html/bookindex.html	2020-02-10 22:30:30.000000000 +0000
@@ -1,5 +1,5 @@
 
-Index

Index

Index

A

abbrev, Network Address Functions and Operators
ABORT, ABORT
abs, Mathematical Functions and Operators
acos, Mathematical Functions and Operators
acosd, Mathematical Functions and Operators
administration tools
externally maintained, Administration Tools
adminpack, adminpack
advisory lock, Advisory Locks
age, Date/Time Functions and Operators
aggregate function, Aggregate Functions, Aggregate Expressions, Aggregate Functions, User-defined Aggregates
built-in, Aggregate Functions
invocation, Aggregate Expressions
moving aggregate, Moving-Aggregate Mode
ordered set, Ordered-Set Aggregates
partial aggregation, Partial Aggregation
polymorphic, Polymorphic and Variadic Aggregates
support functions for, Support Functions for Aggregates
user-defined, User-defined Aggregates
variadic, Polymorphic and Variadic Aggregates
AIX, AIX
installation on, AIX
IPC configuration, Shared Memory and Semaphores
akeys, hstore Operators and Functions
alias, Table and Column Aliases, Column Labels
for table name in query, Joins Between Tables
in the FROM clause, Table and Column Aliases
in the select list, Column Labels
ALL, Subquery Expressions, Row and Array Comparisons
allow_system_table_mods configuration parameter, Developer Options
ALTER AGGREGATE, ALTER AGGREGATE
ALTER COLLATION, ALTER COLLATION
ALTER CONVERSION, ALTER CONVERSION
ALTER DATABASE, ALTER DATABASE
ALTER DEFAULT PRIVILEGES, ALTER DEFAULT PRIVILEGES
ALTER DOMAIN, ALTER DOMAIN
ALTER EVENT TRIGGER, ALTER EVENT TRIGGER
ALTER EXTENSION, ALTER EXTENSION
ALTER FOREIGN DATA WRAPPER, ALTER FOREIGN DATA WRAPPER
ALTER FOREIGN TABLE, ALTER FOREIGN TABLE
ALTER FUNCTION, ALTER FUNCTION
ALTER GROUP, ALTER GROUP
ALTER INDEX, ALTER INDEX
ALTER LANGUAGE, ALTER LANGUAGE
ALTER LARGE OBJECT, ALTER LARGE OBJECT
ALTER MATERIALIZED VIEW, ALTER MATERIALIZED VIEW
ALTER OPERATOR, ALTER OPERATOR
ALTER OPERATOR CLASS, ALTER OPERATOR CLASS
ALTER OPERATOR FAMILY, ALTER OPERATOR FAMILY
ALTER POLICY, ALTER POLICY
ALTER PROCEDURE, ALTER PROCEDURE
ALTER PUBLICATION, ALTER PUBLICATION
ALTER ROLE, Role Attributes, ALTER ROLE
ALTER ROUTINE, ALTER ROUTINE
ALTER RULE, ALTER RULE
ALTER SCHEMA, ALTER SCHEMA
ALTER SEQUENCE, ALTER SEQUENCE
ALTER SERVER, ALTER SERVER
ALTER STATISTICS, ALTER STATISTICS
ALTER SUBSCRIPTION, ALTER SUBSCRIPTION
ALTER SYSTEM, ALTER SYSTEM
ALTER TABLE, ALTER TABLE
ALTER TABLESPACE, ALTER TABLESPACE
ALTER TEXT SEARCH CONFIGURATION, ALTER TEXT SEARCH CONFIGURATION
ALTER TEXT SEARCH DICTIONARY, ALTER TEXT SEARCH DICTIONARY
ALTER TEXT SEARCH PARSER, ALTER TEXT SEARCH PARSER
ALTER TEXT SEARCH TEMPLATE, ALTER TEXT SEARCH TEMPLATE
ALTER TRIGGER, ALTER TRIGGER
ALTER TYPE, ALTER TYPE
ALTER USER, ALTER USER
ALTER USER MAPPING, ALTER USER MAPPING
ALTER VIEW, ALTER VIEW
amcheck, amcheck
ANALYZE, Updating Planner Statistics, ANALYZE
AND (operator), Logical Operators
anonymous code blocks, DO
any, Pseudo-Types
ANY, Aggregate Functions, Subquery Expressions, Row and Array Comparisons
anyarray, Pseudo-Types
anyelement, Pseudo-Types
anyenum, Pseudo-Types
anynonarray, Pseudo-Types
anyrange, Pseudo-Types
applicable role, applicable_roles
application_name configuration parameter, What To Log
arbitrary precision numbers, Arbitrary Precision Numbers
archive_cleanup_command recovery parameter, Archive Recovery Settings
archive_command configuration parameter, Archiving
archive_mode configuration parameter, Archiving
archive_timeout configuration parameter, Archiving
area, Geometric Functions and Operators
armor, armor(), dearmor()
array, Arrays
accessing, Accessing Arrays
constant, Array Value Input
constructor, Array Constructors
declaration, Declaration of Array Types
I/O, Array Input and Output Syntax
modifying, Modifying Arrays
of user-defined type, User-defined Types
searching, Searching in Arrays
ARRAY, Array Constructors, UNION, CASE, and Related Constructs
determination of result type, UNION, CASE, and Related Constructs
array_agg, Aggregate Functions, Functions
array_append, Array Functions and Operators
array_cat, Array Functions and Operators
array_dims, Array Functions and Operators
array_fill, Array Functions and Operators
array_length, Array Functions and Operators
array_lower, Array Functions and Operators
array_ndims, Array Functions and Operators
array_nulls configuration parameter, Previous PostgreSQL Versions
array_position, Array Functions and Operators
array_positions, Array Functions and Operators
array_prepend, Array Functions and Operators
array_remove, Array Functions and Operators
array_replace, Array Functions and Operators
array_to_json, JSON Functions and Operators
array_to_string, Array Functions and Operators
array_to_tsvector, Text Search Functions and Operators
array_upper, Array Functions and Operators
ascii, String Functions and Operators
asin, Mathematical Functions and Operators
asind, Mathematical Functions and Operators
ASSERT
in PL/pgSQL, Checking Assertions
assertions
in PL/pgSQL, Checking Assertions
asynchronous commit, Asynchronous Commit
AT TIME ZONE, AT TIME ZONE
atan, Mathematical Functions and Operators
atan2, Mathematical Functions and Operators
atan2d, Mathematical Functions and Operators
atand, Mathematical Functions and Operators
authentication_timeout configuration parameter, Authentication
auth_delay, auth_delay
auth_delay.milliseconds configuration parameter, Configuration Parameters
auto-increment (see serial)
autocommit
bulk-loading data, Disable Autocommit
psql, Variables
autovacuum
configuration parameters, Automatic Vacuuming
general information, The Autovacuum Daemon
autovacuum configuration parameter, Automatic Vacuuming
autovacuum_analyze_scale_factor configuration parameter, Automatic Vacuuming
autovacuum_analyze_threshold configuration parameter, Automatic Vacuuming
autovacuum_freeze_max_age configuration parameter, Automatic Vacuuming
autovacuum_max_workers configuration parameter, Automatic Vacuuming
autovacuum_multixact_freeze_max_age configuration parameter, Automatic Vacuuming
autovacuum_naptime configuration parameter, Automatic Vacuuming
autovacuum_vacuum_cost_delay configuration parameter, Automatic Vacuuming
autovacuum_vacuum_cost_limit configuration parameter, Automatic Vacuuming
autovacuum_vacuum_scale_factor configuration parameter, Automatic Vacuuming
autovacuum_vacuum_threshold configuration parameter, Automatic Vacuuming
autovacuum_work_mem configuration parameter, Memory
auto_explain, auto_explain
auto_explain.log_analyze configuration parameter, Configuration Parameters
auto_explain.log_buffers configuration parameter, Configuration Parameters
auto_explain.log_format configuration parameter, Configuration Parameters
auto_explain.log_min_duration configuration parameter, Configuration Parameters
auto_explain.log_nested_statements configuration parameter, Configuration Parameters
auto_explain.log_timing configuration parameter, Configuration Parameters
auto_explain.log_triggers configuration parameter, Configuration Parameters
auto_explain.log_verbose configuration parameter, Configuration Parameters
auto_explain.sample_rate configuration parameter, Configuration Parameters
avals, hstore Operators and Functions
average, Aggregate Functions
avg, Aggregate Functions

B

B-tree (see index)
backend_flush_after configuration parameter, Asynchronous Behavior
Background workers, Background Worker Processes
backslash escapes, String Constants with C-style Escapes
backslash_quote configuration parameter, Previous PostgreSQL Versions
backup, Backup Control Functions, Backup and Restore
base type, The PostgreSQL Type System
BASE_BACKUP, Streaming Replication Protocol
BEGIN, BEGIN
BETWEEN, Comparison Functions and Operators
BETWEEN SYMMETRIC, Comparison Functions and Operators
BGWORKER_BACKEND_DATABASE_CONNECTION, Background Worker Processes
BGWORKER_SHMEM_ACCESS, Background Worker Processes
bgwriter_delay configuration parameter, Background Writer
bgwriter_flush_after configuration parameter, Background Writer
bgwriter_lru_maxpages configuration parameter, Background Writer
bgwriter_lru_multiplier configuration parameter, Background Writer
bigint, Numeric Constants, Integer Types
bigserial, Serial Types
binary data, Binary Data Types, Binary String Functions and Operators
functions, Binary String Functions and Operators
binary string
concatenation, Binary String Functions and Operators
length, Binary String Functions and Operators
bison, Requirements
bit string, Bit-string Constants, Bit String Types
constant, Bit-string Constants
data type, Bit String Types
bit strings, Bit String Functions and Operators
functions, Bit String Functions and Operators
bitmap scan, Combining Multiple Indexes, Planner Method Configuration
bit_and, Aggregate Functions
bit_length, String Functions and Operators
bit_or, Aggregate Functions
BLOB (see large object)
block_size configuration parameter, Preset Options
bloom, bloom
bonjour configuration parameter, Connection Settings
bonjour_name configuration parameter, Connection Settings
Boolean, Boolean Type
data type, Boolean Type
operators (see operators, logical)
bool_and, Aggregate Functions
bool_or, Aggregate Functions
booting
starting the server during, Starting the Database Server
box, Geometric Functions and Operators
box (data type), Boxes
BRIN (see index)
brin_desummarize_range, Index Maintenance Functions
brin_metapage_info, BRIN Functions
brin_page_items, BRIN Functions
brin_page_type, BRIN Functions
brin_revmap_data, BRIN Functions
brin_summarize_new_values, Index Maintenance Functions
brin_summarize_range, Index Maintenance Functions
broadcast, Network Address Functions and Operators
BSD Authentication, BSD Authentication
btree_gin, btree_gin
btree_gist, btree_gist
btrim, String Functions and Operators, Binary String Functions and Operators
bt_index_check, Functions
bt_index_parent_check, Functions
bt_metap, B-tree Functions
bt_page_items, B-tree Functions
bt_page_stats, B-tree Functions
bytea, Binary Data Types
bytea_output configuration parameter, Statement Behavior

C

C, libpq - C Library, ECPG - Embedded SQL in C
C++, Using C++ for Extensibility
CALL, CALL
canceling, Canceling Queries in Progress
SQL command, Canceling Queries in Progress
cardinality, Array Functions and Operators
CASCADE, Dependency Tracking
with DROP, Dependency Tracking
foreign key action, Foreign Keys
Cascading Replication, High Availability, Load Balancing, and Replication
CASE, Conditional Expressions, UNION, CASE, and Related Constructs
determination of result type, UNION, CASE, and Related Constructs
case sensitivity
of SQL commands, Identifiers and Key Words
cast, CREATE CAST
I/O conversion, CREATE CAST
cbrt, Mathematical Functions and Operators
ceil, Mathematical Functions and Operators
ceiling, Mathematical Functions and Operators
center, Geometric Functions and Operators
Certificate, Certificate Authentication
char, Character Types
character, Character Types
character set, Locale and Formatting, Preset Options, Character Set Support
character string, String Constants, Character Types
concatenation, String Functions and Operators
constant, String Constants
data types, Character Types
length, String Functions and Operators
character varying, Character Types
char_length, String Functions and Operators
check constraint, Check Constraints
CHECK OPTION, CREATE VIEW
checkpoint, WAL Configuration
CHECKPOINT, CHECKPOINT
checkpoint_completion_target configuration parameter, Checkpoints
checkpoint_flush_after configuration parameter, Checkpoints
checkpoint_timeout configuration parameter, Checkpoints
checkpoint_warning configuration parameter, Checkpoints
check_function_bodies configuration parameter, Statement Behavior
chr, String Functions and Operators
cid, Object Identifier Types
cidr, cidr
circle, Circles, Geometric Functions and Operators
citext, citext
client authentication, Client Authentication
timeout during, Authentication
client_encoding configuration parameter, Locale and Formatting
client_min_messages configuration parameter, Statement Behavior
clock_timestamp, Date/Time Functions and Operators
CLOSE, CLOSE
cluster
of databases (see database cluster)
CLUSTER, CLUSTER
clusterdb, clusterdb
clustering, High Availability, Load Balancing, and Replication
cluster_name configuration parameter, Process Title
cmax, System Columns
cmin, System Columns
COALESCE, COALESCE
COLLATE, Collation Expressions
collation, Collation Support
in PL/pgSQL, Collation of PL/pgSQL Variables
in SQL functions, SQL Functions with Collations
collation for, System Information Functions
column, Concepts, Table Basics
adding, Adding a Column
removing, Removing a Column
renaming, Renaming a Column
system column, System Columns
column data type
changing, Changing a Column's Data Type
column reference, Column References
col_description, System Information Functions
comment, Comments
about database objects, System Information Functions
in SQL, Comments
COMMENT, COMMENT
COMMIT, COMMIT
COMMIT PREPARED, COMMIT PREPARED
commit_delay configuration parameter, Settings
commit_siblings configuration parameter, Settings
common table expression (see WITH)
comparison, Comparison Functions and Operators, Subquery Expressions
composite type, Row and Array Comparisons
operators, Comparison Functions and Operators
row constructor, Row and Array Comparisons
subquery result row, Subquery Expressions
compiling, Building libpq Programs
libpq applications, Building libpq Programs
composite type, Composite Types, The PostgreSQL Type System
comparison, Row and Array Comparisons
constant, Constructing Composite Values
constructor, Row Constructors
computed field, Using Composite Types in Queries
concat, String Functions and Operators
concat_ws, String Functions and Operators
concurrency, Concurrency Control
conditional expression, Conditional Expressions
configuration
of recovery
of a standby server, Recovery Configuration
of the server, Server Configuration
of the server
functions, Configuration Settings Functions
configure, Installation Procedure
config_file configuration parameter, File Locations
conjunction, Logical Operators
connectby, Functions Provided, connectby
connection service file, The Connection Service File
conninfo, Connection Strings
constant, Constants
constraint, Constraints
adding, Adding a Constraint
check, Check Constraints
exclusion, Exclusion Constraints
foreign key, Foreign Keys
name, Check Constraints
NOT NULL, Not-Null Constraints
primary key, Primary Keys
removing, Removing a Constraint
unique, Unique Constraints
constraint exclusion, Partitioning and Constraint Exclusion, Other Planner Options
constraint_exclusion configuration parameter, Other Planner Options
container type, The PostgreSQL Type System
CONTINUE
in PL/pgSQL, CONTINUE
continuous archiving, Backup and Restore
in standby, Continuous archiving in standby
control file, Extension Files
convert, String Functions and Operators
convert_from, String Functions and Operators
convert_to, String Functions and Operators
COPY, Populating a Table With Rows, Functions Associated with the COPY Command, COPY
with libpq, Functions Associated with the COPY Command
corr, Aggregate Functions
correlation, Aggregate Functions
in the query planner, Extended Statistics
cos, Mathematical Functions and Operators
cosd, Mathematical Functions and Operators
cot, Mathematical Functions and Operators
cotd, Mathematical Functions and Operators
count, Aggregate Functions
covariance
population, Aggregate Functions
sample, Aggregate Functions
covar_pop, Aggregate Functions
covar_samp, Aggregate Functions
covering index, Index-Only Scans and Covering Indexes
cpu_index_tuple_cost configuration parameter, Planner Cost Constants
cpu_operator_cost configuration parameter, Planner Cost Constants
cpu_tuple_cost configuration parameter, Planner Cost Constants
CREATE ACCESS METHOD, CREATE ACCESS METHOD
CREATE AGGREGATE, CREATE AGGREGATE
CREATE CAST, CREATE CAST
CREATE COLLATION, CREATE COLLATION
CREATE CONVERSION, CREATE CONVERSION
CREATE DATABASE, Creating a Database, CREATE DATABASE
CREATE DOMAIN, CREATE DOMAIN
CREATE EVENT TRIGGER, CREATE EVENT TRIGGER
CREATE EXTENSION, CREATE EXTENSION
CREATE FOREIGN DATA WRAPPER, CREATE FOREIGN DATA WRAPPER
CREATE FOREIGN TABLE, CREATE FOREIGN TABLE
CREATE FUNCTION, CREATE FUNCTION
CREATE GROUP, CREATE GROUP
CREATE INDEX, CREATE INDEX
CREATE LANGUAGE, CREATE LANGUAGE
CREATE MATERIALIZED VIEW, CREATE MATERIALIZED VIEW
CREATE OPERATOR, CREATE OPERATOR
CREATE OPERATOR CLASS, CREATE OPERATOR CLASS
CREATE OPERATOR FAMILY, CREATE OPERATOR FAMILY
CREATE POLICY, CREATE POLICY
CREATE PROCEDURE, CREATE PROCEDURE
CREATE PUBLICATION, CREATE PUBLICATION
CREATE ROLE, Database Roles, CREATE ROLE
CREATE RULE, CREATE RULE
CREATE SCHEMA, CREATE SCHEMA
CREATE SEQUENCE, CREATE SEQUENCE
CREATE SERVER, CREATE SERVER
CREATE STATISTICS, CREATE STATISTICS
CREATE SUBSCRIPTION, CREATE SUBSCRIPTION
CREATE TABLE, Creating a New Table, CREATE TABLE
CREATE TABLE AS, CREATE TABLE AS
CREATE TABLESPACE, Tablespaces, CREATE TABLESPACE
CREATE TEXT SEARCH CONFIGURATION, CREATE TEXT SEARCH CONFIGURATION
CREATE TEXT SEARCH DICTIONARY, CREATE TEXT SEARCH DICTIONARY
CREATE TEXT SEARCH PARSER, CREATE TEXT SEARCH PARSER
CREATE TEXT SEARCH TEMPLATE, CREATE TEXT SEARCH TEMPLATE
CREATE TRANSFORM, CREATE TRANSFORM
CREATE TRIGGER, CREATE TRIGGER
CREATE TYPE, CREATE TYPE
CREATE USER, CREATE USER
CREATE USER MAPPING, CREATE USER MAPPING
CREATE VIEW, CREATE VIEW
createdb, Creating a Database, Creating a Database, createdb
createuser, Database Roles, createuser
CREATE_REPLICATION_SLOT, Streaming Replication Protocol
cross compilation, Installation Procedure
cross join, Joined Tables
crosstab, crosstab(text), crosstabN(text), crosstab(text, text)
crypt, crypt()
cstring, Pseudo-Types
ctid, System Columns
CTID, View Rules in Non-SELECT Statements
CUBE, GROUPING SETS, CUBE, and ROLLUP
cube (extension), cube
cume_dist, Window Functions
hypothetical, Aggregate Functions
current_catalog, System Information Functions
current_database, System Information Functions
current_date, Date/Time Functions and Operators
current_logfiles
and the log_destination configuration parameter, Where To Log
and the pg_current_logfile function, System Information Functions
current_query, System Information Functions
current_role, System Information Functions
current_schema, System Information Functions
current_schemas, System Information Functions
current_setting, Configuration Settings Functions
current_time, Date/Time Functions and Operators
current_timestamp, Date/Time Functions and Operators
current_user, System Information Functions
currval, Sequence Manipulation Functions
cursor, Cursors, CLOSE, DECLARE, EXPLAIN, FETCH, MOVE
CLOSE, CLOSE
DECLARE, DECLARE
FETCH, FETCH
in PL/pgSQL, Cursors
MOVE, MOVE
showing the query plan, EXPLAIN
cursor_tuple_fraction configuration parameter, Other Planner Options
custom scan provider, Writing A Custom Scan Provider
handler for, Writing A Custom Scan Provider
Cygwin, Cygwin
installation on, Cygwin

D

data area (see database cluster)
data partitioning, High Availability, Load Balancing, and Replication
data type, Data Types, Numeric Types, Enumerated Types, Domain Types, Type Conversion, The PostgreSQL Type System, The PostgreSQL Type System, The PostgreSQL Type System, Polymorphic Types, Base Types in C-Language Functions, User-defined Types
base, The PostgreSQL Type System
category, Overview
composite, The PostgreSQL Type System
constant, Constants of Other Types
container, The PostgreSQL Type System
conversion, Type Conversion
domain, Domain Types
enumerated (enum), Enumerated Types
internal organization, Base Types in C-Language Functions
numeric, Numeric Types
polymorphic, Polymorphic Types
type cast, Type Casts
user-defined, User-defined Types
database, Creating a Database, Managing Databases
creating, Creating a Database
privilege to create, Role Attributes
database activity, Monitoring Database Activity
monitoring, Monitoring Database Activity
database cluster, Concepts, Creating a Database Cluster
data_checksums configuration parameter, Preset Options
data_directory configuration parameter, File Locations
data_directory_mode configuration parameter, Preset Options
data_sync_retry configuration parameter, Error Handling
date, Date/Time Types, Dates
constants, Special Values
current, Current Date/Time
output format, Date/Time Output
(see also formatting)
DateStyle configuration parameter, Locale and Formatting
date_part, Date/Time Functions and Operators, EXTRACT, date_part
date_trunc, Date/Time Functions and Operators, date_trunc
dblink, dblink, dblink
dblink_build_sql_delete, dblink_build_sql_delete
dblink_build_sql_insert, dblink_build_sql_insert
dblink_build_sql_update, dblink_build_sql_update
dblink_cancel_query, dblink_cancel_query
dblink_close, dblink_close
dblink_connect, dblink_connect
dblink_connect_u, dblink_connect_u
dblink_disconnect, dblink_disconnect
dblink_error_message, dblink_error_message
dblink_exec, dblink_exec
dblink_fetch, dblink_fetch
dblink_get_connections, dblink_get_connections
dblink_get_notify, dblink_get_notify
dblink_get_pkey, dblink_get_pkey
dblink_get_result, dblink_get_result
dblink_is_busy, dblink_is_busy
dblink_open, dblink_open
dblink_send_query, dblink_send_query
db_user_namespace configuration parameter, Authentication
deadlock, Deadlocks
timeout during, Lock Management
deadlock_timeout configuration parameter, Lock Management
DEALLOCATE, DEALLOCATE
dearmor, armor(), dearmor()
debug_assertions configuration parameter, Preset Options
debug_deadlocks configuration parameter, Developer Options
debug_pretty_print configuration parameter, What To Log
debug_print_parse configuration parameter, What To Log
debug_print_plan configuration parameter, What To Log
debug_print_rewritten configuration parameter, What To Log
decimal (see numeric)
DECLARE, DECLARE
decode, String Functions and Operators, Binary String Functions and Operators
decode_bytea
in PL/Perl, Utility Functions in PL/Perl
decrypt, Raw Encryption Functions
decrypt_iv, Raw Encryption Functions
default value, Default Values
changing, Changing a Column's Default Value
default_statistics_target configuration parameter, Other Planner Options
default_tablespace configuration parameter, Statement Behavior
default_text_search_config configuration parameter, Locale and Formatting
default_transaction_deferrable configuration parameter, Statement Behavior
default_transaction_isolation configuration parameter, Statement Behavior
default_transaction_read_only configuration parameter, Statement Behavior
default_with_oids configuration parameter, Previous PostgreSQL Versions
deferrable transaction
setting, SET TRANSACTION
setting default, Statement Behavior
defined, hstore Operators and Functions
degrees, Mathematical Functions and Operators
delay, Delaying Execution
DELETE, Deletions, Deleting Data, Returning Data From Modified Rows, DELETE
RETURNING, Returning Data From Modified Rows
delete, hstore Operators and Functions
deleting, Deleting Data
dense_rank, Window Functions
hypothetical, Aggregate Functions
diameter, Geometric Functions and Operators
dict_int, dict_int
dict_xsyn, dict_xsyn
difference, Soundex
digest, digest()
dirty read, Transaction Isolation
DISCARD, DISCARD
disjunction, Logical Operators
disk drive, WAL Internals
disk space, Recovering Disk Space
disk usage, Determining Disk Usage
DISTINCT, Querying a Table, DISTINCT
div, Mathematical Functions and Operators
dmetaphone, Double Metaphone
dmetaphone_alt, Double Metaphone
DO, DO
document, What Is a Document?
text search, What Is a Document?
dollar quoting, Dollar-quoted String Constants
domain, Domain Types
double precision, Floating-Point Types
DROP ACCESS METHOD, DROP ACCESS METHOD
DROP AGGREGATE, DROP AGGREGATE
DROP CAST, DROP CAST
DROP COLLATION, DROP COLLATION
DROP CONVERSION, DROP CONVERSION
DROP DATABASE, Destroying a Database, DROP DATABASE
DROP DOMAIN, DROP DOMAIN
DROP EVENT TRIGGER, DROP EVENT TRIGGER
DROP EXTENSION, DROP EXTENSION
DROP FOREIGN DATA WRAPPER, DROP FOREIGN DATA WRAPPER
DROP FOREIGN TABLE, DROP FOREIGN TABLE
DROP FUNCTION, DROP FUNCTION
DROP GROUP, DROP GROUP
DROP INDEX, DROP INDEX
DROP LANGUAGE, DROP LANGUAGE
DROP MATERIALIZED VIEW, DROP MATERIALIZED VIEW
DROP OPERATOR, DROP OPERATOR
DROP OPERATOR CLASS, DROP OPERATOR CLASS
DROP OPERATOR FAMILY, DROP OPERATOR FAMILY
DROP OWNED, DROP OWNED
DROP POLICY, DROP POLICY
DROP PROCEDURE, DROP PROCEDURE
DROP PUBLICATION, DROP PUBLICATION
DROP ROLE, Database Roles, DROP ROLE
DROP ROUTINE, DROP ROUTINE
DROP RULE, DROP RULE
DROP SCHEMA, DROP SCHEMA
DROP SEQUENCE, DROP SEQUENCE
DROP SERVER, DROP SERVER
DROP STATISTICS, DROP STATISTICS
DROP SUBSCRIPTION, DROP SUBSCRIPTION
DROP TABLE, Creating a New Table, DROP TABLE
DROP TABLESPACE, DROP TABLESPACE
DROP TEXT SEARCH CONFIGURATION, DROP TEXT SEARCH CONFIGURATION
DROP TEXT SEARCH DICTIONARY, DROP TEXT SEARCH DICTIONARY
DROP TEXT SEARCH PARSER, DROP TEXT SEARCH PARSER
DROP TEXT SEARCH TEMPLATE, DROP TEXT SEARCH TEMPLATE
DROP TRANSFORM, DROP TRANSFORM
DROP TRIGGER, DROP TRIGGER
DROP TYPE, DROP TYPE
DROP USER, DROP USER
DROP USER MAPPING, DROP USER MAPPING
DROP VIEW, DROP VIEW
dropdb, Destroying a Database, dropdb
dropuser, Database Roles, dropuser
DROP_REPLICATION_SLOT, Streaming Replication Protocol
DTD, Creating XML Values
DTrace, Installation Procedure, Dynamic Tracing
duplicate, Querying a Table
duplicates, DISTINCT
dynamic loading, Other Defaults, Dynamic Loading
dynamic_library_path, Dynamic Loading
dynamic_library_path configuration parameter, Other Defaults
dynamic_shared_memory_type configuration parameter, Memory

E

each, hstore Operators and Functions
earth, Cube-based Earth Distances
earthdistance, earthdistance
earth_box, Cube-based Earth Distances
earth_distance, Cube-based Earth Distances
ECPG, ECPG - Embedded SQL in C
ecpg, ecpg
effective_cache_size configuration parameter, Planner Cost Constants
effective_io_concurrency configuration parameter, Asynchronous Behavior
elog, Reporting Errors Within the Server
in PL/Perl, Utility Functions in PL/Perl
in PL/Python, Utility Functions
in PL/Tcl, Database Access from PL/Tcl
embedded SQL, ECPG - Embedded SQL in C
in C, ECPG - Embedded SQL in C
enabled role, enabled_roles
enable_bitmapscan configuration parameter, Planner Method Configuration
enable_gathermerge configuration parameter, Planner Method Configuration
enable_hashagg configuration parameter, Planner Method Configuration
enable_hashjoin configuration parameter, Planner Method Configuration
enable_indexonlyscan configuration parameter, Planner Method Configuration
enable_indexscan configuration parameter, Planner Method Configuration
enable_material configuration parameter, Planner Method Configuration
enable_mergejoin configuration parameter, Planner Method Configuration
enable_nestloop configuration parameter, Planner Method Configuration
enable_parallel_append configuration parameter, Planner Method Configuration
enable_parallel_hash configuration parameter, Planner Method Configuration
enable_partitionwise_aggregate configuration parameter, Planner Method Configuration
enable_partitionwise_join configuration parameter, Planner Method Configuration
enable_partition_pruning configuration parameter, Planner Method Configuration
enable_seqscan configuration parameter, Planner Method Configuration
enable_sort configuration parameter, Planner Method Configuration
enable_tidscan configuration parameter, Planner Method Configuration
encode, String Functions and Operators, Binary String Functions and Operators
encode_array_constructor
in PL/Perl, Utility Functions in PL/Perl
encode_array_literal
in PL/Perl, Utility Functions in PL/Perl
encode_bytea
in PL/Perl, Utility Functions in PL/Perl
encode_typed_literal
in PL/Perl, Utility Functions in PL/Perl
encrypt, Raw Encryption Functions
encryption, Encryption Options, pgcrypto
for specific columns, pgcrypto
encrypt_iv, Raw Encryption Functions
END, END
enumerated types, Enumerated Types
enum_first, Enum Support Functions
enum_last, Enum Support Functions
enum_range, Enum Support Functions
environment variable, Environment Variables
ephemeral named relation
registering with SPI, SPI_register_relation, SPI_register_trigger_data
unregistering from SPI, SPI_unregister_relation
ereport, Reporting Errors Within the Server
error codes, PostgreSQL Error Codes
libpq, Main Functions
list of, PostgreSQL Error Codes
error message, Connection Status Functions
escape string syntax, String Constants with C-style Escapes
escape_string_warning configuration parameter, Previous PostgreSQL Versions
escaping strings, Escaping Strings for Inclusion in SQL Commands
in libpq, Escaping Strings for Inclusion in SQL Commands
event log, Registering Event Log on Windows
event log, Registering Event Log on Windows
event trigger, Event Triggers, Writing Event Trigger Functions in C
in C, Writing Event Trigger Functions in C
in PL/Tcl, Event Trigger Functions in PL/Tcl
event_source configuration parameter, Where To Log
event_trigger, Pseudo-Types
every, Aggregate Functions
EXCEPT, Combining Queries
exceptions
in PL/pgSQL, Trapping Errors
in PL/Tcl, Error Handling in PL/Tcl
exclusion constraint, Exclusion Constraints
EXECUTE, EXECUTE
exist, hstore Operators and Functions
EXISTS, Subquery Expressions
EXIT
in PL/pgSQL, EXIT
exit_on_error configuration parameter, Error Handling
exp, Mathematical Functions and Operators
EXPLAIN, Using EXPLAIN, EXPLAIN
expression, Value Expressions
order of evaluation, Expression Evaluation Rules
syntax, Value Expressions
extending SQL, Extending SQL
extension, Packaging Related Objects into an Extension
externally maintained, Extensions
external_pid_file configuration parameter, File Locations
extract, Date/Time Functions and Operators, EXTRACT, date_part
extra_float_digits configuration parameter, Locale and Formatting

F

failover, High Availability, Load Balancing, and Replication
false, Boolean Type
family, Network Address Functions and Operators
fast path, The Fast-Path Interface
fdw_handler, Pseudo-Types
FETCH, FETCH
field
computed, Using Composite Types in Queries
field selection, Field Selection
file system mount points, Use of Secondary File Systems
file_fdw, file_fdw
FILTER, Aggregate Expressions
first_value, Window Functions
flex, Requirements
float4 (see real)
float8 (see double precision)
floating point, Floating-Point Types
floating-point
display, Locale and Formatting
floor, Mathematical Functions and Operators
force_parallel_mode configuration parameter, Other Planner Options
foreign data, Foreign Data
foreign data wrapper, Writing A Foreign Data Wrapper
handler for, Writing A Foreign Data Wrapper
foreign key, Foreign Keys, Foreign Keys
foreign table, Foreign Data
format, String Functions and Operators, format
use in PL/pgSQL, Executing Dynamic Commands
formatting, Data Type Formatting Functions
format_type, System Information Functions
Free Space Map, Free Space Map
FreeBSD
IPC configuration, Shared Memory and Semaphores
shared library, Compiling and Linking Dynamically-loaded Functions
start script, Starting the Database Server
from_collapse_limit configuration parameter, Other Planner Options
FSM (see Free Space Map)
fsm_page_contents, General Functions
fsync configuration parameter, Settings
full text search, Text Search Types, Text Search Types, Full Text Search
data types, Text Search Types
functions and operators, Text Search Types
full_page_writes configuration parameter, Settings
function, Table Functions, Functions and Operators, Functions, Polymorphic Types, User-defined Functions, Query Language (SQL) Functions, Internal Functions, C-Language Functions
default values for arguments, SQL Functions with Default Values for Arguments
in the FROM clause, Table Functions
internal, Internal Functions
invocation, Function Calls
mixed notation, Using Mixed Notation
named argument, Arguments for SQL Functions
named notation, Using Named Notation
output parameter, SQL Functions with Output Parameters
polymorphic, Polymorphic Types
positional notation, Using Positional Notation
RETURNS TABLE, SQL Functions Returning TABLE
type resolution in an invocation, Functions
user-defined, User-defined Functions, Query Language (SQL) Functions, C-Language Functions
in C, C-Language Functions
in SQL, Query Language (SQL) Functions
variadic, SQL Functions with Variable Numbers of Arguments
with SETOF, SQL Functions Returning Sets
functional dependency, The GROUP BY and HAVING Clauses
fuzzystrmatch, fuzzystrmatch

G

gc_to_sec, Cube-based Earth Distances
generate_series, Set Returning Functions
generate_subscripts, Set Returning Functions
genetic query optimization, Genetic Query Optimizer
gen_random_bytes, Random-Data Functions
gen_random_uuid, Random-Data Functions
gen_salt, gen_salt()
GEQO (see genetic query optimization)
geqo configuration parameter, Genetic Query Optimizer
geqo_effort configuration parameter, Genetic Query Optimizer
geqo_generations configuration parameter, Genetic Query Optimizer
geqo_pool_size configuration parameter, Genetic Query Optimizer
geqo_seed configuration parameter, Genetic Query Optimizer
geqo_selection_bias configuration parameter, Genetic Query Optimizer
geqo_threshold configuration parameter, Genetic Query Optimizer
get_bit, Binary String Functions and Operators
get_byte, Binary String Functions and Operators
get_current_ts_config, Text Search Functions and Operators
get_raw_page, General Functions
GIN (see index)
gin_clean_pending_list, Index Maintenance Functions
gin_fuzzy_search_limit configuration parameter, Other Defaults
gin_leafpage_items, GIN Functions
gin_metapage_info, GIN Functions
gin_page_opaque_info, GIN Functions
gin_pending_list_limit configuration parameter, Statement Behavior
GiST (see index)
global data, Global Data in PL/Tcl
in PL/Python, Sharing Data
in PL/Tcl, Global Data in PL/Tcl
GRANT, Privileges, GRANT
GREATEST, GREATEST and LEAST, UNION, CASE, and Related Constructs
determination of result type, UNION, CASE, and Related Constructs
Gregorian calendar, History of Units
GROUP BY, Aggregate Functions, The GROUP BY and HAVING Clauses
grouping, The GROUP BY and HAVING Clauses
GROUPING, Aggregate Functions
GROUPING SETS, GROUPING SETS, CUBE, and ROLLUP
GSSAPI, GSSAPI Authentication
GUID, UUID Type

H

hash (see index)
hash_bitmap_info, Hash Functions
hash_metapage_info, Hash Functions
hash_page_items, Hash Functions
hash_page_stats, Hash Functions
hash_page_type, Hash Functions
has_any_column_privilege, System Information Functions
has_column_privilege, System Information Functions
has_database_privilege, System Information Functions
has_foreign_data_wrapper_privilege, System Information Functions
has_function_privilege, System Information Functions
has_language_privilege, System Information Functions
has_schema_privilege, System Information Functions
has_sequence_privilege, System Information Functions
has_server_privilege, System Information Functions
has_tablespace_privilege, System Information Functions
has_table_privilege, System Information Functions
has_type_privilege, System Information Functions
HAVING, Aggregate Functions, The GROUP BY and HAVING Clauses
hba_file configuration parameter, File Locations
heap_page_items, Heap Functions
heap_page_item_attrs, Heap Functions
height, Geometric Functions and Operators
hierarchical database, Concepts
high availability, High Availability, Load Balancing, and Replication
history, A Brief History of PostgreSQL
of PostgreSQL, A Brief History of PostgreSQL
hmac, hmac()
host, Network Address Functions and Operators
host name, Parameter Key Words
hostmask, Network Address Functions and Operators
Hot Standby, High Availability, Load Balancing, and Replication
hot_standby configuration parameter, Standby Servers
hot_standby_feedback configuration parameter, Standby Servers
HP-UX, HP-UX
installation on, HP-UX
IPC configuration, Shared Memory and Semaphores
shared library, Compiling and Linking Dynamically-loaded Functions
hstore, hstore, hstore Operators and Functions
hstore_to_array, hstore Operators and Functions
hstore_to_json, hstore Operators and Functions
hstore_to_jsonb, hstore Operators and Functions
hstore_to_jsonb_loose, hstore Operators and Functions
hstore_to_json_loose, hstore Operators and Functions
hstore_to_matrix, hstore Operators and Functions
huge_pages configuration parameter, Memory
hypothetical-set aggregate
built-in, Aggregate Functions

I

icount, intarray Functions and Operators
ICU, Installation Procedure, Managing Collations, Parameters
ident, Ident Authentication
identifier, Identifiers and Key Words
length, Identifiers and Key Words
syntax of, Identifiers and Key Words
IDENTIFY_SYSTEM, Streaming Replication Protocol
ident_file configuration parameter, File Locations
idle_in_transaction_session_timeout configuration parameter, Statement Behavior
idx, intarray Functions and Operators
IFNULL, COALESCE
ignore_checksum_failure configuration parameter, Developer Options
ignore_system_indexes configuration parameter, Developer Options
IMMUTABLE, Function Volatility Categories
IMPORT FOREIGN SCHEMA, IMPORT FOREIGN SCHEMA
IN, Subquery Expressions, Row and Array Comparisons
INCLUDE
in index definitions, Index-Only Scans and Covering Indexes
include
in configuration file, Managing Configuration File Contents
include_dir
in configuration file, Managing Configuration File Contents
include_if_exists
in configuration file, Managing Configuration File Contents
index, Indexes, Multicolumn Indexes, Indexes and ORDER BY, Combining Multiple Indexes, Unique Indexes, Indexes on Expressions, Partial Indexes, Index-Only Scans and Covering Indexes, Index-Only Scans and Covering Indexes, Examining Index Usage, GIN and GiST Index Types, GIN and GiST Index Types, Locking and Indexes, Interfacing Extensions To Indexes, Building Indexes Concurrently, Operators and Functions
and ORDER BY, Indexes and ORDER BY
B-tree, Index Types
B-Tree, B-Tree Indexes
BRIN, Index Types, BRIN Indexes
building concurrently, Building Indexes Concurrently
combining multiple indexes, Combining Multiple Indexes
covering, Index-Only Scans and Covering Indexes
examining usage, Examining Index Usage
on expressions, Indexes on Expressions
for user-defined data type, Interfacing Extensions To Indexes
GIN, Index Types, GIN and GiST Index Types, GIN Indexes
text search, GIN and GiST Index Types
GiST, Index Types, GIN and GiST Index Types, GiST Indexes
text search, GIN and GiST Index Types
hash, Index Types
index-only scans, Index-Only Scans and Covering Indexes
locks, Locking and Indexes
multicolumn, Multicolumn Indexes
partial, Partial Indexes
SP-GiST, Index Types, SP-GiST Indexes
unique, Unique Indexes
index scan, Planner Method Configuration
index-only scan, Index-Only Scans and Covering Indexes
index_am_handler, Pseudo-Types
inet (data type), inet
inet_client_addr, System Information Functions
inet_client_port, System Information Functions
inet_merge, Network Address Functions and Operators
inet_same_family, Network Address Functions and Operators
inet_server_addr, System Information Functions
inet_server_port, System Information Functions
information schema, The Information Schema
inheritance, Inheritance, Inheritance
initcap, String Functions and Operators
initdb, Creating a Database Cluster, initdb
Initialization Fork, The Initialization Fork
input function, User-defined Types
INSERT, Populating a Table With Rows, Inserting Data, Returning Data From Modified Rows, INSERT
RETURNING, Returning Data From Modified Rows
inserting, Inserting Data
installation, Installation from Source Code
on Windows, Installation from Source Code on Windows
instr function, Appendix
int2 (see smallint)
int4 (see integer)
int8 (see bigint)
intagg, intagg
intarray, intarray
integer, Numeric Constants, Integer Types
integer_datetimes configuration parameter, Preset Options
interfaces
externally maintained, Client Interfaces
internal, Pseudo-Types
INTERSECT, Combining Queries
interval, Date/Time Types, Interval Input
output format, Interval Output
(see also formatting)
IntervalStyle configuration parameter, Locale and Formatting
intset, intarray Functions and Operators
int_array_aggregate, Functions
int_array_enum, Functions
inverse distribution, Aggregate Functions
in_range support functions, B-Tree Support Functions
IS DISTINCT FROM, Comparison Functions and Operators, Row and Array Comparisons
IS DOCUMENT, IS DOCUMENT
IS FALSE, Comparison Functions and Operators
IS NOT DISTINCT FROM, Comparison Functions and Operators, Row and Array Comparisons
IS NOT DOCUMENT, IS NOT DOCUMENT
IS NOT FALSE, Comparison Functions and Operators
IS NOT NULL, Comparison Functions and Operators
IS NOT TRUE, Comparison Functions and Operators
IS NOT UNKNOWN, Comparison Functions and Operators
IS NULL, Comparison Functions and Operators, Platform and Client Compatibility
IS TRUE, Comparison Functions and Operators
IS UNKNOWN, Comparison Functions and Operators
isclosed, Geometric Functions and Operators
isempty, Range Functions and Operators
isfinite, Date/Time Functions and Operators
isn, isn
ISNULL, Comparison Functions and Operators
isn_weak, Functions and Operators
isopen, Geometric Functions and Operators
is_array_ref
in PL/Perl, Utility Functions in PL/Perl
is_valid, Functions and Operators

J

JIT, Just-in-Time Compilation (JIT)
jit configuration parameter, Other Planner Options
jit_above_cost configuration parameter, Planner Cost Constants
jit_debugging_support configuration parameter, Developer Options
jit_dump_bitcode configuration parameter, Developer Options
jit_expressions configuration parameter, Developer Options
jit_inline_above_cost configuration parameter, Planner Cost Constants
jit_optimize_above_cost configuration parameter, Planner Cost Constants
jit_profiling_support configuration parameter, Developer Options
jit_provider configuration parameter, Shared Library Preloading
jit_tuple_deforming configuration parameter, Developer Options
join, Joins Between Tables, Joined Tables, Controlling the Planner with Explicit JOIN Clauses
controlling the order, Controlling the Planner with Explicit JOIN Clauses
cross, Joined Tables
left, Joined Tables
natural, Joined Tables
outer, Joins Between Tables, Joined Tables
right, Joined Tables
self, Joins Between Tables
join_collapse_limit configuration parameter, Other Planner Options
JSON, JSON Types, JSON Functions and Operators
functions and operators, JSON Functions and Operators
JSONB, JSON Types
jsonb
containment, jsonb Containment and Existence
existence, jsonb Containment and Existence
indexes on, jsonb Indexing
jsonb_agg, Aggregate Functions
jsonb_array_elements, JSON Functions and Operators
jsonb_array_elements_text, JSON Functions and Operators
jsonb_array_length, JSON Functions and Operators
jsonb_build_array, JSON Functions and Operators
jsonb_build_object, JSON Functions and Operators
jsonb_each, JSON Functions and Operators
jsonb_each_text, JSON Functions and Operators
jsonb_extract_path, JSON Functions and Operators
jsonb_extract_path_text, JSON Functions and Operators
jsonb_insert, JSON Functions and Operators
jsonb_object, JSON Functions and Operators
jsonb_object_agg, Aggregate Functions
jsonb_object_keys, JSON Functions and Operators
jsonb_populate_record, JSON Functions and Operators
jsonb_populate_recordset, JSON Functions and Operators
jsonb_pretty, JSON Functions and Operators
jsonb_set, JSON Functions and Operators
jsonb_strip_nulls, JSON Functions and Operators
jsonb_to_record, JSON Functions and Operators
jsonb_to_recordset, JSON Functions and Operators
jsonb_typeof, JSON Functions and Operators
json_agg, Aggregate Functions
json_array_elements, JSON Functions and Operators
json_array_elements_text, JSON Functions and Operators
json_array_length, JSON Functions and Operators
json_build_array, JSON Functions and Operators
json_build_object, JSON Functions and Operators
json_each, JSON Functions and Operators
json_each_text, JSON Functions and Operators
json_extract_path, JSON Functions and Operators
json_extract_path_text, JSON Functions and Operators
json_object, JSON Functions and Operators
json_object_agg, Aggregate Functions
json_object_keys, JSON Functions and Operators
json_populate_record, JSON Functions and Operators
json_populate_recordset, JSON Functions and Operators
json_strip_nulls, JSON Functions and Operators
json_to_record, JSON Functions and Operators
json_to_recordset, JSON Functions and Operators
json_typeof, JSON Functions and Operators
Julian date, History of Units
Just-In-Time compilation (see JIT)
justify_days, Date/Time Functions and Operators
justify_hours, Date/Time Functions and Operators
justify_interval, Date/Time Functions and Operators

K

key word, Identifiers and Key Words, SQL Key Words
list of, SQL Key Words
syntax of, Identifiers and Key Words
krb_caseins_users configuration parameter, Authentication
krb_server_keyfile configuration parameter, Authentication

L

label (see alias)
lag, Window Functions
language_handler, Pseudo-Types
large object, Large Objects
lastval, Sequence Manipulation Functions
last_value, Window Functions
LATERAL, LATERAL Subqueries
in the FROM clause, LATERAL Subqueries
latitude, Cube-based Earth Distances
lca, Operators and Functions
lc_collate configuration parameter, Preset Options
lc_ctype configuration parameter, Preset Options
lc_messages configuration parameter, Locale and Formatting
lc_monetary configuration parameter, Locale and Formatting
lc_numeric configuration parameter, Locale and Formatting
lc_time configuration parameter, Locale and Formatting
LDAP, Installation Procedure, LDAP Authentication
LDAP connection parameter lookup, LDAP Lookup of Connection Parameters
ldconfig, Shared Libraries
lead, Window Functions
LEAST, GREATEST and LEAST, UNION, CASE, and Related Constructs
determination of result type, UNION, CASE, and Related Constructs
left, String Functions and Operators
left join, Joined Tables
length, String Functions and Operators, Binary String Functions and Operators, Geometric Functions and Operators, Text Search Functions and Operators
of a binary string (see binary strings, length)
of a character string (see character string, length)
length(tsvector), Manipulating Documents
levenshtein, Levenshtein
levenshtein_less_equal, Levenshtein
lex, Requirements
libedit, Requirements
libperl, Requirements
libpq, libpq - C Library, Retrieving Query Results Row-By-Row
single-row mode, Retrieving Query Results Row-By-Row
libpq-fe.h, libpq - C Library, Connection Status Functions
libpq-int.h, Connection Status Functions
libpython, Requirements
library finalization function, Dynamic Loading
library initialization function, Dynamic Loading
LIKE, LIKE
and locales, Behavior
LIMIT, LIMIT and OFFSET
line, Lines
line segment, Line Segments
linear regression, Aggregate Functions
Linux
IPC configuration, Shared Memory and Semaphores
shared library, Compiling and Linking Dynamically-loaded Functions
start script, Starting the Database Server
LISTEN, LISTEN
listen_addresses configuration parameter, Connection Settings
llvm-config, Installation Procedure
ll_to_earth, Cube-based Earth Distances
ln, Mathematical Functions and Operators
lo, lo
LOAD, LOAD
load balancing, High Availability, Load Balancing, and Replication
locale, Creating a Database Cluster, Locale Support
localtime, Date/Time Functions and Operators
localtimestamp, Date/Time Functions and Operators
local_preload_libraries configuration parameter, Shared Library Preloading
lock, Explicit Locking, Advisory Locks, Viewing Locks
advisory, Advisory Locks
monitoring, Viewing Locks
LOCK, Table-level Locks, LOCK
lock_timeout configuration parameter, Statement Behavior
log, Mathematical Functions and Operators
log shipping, High Availability, Load Balancing, and Replication
Logging
current_logfiles file and the pg_current_logfile - function, System Information Functions
pg_current_logfile function, System Information Functions
logging_collector configuration parameter, Where To Log
Logical Decoding, Logical Decoding, Logical Decoding
login privilege, Role Attributes
log_autovacuum_min_duration configuration parameter, Automatic Vacuuming
log_btree_build_stats configuration parameter, Developer Options
log_checkpoints configuration parameter, What To Log
log_connections configuration parameter, What To Log
log_destination configuration parameter, Where To Log
log_directory configuration parameter, Where To Log
log_disconnections configuration parameter, What To Log
log_duration configuration parameter, What To Log
log_error_verbosity configuration parameter, What To Log
log_executor_stats configuration parameter, Statistics Monitoring
log_filename configuration parameter, Where To Log
log_file_mode configuration parameter, Where To Log
log_hostname configuration parameter, What To Log
log_line_prefix configuration parameter, What To Log
log_lock_waits configuration parameter, What To Log
log_min_duration_statement configuration parameter, When To Log
log_min_error_statement configuration parameter, When To Log
log_min_messages configuration parameter, When To Log
log_parser_stats configuration parameter, Statistics Monitoring
log_planner_stats configuration parameter, Statistics Monitoring
log_replication_commands configuration parameter, What To Log
log_rotation_age configuration parameter, Where To Log
log_rotation_size configuration parameter, Where To Log
log_statement configuration parameter, What To Log
log_statement_stats configuration parameter, Statistics Monitoring
log_temp_files configuration parameter, What To Log
log_timezone configuration parameter, What To Log
log_truncate_on_rotation configuration parameter, Where To Log
longitude, Cube-based Earth Distances
looks_like_number
in PL/Perl, Utility Functions in PL/Perl
loop, Simple Loops
in PL/pgSQL, Simple Loops
lower, String Functions and Operators, Range Functions and Operators
and locales, Behavior
lower_inc, Range Functions and Operators
lower_inf, Range Functions and Operators
lo_close, Closing a Large Object Descriptor
lo_compat_privileges configuration parameter, Previous PostgreSQL Versions
lo_creat, Creating a Large Object, Server-side Functions
lo_create, Creating a Large Object
lo_export, Exporting a Large Object, Server-side Functions
lo_from_bytea, Server-side Functions
lo_get, Server-side Functions
lo_import, Importing a Large Object, Server-side Functions
lo_import_with_oid, Importing a Large Object
lo_lseek, Seeking in a Large Object
lo_lseek64, Seeking in a Large Object
lo_open, Opening an Existing Large Object
lo_put, Server-side Functions
lo_read, Reading Data from a Large Object
lo_tell, Obtaining the Seek Position of a Large Object
lo_tell64, Obtaining the Seek Position of a Large Object
lo_truncate, Truncating a Large Object
lo_truncate64, Truncating a Large Object
lo_unlink, Removing a Large Object, Server-side Functions
lo_write, Writing Data to a Large Object
lpad, String Functions and Operators
lseg, Line Segments, Geometric Functions and Operators
LSN, WAL Internals
ltree, ltree
ltree2text, Operators and Functions
ltrim, String Functions and Operators

M

MAC address (see macaddr)
MAC address (EUI-64 format) (see macaddr)
macaddr (data type), macaddr
macaddr8 (data type), macaddr8
macaddr8_set7bit, Network Address Functions and Operators
macOS, macOS
installation on, macOS
IPC configuration, Shared Memory and Semaphores
shared library, Compiling and Linking Dynamically-loaded Functions
magic block, Dynamic Loading
maintenance, Routine Database Maintenance Tasks
maintenance_work_mem configuration parameter, Memory
make, Requirements
make_date, Date/Time Functions and Operators
make_interval, Date/Time Functions and Operators
make_time, Date/Time Functions and Operators
make_timestamp, Date/Time Functions and Operators
make_timestamptz, Date/Time Functions and Operators
make_valid, Functions and Operators
MANPATH, Environment Variables
masklen, Network Address Functions and Operators
materialized view, Materialized Views
implementation through rules, Materialized Views
materialized views, pg_matviews
max, Aggregate Functions
max_connections configuration parameter, Connection Settings
max_files_per_process configuration parameter, Kernel Resource Usage
max_function_args configuration parameter, Preset Options
max_identifier_length configuration parameter, Preset Options
max_index_keys configuration parameter, Preset Options
max_locks_per_transaction configuration parameter, Lock Management
max_logical_replication_workers configuration parameter, Subscribers
max_parallel_maintenance_workers configuration parameter, Asynchronous Behavior
max_parallel_workers configuration parameter, Asynchronous Behavior
max_parallel_workers_per_gather configuration parameter, Asynchronous Behavior
max_pred_locks_per_page configuration parameter, Lock Management
max_pred_locks_per_relation configuration parameter, Lock Management
max_pred_locks_per_transaction configuration parameter, Lock Management
max_prepared_transactions configuration parameter, Memory
max_replication_slots configuration parameter, Sending Servers
max_stack_depth configuration parameter, Memory
max_standby_archive_delay configuration parameter, Standby Servers
max_standby_streaming_delay configuration parameter, Standby Servers
max_sync_workers_per_subscription configuration parameter, Subscribers
max_wal_senders configuration parameter, Sending Servers
max_wal_size configuration parameter, Checkpoints
max_worker_processes configuration parameter, Asynchronous Behavior
md5, String Functions and Operators, Binary String Functions and Operators
MD5, Password Authentication
median, Aggregate Expressions
(see also percentile)
memory context
in SPI, Memory Management
memory overcommit, Linux Memory Overcommit
metaphone, Metaphone
min, Aggregate Functions
MinGW, MinGW/Native Windows
installation on, MinGW/Native Windows
min_parallel_index_scan_size configuration parameter, Planner Cost Constants
min_parallel_table_scan_size configuration parameter, Planner Cost Constants
min_wal_size configuration parameter, Checkpoints
mod, Mathematical Functions and Operators
mode
statistical, Aggregate Functions
monitoring, Monitoring Database Activity
database activity, Monitoring Database Activity
MOVE, MOVE
moving-aggregate mode, Moving-Aggregate Mode
Multiversion Concurrency Control, Introduction
MultiXactId, Multixacts and Wraparound
MVCC, Introduction

N

name, Identifiers and Key Words
qualified, Creating a Schema
syntax of, Identifiers and Key Words
unqualified, The Schema Search Path
NaN (see not a number)
natural join, Joined Tables
negation, Logical Operators
NetBSD
IPC configuration, Shared Memory and Semaphores
shared library, Compiling and Linking Dynamically-loaded Functions
start script, Starting the Database Server
netmask, Network Address Functions and Operators
network, Network Address Types, Network Address Functions and Operators
data types, Network Address Types
Network Attached Storage (NAS) (see Network File Systems)
Network File Systems, Use of Network File Systems
nextval, Sequence Manipulation Functions
NFS (see Network File Systems)
nlevel, Operators and Functions
non-durable, Non-Durable Settings
nonblocking connection, Database Connection Control Functions, Asynchronous Command Processing
nonrepeatable read, Transaction Isolation
normal_rand, normal_rand
NOT (operator), Logical Operators
not a number
double precision, Floating-Point Types
numeric (data type), Arbitrary Precision Numbers
NOT IN, Subquery Expressions, Row and Array Comparisons
not-null constraint, Not-Null Constraints
notation, Calling Functions
functions, Calling Functions
notice processing, Notice Processing
in libpq, Notice Processing
notice processor, Notice Processing
notice receiver, Notice Processing
NOTIFY, Asynchronous Notification, NOTIFY
in libpq, Asynchronous Notification
NOTNULL, Comparison Functions and Operators
now, Date/Time Functions and Operators
npoints, Geometric Functions and Operators
nth_value, Window Functions
ntile, Window Functions
null value
with check constraints, Check Constraints
comparing, Comparison Functions and Operators
default value, Default Values
in DISTINCT, DISTINCT
in libpq, Retrieving Query Result Information
in PL/Perl, PL/Perl Functions and Arguments
in PL/Python, Null, None
with unique constraints, Unique Constraints
NULLIF, NULLIF
number
constant, Numeric Constants
numeric, Numeric Constants
numeric (data type), Arbitrary Precision Numbers
numnode, Text Search Functions and Operators, Manipulating Queries
num_nonnulls, Comparison Functions and Operators
num_nulls, Comparison Functions and Operators
NVL, COALESCE

O

object identifier, Object Identifier Types
data type, Object Identifier Types
object-oriented database, Concepts
obj_description, System Information Functions
octet_length, String Functions and Operators, Binary String Functions and Operators
OFFSET, LIMIT and OFFSET
OID
column, System Columns
in libpq, Retrieving Other Result Information
oid, Object Identifier Types
oid2name, oid2name
old_snapshot_threshold configuration parameter, Asynchronous Behavior
ON CONFLICT, INSERT
ONLY, The FROM Clause
OOM, Linux Memory Overcommit
opaque, Pseudo-Types
OpenBSD
IPC configuration, Shared Memory and Semaphores
shared library, Compiling and Linking Dynamically-loaded Functions
start script, Starting the Database Server
OpenSSL, Installation Procedure
(see also SSL)
operator, Operators, Operator Precedence, Functions and Operators, Logical Operators, Operators, User-defined Operators
invocation, Operator Invocations
logical, Logical Operators
precedence, Operator Precedence
syntax, Operators
type resolution in an invocation, Operators
user-defined, User-defined Operators
operator class, Operator Classes and Operator Families, Index Methods and Operator Classes
operator family, Operator Classes and Operator Families, Operator Classes and Operator Families
operator_precedence_warning configuration parameter, Previous PostgreSQL Versions
OR (operator), Logical Operators
Oracle, Porting from Oracle PL/SQL
porting from PL/SQL to PL/pgSQL, Porting from Oracle PL/SQL
ORDER BY, Querying a Table, Sorting Rows
and locales, Behavior
ordered-set aggregate, Aggregate Expressions
built-in, Aggregate Functions
ordering operator, System Dependencies on Operator Classes
ordinality, Set Returning Functions
outer join, Joined Tables
output function, User-defined Types
OVER clause, Window Function Calls
overcommit, Linux Memory Overcommit
OVERLAPS, Date/Time Functions and Operators
overlay, String Functions and Operators, Binary String Functions and Operators
overloading, Function Overloading
functions, Function Overloading
operators, User-defined Operators
owner, Privileges

P

pageinspect, pageinspect
page_checksum, General Functions
page_header, General Functions
palloc, Writing Code
PAM, Installation Procedure, PAM Authentication
parallel query, Parallel Query
+ Z

A

abbrev, Network Address Functions and Operators
ABORT, ABORT
abs, Mathematical Functions and Operators
acos, Mathematical Functions and Operators
acosd, Mathematical Functions and Operators
administration tools
externally maintained, Administration Tools
adminpack, adminpack
advisory lock, Advisory Locks
age, Date/Time Functions and Operators
aggregate function, Aggregate Functions, Aggregate Expressions, Aggregate Functions, User-defined Aggregates
built-in, Aggregate Functions
invocation, Aggregate Expressions
moving aggregate, Moving-Aggregate Mode
ordered set, Ordered-Set Aggregates
partial aggregation, Partial Aggregation
polymorphic, Polymorphic and Variadic Aggregates
support functions for, Support Functions for Aggregates
user-defined, User-defined Aggregates
variadic, Polymorphic and Variadic Aggregates
AIX, AIX
installation on, AIX
IPC configuration, Shared Memory and Semaphores
akeys, hstore Operators and Functions
alias, Table and Column Aliases, Column Labels
for table name in query, Joins Between Tables
in the FROM clause, Table and Column Aliases
in the select list, Column Labels
ALL, Subquery Expressions, Row and Array Comparisons
allow_system_table_mods configuration parameter, Developer Options
ALTER AGGREGATE, ALTER AGGREGATE
ALTER COLLATION, ALTER COLLATION
ALTER CONVERSION, ALTER CONVERSION
ALTER DATABASE, ALTER DATABASE
ALTER DEFAULT PRIVILEGES, ALTER DEFAULT PRIVILEGES
ALTER DOMAIN, ALTER DOMAIN
ALTER EVENT TRIGGER, ALTER EVENT TRIGGER
ALTER EXTENSION, ALTER EXTENSION
ALTER FOREIGN DATA WRAPPER, ALTER FOREIGN DATA WRAPPER
ALTER FOREIGN TABLE, ALTER FOREIGN TABLE
ALTER FUNCTION, ALTER FUNCTION
ALTER GROUP, ALTER GROUP
ALTER INDEX, ALTER INDEX
ALTER LANGUAGE, ALTER LANGUAGE
ALTER LARGE OBJECT, ALTER LARGE OBJECT
ALTER MATERIALIZED VIEW, ALTER MATERIALIZED VIEW
ALTER OPERATOR, ALTER OPERATOR
ALTER OPERATOR CLASS, ALTER OPERATOR CLASS
ALTER OPERATOR FAMILY, ALTER OPERATOR FAMILY
ALTER POLICY, ALTER POLICY
ALTER PROCEDURE, ALTER PROCEDURE
ALTER PUBLICATION, ALTER PUBLICATION
ALTER ROLE, Role Attributes, ALTER ROLE
ALTER ROUTINE, ALTER ROUTINE
ALTER RULE, ALTER RULE
ALTER SCHEMA, ALTER SCHEMA
ALTER SEQUENCE, ALTER SEQUENCE
ALTER SERVER, ALTER SERVER
ALTER STATISTICS, ALTER STATISTICS
ALTER SUBSCRIPTION, ALTER SUBSCRIPTION
ALTER SYSTEM, ALTER SYSTEM
ALTER TABLE, ALTER TABLE
ALTER TABLESPACE, ALTER TABLESPACE
ALTER TEXT SEARCH CONFIGURATION, ALTER TEXT SEARCH CONFIGURATION
ALTER TEXT SEARCH DICTIONARY, ALTER TEXT SEARCH DICTIONARY
ALTER TEXT SEARCH PARSER, ALTER TEXT SEARCH PARSER
ALTER TEXT SEARCH TEMPLATE, ALTER TEXT SEARCH TEMPLATE
ALTER TRIGGER, ALTER TRIGGER
ALTER TYPE, ALTER TYPE
ALTER USER, ALTER USER
ALTER USER MAPPING, ALTER USER MAPPING
ALTER VIEW, ALTER VIEW
amcheck, amcheck
ANALYZE, Updating Planner Statistics, ANALYZE
AND (operator), Logical Operators
anonymous code blocks, DO
any, Pseudo-Types
ANY, Aggregate Functions, Subquery Expressions, Row and Array Comparisons
anyarray, Pseudo-Types
anyelement, Pseudo-Types
anyenum, Pseudo-Types
anynonarray, Pseudo-Types
anyrange, Pseudo-Types
applicable role, applicable_roles
application_name configuration parameter, What To Log
arbitrary precision numbers, Arbitrary Precision Numbers
archive_cleanup_command recovery parameter, Archive Recovery Settings
archive_command configuration parameter, Archiving
archive_mode configuration parameter, Archiving
archive_timeout configuration parameter, Archiving
area, Geometric Functions and Operators
armor, armor(), dearmor()
array, Arrays
accessing, Accessing Arrays
constant, Array Value Input
constructor, Array Constructors
declaration, Declaration of Array Types
I/O, Array Input and Output Syntax
modifying, Modifying Arrays
of user-defined type, User-defined Types
searching, Searching in Arrays
ARRAY, Array Constructors, UNION, CASE, and Related Constructs
determination of result type, UNION, CASE, and Related Constructs
array_agg, Aggregate Functions, Functions
array_append, Array Functions and Operators
array_cat, Array Functions and Operators
array_dims, Array Functions and Operators
array_fill, Array Functions and Operators
array_length, Array Functions and Operators
array_lower, Array Functions and Operators
array_ndims, Array Functions and Operators
array_nulls configuration parameter, Previous PostgreSQL Versions
array_position, Array Functions and Operators
array_positions, Array Functions and Operators
array_prepend, Array Functions and Operators
array_remove, Array Functions and Operators
array_replace, Array Functions and Operators
array_to_json, JSON Functions and Operators
array_to_string, Array Functions and Operators
array_to_tsvector, Text Search Functions and Operators
array_upper, Array Functions and Operators
ascii, String Functions and Operators
asin, Mathematical Functions and Operators
asind, Mathematical Functions and Operators
ASSERT
in PL/pgSQL, Checking Assertions
assertions
in PL/pgSQL, Checking Assertions
asynchronous commit, Asynchronous Commit
AT TIME ZONE, AT TIME ZONE
atan, Mathematical Functions and Operators
atan2, Mathematical Functions and Operators
atan2d, Mathematical Functions and Operators
atand, Mathematical Functions and Operators
authentication_timeout configuration parameter, Authentication
auth_delay, auth_delay
auth_delay.milliseconds configuration parameter, Configuration Parameters
auto-increment (see serial)
autocommit
bulk-loading data, Disable Autocommit
psql, Variables
autovacuum
configuration parameters, Automatic Vacuuming
general information, The Autovacuum Daemon
autovacuum configuration parameter, Automatic Vacuuming
autovacuum_analyze_scale_factor configuration parameter, Automatic Vacuuming
autovacuum_analyze_threshold configuration parameter, Automatic Vacuuming
autovacuum_freeze_max_age configuration parameter, Automatic Vacuuming
autovacuum_max_workers configuration parameter, Automatic Vacuuming
autovacuum_multixact_freeze_max_age configuration parameter, Automatic Vacuuming
autovacuum_naptime configuration parameter, Automatic Vacuuming
autovacuum_vacuum_cost_delay configuration parameter, Automatic Vacuuming
autovacuum_vacuum_cost_limit configuration parameter, Automatic Vacuuming
autovacuum_vacuum_scale_factor configuration parameter, Automatic Vacuuming
autovacuum_vacuum_threshold configuration parameter, Automatic Vacuuming
autovacuum_work_mem configuration parameter, Memory
auto_explain, auto_explain
auto_explain.log_analyze configuration parameter, Configuration Parameters
auto_explain.log_buffers configuration parameter, Configuration Parameters
auto_explain.log_format configuration parameter, Configuration Parameters
auto_explain.log_min_duration configuration parameter, Configuration Parameters
auto_explain.log_nested_statements configuration parameter, Configuration Parameters
auto_explain.log_timing configuration parameter, Configuration Parameters
auto_explain.log_triggers configuration parameter, Configuration Parameters
auto_explain.log_verbose configuration parameter, Configuration Parameters
auto_explain.sample_rate configuration parameter, Configuration Parameters
avals, hstore Operators and Functions
average, Aggregate Functions
avg, Aggregate Functions

B

B-tree (see index)
backend_flush_after configuration parameter, Asynchronous Behavior
Background workers, Background Worker Processes
backslash escapes, String Constants with C-style Escapes
backslash_quote configuration parameter, Previous PostgreSQL Versions
backup, Backup Control Functions, Backup and Restore
base type, The PostgreSQL Type System
BASE_BACKUP, Streaming Replication Protocol
BEGIN, BEGIN
BETWEEN, Comparison Functions and Operators
BETWEEN SYMMETRIC, Comparison Functions and Operators
BGWORKER_BACKEND_DATABASE_CONNECTION, Background Worker Processes
BGWORKER_SHMEM_ACCESS, Background Worker Processes
bgwriter_delay configuration parameter, Background Writer
bgwriter_flush_after configuration parameter, Background Writer
bgwriter_lru_maxpages configuration parameter, Background Writer
bgwriter_lru_multiplier configuration parameter, Background Writer
bigint, Numeric Constants, Integer Types
bigserial, Serial Types
binary data, Binary Data Types, Binary String Functions and Operators
functions, Binary String Functions and Operators
binary string
concatenation, Binary String Functions and Operators
length, Binary String Functions and Operators
bison, Requirements
bit string, Bit-string Constants, Bit String Types
constant, Bit-string Constants
data type, Bit String Types
bit strings, Bit String Functions and Operators
functions, Bit String Functions and Operators
bitmap scan, Combining Multiple Indexes, Planner Method Configuration
bit_and, Aggregate Functions
bit_length, String Functions and Operators
bit_or, Aggregate Functions
BLOB (see large object)
block_size configuration parameter, Preset Options
bloom, bloom
bonjour configuration parameter, Connection Settings
bonjour_name configuration parameter, Connection Settings
Boolean, Boolean Type
data type, Boolean Type
operators (see operators, logical)
bool_and, Aggregate Functions
bool_or, Aggregate Functions
booting
starting the server during, Starting the Database Server
box, Geometric Functions and Operators
box (data type), Boxes
BRIN (see index)
brin_desummarize_range, Index Maintenance Functions
brin_metapage_info, BRIN Functions
brin_page_items, BRIN Functions
brin_page_type, BRIN Functions
brin_revmap_data, BRIN Functions
brin_summarize_new_values, Index Maintenance Functions
brin_summarize_range, Index Maintenance Functions
broadcast, Network Address Functions and Operators
BSD Authentication, BSD Authentication
btree_gin, btree_gin
btree_gist, btree_gist
btrim, String Functions and Operators, Binary String Functions and Operators
bt_index_check, Functions
bt_index_parent_check, Functions
bt_metap, B-tree Functions
bt_page_items, B-tree Functions
bt_page_stats, B-tree Functions
bytea, Binary Data Types
bytea_output configuration parameter, Statement Behavior

C

C, libpq - C Library, ECPG - Embedded SQL in C
C++, Using C++ for Extensibility
CALL, CALL
canceling, Canceling Queries in Progress
SQL command, Canceling Queries in Progress
cardinality, Array Functions and Operators
CASCADE, Dependency Tracking
with DROP, Dependency Tracking
foreign key action, Foreign Keys
Cascading Replication, High Availability, Load Balancing, and Replication
CASE, Conditional Expressions, UNION, CASE, and Related Constructs
determination of result type, UNION, CASE, and Related Constructs
case sensitivity
of SQL commands, Identifiers and Key Words
cast, CREATE CAST
I/O conversion, CREATE CAST
cbrt, Mathematical Functions and Operators
ceil, Mathematical Functions and Operators
ceiling, Mathematical Functions and Operators
center, Geometric Functions and Operators
Certificate, Certificate Authentication
char, Character Types
character, Character Types
character set, Locale and Formatting, Preset Options, Character Set Support
character string, String Constants, Character Types
concatenation, String Functions and Operators
constant, String Constants
data types, Character Types
length, String Functions and Operators
character varying, Character Types
char_length, String Functions and Operators
check constraint, Check Constraints
CHECK OPTION, CREATE VIEW
checkpoint, WAL Configuration
CHECKPOINT, CHECKPOINT
checkpoint_completion_target configuration parameter, Checkpoints
checkpoint_flush_after configuration parameter, Checkpoints
checkpoint_timeout configuration parameter, Checkpoints
checkpoint_warning configuration parameter, Checkpoints
check_function_bodies configuration parameter, Statement Behavior
chr, String Functions and Operators
cid, Object Identifier Types
cidr, cidr
circle, Circles, Geometric Functions and Operators
citext, citext
client authentication, Client Authentication
timeout during, Authentication
client_encoding configuration parameter, Locale and Formatting
client_min_messages configuration parameter, Statement Behavior
clock_timestamp, Date/Time Functions and Operators
CLOSE, CLOSE
cluster
of databases (see database cluster)
CLUSTER, CLUSTER
clusterdb, clusterdb
clustering, High Availability, Load Balancing, and Replication
cluster_name configuration parameter, Process Title
cmax, System Columns
cmin, System Columns
COALESCE, COALESCE
COLLATE, Collation Expressions
collation, Collation Support
in PL/pgSQL, Collation of PL/pgSQL Variables
in SQL functions, SQL Functions with Collations
collation for, System Information Functions
column, Concepts, Table Basics
adding, Adding a Column
removing, Removing a Column
renaming, Renaming a Column
system column, System Columns
column data type
changing, Changing a Column's Data Type
column reference, Column References
col_description, System Information Functions
comment, Comments
about database objects, System Information Functions
in SQL, Comments
COMMENT, COMMENT
COMMIT, COMMIT
COMMIT PREPARED, COMMIT PREPARED
commit_delay configuration parameter, Settings
commit_siblings configuration parameter, Settings
common table expression (see WITH)
comparison, Comparison Functions and Operators, Subquery Expressions
composite type, Row and Array Comparisons
operators, Comparison Functions and Operators
row constructor, Row and Array Comparisons
subquery result row, Subquery Expressions
compiling, Building libpq Programs
libpq applications, Building libpq Programs
composite type, Composite Types, The PostgreSQL Type System
comparison, Row and Array Comparisons
constant, Constructing Composite Values
constructor, Row Constructors
computed field, Using Composite Types in Queries
concat, String Functions and Operators
concat_ws, String Functions and Operators
concurrency, Concurrency Control
conditional expression, Conditional Expressions
configuration
of recovery
of a standby server, Recovery Configuration
of the server, Server Configuration
of the server
functions, Configuration Settings Functions
configure, Installation Procedure
config_file configuration parameter, File Locations
conjunction, Logical Operators
connectby, Functions Provided, connectby
connection service file, The Connection Service File
conninfo, Connection Strings
constant, Constants
constraint, Constraints
adding, Adding a Constraint
check, Check Constraints
exclusion, Exclusion Constraints
foreign key, Foreign Keys
name, Check Constraints
NOT NULL, Not-Null Constraints
primary key, Primary Keys
removing, Removing a Constraint
unique, Unique Constraints
constraint exclusion, Partitioning and Constraint Exclusion, Other Planner Options
constraint_exclusion configuration parameter, Other Planner Options
container type, The PostgreSQL Type System
CONTINUE
in PL/pgSQL, CONTINUE
continuous archiving, Backup and Restore
in standby, Continuous archiving in standby
control file, Extension Files
convert, String Functions and Operators
convert_from, String Functions and Operators
convert_to, String Functions and Operators
COPY, Populating a Table With Rows, Functions Associated with the COPY Command, COPY
with libpq, Functions Associated with the COPY Command
corr, Aggregate Functions
correlation, Aggregate Functions
in the query planner, Extended Statistics
cos, Mathematical Functions and Operators
cosd, Mathematical Functions and Operators
cot, Mathematical Functions and Operators
cotd, Mathematical Functions and Operators
count, Aggregate Functions
covariance
population, Aggregate Functions
sample, Aggregate Functions
covar_pop, Aggregate Functions
covar_samp, Aggregate Functions
covering index, Index-Only Scans and Covering Indexes
cpu_index_tuple_cost configuration parameter, Planner Cost Constants
cpu_operator_cost configuration parameter, Planner Cost Constants
cpu_tuple_cost configuration parameter, Planner Cost Constants
CREATE ACCESS METHOD, CREATE ACCESS METHOD
CREATE AGGREGATE, CREATE AGGREGATE
CREATE CAST, CREATE CAST
CREATE COLLATION, CREATE COLLATION
CREATE CONVERSION, CREATE CONVERSION
CREATE DATABASE, Creating a Database, CREATE DATABASE
CREATE DOMAIN, CREATE DOMAIN
CREATE EVENT TRIGGER, CREATE EVENT TRIGGER
CREATE EXTENSION, CREATE EXTENSION
CREATE FOREIGN DATA WRAPPER, CREATE FOREIGN DATA WRAPPER
CREATE FOREIGN TABLE, CREATE FOREIGN TABLE
CREATE FUNCTION, CREATE FUNCTION
CREATE GROUP, CREATE GROUP
CREATE INDEX, CREATE INDEX
CREATE LANGUAGE, CREATE LANGUAGE
CREATE MATERIALIZED VIEW, CREATE MATERIALIZED VIEW
CREATE OPERATOR, CREATE OPERATOR
CREATE OPERATOR CLASS, CREATE OPERATOR CLASS
CREATE OPERATOR FAMILY, CREATE OPERATOR FAMILY
CREATE POLICY, CREATE POLICY
CREATE PROCEDURE, CREATE PROCEDURE
CREATE PUBLICATION, CREATE PUBLICATION
CREATE ROLE, Database Roles, CREATE ROLE
CREATE RULE, CREATE RULE
CREATE SCHEMA, CREATE SCHEMA
CREATE SEQUENCE, CREATE SEQUENCE
CREATE SERVER, CREATE SERVER
CREATE STATISTICS, CREATE STATISTICS
CREATE SUBSCRIPTION, CREATE SUBSCRIPTION
CREATE TABLE, Creating a New Table, CREATE TABLE
CREATE TABLE AS, CREATE TABLE AS
CREATE TABLESPACE, Tablespaces, CREATE TABLESPACE
CREATE TEXT SEARCH CONFIGURATION, CREATE TEXT SEARCH CONFIGURATION
CREATE TEXT SEARCH DICTIONARY, CREATE TEXT SEARCH DICTIONARY
CREATE TEXT SEARCH PARSER, CREATE TEXT SEARCH PARSER
CREATE TEXT SEARCH TEMPLATE, CREATE TEXT SEARCH TEMPLATE
CREATE TRANSFORM, CREATE TRANSFORM
CREATE TRIGGER, CREATE TRIGGER
CREATE TYPE, CREATE TYPE
CREATE USER, CREATE USER
CREATE USER MAPPING, CREATE USER MAPPING
CREATE VIEW, CREATE VIEW
createdb, Creating a Database, Creating a Database, createdb
createuser, Database Roles, createuser
CREATE_REPLICATION_SLOT, Streaming Replication Protocol
cross compilation, Installation Procedure
cross join, Joined Tables
crosstab, crosstab(text), crosstabN(text), crosstab(text, text)
crypt, crypt()
cstring, Pseudo-Types
ctid, System Columns
CTID, View Rules in Non-SELECT Statements
CUBE, GROUPING SETS, CUBE, and ROLLUP
cube (extension), cube
cume_dist, Window Functions
hypothetical, Aggregate Functions
current_catalog, System Information Functions
current_database, System Information Functions
current_date, Date/Time Functions and Operators
current_logfiles
and the log_destination configuration parameter, Where To Log
and the pg_current_logfile function, System Information Functions
current_query, System Information Functions
current_role, System Information Functions
current_schema, System Information Functions
current_schemas, System Information Functions
current_setting, Configuration Settings Functions
current_time, Date/Time Functions and Operators
current_timestamp, Date/Time Functions and Operators
current_user, System Information Functions
currval, Sequence Manipulation Functions
cursor, Cursors, CLOSE, DECLARE, EXPLAIN, FETCH, MOVE
CLOSE, CLOSE
DECLARE, DECLARE
FETCH, FETCH
in PL/pgSQL, Cursors
MOVE, MOVE
showing the query plan, EXPLAIN
cursor_tuple_fraction configuration parameter, Other Planner Options
custom scan provider, Writing A Custom Scan Provider
handler for, Writing A Custom Scan Provider
Cygwin, Cygwin
installation on, Cygwin

D

data area (see database cluster)
data partitioning, High Availability, Load Balancing, and Replication
data type, Data Types, Numeric Types, Enumerated Types, Domain Types, Type Conversion, The PostgreSQL Type System, The PostgreSQL Type System, The PostgreSQL Type System, Polymorphic Types, Base Types in C-Language Functions, User-defined Types
base, The PostgreSQL Type System
category, Overview
composite, The PostgreSQL Type System
constant, Constants of Other Types
container, The PostgreSQL Type System
conversion, Type Conversion
domain, Domain Types
enumerated (enum), Enumerated Types
internal organization, Base Types in C-Language Functions
numeric, Numeric Types
polymorphic, Polymorphic Types
type cast, Type Casts
user-defined, User-defined Types
database, Creating a Database, Managing Databases
creating, Creating a Database
privilege to create, Role Attributes
database activity, Monitoring Database Activity
monitoring, Monitoring Database Activity
database cluster, Concepts, Creating a Database Cluster
data_checksums configuration parameter, Preset Options
data_directory configuration parameter, File Locations
data_directory_mode configuration parameter, Preset Options
data_sync_retry configuration parameter, Error Handling
date, Date/Time Types, Dates
constants, Special Values
current, Current Date/Time
output format, Date/Time Output
(see also formatting)
DateStyle configuration parameter, Locale and Formatting
date_part, Date/Time Functions and Operators, EXTRACT, date_part
date_trunc, Date/Time Functions and Operators, date_trunc
dblink, dblink, dblink
dblink_build_sql_delete, dblink_build_sql_delete
dblink_build_sql_insert, dblink_build_sql_insert
dblink_build_sql_update, dblink_build_sql_update
dblink_cancel_query, dblink_cancel_query
dblink_close, dblink_close
dblink_connect, dblink_connect
dblink_connect_u, dblink_connect_u
dblink_disconnect, dblink_disconnect
dblink_error_message, dblink_error_message
dblink_exec, dblink_exec
dblink_fetch, dblink_fetch
dblink_get_connections, dblink_get_connections
dblink_get_notify, dblink_get_notify
dblink_get_pkey, dblink_get_pkey
dblink_get_result, dblink_get_result
dblink_is_busy, dblink_is_busy
dblink_open, dblink_open
dblink_send_query, dblink_send_query
db_user_namespace configuration parameter, Authentication
deadlock, Deadlocks
timeout during, Lock Management
deadlock_timeout configuration parameter, Lock Management
DEALLOCATE, DEALLOCATE
dearmor, armor(), dearmor()
debug_assertions configuration parameter, Preset Options
debug_deadlocks configuration parameter, Developer Options
debug_pretty_print configuration parameter, What To Log
debug_print_parse configuration parameter, What To Log
debug_print_plan configuration parameter, What To Log
debug_print_rewritten configuration parameter, What To Log
decimal (see numeric)
DECLARE, DECLARE
decode, String Functions and Operators, Binary String Functions and Operators
decode_bytea
in PL/Perl, Utility Functions in PL/Perl
decrypt, Raw Encryption Functions
decrypt_iv, Raw Encryption Functions
default value, Default Values
changing, Changing a Column's Default Value
default_statistics_target configuration parameter, Other Planner Options
default_tablespace configuration parameter, Statement Behavior
default_text_search_config configuration parameter, Locale and Formatting
default_transaction_deferrable configuration parameter, Statement Behavior
default_transaction_isolation configuration parameter, Statement Behavior
default_transaction_read_only configuration parameter, Statement Behavior
default_with_oids configuration parameter, Previous PostgreSQL Versions
deferrable transaction
setting, SET TRANSACTION
setting default, Statement Behavior
defined, hstore Operators and Functions
degrees, Mathematical Functions and Operators
delay, Delaying Execution
DELETE, Deletions, Deleting Data, Returning Data From Modified Rows, DELETE
RETURNING, Returning Data From Modified Rows
delete, hstore Operators and Functions
deleting, Deleting Data
dense_rank, Window Functions
hypothetical, Aggregate Functions
diameter, Geometric Functions and Operators
dict_int, dict_int
dict_xsyn, dict_xsyn
difference, Soundex
digest, digest()
dirty read, Transaction Isolation
DISCARD, DISCARD
disjunction, Logical Operators
disk drive, WAL Internals
disk space, Recovering Disk Space
disk usage, Determining Disk Usage
DISTINCT, Querying a Table, DISTINCT
div, Mathematical Functions and Operators
dmetaphone, Double Metaphone
dmetaphone_alt, Double Metaphone
DO, DO
document, What Is a Document?
text search, What Is a Document?
dollar quoting, Dollar-quoted String Constants
domain, Domain Types
double precision, Floating-Point Types
DROP ACCESS METHOD, DROP ACCESS METHOD
DROP AGGREGATE, DROP AGGREGATE
DROP CAST, DROP CAST
DROP COLLATION, DROP COLLATION
DROP CONVERSION, DROP CONVERSION
DROP DATABASE, Destroying a Database, DROP DATABASE
DROP DOMAIN, DROP DOMAIN
DROP EVENT TRIGGER, DROP EVENT TRIGGER
DROP EXTENSION, DROP EXTENSION
DROP FOREIGN DATA WRAPPER, DROP FOREIGN DATA WRAPPER
DROP FOREIGN TABLE, DROP FOREIGN TABLE
DROP FUNCTION, DROP FUNCTION
DROP GROUP, DROP GROUP
DROP INDEX, DROP INDEX
DROP LANGUAGE, DROP LANGUAGE
DROP MATERIALIZED VIEW, DROP MATERIALIZED VIEW
DROP OPERATOR, DROP OPERATOR
DROP OPERATOR CLASS, DROP OPERATOR CLASS
DROP OPERATOR FAMILY, DROP OPERATOR FAMILY
DROP OWNED, DROP OWNED
DROP POLICY, DROP POLICY
DROP PROCEDURE, DROP PROCEDURE
DROP PUBLICATION, DROP PUBLICATION
DROP ROLE, Database Roles, DROP ROLE
DROP ROUTINE, DROP ROUTINE
DROP RULE, DROP RULE
DROP SCHEMA, DROP SCHEMA
DROP SEQUENCE, DROP SEQUENCE
DROP SERVER, DROP SERVER
DROP STATISTICS, DROP STATISTICS
DROP SUBSCRIPTION, DROP SUBSCRIPTION
DROP TABLE, Creating a New Table, DROP TABLE
DROP TABLESPACE, DROP TABLESPACE
DROP TEXT SEARCH CONFIGURATION, DROP TEXT SEARCH CONFIGURATION
DROP TEXT SEARCH DICTIONARY, DROP TEXT SEARCH DICTIONARY
DROP TEXT SEARCH PARSER, DROP TEXT SEARCH PARSER
DROP TEXT SEARCH TEMPLATE, DROP TEXT SEARCH TEMPLATE
DROP TRANSFORM, DROP TRANSFORM
DROP TRIGGER, DROP TRIGGER
DROP TYPE, DROP TYPE
DROP USER, DROP USER
DROP USER MAPPING, DROP USER MAPPING
DROP VIEW, DROP VIEW
dropdb, Destroying a Database, dropdb
dropuser, Database Roles, dropuser
DROP_REPLICATION_SLOT, Streaming Replication Protocol
DTD, Creating XML Values
DTrace, Installation Procedure, Dynamic Tracing
duplicate, Querying a Table
duplicates, DISTINCT
dynamic loading, Other Defaults, Dynamic Loading
dynamic_library_path, Dynamic Loading
dynamic_library_path configuration parameter, Other Defaults
dynamic_shared_memory_type configuration parameter, Memory

E

each, hstore Operators and Functions
earth, Cube-based Earth Distances
earthdistance, earthdistance
earth_box, Cube-based Earth Distances
earth_distance, Cube-based Earth Distances
ECPG, ECPG - Embedded SQL in C
ecpg, ecpg
effective_cache_size configuration parameter, Planner Cost Constants
effective_io_concurrency configuration parameter, Asynchronous Behavior
elog, Reporting Errors Within the Server
in PL/Perl, Utility Functions in PL/Perl
in PL/Python, Utility Functions
in PL/Tcl, Database Access from PL/Tcl
embedded SQL, ECPG - Embedded SQL in C
in C, ECPG - Embedded SQL in C
enabled role, enabled_roles
enable_bitmapscan configuration parameter, Planner Method Configuration
enable_gathermerge configuration parameter, Planner Method Configuration
enable_hashagg configuration parameter, Planner Method Configuration
enable_hashjoin configuration parameter, Planner Method Configuration
enable_indexonlyscan configuration parameter, Planner Method Configuration
enable_indexscan configuration parameter, Planner Method Configuration
enable_material configuration parameter, Planner Method Configuration
enable_mergejoin configuration parameter, Planner Method Configuration
enable_nestloop configuration parameter, Planner Method Configuration
enable_parallel_append configuration parameter, Planner Method Configuration
enable_parallel_hash configuration parameter, Planner Method Configuration
enable_partitionwise_aggregate configuration parameter, Planner Method Configuration
enable_partitionwise_join configuration parameter, Planner Method Configuration
enable_partition_pruning configuration parameter, Planner Method Configuration
enable_seqscan configuration parameter, Planner Method Configuration
enable_sort configuration parameter, Planner Method Configuration
enable_tidscan configuration parameter, Planner Method Configuration
encode, String Functions and Operators, Binary String Functions and Operators
encode_array_constructor
in PL/Perl, Utility Functions in PL/Perl
encode_array_literal
in PL/Perl, Utility Functions in PL/Perl
encode_bytea
in PL/Perl, Utility Functions in PL/Perl
encode_typed_literal
in PL/Perl, Utility Functions in PL/Perl
encrypt, Raw Encryption Functions
encryption, Encryption Options, pgcrypto
for specific columns, pgcrypto
encrypt_iv, Raw Encryption Functions
END, END
enumerated types, Enumerated Types
enum_first, Enum Support Functions
enum_last, Enum Support Functions
enum_range, Enum Support Functions
environment variable, Environment Variables
ephemeral named relation
registering with SPI, SPI_register_relation, SPI_register_trigger_data
unregistering from SPI, SPI_unregister_relation
ereport, Reporting Errors Within the Server
error codes, PostgreSQL Error Codes
libpq, Main Functions
list of, PostgreSQL Error Codes
error message, Connection Status Functions
escape string syntax, String Constants with C-style Escapes
escape_string_warning configuration parameter, Previous PostgreSQL Versions
escaping strings, Escaping Strings for Inclusion in SQL Commands
in libpq, Escaping Strings for Inclusion in SQL Commands
event log, Registering Event Log on Windows
event log, Registering Event Log on Windows
event trigger, Event Triggers, Writing Event Trigger Functions in C
in C, Writing Event Trigger Functions in C
in PL/Tcl, Event Trigger Functions in PL/Tcl
event_source configuration parameter, Where To Log
event_trigger, Pseudo-Types
every, Aggregate Functions
EXCEPT, Combining Queries
exceptions
in PL/pgSQL, Trapping Errors
in PL/Tcl, Error Handling in PL/Tcl
exclusion constraint, Exclusion Constraints
EXECUTE, EXECUTE
exist, hstore Operators and Functions
EXISTS, Subquery Expressions
EXIT
in PL/pgSQL, EXIT
exit_on_error configuration parameter, Error Handling
exp, Mathematical Functions and Operators
EXPLAIN, Using EXPLAIN, EXPLAIN
expression, Value Expressions
order of evaluation, Expression Evaluation Rules
syntax, Value Expressions
extending SQL, Extending SQL
extension, Packaging Related Objects into an Extension
externally maintained, Extensions
external_pid_file configuration parameter, File Locations
extract, Date/Time Functions and Operators, EXTRACT, date_part
extra_float_digits configuration parameter, Locale and Formatting

F

failover, High Availability, Load Balancing, and Replication
false, Boolean Type
family, Network Address Functions and Operators
fast path, The Fast-Path Interface
fdw_handler, Pseudo-Types
FETCH, FETCH
field
computed, Using Composite Types in Queries
field selection, Field Selection
file system mount points, Use of Secondary File Systems
file_fdw, file_fdw
FILTER, Aggregate Expressions
first_value, Window Functions
flex, Requirements
float4 (see real)
float8 (see double precision)
floating point, Floating-Point Types
floating-point
display, Locale and Formatting
floor, Mathematical Functions and Operators
force_parallel_mode configuration parameter, Other Planner Options
foreign data, Foreign Data
foreign data wrapper, Writing A Foreign Data Wrapper
handler for, Writing A Foreign Data Wrapper
foreign key, Foreign Keys, Foreign Keys
foreign table, Foreign Data
format, String Functions and Operators, format
use in PL/pgSQL, Executing Dynamic Commands
formatting, Data Type Formatting Functions
format_type, System Information Functions
Free Space Map, Free Space Map
FreeBSD
IPC configuration, Shared Memory and Semaphores
shared library, Compiling and Linking Dynamically-loaded Functions
start script, Starting the Database Server
from_collapse_limit configuration parameter, Other Planner Options
FSM (see Free Space Map)
fsm_page_contents, General Functions
fsync configuration parameter, Settings
full text search, Text Search Types, Text Search Types, Full Text Search
data types, Text Search Types
functions and operators, Text Search Types
full_page_writes configuration parameter, Settings
function, Table Functions, Functions and Operators, Functions, Polymorphic Types, User-defined Functions, Query Language (SQL) Functions, Internal Functions, C-Language Functions
default values for arguments, SQL Functions with Default Values for Arguments
in the FROM clause, Table Functions
internal, Internal Functions
invocation, Function Calls
mixed notation, Using Mixed Notation
named argument, Arguments for SQL Functions
named notation, Using Named Notation
output parameter, SQL Functions with Output Parameters
polymorphic, Polymorphic Types
positional notation, Using Positional Notation
RETURNS TABLE, SQL Functions Returning TABLE
type resolution in an invocation, Functions
user-defined, User-defined Functions, Query Language (SQL) Functions, C-Language Functions
in C, C-Language Functions
in SQL, Query Language (SQL) Functions
variadic, SQL Functions with Variable Numbers of Arguments
with SETOF, SQL Functions Returning Sets
functional dependency, The GROUP BY and HAVING Clauses
fuzzystrmatch, fuzzystrmatch

G

gc_to_sec, Cube-based Earth Distances
generate_series, Set Returning Functions
generate_subscripts, Set Returning Functions
genetic query optimization, Genetic Query Optimizer
gen_random_bytes, Random-Data Functions
gen_random_uuid, Random-Data Functions
gen_salt, gen_salt()
GEQO (see genetic query optimization)
geqo configuration parameter, Genetic Query Optimizer
geqo_effort configuration parameter, Genetic Query Optimizer
geqo_generations configuration parameter, Genetic Query Optimizer
geqo_pool_size configuration parameter, Genetic Query Optimizer
geqo_seed configuration parameter, Genetic Query Optimizer
geqo_selection_bias configuration parameter, Genetic Query Optimizer
geqo_threshold configuration parameter, Genetic Query Optimizer
get_bit, Binary String Functions and Operators
get_byte, Binary String Functions and Operators
get_current_ts_config, Text Search Functions and Operators
get_raw_page, General Functions
GIN (see index)
gin_clean_pending_list, Index Maintenance Functions
gin_fuzzy_search_limit configuration parameter, Other Defaults
gin_leafpage_items, GIN Functions
gin_metapage_info, GIN Functions
gin_page_opaque_info, GIN Functions
gin_pending_list_limit configuration parameter, Statement Behavior
GiST (see index)
global data, Global Data in PL/Tcl
in PL/Python, Sharing Data
in PL/Tcl, Global Data in PL/Tcl
GRANT, Privileges, GRANT
GREATEST, GREATEST and LEAST, UNION, CASE, and Related Constructs
determination of result type, UNION, CASE, and Related Constructs
Gregorian calendar, History of Units
GROUP BY, Aggregate Functions, The GROUP BY and HAVING Clauses
grouping, The GROUP BY and HAVING Clauses
GROUPING, Aggregate Functions
GROUPING SETS, GROUPING SETS, CUBE, and ROLLUP
GSSAPI, GSSAPI Authentication
GUID, UUID Type

H

hash (see index)
hash_bitmap_info, Hash Functions
hash_metapage_info, Hash Functions
hash_page_items, Hash Functions
hash_page_stats, Hash Functions
hash_page_type, Hash Functions
has_any_column_privilege, System Information Functions
has_column_privilege, System Information Functions
has_database_privilege, System Information Functions
has_foreign_data_wrapper_privilege, System Information Functions
has_function_privilege, System Information Functions
has_language_privilege, System Information Functions
has_schema_privilege, System Information Functions
has_sequence_privilege, System Information Functions
has_server_privilege, System Information Functions
has_tablespace_privilege, System Information Functions
has_table_privilege, System Information Functions
has_type_privilege, System Information Functions
HAVING, Aggregate Functions, The GROUP BY and HAVING Clauses
hba_file configuration parameter, File Locations
heap_page_items, Heap Functions
heap_page_item_attrs, Heap Functions
height, Geometric Functions and Operators
hierarchical database, Concepts
high availability, High Availability, Load Balancing, and Replication
history, A Brief History of PostgreSQL
of PostgreSQL, A Brief History of PostgreSQL
hmac, hmac()
host, Network Address Functions and Operators
host name, Parameter Key Words
hostmask, Network Address Functions and Operators
Hot Standby, High Availability, Load Balancing, and Replication
hot_standby configuration parameter, Standby Servers
hot_standby_feedback configuration parameter, Standby Servers
HP-UX, HP-UX
installation on, HP-UX
IPC configuration, Shared Memory and Semaphores
shared library, Compiling and Linking Dynamically-loaded Functions
hstore, hstore, hstore Operators and Functions
hstore_to_array, hstore Operators and Functions
hstore_to_json, hstore Operators and Functions
hstore_to_jsonb, hstore Operators and Functions
hstore_to_jsonb_loose, hstore Operators and Functions
hstore_to_json_loose, hstore Operators and Functions
hstore_to_matrix, hstore Operators and Functions
huge_pages configuration parameter, Memory
hypothetical-set aggregate
built-in, Aggregate Functions

I

icount, intarray Functions and Operators
ICU, Installation Procedure, Managing Collations, Parameters
ident, Ident Authentication
identifier, Identifiers and Key Words
length, Identifiers and Key Words
syntax of, Identifiers and Key Words
IDENTIFY_SYSTEM, Streaming Replication Protocol
ident_file configuration parameter, File Locations
idle_in_transaction_session_timeout configuration parameter, Statement Behavior
idx, intarray Functions and Operators
IFNULL, COALESCE
ignore_checksum_failure configuration parameter, Developer Options
ignore_system_indexes configuration parameter, Developer Options
IMMUTABLE, Function Volatility Categories
IMPORT FOREIGN SCHEMA, IMPORT FOREIGN SCHEMA
IN, Subquery Expressions, Row and Array Comparisons
INCLUDE
in index definitions, Index-Only Scans and Covering Indexes
include
in configuration file, Managing Configuration File Contents
include_dir
in configuration file, Managing Configuration File Contents
include_if_exists
in configuration file, Managing Configuration File Contents
index, Indexes, Multicolumn Indexes, Indexes and ORDER BY, Combining Multiple Indexes, Unique Indexes, Indexes on Expressions, Partial Indexes, Index-Only Scans and Covering Indexes, Index-Only Scans and Covering Indexes, Examining Index Usage, GIN and GiST Index Types, GIN and GiST Index Types, Locking and Indexes, Interfacing Extensions To Indexes, Building Indexes Concurrently, Operators and Functions
and ORDER BY, Indexes and ORDER BY
B-tree, Index Types
B-Tree, B-Tree Indexes
BRIN, Index Types, BRIN Indexes
building concurrently, Building Indexes Concurrently
combining multiple indexes, Combining Multiple Indexes
covering, Index-Only Scans and Covering Indexes
examining usage, Examining Index Usage
on expressions, Indexes on Expressions
for user-defined data type, Interfacing Extensions To Indexes
GIN, Index Types, GIN and GiST Index Types, GIN Indexes
text search, GIN and GiST Index Types
GiST, Index Types, GIN and GiST Index Types, GiST Indexes
text search, GIN and GiST Index Types
hash, Index Types
index-only scans, Index-Only Scans and Covering Indexes
locks, Locking and Indexes
multicolumn, Multicolumn Indexes
partial, Partial Indexes
SP-GiST, Index Types, SP-GiST Indexes
unique, Unique Indexes
index scan, Planner Method Configuration
index-only scan, Index-Only Scans and Covering Indexes
index_am_handler, Pseudo-Types
inet (data type), inet
inet_client_addr, System Information Functions
inet_client_port, System Information Functions
inet_merge, Network Address Functions and Operators
inet_same_family, Network Address Functions and Operators
inet_server_addr, System Information Functions
inet_server_port, System Information Functions
information schema, The Information Schema
inheritance, Inheritance, Inheritance
initcap, String Functions and Operators
initdb, Creating a Database Cluster, initdb
Initialization Fork, The Initialization Fork
input function, User-defined Types
INSERT, Populating a Table With Rows, Inserting Data, Returning Data From Modified Rows, INSERT
RETURNING, Returning Data From Modified Rows
inserting, Inserting Data
installation, Installation from Source Code
on Windows, Installation from Source Code on Windows
instr function, Appendix
int2 (see smallint)
int4 (see integer)
int8 (see bigint)
intagg, intagg
intarray, intarray
integer, Numeric Constants, Integer Types
integer_datetimes configuration parameter, Preset Options
interfaces
externally maintained, Client Interfaces
internal, Pseudo-Types
INTERSECT, Combining Queries
interval, Date/Time Types, Interval Input
output format, Interval Output
(see also formatting)
IntervalStyle configuration parameter, Locale and Formatting
intset, intarray Functions and Operators
int_array_aggregate, Functions
int_array_enum, Functions
inverse distribution, Aggregate Functions
in_range support functions, B-Tree Support Functions
IS DISTINCT FROM, Comparison Functions and Operators, Row and Array Comparisons
IS DOCUMENT, IS DOCUMENT
IS FALSE, Comparison Functions and Operators
IS NOT DISTINCT FROM, Comparison Functions and Operators, Row and Array Comparisons
IS NOT DOCUMENT, IS NOT DOCUMENT
IS NOT FALSE, Comparison Functions and Operators
IS NOT NULL, Comparison Functions and Operators
IS NOT TRUE, Comparison Functions and Operators
IS NOT UNKNOWN, Comparison Functions and Operators
IS NULL, Comparison Functions and Operators, Platform and Client Compatibility
IS TRUE, Comparison Functions and Operators
IS UNKNOWN, Comparison Functions and Operators
isclosed, Geometric Functions and Operators
isempty, Range Functions and Operators
isfinite, Date/Time Functions and Operators
isn, isn
ISNULL, Comparison Functions and Operators
isn_weak, Functions and Operators
isopen, Geometric Functions and Operators
is_array_ref
in PL/Perl, Utility Functions in PL/Perl
is_valid, Functions and Operators

J

JIT, Just-in-Time Compilation (JIT)
jit configuration parameter, Other Planner Options
jit_above_cost configuration parameter, Planner Cost Constants
jit_debugging_support configuration parameter, Developer Options
jit_dump_bitcode configuration parameter, Developer Options
jit_expressions configuration parameter, Developer Options
jit_inline_above_cost configuration parameter, Planner Cost Constants
jit_optimize_above_cost configuration parameter, Planner Cost Constants
jit_profiling_support configuration parameter, Developer Options
jit_provider configuration parameter, Shared Library Preloading
jit_tuple_deforming configuration parameter, Developer Options
join, Joins Between Tables, Joined Tables, Controlling the Planner with Explicit JOIN Clauses
controlling the order, Controlling the Planner with Explicit JOIN Clauses
cross, Joined Tables
left, Joined Tables
natural, Joined Tables
outer, Joins Between Tables, Joined Tables
right, Joined Tables
self, Joins Between Tables
join_collapse_limit configuration parameter, Other Planner Options
JSON, JSON Types, JSON Functions and Operators
functions and operators, JSON Functions and Operators
JSONB, JSON Types
jsonb
containment, jsonb Containment and Existence
existence, jsonb Containment and Existence
indexes on, jsonb Indexing
jsonb_agg, Aggregate Functions
jsonb_array_elements, JSON Functions and Operators
jsonb_array_elements_text, JSON Functions and Operators
jsonb_array_length, JSON Functions and Operators
jsonb_build_array, JSON Functions and Operators
jsonb_build_object, JSON Functions and Operators
jsonb_each, JSON Functions and Operators
jsonb_each_text, JSON Functions and Operators
jsonb_extract_path, JSON Functions and Operators
jsonb_extract_path_text, JSON Functions and Operators
jsonb_insert, JSON Functions and Operators
jsonb_object, JSON Functions and Operators
jsonb_object_agg, Aggregate Functions
jsonb_object_keys, JSON Functions and Operators
jsonb_populate_record, JSON Functions and Operators
jsonb_populate_recordset, JSON Functions and Operators
jsonb_pretty, JSON Functions and Operators
jsonb_set, JSON Functions and Operators
jsonb_strip_nulls, JSON Functions and Operators
jsonb_to_record, JSON Functions and Operators
jsonb_to_recordset, JSON Functions and Operators
jsonb_typeof, JSON Functions and Operators
json_agg, Aggregate Functions
json_array_elements, JSON Functions and Operators
json_array_elements_text, JSON Functions and Operators
json_array_length, JSON Functions and Operators
json_build_array, JSON Functions and Operators
json_build_object, JSON Functions and Operators
json_each, JSON Functions and Operators
json_each_text, JSON Functions and Operators
json_extract_path, JSON Functions and Operators
json_extract_path_text, JSON Functions and Operators
json_object, JSON Functions and Operators
json_object_agg, Aggregate Functions
json_object_keys, JSON Functions and Operators
json_populate_record, JSON Functions and Operators
json_populate_recordset, JSON Functions and Operators
json_strip_nulls, JSON Functions and Operators
json_to_record, JSON Functions and Operators
json_to_recordset, JSON Functions and Operators
json_typeof, JSON Functions and Operators
Julian date, History of Units
Just-In-Time compilation (see JIT)
justify_days, Date/Time Functions and Operators
justify_hours, Date/Time Functions and Operators
justify_interval, Date/Time Functions and Operators

K

key word, Identifiers and Key Words, SQL Key Words
list of, SQL Key Words
syntax of, Identifiers and Key Words
krb_caseins_users configuration parameter, Authentication
krb_server_keyfile configuration parameter, Authentication

L

label (see alias)
lag, Window Functions
language_handler, Pseudo-Types
large object, Large Objects
lastval, Sequence Manipulation Functions
last_value, Window Functions
LATERAL, LATERAL Subqueries
in the FROM clause, LATERAL Subqueries
latitude, Cube-based Earth Distances
lca, Operators and Functions
lc_collate configuration parameter, Preset Options
lc_ctype configuration parameter, Preset Options
lc_messages configuration parameter, Locale and Formatting
lc_monetary configuration parameter, Locale and Formatting
lc_numeric configuration parameter, Locale and Formatting
lc_time configuration parameter, Locale and Formatting
LDAP, Installation Procedure, LDAP Authentication
LDAP connection parameter lookup, LDAP Lookup of Connection Parameters
ldconfig, Shared Libraries
lead, Window Functions
LEAST, GREATEST and LEAST, UNION, CASE, and Related Constructs
determination of result type, UNION, CASE, and Related Constructs
left, String Functions and Operators
left join, Joined Tables
length, String Functions and Operators, Binary String Functions and Operators, Geometric Functions and Operators, Text Search Functions and Operators
of a binary string (see binary strings, length)
of a character string (see character string, length)
length(tsvector), Manipulating Documents
levenshtein, Levenshtein
levenshtein_less_equal, Levenshtein
lex, Requirements
libedit, Requirements
libperl, Requirements
libpq, libpq - C Library, Retrieving Query Results Row-By-Row
single-row mode, Retrieving Query Results Row-By-Row
libpq-fe.h, libpq - C Library, Connection Status Functions
libpq-int.h, Connection Status Functions
libpython, Requirements
library finalization function, Dynamic Loading
library initialization function, Dynamic Loading
LIKE, LIKE
and locales, Behavior
LIMIT, LIMIT and OFFSET
line, Lines
line segment, Line Segments
linear regression, Aggregate Functions
Linux
IPC configuration, Shared Memory and Semaphores
shared library, Compiling and Linking Dynamically-loaded Functions
start script, Starting the Database Server
LISTEN, LISTEN
listen_addresses configuration parameter, Connection Settings
llvm-config, Installation Procedure
ll_to_earth, Cube-based Earth Distances
ln, Mathematical Functions and Operators
lo, lo
LOAD, LOAD
load balancing, High Availability, Load Balancing, and Replication
locale, Creating a Database Cluster, Locale Support
localtime, Date/Time Functions and Operators
localtimestamp, Date/Time Functions and Operators
local_preload_libraries configuration parameter, Shared Library Preloading
lock, Explicit Locking, Advisory Locks, Viewing Locks
advisory, Advisory Locks
monitoring, Viewing Locks
LOCK, Table-level Locks, LOCK
lock_timeout configuration parameter, Statement Behavior
log, Mathematical Functions and Operators
log shipping, High Availability, Load Balancing, and Replication
Logging
current_logfiles file and the pg_current_logfile + function, System Information Functions
pg_current_logfile function, System Information Functions
logging_collector configuration parameter, Where To Log
Logical Decoding, Logical Decoding, Logical Decoding
login privilege, Role Attributes
log_autovacuum_min_duration configuration parameter, Automatic Vacuuming
log_btree_build_stats configuration parameter, Developer Options
log_checkpoints configuration parameter, What To Log
log_connections configuration parameter, What To Log
log_destination configuration parameter, Where To Log
log_directory configuration parameter, Where To Log
log_disconnections configuration parameter, What To Log
log_duration configuration parameter, What To Log
log_error_verbosity configuration parameter, What To Log
log_executor_stats configuration parameter, Statistics Monitoring
log_filename configuration parameter, Where To Log
log_file_mode configuration parameter, Where To Log
log_hostname configuration parameter, What To Log
log_line_prefix configuration parameter, What To Log
log_lock_waits configuration parameter, What To Log
log_min_duration_statement configuration parameter, When To Log
log_min_error_statement configuration parameter, When To Log
log_min_messages configuration parameter, When To Log
log_parser_stats configuration parameter, Statistics Monitoring
log_planner_stats configuration parameter, Statistics Monitoring
log_replication_commands configuration parameter, What To Log
log_rotation_age configuration parameter, Where To Log
log_rotation_size configuration parameter, Where To Log
log_statement configuration parameter, What To Log
log_statement_stats configuration parameter, Statistics Monitoring
log_temp_files configuration parameter, What To Log
log_timezone configuration parameter, What To Log
log_truncate_on_rotation configuration parameter, Where To Log
longitude, Cube-based Earth Distances
looks_like_number
in PL/Perl, Utility Functions in PL/Perl
loop, Simple Loops
in PL/pgSQL, Simple Loops
lower, String Functions and Operators, Range Functions and Operators
and locales, Behavior
lower_inc, Range Functions and Operators
lower_inf, Range Functions and Operators
lo_close, Closing a Large Object Descriptor
lo_compat_privileges configuration parameter, Previous PostgreSQL Versions
lo_creat, Creating a Large Object, Server-side Functions
lo_create, Creating a Large Object
lo_export, Exporting a Large Object, Server-side Functions
lo_from_bytea, Server-side Functions
lo_get, Server-side Functions
lo_import, Importing a Large Object, Server-side Functions
lo_import_with_oid, Importing a Large Object
lo_lseek, Seeking in a Large Object
lo_lseek64, Seeking in a Large Object
lo_open, Opening an Existing Large Object
lo_put, Server-side Functions
lo_read, Reading Data from a Large Object
lo_tell, Obtaining the Seek Position of a Large Object
lo_tell64, Obtaining the Seek Position of a Large Object
lo_truncate, Truncating a Large Object
lo_truncate64, Truncating a Large Object
lo_unlink, Removing a Large Object, Server-side Functions
lo_write, Writing Data to a Large Object
lpad, String Functions and Operators
lseg, Line Segments, Geometric Functions and Operators
LSN, WAL Internals
ltree, ltree
ltree2text, Operators and Functions
ltrim, String Functions and Operators

M

MAC address (see macaddr)
MAC address (EUI-64 format) (see macaddr)
macaddr (data type), macaddr
macaddr8 (data type), macaddr8
macaddr8_set7bit, Network Address Functions and Operators
macOS, macOS
installation on, macOS
IPC configuration, Shared Memory and Semaphores
shared library, Compiling and Linking Dynamically-loaded Functions
magic block, Dynamic Loading
maintenance, Routine Database Maintenance Tasks
maintenance_work_mem configuration parameter, Memory
make, Requirements
make_date, Date/Time Functions and Operators
make_interval, Date/Time Functions and Operators
make_time, Date/Time Functions and Operators
make_timestamp, Date/Time Functions and Operators
make_timestamptz, Date/Time Functions and Operators
make_valid, Functions and Operators
MANPATH, Environment Variables
masklen, Network Address Functions and Operators
materialized view, Materialized Views
implementation through rules, Materialized Views
materialized views, pg_matviews
max, Aggregate Functions
max_connections configuration parameter, Connection Settings
max_files_per_process configuration parameter, Kernel Resource Usage
max_function_args configuration parameter, Preset Options
max_identifier_length configuration parameter, Preset Options
max_index_keys configuration parameter, Preset Options
max_locks_per_transaction configuration parameter, Lock Management
max_logical_replication_workers configuration parameter, Subscribers
max_parallel_maintenance_workers configuration parameter, Asynchronous Behavior
max_parallel_workers configuration parameter, Asynchronous Behavior
max_parallel_workers_per_gather configuration parameter, Asynchronous Behavior
max_pred_locks_per_page configuration parameter, Lock Management
max_pred_locks_per_relation configuration parameter, Lock Management
max_pred_locks_per_transaction configuration parameter, Lock Management
max_prepared_transactions configuration parameter, Memory
max_replication_slots configuration parameter, Sending Servers
max_stack_depth configuration parameter, Memory
max_standby_archive_delay configuration parameter, Standby Servers
max_standby_streaming_delay configuration parameter, Standby Servers
max_sync_workers_per_subscription configuration parameter, Subscribers
max_wal_senders configuration parameter, Sending Servers
max_wal_size configuration parameter, Checkpoints
max_worker_processes configuration parameter, Asynchronous Behavior
md5, String Functions and Operators, Binary String Functions and Operators
MD5, Password Authentication
median, Aggregate Expressions
(see also percentile)
memory context
in SPI, Memory Management
memory overcommit, Linux Memory Overcommit
metaphone, Metaphone
min, Aggregate Functions
MinGW, MinGW/Native Windows
installation on, MinGW/Native Windows
min_parallel_index_scan_size configuration parameter, Planner Cost Constants
min_parallel_table_scan_size configuration parameter, Planner Cost Constants
min_wal_size configuration parameter, Checkpoints
mod, Mathematical Functions and Operators
mode
statistical, Aggregate Functions
monitoring, Monitoring Database Activity
database activity, Monitoring Database Activity
MOVE, MOVE
moving-aggregate mode, Moving-Aggregate Mode
Multiversion Concurrency Control, Introduction
MultiXactId, Multixacts and Wraparound
MVCC, Introduction

N

name, Identifiers and Key Words
qualified, Creating a Schema
syntax of, Identifiers and Key Words
unqualified, The Schema Search Path
NaN (see not a number)
natural join, Joined Tables
negation, Logical Operators
NetBSD
IPC configuration, Shared Memory and Semaphores
shared library, Compiling and Linking Dynamically-loaded Functions
start script, Starting the Database Server
netmask, Network Address Functions and Operators
network, Network Address Types, Network Address Functions and Operators
data types, Network Address Types
Network Attached Storage (NAS) (see Network File Systems)
Network File Systems, Use of Network File Systems
nextval, Sequence Manipulation Functions
NFS (see Network File Systems)
nlevel, Operators and Functions
non-durable, Non-Durable Settings
nonblocking connection, Database Connection Control Functions, Asynchronous Command Processing
nonrepeatable read, Transaction Isolation
normal_rand, normal_rand
NOT (operator), Logical Operators
not a number
double precision, Floating-Point Types
numeric (data type), Arbitrary Precision Numbers
NOT IN, Subquery Expressions, Row and Array Comparisons
not-null constraint, Not-Null Constraints
notation, Calling Functions
functions, Calling Functions
notice processing, Notice Processing
in libpq, Notice Processing
notice processor, Notice Processing
notice receiver, Notice Processing
NOTIFY, Asynchronous Notification, NOTIFY
in libpq, Asynchronous Notification
NOTNULL, Comparison Functions and Operators
now, Date/Time Functions and Operators
npoints, Geometric Functions and Operators
nth_value, Window Functions
ntile, Window Functions
null value
with check constraints, Check Constraints
comparing, Comparison Functions and Operators
default value, Default Values
in DISTINCT, DISTINCT
in libpq, Retrieving Query Result Information
in PL/Perl, PL/Perl Functions and Arguments
in PL/Python, Null, None
with unique constraints, Unique Constraints
NULLIF, NULLIF
number
constant, Numeric Constants
numeric, Numeric Constants
numeric (data type), Arbitrary Precision Numbers
numnode, Text Search Functions and Operators, Manipulating Queries
num_nonnulls, Comparison Functions and Operators
num_nulls, Comparison Functions and Operators
NVL, COALESCE

O

object identifier, Object Identifier Types
data type, Object Identifier Types
object-oriented database, Concepts
obj_description, System Information Functions
octet_length, String Functions and Operators, Binary String Functions and Operators
OFFSET, LIMIT and OFFSET
OID
column, System Columns
in libpq, Retrieving Other Result Information
oid, Object Identifier Types
oid2name, oid2name
old_snapshot_threshold configuration parameter, Asynchronous Behavior
ON CONFLICT, INSERT
ONLY, The FROM Clause
OOM, Linux Memory Overcommit
opaque, Pseudo-Types
OpenBSD
IPC configuration, Shared Memory and Semaphores
shared library, Compiling and Linking Dynamically-loaded Functions
start script, Starting the Database Server
OpenSSL, Installation Procedure
(see also SSL)
operator, Operators, Operator Precedence, Functions and Operators, Logical Operators, Operators, User-defined Operators
invocation, Operator Invocations
logical, Logical Operators
precedence, Operator Precedence
syntax, Operators
type resolution in an invocation, Operators
user-defined, User-defined Operators
operator class, Operator Classes and Operator Families, Index Methods and Operator Classes
operator family, Operator Classes and Operator Families, Operator Classes and Operator Families
operator_precedence_warning configuration parameter, Previous PostgreSQL Versions
OR (operator), Logical Operators
Oracle, Porting from Oracle PL/SQL
porting from PL/SQL to PL/pgSQL, Porting from Oracle PL/SQL
ORDER BY, Querying a Table, Sorting Rows
and locales, Behavior
ordered-set aggregate, Aggregate Expressions
built-in, Aggregate Functions
ordering operator, System Dependencies on Operator Classes
ordinality, Set Returning Functions
outer join, Joined Tables
output function, User-defined Types
OVER clause, Window Function Calls
overcommit, Linux Memory Overcommit
OVERLAPS, Date/Time Functions and Operators
overlay, String Functions and Operators, Binary String Functions and Operators
overloading, Function Overloading
functions, Function Overloading
operators, User-defined Operators
owner, Privileges

P

pageinspect, pageinspect
page_checksum, General Functions
page_header, General Functions
palloc, Writing Code
PAM, Installation Procedure, PAM Authentication
parallel query, Parallel Query
parallel_leader_participation configuration parameter - , Other Planner Options
parallel_setup_cost configuration parameter, Planner Cost Constants
parallel_tuple_cost configuration parameter, Planner Cost Constants
parameter
syntax, Positional Parameters
parenthesis, Value Expressions
parse_ident, String Functions and Operators
partition pruning, Partition Pruning
partitioned table, Table Partitioning
partitioning, Table Partitioning
password, Role Attributes
authentication, Password Authentication
of the superuser, Creating a Database Cluster
password file, The Password File
passwordcheck, passwordcheck
password_encryption configuration parameter, Authentication
path, Geometric Functions and Operators
for schemas, Statement Behavior
PATH, Environment Variables
path (data type), Paths
pattern matching, Pattern Matching
patterns
in psql and pg_dump, Patterns
pclose, Geometric Functions and Operators
peer, Peer Authentication
percentile
continuous, Aggregate Functions
discrete, Aggregate Functions
percent_rank, Window Functions
hypothetical, Aggregate Functions
performance, Performance Tips
perl, Requirements
Perl, PL/Perl - Perl Procedural Language
permission (see privilege)
pfree, Writing Code
PGAPPNAME, Environment Variables
pgbench, pgbench
PGcancel, Canceling Queries in Progress
PGCLIENTENCODING, Environment Variables
PGconn, Database Connection Control Functions
PGCONNECT_TIMEOUT, Environment Variables
pgcrypto, pgcrypto
PGDATA, Creating a Database Cluster
PGDATABASE, Environment Variables
PGDATESTYLE, Environment Variables
PGEventProc, Event Callback Procedure
PGGEQO, Environment Variables
PGGSSLIB, Environment Variables
PGHOST, Environment Variables
PGHOSTADDR, Environment Variables
PGKRBSRVNAME, Environment Variables
PGLOCALEDIR, Environment Variables
PGOPTIONS, Environment Variables
PGPASSFILE, Environment Variables
PGPASSWORD, Environment Variables
PGPORT, Environment Variables
pgp_armor_headers, pgp_armor_headers
pgp_key_id, pgp_key_id()
pgp_pub_decrypt, pgp_pub_decrypt()
pgp_pub_decrypt_bytea, pgp_pub_decrypt()
pgp_pub_encrypt, pgp_pub_encrypt()
pgp_pub_encrypt_bytea, pgp_pub_encrypt()
pgp_sym_decrypt, pgp_sym_decrypt()
pgp_sym_decrypt_bytea, pgp_sym_decrypt()
pgp_sym_encrypt, pgp_sym_encrypt()
pgp_sym_encrypt_bytea, pgp_sym_encrypt()
PGREQUIREPEER, Environment Variables
PGREQUIRESSL, Environment Variables
PGresult, Main Functions
pgrowlocks, pgrowlocks, Overview
PGSERVICE, Environment Variables
PGSERVICEFILE, Environment Variables
PGSSLCERT, Environment Variables
PGSSLCOMPRESSION, Environment Variables
PGSSLCRL, Environment Variables
PGSSLKEY, Environment Variables
PGSSLMODE, Environment Variables
PGSSLROOTCERT, Environment Variables
pgstatginindex, Functions
pgstathashindex, Functions
pgstatindex, Functions
pgstattuple, pgstattuple, Functions
pgstattuple_approx, Functions
PGSYSCONFDIR, Environment Variables
PGTARGETSESSIONATTRS, Environment Variables
PGTZ, Environment Variables
PGUSER, Environment Variables
pgxs, Extension Building Infrastructure
pg_advisory_lock, Advisory Lock Functions
pg_advisory_lock_shared, Advisory Lock Functions
pg_advisory_unlock, Advisory Lock Functions
pg_advisory_unlock_all, Advisory Lock Functions
pg_advisory_unlock_shared, Advisory Lock Functions
pg_advisory_xact_lock, Advisory Lock Functions
pg_advisory_xact_lock_shared, Advisory Lock Functions
pg_aggregate, pg_aggregate
pg_am, pg_am
pg_amop, pg_amop
pg_amproc, pg_amproc
pg_archivecleanup, pg_archivecleanup
pg_attrdef, pg_attrdef
pg_attribute, pg_attribute
pg_authid, pg_authid
pg_auth_members, pg_auth_members
pg_available_extensions, pg_available_extensions
pg_available_extension_versions, pg_available_extension_versions
pg_backend_pid, System Information Functions
pg_backup_start_time, Backup Control Functions
pg_basebackup, pg_basebackup
pg_blocking_pids, System Information Functions
pg_buffercache, pg_buffercache
pg_buffercache_pages, pg_buffercache
pg_cancel_backend, Server Signaling Functions
pg_cast, pg_cast
pg_class, pg_class
pg_client_encoding, String Functions and Operators
pg_collation, pg_collation
pg_collation_actual_version, Database Object Management Functions
pg_collation_is_visible, System Information Functions
pg_column_size, Database Object Management Functions
pg_config, pg_config, pg_config
with - ecpg, Processing Embedded SQL Programs
with libpq, Building libpq Programs
with user-defined C functions, Writing Code
pg_conf_load_time, System Information Functions
pg_constraint, pg_constraint
pg_controldata, pg_controldata
pg_control_checkpoint, System Information Functions
pg_control_init, System Information Functions
pg_control_recovery, System Information Functions
pg_control_system, System Information Functions
pg_conversion, pg_conversion
pg_conversion_is_visible, System Information Functions
pg_create_logical_replication_slot, Replication Functions
pg_create_physical_replication_slot, Replication Functions
pg_create_restore_point, Backup Control Functions
pg_ctl, Creating a Database Cluster, Starting the Database Server, pg_ctl
pg_current_logfile, System Information Functions
pg_current_wal_flush_lsn, Backup Control Functions
pg_current_wal_insert_lsn, Backup Control Functions
pg_current_wal_lsn, Backup Control Functions
pg_cursors, pg_cursors
pg_database, Template Databases, pg_database
pg_database_size, Database Object Management Functions
pg_db_role_setting, pg_db_role_setting
pg_ddl_command, Pseudo-Types
pg_default_acl, pg_default_acl
pg_depend, pg_depend
pg_describe_object, System Information Functions
pg_description, pg_description
pg_drop_replication_slot, Replication Functions
pg_dump, pg_dump
pg_dumpall, pg_dumpall
use during upgrade, Upgrading Data via pg_dumpall
pg_enum, pg_enum
pg_event_trigger, pg_event_trigger
pg_event_trigger_ddl_commands, Capturing Changes at Command End
pg_event_trigger_dropped_objects, Processing Objects Dropped by a DDL Command
pg_event_trigger_table_rewrite_oid, Handling a Table Rewrite Event
pg_event_trigger_table_rewrite_reason, Handling a Table Rewrite Event
pg_export_snapshot, Snapshot Synchronization Functions
pg_extension, pg_extension
pg_extension_config_dump, Extension Configuration Tables
pg_filenode_relation, Database Object Management Functions
pg_file_rename, adminpack
pg_file_settings, pg_file_settings
pg_file_unlink, adminpack
pg_file_write, adminpack
pg_foreign_data_wrapper, pg_foreign_data_wrapper
pg_foreign_server, pg_foreign_server
pg_foreign_table, pg_foreign_table
pg_freespace, Functions
pg_freespacemap, pg_freespacemap
pg_function_is_visible, System Information Functions
pg_get_constraintdef, System Information Functions
pg_get_expr, System Information Functions
pg_get_functiondef, System Information Functions
pg_get_function_arguments, System Information Functions
pg_get_function_identity_arguments, System Information Functions
pg_get_function_result, System Information Functions
pg_get_indexdef, System Information Functions
pg_get_keywords, System Information Functions
pg_get_object_address, System Information Functions
pg_get_ruledef, System Information Functions
pg_get_serial_sequence, System Information Functions
pg_get_statisticsobjdef, System Information Functions
pg_get_triggerdef, System Information Functions
pg_get_userbyid, System Information Functions
pg_get_viewdef, System Information Functions
pg_group, pg_group
pg_has_role, System Information Functions
pg_hba.conf, The pg_hba.conf File
pg_hba_file_rules, pg_hba_file_rules
pg_ident.conf, User Name Maps
pg_identify_object, System Information Functions
pg_identify_object_as_address, System Information Functions
pg_import_system_collations, Database Object Management Functions
pg_index, pg_index
pg_indexam_has_property, System Information Functions
pg_indexes, pg_indexes
pg_indexes_size, Database Object Management Functions
pg_index_column_has_property, System Information Functions
pg_index_has_property, System Information Functions
pg_inherits, pg_inherits
pg_init_privs, pg_init_privs
pg_isready, pg_isready
pg_is_in_backup, Backup Control Functions
pg_is_in_recovery, Recovery Control Functions
pg_is_other_temp_schema, System Information Functions
pg_is_wal_replay_paused, Recovery Control Functions
pg_language, pg_language
pg_largeobject, pg_largeobject
pg_largeobject_metadata, pg_largeobject_metadata
pg_last_committed_xact, System Information Functions
pg_last_wal_receive_lsn, Recovery Control Functions
pg_last_wal_replay_lsn, Recovery Control Functions
pg_last_xact_replay_timestamp, Recovery Control Functions
pg_listening_channels, System Information Functions
pg_locks, pg_locks
pg_logdir_ls, adminpack
pg_logical_emit_message, Replication Functions
pg_logical_slot_get_binary_changes, Replication Functions
pg_logical_slot_get_changes, Replication Functions
pg_logical_slot_peek_binary_changes, Replication Functions
pg_logical_slot_peek_changes, Replication Functions
pg_lsn, pg_lsn Type
pg_ls_dir, Generic File Access Functions
pg_ls_logdir, Generic File Access Functions
pg_ls_waldir, Generic File Access Functions
pg_matviews, pg_matviews
pg_my_temp_schema, System Information Functions
pg_namespace, pg_namespace
pg_notification_queue_usage, System Information Functions
pg_notify, pg_notify
pg_opclass, pg_opclass
pg_opclass_is_visible, System Information Functions
pg_operator, pg_operator
pg_operator_is_visible, System Information Functions
pg_opfamily, pg_opfamily
pg_opfamily_is_visible, System Information Functions
pg_options_to_table, System Information Functions
pg_partitioned_table, pg_partitioned_table
pg_pltemplate, pg_pltemplate
pg_policies, pg_policies
pg_policy, pg_policy
pg_postmaster_start_time, System Information Functions
pg_prepared_statements, pg_prepared_statements
pg_prepared_xacts, pg_prepared_xacts
pg_prewarm, pg_prewarm
pg_prewarm.autoprewarm configuration parameter, Configuration Parameters
pg_prewarm.autoprewarm_interval configuration parameter, Configuration Parameters
pg_proc, pg_proc
pg_publication, pg_publication
pg_publication_rel, pg_publication_rel
pg_publication_tables, pg_publication_tables
pg_range, pg_range
pg_read_binary_file, Generic File Access Functions
pg_read_file, Generic File Access Functions
pg_receivewal, pg_receivewal
pg_recvlogical, pg_recvlogical
pg_relation_filenode, Database Object Management Functions
pg_relation_filepath, Database Object Management Functions
pg_relation_size, Database Object Management Functions
pg_reload_conf, Server Signaling Functions
pg_relpages, Functions
pg_replication_origin, pg_replication_origin
pg_replication_origin_advance, Replication Functions
pg_replication_origin_create, Replication Functions
pg_replication_origin_drop, Replication Functions
pg_replication_origin_oid, Replication Functions
pg_replication_origin_progress, Replication Functions
pg_replication_origin_session_is_setup, Replication Functions
pg_replication_origin_session_progress, Replication Functions
pg_replication_origin_session_reset, Replication Functions
pg_replication_origin_session_setup, Replication Functions
pg_replication_origin_status, pg_replication_origin_status
pg_replication_origin_xact_reset, Replication Functions
pg_replication_origin_xact_setup, Replication Functions
pg_replication_slots, pg_replication_slots
pg_replication_slot_advance, Replication Functions
pg_resetwal, pg_resetwal
pg_restore, pg_restore
pg_rewind, pg_rewind
pg_rewrite, pg_rewrite
pg_roles, pg_roles
pg_rotate_logfile, Server Signaling Functions
pg_rules, pg_rules
pg_safe_snapshot_blocking_pids, System Information Functions
pg_seclabel, pg_seclabel
pg_seclabels, pg_seclabels
pg_sequence, pg_sequence
pg_sequences, pg_sequences
pg_service.conf, The Connection Service File
pg_settings, pg_settings
pg_shadow, pg_shadow
pg_shdepend, pg_shdepend
pg_shdescription, pg_shdescription
pg_shseclabel, pg_shseclabel
pg_size_bytes, Database Object Management Functions
pg_size_pretty, Database Object Management Functions
pg_sleep, Delaying Execution
pg_sleep_for, Delaying Execution
pg_sleep_until, Delaying Execution
pg_standby, pg_standby
pg_start_backup, Backup Control Functions
pg_statio_all_indexes, Viewing Statistics
pg_statio_all_sequences, Viewing Statistics
pg_statio_all_tables, Viewing Statistics
pg_statio_sys_indexes, Viewing Statistics
pg_statio_sys_sequences, Viewing Statistics
pg_statio_sys_tables, Viewing Statistics
pg_statio_user_indexes, Viewing Statistics
pg_statio_user_sequences, Viewing Statistics
pg_statio_user_tables, Viewing Statistics
pg_statistic, Single-Column Statistics, pg_statistic
pg_statistics_obj_is_visible, System Information Functions
pg_statistic_ext, Extended Statistics, pg_statistic_ext
pg_stats, Single-Column Statistics, pg_stats
pg_stat_activity, Viewing Statistics
pg_stat_all_indexes, Viewing Statistics
pg_stat_all_tables, Viewing Statistics
pg_stat_archiver, Viewing Statistics
pg_stat_bgwriter, Viewing Statistics
pg_stat_clear_snapshot, Statistics Functions
pg_stat_database, Viewing Statistics
pg_stat_database_conflicts, Viewing Statistics
pg_stat_file, Generic File Access Functions
pg_stat_get_activity, Statistics Functions
pg_stat_get_snapshot_timestamp, Statistics Functions
pg_stat_progress_vacuum, Viewing Statistics
pg_stat_replication, Viewing Statistics
pg_stat_reset, Statistics Functions
pg_stat_reset_shared, Statistics Functions
pg_stat_reset_single_function_counters, Statistics Functions
pg_stat_reset_single_table_counters, Statistics Functions
pg_stat_ssl, Viewing Statistics
pg_stat_statements, pg_stat_statements
function, Functions
pg_stat_statements_reset, Functions
pg_stat_subscription, Viewing Statistics
pg_stat_sys_indexes, Viewing Statistics
pg_stat_sys_tables, Viewing Statistics
pg_stat_user_functions, Viewing Statistics
pg_stat_user_indexes, Viewing Statistics
pg_stat_user_tables, Viewing Statistics
pg_stat_wal_receiver, Viewing Statistics
pg_stat_xact_all_tables, Viewing Statistics
pg_stat_xact_sys_tables, Viewing Statistics
pg_stat_xact_user_functions, Viewing Statistics
pg_stat_xact_user_tables, Viewing Statistics
pg_stop_backup, Backup Control Functions
pg_subscription, pg_subscription
pg_subscription_rel, pg_subscription_rel
pg_switch_wal, Backup Control Functions
pg_tables, pg_tables
pg_tablespace, pg_tablespace
pg_tablespace_databases, System Information Functions
pg_tablespace_location, System Information Functions
pg_tablespace_size, Database Object Management Functions
pg_table_is_visible, System Information Functions
pg_table_size, Database Object Management Functions
pg_temp, Statement Behavior
securing functions, Writing SECURITY DEFINER Functions Safely
pg_terminate_backend, Server Signaling Functions
pg_test_fsync, pg_test_fsync
pg_test_timing, pg_test_timing
pg_timezone_abbrevs, pg_timezone_abbrevs
pg_timezone_names, pg_timezone_names
pg_total_relation_size, Database Object Management Functions
pg_transform, pg_transform
pg_trgm, pg_trgm
pg_trgm.similarity_threshold configuration parameter, GUC Parameters
+ , Other Planner Options
parallel_setup_cost configuration parameter, Planner Cost Constants
parallel_tuple_cost configuration parameter, Planner Cost Constants
parameter
syntax, Positional Parameters
parenthesis, Value Expressions
parse_ident, String Functions and Operators
partition pruning, Partition Pruning
partitioned table, Table Partitioning
partitioning, Table Partitioning
password, Role Attributes
authentication, Password Authentication
of the superuser, Creating a Database Cluster
password file, The Password File
passwordcheck, passwordcheck
password_encryption configuration parameter, Authentication
path, Geometric Functions and Operators
for schemas, Statement Behavior
PATH, Environment Variables
path (data type), Paths
pattern matching, Pattern Matching
patterns
in psql and pg_dump, Patterns
pclose, Geometric Functions and Operators
peer, Peer Authentication
percentile
continuous, Aggregate Functions
discrete, Aggregate Functions
percent_rank, Window Functions
hypothetical, Aggregate Functions
performance, Performance Tips
perl, Requirements
Perl, PL/Perl - Perl Procedural Language
permission (see privilege)
pfree, Writing Code
PGAPPNAME, Environment Variables
pgbench, pgbench
PGcancel, Canceling Queries in Progress
PGCLIENTENCODING, Environment Variables
PGconn, Database Connection Control Functions
PGCONNECT_TIMEOUT, Environment Variables
pgcrypto, pgcrypto
PGDATA, Creating a Database Cluster
PGDATABASE, Environment Variables
PGDATESTYLE, Environment Variables
PGEventProc, Event Callback Procedure
PGGEQO, Environment Variables
PGGSSLIB, Environment Variables
PGHOST, Environment Variables
PGHOSTADDR, Environment Variables
PGKRBSRVNAME, Environment Variables
PGLOCALEDIR, Environment Variables
PGOPTIONS, Environment Variables
PGPASSFILE, Environment Variables
PGPASSWORD, Environment Variables
PGPORT, Environment Variables
pgp_armor_headers, pgp_armor_headers
pgp_key_id, pgp_key_id()
pgp_pub_decrypt, pgp_pub_decrypt()
pgp_pub_decrypt_bytea, pgp_pub_decrypt()
pgp_pub_encrypt, pgp_pub_encrypt()
pgp_pub_encrypt_bytea, pgp_pub_encrypt()
pgp_sym_decrypt, pgp_sym_decrypt()
pgp_sym_decrypt_bytea, pgp_sym_decrypt()
pgp_sym_encrypt, pgp_sym_encrypt()
pgp_sym_encrypt_bytea, pgp_sym_encrypt()
PGREQUIREPEER, Environment Variables
PGREQUIRESSL, Environment Variables
PGresult, Main Functions
pgrowlocks, pgrowlocks, Overview
PGSERVICE, Environment Variables
PGSERVICEFILE, Environment Variables
PGSSLCERT, Environment Variables
PGSSLCOMPRESSION, Environment Variables
PGSSLCRL, Environment Variables
PGSSLKEY, Environment Variables
PGSSLMODE, Environment Variables
PGSSLROOTCERT, Environment Variables
pgstatginindex, Functions
pgstathashindex, Functions
pgstatindex, Functions
pgstattuple, pgstattuple, Functions
pgstattuple_approx, Functions
PGSYSCONFDIR, Environment Variables
PGTARGETSESSIONATTRS, Environment Variables
PGTZ, Environment Variables
PGUSER, Environment Variables
pgxs, Extension Building Infrastructure
pg_advisory_lock, Advisory Lock Functions
pg_advisory_lock_shared, Advisory Lock Functions
pg_advisory_unlock, Advisory Lock Functions
pg_advisory_unlock_all, Advisory Lock Functions
pg_advisory_unlock_shared, Advisory Lock Functions
pg_advisory_xact_lock, Advisory Lock Functions
pg_advisory_xact_lock_shared, Advisory Lock Functions
pg_aggregate, pg_aggregate
pg_am, pg_am
pg_amop, pg_amop
pg_amproc, pg_amproc
pg_archivecleanup, pg_archivecleanup
pg_attrdef, pg_attrdef
pg_attribute, pg_attribute
pg_authid, pg_authid
pg_auth_members, pg_auth_members
pg_available_extensions, pg_available_extensions
pg_available_extension_versions, pg_available_extension_versions
pg_backend_pid, System Information Functions
pg_backup_start_time, Backup Control Functions
pg_basebackup, pg_basebackup
pg_blocking_pids, System Information Functions
pg_buffercache, pg_buffercache
pg_buffercache_pages, pg_buffercache
pg_cancel_backend, Server Signaling Functions
pg_cast, pg_cast
pg_class, pg_class
pg_client_encoding, String Functions and Operators
pg_collation, pg_collation
pg_collation_actual_version, Database Object Management Functions
pg_collation_is_visible, System Information Functions
pg_column_size, Database Object Management Functions
pg_config, pg_config, pg_config
with + ecpg, Processing Embedded SQL Programs
with libpq, Building libpq Programs
with user-defined C functions, Writing Code
pg_conf_load_time, System Information Functions
pg_constraint, pg_constraint
pg_controldata, pg_controldata
pg_control_checkpoint, System Information Functions
pg_control_init, System Information Functions
pg_control_recovery, System Information Functions
pg_control_system, System Information Functions
pg_conversion, pg_conversion
pg_conversion_is_visible, System Information Functions
pg_create_logical_replication_slot, Replication Functions
pg_create_physical_replication_slot, Replication Functions
pg_create_restore_point, Backup Control Functions
pg_ctl, Creating a Database Cluster, Starting the Database Server, pg_ctl
pg_current_logfile, System Information Functions
pg_current_wal_flush_lsn, Backup Control Functions
pg_current_wal_insert_lsn, Backup Control Functions
pg_current_wal_lsn, Backup Control Functions
pg_cursors, pg_cursors
pg_database, Template Databases, pg_database
pg_database_size, Database Object Management Functions
pg_db_role_setting, pg_db_role_setting
pg_ddl_command, Pseudo-Types
pg_default_acl, pg_default_acl
pg_depend, pg_depend
pg_describe_object, System Information Functions
pg_description, pg_description
pg_drop_replication_slot, Replication Functions
pg_dump, pg_dump
pg_dumpall, pg_dumpall
use during upgrade, Upgrading Data via pg_dumpall
pg_enum, pg_enum
pg_event_trigger, pg_event_trigger
pg_event_trigger_ddl_commands, Capturing Changes at Command End
pg_event_trigger_dropped_objects, Processing Objects Dropped by a DDL Command
pg_event_trigger_table_rewrite_oid, Handling a Table Rewrite Event
pg_event_trigger_table_rewrite_reason, Handling a Table Rewrite Event
pg_export_snapshot, Snapshot Synchronization Functions
pg_extension, pg_extension
pg_extension_config_dump, Extension Configuration Tables
pg_filenode_relation, Database Object Management Functions
pg_file_rename, adminpack
pg_file_settings, pg_file_settings
pg_file_unlink, adminpack
pg_file_write, adminpack
pg_foreign_data_wrapper, pg_foreign_data_wrapper
pg_foreign_server, pg_foreign_server
pg_foreign_table, pg_foreign_table
pg_freespace, Functions
pg_freespacemap, pg_freespacemap
pg_function_is_visible, System Information Functions
pg_get_constraintdef, System Information Functions
pg_get_expr, System Information Functions
pg_get_functiondef, System Information Functions
pg_get_function_arguments, System Information Functions
pg_get_function_identity_arguments, System Information Functions
pg_get_function_result, System Information Functions
pg_get_indexdef, System Information Functions
pg_get_keywords, System Information Functions
pg_get_object_address, System Information Functions
pg_get_ruledef, System Information Functions
pg_get_serial_sequence, System Information Functions
pg_get_statisticsobjdef, System Information Functions
pg_get_triggerdef, System Information Functions
pg_get_userbyid, System Information Functions
pg_get_viewdef, System Information Functions
pg_group, pg_group
pg_has_role, System Information Functions
pg_hba.conf, The pg_hba.conf File
pg_hba_file_rules, pg_hba_file_rules
pg_ident.conf, User Name Maps
pg_identify_object, System Information Functions
pg_identify_object_as_address, System Information Functions
pg_import_system_collations, Database Object Management Functions
pg_index, pg_index
pg_indexam_has_property, System Information Functions
pg_indexes, pg_indexes
pg_indexes_size, Database Object Management Functions
pg_index_column_has_property, System Information Functions
pg_index_has_property, System Information Functions
pg_inherits, pg_inherits
pg_init_privs, pg_init_privs
pg_isready, pg_isready
pg_is_in_backup, Backup Control Functions
pg_is_in_recovery, Recovery Control Functions
pg_is_other_temp_schema, System Information Functions
pg_is_wal_replay_paused, Recovery Control Functions
pg_language, pg_language
pg_largeobject, pg_largeobject
pg_largeobject_metadata, pg_largeobject_metadata
pg_last_committed_xact, System Information Functions
pg_last_wal_receive_lsn, Recovery Control Functions
pg_last_wal_replay_lsn, Recovery Control Functions
pg_last_xact_replay_timestamp, Recovery Control Functions
pg_listening_channels, System Information Functions
pg_locks, pg_locks
pg_logdir_ls, adminpack
pg_logical_emit_message, Replication Functions
pg_logical_slot_get_binary_changes, Replication Functions
pg_logical_slot_get_changes, Replication Functions
pg_logical_slot_peek_binary_changes, Replication Functions
pg_logical_slot_peek_changes, Replication Functions
pg_lsn, pg_lsn Type
pg_ls_dir, Generic File Access Functions
pg_ls_logdir, Generic File Access Functions
pg_ls_waldir, Generic File Access Functions
pg_matviews, pg_matviews
pg_my_temp_schema, System Information Functions
pg_namespace, pg_namespace
pg_notification_queue_usage, System Information Functions
pg_notify, pg_notify
pg_opclass, pg_opclass
pg_opclass_is_visible, System Information Functions
pg_operator, pg_operator
pg_operator_is_visible, System Information Functions
pg_opfamily, pg_opfamily
pg_opfamily_is_visible, System Information Functions
pg_options_to_table, System Information Functions
pg_partitioned_table, pg_partitioned_table
pg_pltemplate, pg_pltemplate
pg_policies, pg_policies
pg_policy, pg_policy
pg_postmaster_start_time, System Information Functions
pg_prepared_statements, pg_prepared_statements
pg_prepared_xacts, pg_prepared_xacts
pg_prewarm, pg_prewarm
pg_prewarm.autoprewarm configuration parameter, Configuration Parameters
pg_prewarm.autoprewarm_interval configuration parameter, Configuration Parameters
pg_proc, pg_proc
pg_publication, pg_publication
pg_publication_rel, pg_publication_rel
pg_publication_tables, pg_publication_tables
pg_range, pg_range
pg_read_binary_file, Generic File Access Functions
pg_read_file, Generic File Access Functions
pg_receivewal, pg_receivewal
pg_recvlogical, pg_recvlogical
pg_relation_filenode, Database Object Management Functions
pg_relation_filepath, Database Object Management Functions
pg_relation_size, Database Object Management Functions
pg_reload_conf, Server Signaling Functions
pg_relpages, Functions
pg_replication_origin, pg_replication_origin
pg_replication_origin_advance, Replication Functions
pg_replication_origin_create, Replication Functions
pg_replication_origin_drop, Replication Functions
pg_replication_origin_oid, Replication Functions
pg_replication_origin_progress, Replication Functions
pg_replication_origin_session_is_setup, Replication Functions
pg_replication_origin_session_progress, Replication Functions
pg_replication_origin_session_reset, Replication Functions
pg_replication_origin_session_setup, Replication Functions
pg_replication_origin_status, pg_replication_origin_status
pg_replication_origin_xact_reset, Replication Functions
pg_replication_origin_xact_setup, Replication Functions
pg_replication_slots, pg_replication_slots
pg_replication_slot_advance, Replication Functions
pg_resetwal, pg_resetwal
pg_restore, pg_restore
pg_rewind, pg_rewind
pg_rewrite, pg_rewrite
pg_roles, pg_roles
pg_rotate_logfile, Server Signaling Functions
pg_rules, pg_rules
pg_safe_snapshot_blocking_pids, System Information Functions
pg_seclabel, pg_seclabel
pg_seclabels, pg_seclabels
pg_sequence, pg_sequence
pg_sequences, pg_sequences
pg_service.conf, The Connection Service File
pg_settings, pg_settings
pg_shadow, pg_shadow
pg_shdepend, pg_shdepend
pg_shdescription, pg_shdescription
pg_shseclabel, pg_shseclabel
pg_size_bytes, Database Object Management Functions
pg_size_pretty, Database Object Management Functions
pg_sleep, Delaying Execution
pg_sleep_for, Delaying Execution
pg_sleep_until, Delaying Execution
pg_standby, pg_standby
pg_start_backup, Backup Control Functions
pg_statio_all_indexes, Viewing Statistics
pg_statio_all_sequences, Viewing Statistics
pg_statio_all_tables, Viewing Statistics
pg_statio_sys_indexes, Viewing Statistics
pg_statio_sys_sequences, Viewing Statistics
pg_statio_sys_tables, Viewing Statistics
pg_statio_user_indexes, Viewing Statistics
pg_statio_user_sequences, Viewing Statistics
pg_statio_user_tables, Viewing Statistics
pg_statistic, Single-Column Statistics, pg_statistic
pg_statistics_obj_is_visible, System Information Functions
pg_statistic_ext, Extended Statistics, pg_statistic_ext
pg_stats, Single-Column Statistics, pg_stats
pg_stat_activity, Viewing Statistics
pg_stat_all_indexes, Viewing Statistics
pg_stat_all_tables, Viewing Statistics
pg_stat_archiver, Viewing Statistics
pg_stat_bgwriter, Viewing Statistics
pg_stat_clear_snapshot, Statistics Functions
pg_stat_database, Viewing Statistics
pg_stat_database_conflicts, Viewing Statistics
pg_stat_file, Generic File Access Functions
pg_stat_get_activity, Statistics Functions
pg_stat_get_snapshot_timestamp, Statistics Functions
pg_stat_progress_vacuum, Viewing Statistics
pg_stat_replication, Viewing Statistics
pg_stat_reset, Statistics Functions
pg_stat_reset_shared, Statistics Functions
pg_stat_reset_single_function_counters, Statistics Functions
pg_stat_reset_single_table_counters, Statistics Functions
pg_stat_ssl, Viewing Statistics
pg_stat_statements, pg_stat_statements
function, Functions
pg_stat_statements_reset, Functions
pg_stat_subscription, Viewing Statistics
pg_stat_sys_indexes, Viewing Statistics
pg_stat_sys_tables, Viewing Statistics
pg_stat_user_functions, Viewing Statistics
pg_stat_user_indexes, Viewing Statistics
pg_stat_user_tables, Viewing Statistics
pg_stat_wal_receiver, Viewing Statistics
pg_stat_xact_all_tables, Viewing Statistics
pg_stat_xact_sys_tables, Viewing Statistics
pg_stat_xact_user_functions, Viewing Statistics
pg_stat_xact_user_tables, Viewing Statistics
pg_stop_backup, Backup Control Functions
pg_subscription, pg_subscription
pg_subscription_rel, pg_subscription_rel
pg_switch_wal, Backup Control Functions
pg_tables, pg_tables
pg_tablespace, pg_tablespace
pg_tablespace_databases, System Information Functions
pg_tablespace_location, System Information Functions
pg_tablespace_size, Database Object Management Functions
pg_table_is_visible, System Information Functions
pg_table_size, Database Object Management Functions
pg_temp, Statement Behavior
securing functions, Writing SECURITY DEFINER Functions Safely
pg_terminate_backend, Server Signaling Functions
pg_test_fsync, pg_test_fsync
pg_test_timing, pg_test_timing
pg_timezone_abbrevs, pg_timezone_abbrevs
pg_timezone_names, pg_timezone_names
pg_total_relation_size, Database Object Management Functions
pg_transform, pg_transform
pg_trgm, pg_trgm
pg_trgm.similarity_threshold configuration parameter, GUC Parameters
pg_trgm.strict_word_similarity_threshold configuration parameter - , GUC Parameters
+ , GUC Parameters
pg_trgm.word_similarity_threshold configuration parameter - , GUC Parameters
pg_trigger, pg_trigger
pg_try_advisory_lock, Advisory Lock Functions
pg_try_advisory_lock_shared, Advisory Lock Functions
pg_try_advisory_xact_lock, Advisory Lock Functions
pg_try_advisory_xact_lock_shared, Advisory Lock Functions
pg_ts_config, pg_ts_config
pg_ts_config_is_visible, System Information Functions
pg_ts_config_map, pg_ts_config_map
pg_ts_dict, pg_ts_dict
pg_ts_dict_is_visible, System Information Functions
pg_ts_parser, pg_ts_parser
pg_ts_parser_is_visible, System Information Functions
pg_ts_template, pg_ts_template
pg_ts_template_is_visible, System Information Functions
pg_type, pg_type
pg_typeof, System Information Functions
pg_type_is_visible, System Information Functions
pg_upgrade, pg_upgrade
pg_user, pg_user
pg_user_mapping, pg_user_mapping
pg_user_mappings, pg_user_mappings
pg_verify_checksums, pg_verify_checksums
pg_views, pg_views
pg_visibility, pg_visibility
pg_waldump, pg_waldump
pg_walfile_name, Backup Control Functions
pg_walfile_name_offset, Backup Control Functions
pg_wal_lsn_diff, Backup Control Functions
pg_wal_replay_pause, Recovery Control Functions
pg_wal_replay_resume, Recovery Control Functions
pg_xact_commit_timestamp, System Information Functions
phantom read, Transaction Isolation
phraseto_tsquery, Text Search Functions and Operators, Parsing Queries
pi, Mathematical Functions and Operators
PIC, Compiling and Linking Dynamically-loaded Functions
PID
determining PID of server process
in libpq, Connection Status Functions
PITR, Backup and Restore
PITR standby, High Availability, Load Balancing, and Replication
pkg-config, Installation Procedure
with + , GUC Parameters
pg_trigger, pg_trigger
pg_try_advisory_lock, Advisory Lock Functions
pg_try_advisory_lock_shared, Advisory Lock Functions
pg_try_advisory_xact_lock, Advisory Lock Functions
pg_try_advisory_xact_lock_shared, Advisory Lock Functions
pg_ts_config, pg_ts_config
pg_ts_config_is_visible, System Information Functions
pg_ts_config_map, pg_ts_config_map
pg_ts_dict, pg_ts_dict
pg_ts_dict_is_visible, System Information Functions
pg_ts_parser, pg_ts_parser
pg_ts_parser_is_visible, System Information Functions
pg_ts_template, pg_ts_template
pg_ts_template_is_visible, System Information Functions
pg_type, pg_type
pg_typeof, System Information Functions
pg_type_is_visible, System Information Functions
pg_upgrade, pg_upgrade
pg_user, pg_user
pg_user_mapping, pg_user_mapping
pg_user_mappings, pg_user_mappings
pg_verify_checksums, pg_verify_checksums
pg_views, pg_views
pg_visibility, pg_visibility
pg_waldump, pg_waldump
pg_walfile_name, Backup Control Functions
pg_walfile_name_offset, Backup Control Functions
pg_wal_lsn_diff, Backup Control Functions
pg_wal_replay_pause, Recovery Control Functions
pg_wal_replay_resume, Recovery Control Functions
pg_xact_commit_timestamp, System Information Functions
phantom read, Transaction Isolation
phraseto_tsquery, Text Search Functions and Operators, Parsing Queries
pi, Mathematical Functions and Operators
PIC, Compiling and Linking Dynamically-loaded Functions
PID
determining PID of server process
in libpq, Connection Status Functions
PITR, Backup and Restore
PITR standby, High Availability, Load Balancing, and Replication
pkg-config, Installation Procedure
with ecpg, Processing Embedded SQL Programs
with - libpq, Building libpq Programs
PL/Perl, PL/Perl - Perl Procedural Language
PL/PerlU, Trusted and Untrusted PL/Perl
PL/pgSQL, PL/pgSQL - SQL Procedural Language
PL/Python, PL/Python - Python Procedural Language
PL/SQL (Oracle), Porting from Oracle PL/SQL
porting to PL/pgSQL, Porting from Oracle PL/SQL
PL/Tcl, PL/Tcl - Tcl Procedural Language
plainto_tsquery, Text Search Functions and Operators, Parsing Queries
plperl.on_init configuration parameter, Configuration
plperl.on_plperlu_init configuration parameter, Configuration
plperl.on_plperl_init configuration parameter, Configuration
plperl.use_strict configuration parameter, Configuration
plpgsql.check_asserts configuration parameter, Checking Assertions
plpgsql.variable_conflict configuration parameter, Variable Substitution
pltcl.start_proc configuration parameter, PL/Tcl Configuration
pltclu.start_proc configuration parameter, PL/Tcl Configuration
point, Points, Geometric Functions and Operators
point-in-time recovery, Backup and Restore
policy, Row Security Policies
polygon, Polygons, Geometric Functions and Operators
polymorphic function, Polymorphic Types
polymorphic type, Polymorphic Types
popen, Geometric Functions and Operators
populate_record, hstore Operators and Functions
port, Parameter Key Words
port configuration parameter, Connection Settings
position, String Functions and Operators, Binary String Functions and Operators
POSTGRES, The Berkeley POSTGRES Project
postgres, Architectural Fundamentals, Starting the Database Server, Creating a Database, postgres
postgres user, The PostgreSQL User Account
Postgres95, Postgres95
postgresql.auto.conf, Parameter Interaction via the Configuration File
postgresql.conf, Parameter Interaction via the Configuration File
postgres_fdw, postgres_fdw
postmaster, postmaster
post_auth_delay configuration parameter, Developer Options
power, Mathematical Functions and Operators
PQbackendPID, Connection Status Functions
PQbinaryTuples, Retrieving Query Result Information
with COPY, Functions Associated with the COPY Command
PQcancel, Canceling Queries in Progress
PQclear, Main Functions
PQclientEncoding, Control Functions
PQcmdStatus, Retrieving Other Result Information
PQcmdTuples, Retrieving Other Result Information
PQconndefaults, Database Connection Control Functions
PQconnectdb, Database Connection Control Functions
PQconnectdbParams, Database Connection Control Functions
PQconnectionNeedsPassword, Connection Status Functions
PQconnectionUsedPassword, Connection Status Functions
PQconnectPoll, Database Connection Control Functions
PQconnectStart, Database Connection Control Functions
PQconnectStartParams, Database Connection Control Functions
PQconninfo, Database Connection Control Functions
PQconninfoFree, Miscellaneous Functions
PQconninfoParse, Database Connection Control Functions
PQconsumeInput, Asynchronous Command Processing
PQcopyResult, Miscellaneous Functions
PQdb, Connection Status Functions
PQdescribePortal, Main Functions
PQdescribePrepared, Main Functions
PQencryptPassword, Miscellaneous Functions
PQencryptPasswordConn, Miscellaneous Functions
PQendcopy, Obsolete Functions for COPY
PQerrorMessage, Connection Status Functions
PQescapeBytea, Escaping Strings for Inclusion in SQL Commands
PQescapeByteaConn, Escaping Strings for Inclusion in SQL Commands
PQescapeIdentifier, Escaping Strings for Inclusion in SQL Commands
PQescapeLiteral, Escaping Strings for Inclusion in SQL Commands
PQescapeString, Escaping Strings for Inclusion in SQL Commands
PQescapeStringConn, Escaping Strings for Inclusion in SQL Commands
PQexec, Main Functions
PQexecParams, Main Functions
PQexecPrepared, Main Functions
PQfformat, Retrieving Query Result Information
with COPY, Functions Associated with the COPY Command
PQfinish, Database Connection Control Functions
PQfireResultCreateEvents, Miscellaneous Functions
PQflush, Asynchronous Command Processing
PQfmod, Retrieving Query Result Information
PQfn, The Fast-Path Interface
PQfname, Retrieving Query Result Information
PQfnumber, Retrieving Query Result Information
PQfreeCancel, Canceling Queries in Progress
PQfreemem, Miscellaneous Functions
PQfsize, Retrieving Query Result Information
PQftable, Retrieving Query Result Information
PQftablecol, Retrieving Query Result Information
PQftype, Retrieving Query Result Information
PQgetCancel, Canceling Queries in Progress
PQgetCopyData, Functions for Receiving COPY Data
PQgetisnull, Retrieving Query Result Information
PQgetlength, Retrieving Query Result Information
PQgetline, Obsolete Functions for COPY
PQgetlineAsync, Obsolete Functions for COPY
PQgetResult, Asynchronous Command Processing
PQgetssl, Connection Status Functions
PQgetvalue, Retrieving Query Result Information
PQhost, Connection Status Functions
PQinitOpenSSL, SSL Library Initialization
PQinitSSL, SSL Library Initialization
PQinstanceData, Event Support Functions
PQisBusy, Asynchronous Command Processing
PQisnonblocking, Asynchronous Command Processing
PQisthreadsafe, Behavior in Threaded Programs
PQlibVersion, Miscellaneous Functions
(see also PQserverVersion)
PQmakeEmptyPGresult, Miscellaneous Functions
PQnfields, Retrieving Query Result Information
with COPY, Functions Associated with the COPY Command
PQnotifies, Asynchronous Notification
PQnparams, Retrieving Query Result Information
PQntuples, Retrieving Query Result Information
PQoidStatus, Retrieving Other Result Information
PQoidValue, Retrieving Other Result Information
PQoptions, Connection Status Functions
PQparameterStatus, Connection Status Functions
PQparamtype, Retrieving Query Result Information
PQpass, Connection Status Functions
PQping, Database Connection Control Functions
PQpingParams, Database Connection Control Functions
PQport, Connection Status Functions
PQprepare, Main Functions
PQprint, Retrieving Query Result Information
PQprotocolVersion, Connection Status Functions
PQputCopyData, Functions for Sending COPY Data
PQputCopyEnd, Functions for Sending COPY Data
PQputline, Obsolete Functions for COPY
PQputnbytes, Obsolete Functions for COPY
PQregisterEventProc, Event Support Functions
PQrequestCancel, Canceling Queries in Progress
PQreset, Database Connection Control Functions
PQresetPoll, Database Connection Control Functions
PQresetStart, Database Connection Control Functions
PQresStatus, Main Functions
PQresultAlloc, Miscellaneous Functions
PQresultErrorField, Main Functions
PQresultErrorMessage, Main Functions
PQresultInstanceData, Event Support Functions
PQresultSetInstanceData, Event Support Functions
PQresultStatus, Main Functions
PQresultVerboseErrorMessage, Main Functions
PQsendDescribePortal, Asynchronous Command Processing
PQsendDescribePrepared, Asynchronous Command Processing
PQsendPrepare, Asynchronous Command Processing
PQsendQuery, Asynchronous Command Processing
PQsendQueryParams, Asynchronous Command Processing
PQsendQueryPrepared, Asynchronous Command Processing
PQserverVersion, Connection Status Functions
PQsetClientEncoding, Control Functions
PQsetdb, Database Connection Control Functions
PQsetdbLogin, Database Connection Control Functions
PQsetErrorContextVisibility, Control Functions
PQsetErrorVerbosity, Control Functions
PQsetInstanceData, Event Support Functions
PQsetnonblocking, Asynchronous Command Processing
PQsetNoticeProcessor, Notice Processing
PQsetNoticeReceiver, Notice Processing
PQsetResultAttrs, Miscellaneous Functions
PQsetSingleRowMode, Retrieving Query Results Row-By-Row
PQsetvalue, Miscellaneous Functions
PQsocket, Connection Status Functions
PQsslAttribute, Connection Status Functions
PQsslAttributeNames, Connection Status Functions
PQsslInUse, Connection Status Functions
PQsslStruct, Connection Status Functions
PQstatus, Connection Status Functions
PQtrace, Control Functions
PQtransactionStatus, Connection Status Functions
PQtty, Connection Status Functions
PQunescapeBytea, Escaping Strings for Inclusion in SQL Commands
PQuntrace, Control Functions
PQuser, Connection Status Functions
predicate locking, Serializable Isolation Level
PREPARE, PREPARE
PREPARE TRANSACTION, PREPARE TRANSACTION
prepared statements, DEALLOCATE, EXECUTE, EXPLAIN, PREPARE
creating, PREPARE
executing, EXECUTE
removing, DEALLOCATE
showing the query plan, EXPLAIN
preparing a query
in PL/pgSQL, Plan Caching
in PL/Python, Database Access Functions
in PL/Tcl, Database Access from PL/Tcl
pre_auth_delay configuration parameter, Developer Options
primary key, Primary Keys
primary_conninfo recovery parameter, Standby Server Settings
primary_slot_name recovery parameter, Standby Server Settings
privilege, Privileges, Schemas and Privileges, Rules and Privileges, Rules and Privileges
querying, System Information Functions
with rules, Rules and Privileges
for schemas, Schemas and Privileges
with views, Rules and Privileges
procedural language, Procedural Languages, Writing A Procedural Language Handler
externally maintained, Procedural Languages
handler for, Writing A Procedural Language Handler
procedure, User-defined Procedures
user-defined, User-defined Procedures
protocol, Frontend/Backend Protocol
frontend-backend, Frontend/Backend Protocol
ps, Standard Unix Tools
to monitor activity, Standard Unix Tools
psql, Accessing a Database, psql
Python, PL/Python - Python Procedural Language

R

radians, Mathematical Functions and Operators
radius, Geometric Functions and Operators
RADIUS, RADIUS Authentication
RAISE
in PL/pgSQL, Reporting Errors and Messages
random, Mathematical Functions and Operators
random_page_cost configuration parameter, Planner Cost Constants
range table, The Query Tree
range type, Range Types
exclude, Constraints on Ranges
indexes on, Indexing
rank, Window Functions
hypothetical, Aggregate Functions
read committed, Read Committed Isolation Level
read-only transaction
setting, SET TRANSACTION
setting default, Statement Behavior
readline, Requirements
real, Floating-Point Types
REASSIGN OWNED, REASSIGN OWNED
record, Pseudo-Types
recovery.conf, Recovery Configuration
recovery_end_command recovery parameter, Archive Recovery Settings
recovery_min_apply_delay recovery parameter, Standby Server Settings
recovery_target recovery parameter, Recovery Target Settings
recovery_target_action recovery parameter, Recovery Target Settings
recovery_target_inclusive recovery parameter, Recovery Target Settings
recovery_target_lsn recovery parameter, Recovery Target Settings
recovery_target_name recovery parameter, Recovery Target Settings
recovery_target_time recovery parameter, Recovery Target Settings
recovery_target_timeline recovery parameter, Recovery Target Settings
recovery_target_xid recovery parameter, Recovery Target Settings
rectangle, Boxes
RECURSIVE, CREATE VIEW
in common table expressions, SELECT in WITH
in views, CREATE VIEW
referential integrity, Foreign Keys, Foreign Keys
REFRESH MATERIALIZED VIEW, REFRESH MATERIALIZED VIEW
regclass, Object Identifier Types
regconfig, Object Identifier Types
regdictionary, Object Identifier Types
regexp_match, String Functions and Operators, POSIX Regular Expressions
regexp_matches, String Functions and Operators, POSIX Regular Expressions
regexp_replace, String Functions and Operators, POSIX Regular Expressions
regexp_split_to_array, String Functions and Operators, POSIX Regular Expressions
regexp_split_to_table, String Functions and Operators, POSIX Regular Expressions
regoper, Object Identifier Types
regoperator, Object Identifier Types
regproc, Object Identifier Types
regprocedure, Object Identifier Types
regression intercept, Aggregate Functions
regression slope, Aggregate Functions
regression test, Installation Procedure
regression tests, Regression Tests
regr_avgx, Aggregate Functions
regr_avgy, Aggregate Functions
regr_count, Aggregate Functions
regr_intercept, Aggregate Functions
regr_r2, Aggregate Functions
regr_slope, Aggregate Functions
regr_sxx, Aggregate Functions
regr_sxy, Aggregate Functions
regr_syy, Aggregate Functions
regtype, Object Identifier Types
regular expression, SIMILAR TO Regular Expressions, POSIX Regular Expressions
(see also pattern matching)
regular expressions
and locales, Behavior
reindex, Routine Reindexing
REINDEX, REINDEX
reindexdb, reindexdb
relation, Concepts
relational database, Concepts
RELEASE SAVEPOINT, RELEASE SAVEPOINT
repeat, String Functions and Operators
repeatable read, Repeatable Read Isolation Level
replace, String Functions and Operators
replication, High Availability, Load Balancing, and Replication
Replication Origins, Replication Progress Tracking
Replication Progress Tracking, Replication Progress Tracking
replication slot
logical replication, Replication Slots
streaming replication, Replication Slots
reporting errors
in PL/pgSQL, Reporting Errors and Messages
RESET, RESET
restartpoint, WAL Configuration
restart_after_crash configuration parameter, Error Handling
restore_command recovery parameter, Archive Recovery Settings
RESTRICT, Dependency Tracking
with DROP, Dependency Tracking
foreign key action, Foreign Keys
RETURN NEXT
in PL/pgSQL, RETURN NEXT and RETURN QUERY
RETURN QUERY
in PL/pgSQL, RETURN NEXT and RETURN QUERY
RETURNING, Returning Data From Modified Rows
RETURNING INTO, Executing a Query with a Single-row Result
in PL/pgSQL, Executing a Query with a Single-row Result
reverse, String Functions and Operators
REVOKE, Privileges, REVOKE
right, String Functions and Operators
right join, Joined Tables
role, Database Roles, Role Membership, Default Roles
applicable, applicable_roles
enabled, enabled_roles
membership in, Role Membership
privilege to create, Role Attributes
privilege to initiate replication, Role Attributes
ROLLBACK, ROLLBACK
rollback
psql, Variables
ROLLBACK PREPARED, ROLLBACK PREPARED
ROLLBACK TO SAVEPOINT, ROLLBACK TO SAVEPOINT
ROLLUP, GROUPING SETS, CUBE, and ROLLUP
round, Mathematical Functions and Operators
routine, User-defined Procedures
routine maintenance, Routine Database Maintenance Tasks
row, Concepts, Table Basics
ROW, Row Constructors
row estimation, Row Estimation Examples
multivariate, Multivariate Statistics Examples
planner, Row Estimation Examples
row type, Composite Types
constructor, Row Constructors
row-level security, Row Security Policies
row-wise comparison, Row and Array Comparisons
row_number, Window Functions
row_security configuration parameter, Statement Behavior
row_security_active, System Information Functions
row_to_json, JSON Functions and Operators
rpad, String Functions and Operators
rtrim, String Functions and Operators
rule, The Rule System, Views and the Rule System, How SELECT Rules Work, Materialized Views, Rules on INSERT, UPDATE, and DELETE, Rules on INSERT, UPDATE, and DELETE, Rules on INSERT, UPDATE, and DELETE, Rules Versus Triggers
and materialized views, Materialized Views
and views, Views and the Rule System
for DELETE, Rules on INSERT, UPDATE, and DELETE
for INSERT, Rules on INSERT, UPDATE, and DELETE
for SELECT, How SELECT Rules Work
compared with triggers, Rules Versus Triggers
for UPDATE, Rules on INSERT, UPDATE, and DELETE

S

SAVEPOINT, SAVEPOINT
savepoints, RELEASE SAVEPOINT, ROLLBACK TO SAVEPOINT, SAVEPOINT
defining, SAVEPOINT
releasing, RELEASE SAVEPOINT
rolling back, ROLLBACK TO SAVEPOINT
scalar (see expression)
scale, Mathematical Functions and Operators
schema, Schemas, Creating a Schema, The Public Schema, Overview
creating, Creating a Schema
current, The Schema Search Path, System Information Functions
public, The Public Schema
removing, Creating a Schema
SCRAM, Password Authentication
search path, The Schema Search Path
current, System Information Functions
object visibility, System Information Functions
search_path configuration parameter, The Schema Search Path, Statement Behavior
use in securing functions, Writing SECURITY DEFINER Functions Safely
SECURITY LABEL, SECURITY LABEL
sec_to_gc, Cube-based Earth Distances
seg, seg
segment_size configuration parameter, Preset Options
SELECT, Querying a Table, Queries, SELECT Output Columns, SELECT
determination of result type, SELECT Output Columns
select list, Select Lists
SELECT INTO, Executing a Query with a Single-row Result, SELECT INTO
in PL/pgSQL, Executing a Query with a Single-row Result
semaphores, Shared Memory and Semaphores
sepgsql, sepgsql
sepgsql.debug_audit configuration parameter, GUC Parameters
sepgsql.permissive configuration parameter, GUC Parameters
sequence, Sequence Manipulation Functions
and serial type, Serial Types
sequential scan, Planner Method Configuration
seq_page_cost configuration parameter, Planner Cost Constants
serial, Serial Types
serial2, Serial Types
serial4, Serial Types
serial8, Serial Types
serializable, Serializable Isolation Level
Serializable Snapshot Isolation, Introduction
serialization anomaly, Transaction Isolation, Serializable Isolation Level
server log, Error Reporting and Logging, Log File Maintenance
log file maintenance, Log File Maintenance
server spoofing, Preventing Server Spoofing
server_encoding configuration parameter, Preset Options
server_version configuration parameter, Preset Options
server_version_num configuration parameter, Preset Options
session_preload_libraries configuration parameter, Shared Library Preloading
session_replication_role configuration parameter, Statement Behavior
session_user, System Information Functions
SET, Configuration Settings Functions, SET
SET CONSTRAINTS, SET CONSTRAINTS
set difference, Combining Queries
set intersection, Combining Queries
set operation, Combining Queries
set returning functions, Set Returning Functions
functions, Set Returning Functions
SET ROLE, SET ROLE
SET SESSION AUTHORIZATION, SET SESSION AUTHORIZATION
SET TRANSACTION, SET TRANSACTION
set union, Combining Queries
SET XML OPTION, Statement Behavior
setseed, Mathematical Functions and Operators
setval, Sequence Manipulation Functions
setweight, Text Search Functions and Operators, Manipulating Documents
setweight for specific lexeme(s), Text Search Functions and Operators
set_bit, Binary String Functions and Operators
set_byte, Binary String Functions and Operators
set_config, Configuration Settings Functions
set_limit, Functions and Operators
set_masklen, Network Address Functions and Operators
sha224, Binary String Functions and Operators
sha256, Binary String Functions and Operators
sha384, Binary String Functions and Operators
sha512, Binary String Functions and Operators
shared library, Shared Libraries, Compiling and Linking Dynamically-loaded Functions
shared memory, Shared Memory and Semaphores
shared_buffers configuration parameter, Memory
shared_preload_libraries, Shared Memory and LWLocks
shared_preload_libraries configuration parameter, Shared Library Preloading
shobj_description, System Information Functions
SHOW, Configuration Settings Functions, SHOW, Streaming Replication Protocol
show_limit, Functions and Operators
show_trgm, Functions and Operators
shutdown, Shutting Down the Server
SIGHUP, Parameter Interaction via the Configuration File, The pg_hba.conf File, User Name Maps
SIGINT, Shutting Down the Server
sign, Mathematical Functions and Operators
signal
backend processes, Server Signaling Functions
significant digits, Locale and Formatting
SIGQUIT, Shutting Down the Server
SIGTERM, Shutting Down the Server
SIMILAR TO, SIMILAR TO Regular Expressions
similarity, Functions and Operators
sin, Mathematical Functions and Operators
sind, Mathematical Functions and Operators
single-user mode, Options for Single-User Mode
skeys, hstore Operators and Functions
sleep, Delaying Execution
slice, hstore Operators and Functions
sliced bread (see TOAST)
smallint, Integer Types
smallserial, Serial Types
Solaris, Solaris
installation on, Solaris
IPC configuration, Shared Memory and Semaphores
shared library, Compiling and Linking Dynamically-loaded Functions
start script, Starting the Database Server
SOME, Aggregate Functions, Subquery Expressions, Row and Array Comparisons
sort, intarray Functions and Operators
sorting, Sorting Rows
sort_asc, intarray Functions and Operators
sort_desc, intarray Functions and Operators
soundex, Soundex
SP-GiST (see index)
SPI, Server Programming Interface, spi
examples, spi
spi_commit
in PL/Perl, Database Access from PL/Perl
SPI_commit, SPI_commit
SPI_connect, SPI_connect
SPI_connect_ext, SPI_connect
SPI_copytuple, SPI_copytuple
spi_cursor_close
in PL/Perl, Database Access from PL/Perl
SPI_cursor_close, SPI_cursor_close
SPI_cursor_fetch, SPI_cursor_fetch
SPI_cursor_find, SPI_cursor_find
SPI_cursor_move, SPI_cursor_move
SPI_cursor_open, SPI_cursor_open
SPI_cursor_open_with_args, SPI_cursor_open_with_args
SPI_cursor_open_with_paramlist, SPI_cursor_open_with_paramlist
SPI_exec, SPI_exec
SPI_execp, SPI_execp
SPI_execute, SPI_execute
SPI_execute_plan, SPI_execute_plan
SPI_execute_plan_with_paramlist, SPI_execute_plan_with_paramlist
SPI_execute_with_args, SPI_execute_with_args
spi_exec_prepared
in PL/Perl, Database Access from PL/Perl
spi_exec_query
in PL/Perl, Database Access from PL/Perl
spi_fetchrow
in PL/Perl, Database Access from PL/Perl
SPI_finish, SPI_finish
SPI_fname, SPI_fname
SPI_fnumber, SPI_fnumber
spi_freeplan
in PL/Perl, Database Access from PL/Perl
SPI_freeplan, SPI_freeplan
SPI_freetuple, SPI_freetuple
SPI_freetuptable, SPI_freetuptable
SPI_getargcount, SPI_getargcount
SPI_getargtypeid, SPI_getargtypeid
SPI_getbinval, SPI_getbinval
SPI_getnspname, SPI_getnspname
SPI_getrelname, SPI_getrelname
SPI_gettype, SPI_gettype
SPI_gettypeid, SPI_gettypeid
SPI_getvalue, SPI_getvalue
SPI_is_cursor_plan, SPI_is_cursor_plan
SPI_keepplan, SPI_keepplan
spi_lastoid
in PL/Tcl, Database Access from PL/Tcl
SPI_modifytuple, SPI_modifytuple
SPI_palloc, SPI_palloc
SPI_pfree, SPI_pfree
spi_prepare
in PL/Perl, Database Access from PL/Perl
SPI_prepare, SPI_prepare
SPI_prepare_cursor, SPI_prepare_cursor
SPI_prepare_params, SPI_prepare_params
spi_query
in PL/Perl, Database Access from PL/Perl
spi_query_prepared
in PL/Perl, Database Access from PL/Perl
SPI_register_relation, SPI_register_relation
SPI_register_trigger_data, SPI_register_trigger_data
SPI_repalloc, SPI_repalloc
SPI_result_code_string, SPI_result_code_string
SPI_returntuple, SPI_returntuple
spi_rollback
in PL/Perl, Database Access from PL/Perl
SPI_rollback, SPI_rollback
SPI_saveplan, SPI_saveplan
SPI_scroll_cursor_fetch, SPI_scroll_cursor_fetch
SPI_scroll_cursor_move, SPI_scroll_cursor_move
SPI_start_transaction, SPI_start_transaction
SPI_unregister_relation, SPI_unregister_relation
split_part, String Functions and Operators
SQL/CLI, SQL Conformance
SQL/Foundation, SQL Conformance
SQL/Framework, SQL Conformance
SQL/JRT, SQL Conformance
SQL/MED, SQL Conformance
SQL/OLB, SQL Conformance
SQL/PSM, SQL Conformance
SQL/Schemata, SQL Conformance
SQL/XML, SQL Conformance
limits and conformance, XML Limits and Conformance to SQL/XML
sqrt, Mathematical Functions and Operators
ssh, Secure TCP/IP Connections with SSH Tunnels
SSI, Introduction
SSL, Secure TCP/IP Connections with SSL, SSL Support
in libpq, Connection Status Functions
with libpq, Parameter Key Words
ssl configuration parameter, SSL
sslinfo, sslinfo
ssl_ca_file configuration parameter, SSL
ssl_cert_file configuration parameter, SSL
ssl_cipher, Functions Provided
ssl_ciphers configuration parameter, SSL
ssl_client_cert_present, Functions Provided
ssl_client_dn, Functions Provided
ssl_client_dn_field, Functions Provided
ssl_client_serial, Functions Provided
ssl_crl_file configuration parameter, SSL
ssl_dh_params_file configuration parameter, SSL
ssl_ecdh_curve configuration parameter, SSL
ssl_extension_info, Functions Provided
ssl_issuer_dn, Functions Provided
ssl_issuer_field, Functions Provided
ssl_is_used, Functions Provided
ssl_key_file configuration parameter, SSL
ssl_passphrase_command configuration parameter, SSL
ssl_passphrase_command_supports_reload configuration parameter, SSL
ssl_prefer_server_ciphers configuration parameter, SSL
ssl_version, Functions Provided
SSPI, SSPI Authentication
STABLE, Function Volatility Categories
standard deviation, Aggregate Functions
population, Aggregate Functions
sample, Aggregate Functions
standard_conforming_strings configuration parameter, Previous PostgreSQL Versions
standby server, High Availability, Load Balancing, and Replication
standby_mode recovery parameter, Standby Server Settings
START TRANSACTION, START TRANSACTION
starts_with, String Functions and Operators
START_REPLICATION, Streaming Replication Protocol
statement_timeout configuration parameter, Statement Behavior
statement_timestamp, Date/Time Functions and Operators
statistics, Aggregate Functions, Statistics Used by the Planner, Extended Statistics, Updating Planner Statistics, The Statistics Collector
of the planner, Statistics Used by the Planner, Extended Statistics, Updating Planner Statistics
stats_temp_directory configuration parameter, Query and Index Statistics Collector
stddev, Aggregate Functions
stddev_pop, Aggregate Functions
stddev_samp, Aggregate Functions
STONITH, High Availability, Load Balancing, and Replication
storage parameters, Storage Parameters
Streaming Replication, High Availability, Load Balancing, and Replication
strict_word_similarity, Functions and Operators
string (see character string)
strings
backslash quotes, Previous PostgreSQL Versions
escape warning, Previous PostgreSQL Versions
standard conforming, Previous PostgreSQL Versions
string_agg, Aggregate Functions
string_to_array, Array Functions and Operators
strip, Text Search Functions and Operators, Manipulating Documents
strpos, String Functions and Operators
subarray, intarray Functions and Operators
subltree, Operators and Functions
subpath, Operators and Functions
subquery, Aggregate Functions, Scalar Subqueries, Subqueries, Subquery Expressions
subscript, Subscripts
substr, String Functions and Operators
substring, String Functions and Operators, Binary String Functions and Operators, SIMILAR TO Regular Expressions, POSIX Regular Expressions
subtransactions
in PL/Tcl, Explicit Subtransactions in PL/Tcl
sum, Aggregate Functions
superuser, Accessing a Database, Role Attributes
superuser_reserved_connections configuration parameter, Connection Settings
support functions
in_range, B-Tree Support Functions
suppress_redundant_updates_trigger, Trigger Functions
svals, hstore Operators and Functions
synchronize_seqscans configuration parameter, Previous PostgreSQL Versions
synchronous commit, Asynchronous Commit
Synchronous Replication, High Availability, Load Balancing, and Replication
synchronous_commit configuration parameter, Settings
synchronous_standby_names configuration parameter, Master Server
syntax, SQL Syntax
SQL, SQL Syntax
syslog_facility configuration parameter, Where To Log
syslog_ident configuration parameter, Where To Log
syslog_sequence_numbers configuration parameter, Where To Log
syslog_split_messages configuration parameter, Where To Log
system catalog, The System Catalog Schema
schema, The System Catalog Schema
systemd, Installation Procedure, Starting the Database Server
RemoveIPC, systemd RemoveIPC

T

table, Concepts, Table Basics, Modifying Tables
creating, Table Basics
inheritance, Inheritance
modifying, Modifying Tables
partitioning, Table Partitioning
removing, Table Basics
renaming, Renaming a Table
TABLE command, SELECT
table expression, Table Expressions
table function, Table Functions, xmltable
XMLTABLE, xmltable
table sampling method, Writing A Table Sampling Method
tablefunc, tablefunc
tableoid, System Columns
TABLESAMPLE method, Writing A Table Sampling Method
tablespace, Tablespaces
default, Statement Behavior
temporary, Statement Behavior
tan, Mathematical Functions and Operators
tand, Mathematical Functions and Operators
target list, The Query Tree
Tcl, PL/Tcl - Tcl Procedural Language
tcn, tcn
tcp_keepalives_count configuration parameter, Connection Settings
tcp_keepalives_idle configuration parameter, Connection Settings
tcp_keepalives_interval configuration parameter, Connection Settings
template0, Template Databases
template1, Creating a Database, Template Databases
temp_buffers configuration parameter, Memory
temp_file_limit configuration parameter, Disk
temp_tablespaces configuration parameter, Statement Behavior
test, Regression Tests
test_decoding, test_decoding
text, Character Types, Network Address Functions and Operators
text search, Text Search Types, Text Search Types, Full Text Search, GIN and GiST Index Types
data types, Text Search Types
functions and operators, Text Search Types
indexes, GIN and GiST Index Types
text2ltree, Operators and Functions
threads, Behavior in Threaded Programs
with libpq, Behavior in Threaded Programs
tid, Object Identifier Types
time, Date/Time Types, Times
constants, Special Values
current, Current Date/Time
output format, Date/Time Output
(see also formatting)
time span, Date/Time Types
time with time zone, Date/Time Types, Times
time without time zone, Date/Time Types, Times
time zone, Time Zones, Locale and Formatting
conversion, AT TIME ZONE
input abbreviations, Date/Time Configuration Files
time zone data, Installation Procedure
time zone names, Locale and Formatting
timelines, Backup and Restore
TIMELINE_HISTORY, Streaming Replication Protocol
timeofday, Date/Time Functions and Operators
timeout
client authentication, Authentication
deadlock, Lock Management
timestamp, Date/Time Types, Time Stamps
timestamp with time zone, Date/Time Types, Time Stamps
timestamp without time zone, Date/Time Types, Time Stamps
timestamptz, Date/Time Types
TimeZone configuration parameter, Locale and Formatting
timezone_abbreviations configuration parameter, Locale and Formatting
TOAST, TOAST
and user-defined types, TOAST Considerations
per-column storage settings, Description
versus large objects, Introduction
token, Lexical Structure
to_ascii, String Functions and Operators
to_char, Data Type Formatting Functions
and locales, Behavior
to_date, Data Type Formatting Functions
to_hex, String Functions and Operators
to_json, JSON Functions and Operators
to_jsonb, JSON Functions and Operators
to_number, Data Type Formatting Functions
to_regclass, System Information Functions
to_regnamespace, System Information Functions
to_regoper, System Information Functions
to_regoperator, System Information Functions
to_regproc, System Information Functions
to_regprocedure, System Information Functions
to_regrole, System Information Functions
to_regtype, System Information Functions
to_timestamp, Data Type Formatting Functions, Date/Time Functions and Operators
to_tsquery, Text Search Functions and Operators, Parsing Queries
to_tsvector, Text Search Functions and Operators, Parsing Documents
trace_locks configuration parameter, Developer Options
trace_lock_oidmin configuration parameter, Developer Options
trace_lock_table configuration parameter, Developer Options
trace_lwlocks configuration parameter, Developer Options
trace_notify configuration parameter, Developer Options
trace_recovery_messages configuration parameter, Developer Options
trace_sort configuration parameter, Developer Options
trace_userlocks configuration parameter, Developer Options
track_activities configuration parameter, Query and Index Statistics Collector
track_activity_query_size configuration parameter, Query and Index Statistics Collector
track_commit_timestamp configuration parameter, Sending Servers
track_counts configuration parameter, Query and Index Statistics Collector
track_functions configuration parameter, Query and Index Statistics Collector
track_io_timing configuration parameter, Query and Index Statistics Collector
transaction, Transactions
transaction ID, Preventing Transaction ID Wraparound Failures
wraparound, Preventing Transaction ID Wraparound Failures
transaction isolation, Transaction Isolation
transaction isolation level, Transaction Isolation
read committed, Read Committed Isolation Level
repeatable read, Repeatable Read Isolation Level
serializable, Serializable Isolation Level
setting, SET TRANSACTION
setting default, Statement Behavior
transaction log (see WAL)
transaction_timestamp, Date/Time Functions and Operators
transform_null_equals configuration parameter, Platform and Client Compatibility
transition tables, CREATE TRIGGER
(see also ephemeral named relation)
implementation in PLs, SPI_register_trigger_data
referencing from C trigger, Writing Trigger Functions in C
translate, String Functions and Operators
transparent - huge pages, Memory
trigger, Pseudo-Types, Triggers, Writing Trigger Functions in C, Rules Versus Triggers, Trigger Functions, Trigger Functions
arguments for trigger functions, Overview of Trigger Behavior
for updating a derived tsvector column, Triggers for Automatic Updates
in C, Writing Trigger Functions in C
in PL/pgSQL, Trigger Functions
in PL/Python, Trigger Functions
in PL/Tcl, Trigger Functions in PL/Tcl
compared with rules, Rules Versus Triggers
triggered_change_notification, tcn
trigger_file recovery parameter, Standby Server Settings
trim, String Functions and Operators, Binary String Functions and Operators
true, Boolean Type
trunc, Mathematical Functions and Operators, Network Address Functions and Operators
TRUNCATE, TRUNCATE
trusted, Trusted and Untrusted PL/Perl
PL/Perl, Trusted and Untrusted PL/Perl
tsm_handler, Pseudo-Types
tsm_system_rows, tsm_system_rows
tsm_system_time, tsm_system_time
tsquery (data type), tsquery
tsquery_phrase, Text Search Functions and Operators, Manipulating Queries
tsvector (data type), tsvector
tsvector concatenation, Manipulating Documents
tsvector_to_array, Text Search Functions and Operators
tsvector_update_trigger, Text Search Functions and Operators
tsvector_update_trigger_column, Text Search Functions and Operators
ts_debug, Text Search Functions and Operators, Configuration Testing
ts_delete, Text Search Functions and Operators
ts_filter, Text Search Functions and Operators
ts_headline, Text Search Functions and Operators, Highlighting Results
ts_lexize, Text Search Functions and Operators, Dictionary Testing
ts_parse, Text Search Functions and Operators, Parser Testing
ts_rank, Text Search Functions and Operators, Ranking Search Results
ts_rank_cd, Text Search Functions and Operators, Ranking Search Results
ts_rewrite, Text Search Functions and Operators, Query Rewriting
ts_stat, Text Search Functions and Operators, Gathering Document Statistics
ts_token_type, Text Search Functions and Operators, Parser Testing
tuple_data_split, Heap Functions
txid_current, System Information Functions
txid_current_if_assigned, System Information Functions
txid_current_snapshot, System Information Functions
txid_snapshot_xip, System Information Functions
txid_snapshot_xmax, System Information Functions
txid_snapshot_xmin, System Information Functions
txid_status, System Information Functions
txid_visible_in_snapshot, System Information Functions
type (see data type)
type cast, Numeric Constants, Type Casts

U

UESCAPE, Identifiers and Key Words, String Constants with Unicode Escapes
unaccent, unaccent, Functions
Unicode escape, String Constants with Unicode Escapes
in identifiers, Identifiers and Key Words
in string constants, String Constants with Unicode Escapes
UNION, Combining Queries, UNION, CASE, and Related Constructs
determination of result type, UNION, CASE, and Related Constructs
uniq, intarray Functions and Operators
unique constraint, Unique Constraints
Unix domain socket, Parameter Key Words
unix_socket_directories configuration parameter, Connection Settings
unix_socket_group configuration parameter, Connection Settings
unix_socket_permissions configuration parameter, Connection Settings
unknown, Pseudo-Types
UNLISTEN, UNLISTEN
unnest, Array Functions and Operators
for tsvector, Text Search Functions and Operators
unqualified name, The Schema Search Path
updatable views, Updatable Views
UPDATE, Updates, Updating Data, Returning Data From Modified Rows, UPDATE
RETURNING, Returning Data From Modified Rows
update_process_title configuration parameter, Process Title
updating, Updating Data
upgrading, Upgrading a PostgreSQL Cluster
upper, String Functions and Operators, Range Functions and Operators
and locales, Behavior
upper_inc, Range Functions and Operators
upper_inf, Range Functions and Operators
UPSERT, INSERT
URI, Connection Strings
user, System Information Functions, Database Roles
current, System Information Functions
user mapping, Foreign Data
User name maps, User Name Maps
UUID, UUID Type, Installation Procedure
uuid-ossp, uuid-ossp
uuid_generate_v1, uuid-ossp Functions
uuid_generate_v1mc, uuid-ossp Functions
uuid_generate_v3, uuid-ossp Functions

V

vacuum, Routine Vacuuming
VACUUM, VACUUM
vacuumdb, vacuumdb
vacuumlo, vacuumlo
vacuum_cleanup_index_scale_factor configuration parameter, Statement Behavior
vacuum_cost_delay configuration parameter, Cost-based Vacuum Delay
vacuum_cost_limit configuration parameter, Cost-based Vacuum Delay
vacuum_cost_page_dirty configuration parameter, Cost-based Vacuum Delay
vacuum_cost_page_hit configuration parameter, Cost-based Vacuum Delay
vacuum_cost_page_miss configuration parameter, Cost-based Vacuum Delay
vacuum_defer_cleanup_age configuration parameter, Master Server
vacuum_freeze_min_age configuration parameter, Statement Behavior
vacuum_freeze_table_age configuration parameter, Statement Behavior
vacuum_multixact_freeze_min_age configuration parameter, Statement Behavior
vacuum_multixact_freeze_table_age configuration parameter, Statement Behavior
value expression, Value Expressions
VALUES, VALUES Lists, UNION, CASE, and Related Constructs, VALUES
determination of result type, UNION, CASE, and Related Constructs
varchar, Character Types
variadic function, SQL Functions with Variable Numbers of Arguments
variance, Aggregate Functions
population, Aggregate Functions
sample, Aggregate Functions
var_pop, Aggregate Functions
var_samp, Aggregate Functions
version, Accessing a Database, System Information Functions, Upgrading a PostgreSQL Cluster
compatibility, Upgrading a PostgreSQL Cluster
view, Views, Views and the Rule System, Materialized Views, Cooperation with Views
implementation through rules, Views and the Rule System
materialized, Materialized Views
updating, Cooperation with Views
Visibility Map, Visibility Map
VM (see Visibility Map)
void, Pseudo-Types
VOLATILE, Function Volatility Categories
volatility, Function Volatility Categories
functions, Function Volatility Categories
VPATH, Installation Procedure, Extension Building Infrastructure

W

WAL, Reliability and the Write-Ahead Log
wal_block_size configuration parameter, Preset Options
wal_buffers configuration parameter, Settings
wal_compression configuration parameter, Settings
wal_consistency_checking configuration parameter, Developer Options
wal_debug configuration parameter, Developer Options
wal_keep_segments configuration parameter, Sending Servers
wal_level configuration parameter, Settings
wal_log_hints configuration parameter, Settings
wal_receiver_status_interval configuration parameter, Standby Servers
wal_receiver_timeout configuration parameter, Standby Servers
wal_retrieve_retry_interval configuration parameter, Standby Servers
wal_segment_size configuration parameter, Preset Options
wal_sender_timeout configuration parameter, Sending Servers
wal_sync_method configuration parameter, Settings
wal_writer_delay configuration parameter, Settings
wal_writer_flush_after configuration parameter, Settings
warm standby, High Availability, Load Balancing, and Replication
websearch_to_tsquery, Text Search Functions and Operators
WHERE, The WHERE Clause
where to log, Where To Log
WHILE
in PL/pgSQL, WHILE
width, Geometric Functions and Operators
width_bucket, Mathematical Functions and Operators
window function, Window Functions, Window Function Calls, Window Function Processing, Window Functions
built-in, Window Functions
invocation, Window Function Calls
order of execution, Window Function Processing
WITH, WITH Queries (Common Table Expressions), SELECT
in SELECT, WITH Queries (Common Table Expressions), SELECT
WITH CHECK OPTION, CREATE VIEW
WITHIN GROUP, Aggregate Expressions
witness server, High Availability, Load Balancing, and Replication
word_similarity, Functions and Operators
work_mem configuration parameter, Memory
wraparound
of multixact IDs, Multixacts and Wraparound
of transaction IDs, Preventing Transaction ID Wraparound Failures

X

xid, Object Identifier Types
xmax, System Columns
xmin, System Columns
XML, XML Type
XML export, Mapping Tables to XML
XML Functions, XML Functions
XML option, Creating XML Values, Statement Behavior
xml2, xml2
xmlagg, xmlagg, Aggregate Functions
xmlbinary configuration parameter, Statement Behavior
xmlcomment, xmlcomment
xmlconcat, xmlconcat
xmlelement, xmlelement
XMLEXISTS, XMLEXISTS
xmlforest, xmlforest
xmloption configuration parameter, Statement Behavior
xmlparse, Creating XML Values
xmlpi, xmlpi
xmlroot, xmlroot
xmlserialize, Creating XML Values
xmltable, xmltable
xml_is_well_formed, xml_is_well_formed
xml_is_well_formed_content, xml_is_well_formed
xml_is_well_formed_document, xml_is_well_formed
XPath, xpath
xpath_exists, xpath_exists
xpath_table, xpath_table
xslt_process, xslt_process

Z

zero_damaged_pages configuration parameter, Developer Options
zlib, Requirements, Installation Procedure
\ No newline at end of file + libpq, Building libpq Programs

PL/Perl, PL/Perl - Perl Procedural Language
PL/PerlU, Trusted and Untrusted PL/Perl
PL/pgSQL, PL/pgSQL - SQL Procedural Language
PL/Python, PL/Python - Python Procedural Language
PL/SQL (Oracle), Porting from Oracle PL/SQL
porting to PL/pgSQL, Porting from Oracle PL/SQL
PL/Tcl, PL/Tcl - Tcl Procedural Language
plainto_tsquery, Text Search Functions and Operators, Parsing Queries
plperl.on_init configuration parameter, Configuration
plperl.on_plperlu_init configuration parameter, Configuration
plperl.on_plperl_init configuration parameter, Configuration
plperl.use_strict configuration parameter, Configuration
plpgsql.check_asserts configuration parameter, Checking Assertions
plpgsql.variable_conflict configuration parameter, Variable Substitution
pltcl.start_proc configuration parameter, PL/Tcl Configuration
pltclu.start_proc configuration parameter, PL/Tcl Configuration
point, Points, Geometric Functions and Operators
point-in-time recovery, Backup and Restore
policy, Row Security Policies
polygon, Polygons, Geometric Functions and Operators
polymorphic function, Polymorphic Types
polymorphic type, Polymorphic Types
popen, Geometric Functions and Operators
populate_record, hstore Operators and Functions
port, Parameter Key Words
port configuration parameter, Connection Settings
position, String Functions and Operators, Binary String Functions and Operators
POSTGRES, The Berkeley POSTGRES Project
postgres, Architectural Fundamentals, Starting the Database Server, Creating a Database, postgres
postgres user, The PostgreSQL User Account
Postgres95, Postgres95
postgresql.auto.conf, Parameter Interaction via the Configuration File
postgresql.conf, Parameter Interaction via the Configuration File
postgres_fdw, postgres_fdw
postmaster, postmaster
post_auth_delay configuration parameter, Developer Options
power, Mathematical Functions and Operators
PQbackendPID, Connection Status Functions
PQbinaryTuples, Retrieving Query Result Information
with COPY, Functions Associated with the COPY Command
PQcancel, Canceling Queries in Progress
PQclear, Main Functions
PQclientEncoding, Control Functions
PQcmdStatus, Retrieving Other Result Information
PQcmdTuples, Retrieving Other Result Information
PQconndefaults, Database Connection Control Functions
PQconnectdb, Database Connection Control Functions
PQconnectdbParams, Database Connection Control Functions
PQconnectionNeedsPassword, Connection Status Functions
PQconnectionUsedPassword, Connection Status Functions
PQconnectPoll, Database Connection Control Functions
PQconnectStart, Database Connection Control Functions
PQconnectStartParams, Database Connection Control Functions
PQconninfo, Database Connection Control Functions
PQconninfoFree, Miscellaneous Functions
PQconninfoParse, Database Connection Control Functions
PQconsumeInput, Asynchronous Command Processing
PQcopyResult, Miscellaneous Functions
PQdb, Connection Status Functions
PQdescribePortal, Main Functions
PQdescribePrepared, Main Functions
PQencryptPassword, Miscellaneous Functions
PQencryptPasswordConn, Miscellaneous Functions
PQendcopy, Obsolete Functions for COPY
PQerrorMessage, Connection Status Functions
PQescapeBytea, Escaping Strings for Inclusion in SQL Commands
PQescapeByteaConn, Escaping Strings for Inclusion in SQL Commands
PQescapeIdentifier, Escaping Strings for Inclusion in SQL Commands
PQescapeLiteral, Escaping Strings for Inclusion in SQL Commands
PQescapeString, Escaping Strings for Inclusion in SQL Commands
PQescapeStringConn, Escaping Strings for Inclusion in SQL Commands
PQexec, Main Functions
PQexecParams, Main Functions
PQexecPrepared, Main Functions
PQfformat, Retrieving Query Result Information
with COPY, Functions Associated with the COPY Command
PQfinish, Database Connection Control Functions
PQfireResultCreateEvents, Miscellaneous Functions
PQflush, Asynchronous Command Processing
PQfmod, Retrieving Query Result Information
PQfn, The Fast-Path Interface
PQfname, Retrieving Query Result Information
PQfnumber, Retrieving Query Result Information
PQfreeCancel, Canceling Queries in Progress
PQfreemem, Miscellaneous Functions
PQfsize, Retrieving Query Result Information
PQftable, Retrieving Query Result Information
PQftablecol, Retrieving Query Result Information
PQftype, Retrieving Query Result Information
PQgetCancel, Canceling Queries in Progress
PQgetCopyData, Functions for Receiving COPY Data
PQgetisnull, Retrieving Query Result Information
PQgetlength, Retrieving Query Result Information
PQgetline, Obsolete Functions for COPY
PQgetlineAsync, Obsolete Functions for COPY
PQgetResult, Asynchronous Command Processing
PQgetssl, Connection Status Functions
PQgetvalue, Retrieving Query Result Information
PQhost, Connection Status Functions
PQinitOpenSSL, SSL Library Initialization
PQinitSSL, SSL Library Initialization
PQinstanceData, Event Support Functions
PQisBusy, Asynchronous Command Processing
PQisnonblocking, Asynchronous Command Processing
PQisthreadsafe, Behavior in Threaded Programs
PQlibVersion, Miscellaneous Functions
(see also PQserverVersion)
PQmakeEmptyPGresult, Miscellaneous Functions
PQnfields, Retrieving Query Result Information
with COPY, Functions Associated with the COPY Command
PQnotifies, Asynchronous Notification
PQnparams, Retrieving Query Result Information
PQntuples, Retrieving Query Result Information
PQoidStatus, Retrieving Other Result Information
PQoidValue, Retrieving Other Result Information
PQoptions, Connection Status Functions
PQparameterStatus, Connection Status Functions
PQparamtype, Retrieving Query Result Information
PQpass, Connection Status Functions
PQping, Database Connection Control Functions
PQpingParams, Database Connection Control Functions
PQport, Connection Status Functions
PQprepare, Main Functions
PQprint, Retrieving Query Result Information
PQprotocolVersion, Connection Status Functions
PQputCopyData, Functions for Sending COPY Data
PQputCopyEnd, Functions for Sending COPY Data
PQputline, Obsolete Functions for COPY
PQputnbytes, Obsolete Functions for COPY
PQregisterEventProc, Event Support Functions
PQrequestCancel, Canceling Queries in Progress
PQreset, Database Connection Control Functions
PQresetPoll, Database Connection Control Functions
PQresetStart, Database Connection Control Functions
PQresStatus, Main Functions
PQresultAlloc, Miscellaneous Functions
PQresultErrorField, Main Functions
PQresultErrorMessage, Main Functions
PQresultInstanceData, Event Support Functions
PQresultSetInstanceData, Event Support Functions
PQresultStatus, Main Functions
PQresultVerboseErrorMessage, Main Functions
PQsendDescribePortal, Asynchronous Command Processing
PQsendDescribePrepared, Asynchronous Command Processing
PQsendPrepare, Asynchronous Command Processing
PQsendQuery, Asynchronous Command Processing
PQsendQueryParams, Asynchronous Command Processing
PQsendQueryPrepared, Asynchronous Command Processing
PQserverVersion, Connection Status Functions
PQsetClientEncoding, Control Functions
PQsetdb, Database Connection Control Functions
PQsetdbLogin, Database Connection Control Functions
PQsetErrorContextVisibility, Control Functions
PQsetErrorVerbosity, Control Functions
PQsetInstanceData, Event Support Functions
PQsetnonblocking, Asynchronous Command Processing
PQsetNoticeProcessor, Notice Processing
PQsetNoticeReceiver, Notice Processing
PQsetResultAttrs, Miscellaneous Functions
PQsetSingleRowMode, Retrieving Query Results Row-By-Row
PQsetvalue, Miscellaneous Functions
PQsocket, Connection Status Functions
PQsslAttribute, Connection Status Functions
PQsslAttributeNames, Connection Status Functions
PQsslInUse, Connection Status Functions
PQsslStruct, Connection Status Functions
PQstatus, Connection Status Functions
PQtrace, Control Functions
PQtransactionStatus, Connection Status Functions
PQtty, Connection Status Functions
PQunescapeBytea, Escaping Strings for Inclusion in SQL Commands
PQuntrace, Control Functions
PQuser, Connection Status Functions
predicate locking, Serializable Isolation Level
PREPARE, PREPARE
PREPARE TRANSACTION, PREPARE TRANSACTION
prepared statements, DEALLOCATE, EXECUTE, EXPLAIN, PREPARE
creating, PREPARE
executing, EXECUTE
removing, DEALLOCATE
showing the query plan, EXPLAIN
preparing a query
in PL/pgSQL, Plan Caching
in PL/Python, Database Access Functions
in PL/Tcl, Database Access from PL/Tcl
pre_auth_delay configuration parameter, Developer Options
primary key, Primary Keys
primary_conninfo recovery parameter, Standby Server Settings
primary_slot_name recovery parameter, Standby Server Settings
privilege, Privileges, Schemas and Privileges, Rules and Privileges, Rules and Privileges
querying, System Information Functions
with rules, Rules and Privileges
for schemas, Schemas and Privileges
with views, Rules and Privileges
procedural language, Procedural Languages, Writing A Procedural Language Handler
externally maintained, Procedural Languages
handler for, Writing A Procedural Language Handler
procedure, User-defined Procedures
user-defined, User-defined Procedures
protocol, Frontend/Backend Protocol
frontend-backend, Frontend/Backend Protocol
ps, Standard Unix Tools
to monitor activity, Standard Unix Tools
psql, Accessing a Database, psql
Python, PL/Python - Python Procedural Language

R

radians, Mathematical Functions and Operators
radius, Geometric Functions and Operators
RADIUS, RADIUS Authentication
RAISE
in PL/pgSQL, Reporting Errors and Messages
random, Mathematical Functions and Operators
random_page_cost configuration parameter, Planner Cost Constants
range table, The Query Tree
range type, Range Types
exclude, Constraints on Ranges
indexes on, Indexing
rank, Window Functions
hypothetical, Aggregate Functions
read committed, Read Committed Isolation Level
read-only transaction
setting, SET TRANSACTION
setting default, Statement Behavior
readline, Requirements
real, Floating-Point Types
REASSIGN OWNED, REASSIGN OWNED
record, Pseudo-Types
recovery.conf, Recovery Configuration
recovery_end_command recovery parameter, Archive Recovery Settings
recovery_min_apply_delay recovery parameter, Standby Server Settings
recovery_target recovery parameter, Recovery Target Settings
recovery_target_action recovery parameter, Recovery Target Settings
recovery_target_inclusive recovery parameter, Recovery Target Settings
recovery_target_lsn recovery parameter, Recovery Target Settings
recovery_target_name recovery parameter, Recovery Target Settings
recovery_target_time recovery parameter, Recovery Target Settings
recovery_target_timeline recovery parameter, Recovery Target Settings
recovery_target_xid recovery parameter, Recovery Target Settings
rectangle, Boxes
RECURSIVE, CREATE VIEW
in common table expressions, SELECT in WITH
in views, CREATE VIEW
referential integrity, Foreign Keys, Foreign Keys
REFRESH MATERIALIZED VIEW, REFRESH MATERIALIZED VIEW
regclass, Object Identifier Types
regconfig, Object Identifier Types
regdictionary, Object Identifier Types
regexp_match, String Functions and Operators, POSIX Regular Expressions
regexp_matches, String Functions and Operators, POSIX Regular Expressions
regexp_replace, String Functions and Operators, POSIX Regular Expressions
regexp_split_to_array, String Functions and Operators, POSIX Regular Expressions
regexp_split_to_table, String Functions and Operators, POSIX Regular Expressions
regoper, Object Identifier Types
regoperator, Object Identifier Types
regproc, Object Identifier Types
regprocedure, Object Identifier Types
regression intercept, Aggregate Functions
regression slope, Aggregate Functions
regression test, Installation Procedure
regression tests, Regression Tests
regr_avgx, Aggregate Functions
regr_avgy, Aggregate Functions
regr_count, Aggregate Functions
regr_intercept, Aggregate Functions
regr_r2, Aggregate Functions
regr_slope, Aggregate Functions
regr_sxx, Aggregate Functions
regr_sxy, Aggregate Functions
regr_syy, Aggregate Functions
regtype, Object Identifier Types
regular expression, SIMILAR TO Regular Expressions, POSIX Regular Expressions
(see also pattern matching)
regular expressions
and locales, Behavior
reindex, Routine Reindexing
REINDEX, REINDEX
reindexdb, reindexdb
relation, Concepts
relational database, Concepts
RELEASE SAVEPOINT, RELEASE SAVEPOINT
repeat, String Functions and Operators
repeatable read, Repeatable Read Isolation Level
replace, String Functions and Operators
replication, High Availability, Load Balancing, and Replication
Replication Origins, Replication Progress Tracking
Replication Progress Tracking, Replication Progress Tracking
replication slot
logical replication, Replication Slots
streaming replication, Replication Slots
reporting errors
in PL/pgSQL, Reporting Errors and Messages
RESET, RESET
restartpoint, WAL Configuration
restart_after_crash configuration parameter, Error Handling
restore_command recovery parameter, Archive Recovery Settings
RESTRICT, Dependency Tracking
with DROP, Dependency Tracking
foreign key action, Foreign Keys
RETURN NEXT
in PL/pgSQL, RETURN NEXT and RETURN QUERY
RETURN QUERY
in PL/pgSQL, RETURN NEXT and RETURN QUERY
RETURNING, Returning Data From Modified Rows
RETURNING INTO, Executing a Query with a Single-row Result
in PL/pgSQL, Executing a Query with a Single-row Result
reverse, String Functions and Operators
REVOKE, Privileges, REVOKE
right, String Functions and Operators
right join, Joined Tables
role, Database Roles, Role Membership, Default Roles
applicable, applicable_roles
enabled, enabled_roles
membership in, Role Membership
privilege to create, Role Attributes
privilege to initiate replication, Role Attributes
ROLLBACK, ROLLBACK
rollback
psql, Variables
ROLLBACK PREPARED, ROLLBACK PREPARED
ROLLBACK TO SAVEPOINT, ROLLBACK TO SAVEPOINT
ROLLUP, GROUPING SETS, CUBE, and ROLLUP
round, Mathematical Functions and Operators
routine, User-defined Procedures
routine maintenance, Routine Database Maintenance Tasks
row, Concepts, Table Basics
ROW, Row Constructors
row estimation, Row Estimation Examples
multivariate, Multivariate Statistics Examples
planner, Row Estimation Examples
row type, Composite Types
constructor, Row Constructors
row-level security, Row Security Policies
row-wise comparison, Row and Array Comparisons
row_number, Window Functions
row_security configuration parameter, Statement Behavior
row_security_active, System Information Functions
row_to_json, JSON Functions and Operators
rpad, String Functions and Operators
rtrim, String Functions and Operators
rule, The Rule System, Views and the Rule System, How SELECT Rules Work, Materialized Views, Rules on INSERT, UPDATE, and DELETE, Rules on INSERT, UPDATE, and DELETE, Rules on INSERT, UPDATE, and DELETE, Rules Versus Triggers
and materialized views, Materialized Views
and views, Views and the Rule System
for DELETE, Rules on INSERT, UPDATE, and DELETE
for INSERT, Rules on INSERT, UPDATE, and DELETE
for SELECT, How SELECT Rules Work
compared with triggers, Rules Versus Triggers
for UPDATE, Rules on INSERT, UPDATE, and DELETE

S

SAVEPOINT, SAVEPOINT
savepoints, RELEASE SAVEPOINT, ROLLBACK TO SAVEPOINT, SAVEPOINT
defining, SAVEPOINT
releasing, RELEASE SAVEPOINT
rolling back, ROLLBACK TO SAVEPOINT
scalar (see expression)
scale, Mathematical Functions and Operators
schema, Schemas, Creating a Schema, The Public Schema, Overview
creating, Creating a Schema
current, The Schema Search Path, System Information Functions
public, The Public Schema
removing, Creating a Schema
SCRAM, Password Authentication
search path, The Schema Search Path
current, System Information Functions
object visibility, System Information Functions
search_path configuration parameter, The Schema Search Path, Statement Behavior
use in securing functions, Writing SECURITY DEFINER Functions Safely
SECURITY LABEL, SECURITY LABEL
sec_to_gc, Cube-based Earth Distances
seg, seg
segment_size configuration parameter, Preset Options
SELECT, Querying a Table, Queries, SELECT Output Columns, SELECT
determination of result type, SELECT Output Columns
select list, Select Lists
SELECT INTO, Executing a Query with a Single-row Result, SELECT INTO
in PL/pgSQL, Executing a Query with a Single-row Result
semaphores, Shared Memory and Semaphores
sepgsql, sepgsql
sepgsql.debug_audit configuration parameter, GUC Parameters
sepgsql.permissive configuration parameter, GUC Parameters
sequence, Sequence Manipulation Functions
and serial type, Serial Types
sequential scan, Planner Method Configuration
seq_page_cost configuration parameter, Planner Cost Constants
serial, Serial Types
serial2, Serial Types
serial4, Serial Types
serial8, Serial Types
serializable, Serializable Isolation Level
Serializable Snapshot Isolation, Introduction
serialization anomaly, Transaction Isolation, Serializable Isolation Level
server log, Error Reporting and Logging, Log File Maintenance
log file maintenance, Log File Maintenance
server spoofing, Preventing Server Spoofing
server_encoding configuration parameter, Preset Options
server_version configuration parameter, Preset Options
server_version_num configuration parameter, Preset Options
session_preload_libraries configuration parameter, Shared Library Preloading
session_replication_role configuration parameter, Statement Behavior
session_user, System Information Functions
SET, Configuration Settings Functions, SET
SET CONSTRAINTS, SET CONSTRAINTS
set difference, Combining Queries
set intersection, Combining Queries
set operation, Combining Queries
set returning functions, Set Returning Functions
functions, Set Returning Functions
SET ROLE, SET ROLE
SET SESSION AUTHORIZATION, SET SESSION AUTHORIZATION
SET TRANSACTION, SET TRANSACTION
set union, Combining Queries
SET XML OPTION, Statement Behavior
setseed, Mathematical Functions and Operators
setval, Sequence Manipulation Functions
setweight, Text Search Functions and Operators, Manipulating Documents
setweight for specific lexeme(s), Text Search Functions and Operators
set_bit, Binary String Functions and Operators
set_byte, Binary String Functions and Operators
set_config, Configuration Settings Functions
set_limit, Functions and Operators
set_masklen, Network Address Functions and Operators
sha224, Binary String Functions and Operators
sha256, Binary String Functions and Operators
sha384, Binary String Functions and Operators
sha512, Binary String Functions and Operators
shared library, Shared Libraries, Compiling and Linking Dynamically-loaded Functions
shared memory, Shared Memory and Semaphores
shared_buffers configuration parameter, Memory
shared_preload_libraries, Shared Memory and LWLocks
shared_preload_libraries configuration parameter, Shared Library Preloading
shobj_description, System Information Functions
SHOW, Configuration Settings Functions, SHOW, Streaming Replication Protocol
show_limit, Functions and Operators
show_trgm, Functions and Operators
shutdown, Shutting Down the Server
SIGHUP, Parameter Interaction via the Configuration File, The pg_hba.conf File, User Name Maps
SIGINT, Shutting Down the Server
sign, Mathematical Functions and Operators
signal
backend processes, Server Signaling Functions
significant digits, Locale and Formatting
SIGQUIT, Shutting Down the Server
SIGTERM, Shutting Down the Server
SIMILAR TO, SIMILAR TO Regular Expressions
similarity, Functions and Operators
sin, Mathematical Functions and Operators
sind, Mathematical Functions and Operators
single-user mode, Options for Single-User Mode
skeys, hstore Operators and Functions
sleep, Delaying Execution
slice, hstore Operators and Functions
sliced bread (see TOAST)
smallint, Integer Types
smallserial, Serial Types
Solaris, Solaris
installation on, Solaris
IPC configuration, Shared Memory and Semaphores
shared library, Compiling and Linking Dynamically-loaded Functions
start script, Starting the Database Server
SOME, Aggregate Functions, Subquery Expressions, Row and Array Comparisons
sort, intarray Functions and Operators
sorting, Sorting Rows
sort_asc, intarray Functions and Operators
sort_desc, intarray Functions and Operators
soundex, Soundex
SP-GiST (see index)
SPI, Server Programming Interface, spi
examples, spi
spi_commit
in PL/Perl, Database Access from PL/Perl
SPI_commit, SPI_commit
SPI_connect, SPI_connect
SPI_connect_ext, SPI_connect
SPI_copytuple, SPI_copytuple
spi_cursor_close
in PL/Perl, Database Access from PL/Perl
SPI_cursor_close, SPI_cursor_close
SPI_cursor_fetch, SPI_cursor_fetch
SPI_cursor_find, SPI_cursor_find
SPI_cursor_move, SPI_cursor_move
SPI_cursor_open, SPI_cursor_open
SPI_cursor_open_with_args, SPI_cursor_open_with_args
SPI_cursor_open_with_paramlist, SPI_cursor_open_with_paramlist
SPI_exec, SPI_exec
SPI_execp, SPI_execp
SPI_execute, SPI_execute
SPI_execute_plan, SPI_execute_plan
SPI_execute_plan_with_paramlist, SPI_execute_plan_with_paramlist
SPI_execute_with_args, SPI_execute_with_args
spi_exec_prepared
in PL/Perl, Database Access from PL/Perl
spi_exec_query
in PL/Perl, Database Access from PL/Perl
spi_fetchrow
in PL/Perl, Database Access from PL/Perl
SPI_finish, SPI_finish
SPI_fname, SPI_fname
SPI_fnumber, SPI_fnumber
spi_freeplan
in PL/Perl, Database Access from PL/Perl
SPI_freeplan, SPI_freeplan
SPI_freetuple, SPI_freetuple
SPI_freetuptable, SPI_freetuptable
SPI_getargcount, SPI_getargcount
SPI_getargtypeid, SPI_getargtypeid
SPI_getbinval, SPI_getbinval
SPI_getnspname, SPI_getnspname
SPI_getrelname, SPI_getrelname
SPI_gettype, SPI_gettype
SPI_gettypeid, SPI_gettypeid
SPI_getvalue, SPI_getvalue
SPI_is_cursor_plan, SPI_is_cursor_plan
SPI_keepplan, SPI_keepplan
spi_lastoid
in PL/Tcl, Database Access from PL/Tcl
SPI_modifytuple, SPI_modifytuple
SPI_palloc, SPI_palloc
SPI_pfree, SPI_pfree
spi_prepare
in PL/Perl, Database Access from PL/Perl
SPI_prepare, SPI_prepare
SPI_prepare_cursor, SPI_prepare_cursor
SPI_prepare_params, SPI_prepare_params
spi_query
in PL/Perl, Database Access from PL/Perl
spi_query_prepared
in PL/Perl, Database Access from PL/Perl
SPI_register_relation, SPI_register_relation
SPI_register_trigger_data, SPI_register_trigger_data
SPI_repalloc, SPI_repalloc
SPI_result_code_string, SPI_result_code_string
SPI_returntuple, SPI_returntuple
spi_rollback
in PL/Perl, Database Access from PL/Perl
SPI_rollback, SPI_rollback
SPI_saveplan, SPI_saveplan
SPI_scroll_cursor_fetch, SPI_scroll_cursor_fetch
SPI_scroll_cursor_move, SPI_scroll_cursor_move
SPI_start_transaction, SPI_start_transaction
SPI_unregister_relation, SPI_unregister_relation
split_part, String Functions and Operators
SQL/CLI, SQL Conformance
SQL/Foundation, SQL Conformance
SQL/Framework, SQL Conformance
SQL/JRT, SQL Conformance
SQL/MED, SQL Conformance
SQL/OLB, SQL Conformance
SQL/PSM, SQL Conformance
SQL/Schemata, SQL Conformance
SQL/XML, SQL Conformance
limits and conformance, XML Limits and Conformance to SQL/XML
sqrt, Mathematical Functions and Operators
ssh, Secure TCP/IP Connections with SSH Tunnels
SSI, Introduction
SSL, Secure TCP/IP Connections with SSL, SSL Support
in libpq, Connection Status Functions
with libpq, Parameter Key Words
ssl configuration parameter, SSL
sslinfo, sslinfo
ssl_ca_file configuration parameter, SSL
ssl_cert_file configuration parameter, SSL
ssl_cipher, Functions Provided
ssl_ciphers configuration parameter, SSL
ssl_client_cert_present, Functions Provided
ssl_client_dn, Functions Provided
ssl_client_dn_field, Functions Provided
ssl_client_serial, Functions Provided
ssl_crl_file configuration parameter, SSL
ssl_dh_params_file configuration parameter, SSL
ssl_ecdh_curve configuration parameter, SSL
ssl_extension_info, Functions Provided
ssl_issuer_dn, Functions Provided
ssl_issuer_field, Functions Provided
ssl_is_used, Functions Provided
ssl_key_file configuration parameter, SSL
ssl_passphrase_command configuration parameter, SSL
ssl_passphrase_command_supports_reload configuration parameter, SSL
ssl_prefer_server_ciphers configuration parameter, SSL
ssl_version, Functions Provided
SSPI, SSPI Authentication
STABLE, Function Volatility Categories
standard deviation, Aggregate Functions
population, Aggregate Functions
sample, Aggregate Functions
standard_conforming_strings configuration parameter, Previous PostgreSQL Versions
standby server, High Availability, Load Balancing, and Replication
standby_mode recovery parameter, Standby Server Settings
START TRANSACTION, START TRANSACTION
starts_with, String Functions and Operators
START_REPLICATION, Streaming Replication Protocol
statement_timeout configuration parameter, Statement Behavior
statement_timestamp, Date/Time Functions and Operators
statistics, Aggregate Functions, Statistics Used by the Planner, Extended Statistics, Updating Planner Statistics, The Statistics Collector
of the planner, Statistics Used by the Planner, Extended Statistics, Updating Planner Statistics
stats_temp_directory configuration parameter, Query and Index Statistics Collector
stddev, Aggregate Functions
stddev_pop, Aggregate Functions
stddev_samp, Aggregate Functions
STONITH, High Availability, Load Balancing, and Replication
storage parameters, Storage Parameters
Streaming Replication, High Availability, Load Balancing, and Replication
strict_word_similarity, Functions and Operators
string (see character string)
strings
backslash quotes, Previous PostgreSQL Versions
escape warning, Previous PostgreSQL Versions
standard conforming, Previous PostgreSQL Versions
string_agg, Aggregate Functions
string_to_array, Array Functions and Operators
strip, Text Search Functions and Operators, Manipulating Documents
strpos, String Functions and Operators
subarray, intarray Functions and Operators
subltree, Operators and Functions
subpath, Operators and Functions
subquery, Aggregate Functions, Scalar Subqueries, Subqueries, Subquery Expressions
subscript, Subscripts
substr, String Functions and Operators
substring, String Functions and Operators, Binary String Functions and Operators, SIMILAR TO Regular Expressions, POSIX Regular Expressions
subtransactions
in PL/Tcl, Explicit Subtransactions in PL/Tcl
sum, Aggregate Functions
superuser, Accessing a Database, Role Attributes
superuser_reserved_connections configuration parameter, Connection Settings
support functions
in_range, B-Tree Support Functions
suppress_redundant_updates_trigger, Trigger Functions
svals, hstore Operators and Functions
synchronize_seqscans configuration parameter, Previous PostgreSQL Versions
synchronous commit, Asynchronous Commit
Synchronous Replication, High Availability, Load Balancing, and Replication
synchronous_commit configuration parameter, Settings
synchronous_standby_names configuration parameter, Master Server
syntax, SQL Syntax
SQL, SQL Syntax
syslog_facility configuration parameter, Where To Log
syslog_ident configuration parameter, Where To Log
syslog_sequence_numbers configuration parameter, Where To Log
syslog_split_messages configuration parameter, Where To Log
system catalog, The System Catalog Schema
schema, The System Catalog Schema
systemd, Installation Procedure, Starting the Database Server
RemoveIPC, systemd RemoveIPC

T

table, Concepts, Table Basics, Modifying Tables
creating, Table Basics
inheritance, Inheritance
modifying, Modifying Tables
partitioning, Table Partitioning
removing, Table Basics
renaming, Renaming a Table
TABLE command, SELECT
table expression, Table Expressions
table function, Table Functions, xmltable
XMLTABLE, xmltable
table sampling method, Writing A Table Sampling Method
tablefunc, tablefunc
tableoid, System Columns
TABLESAMPLE method, Writing A Table Sampling Method
tablespace, Tablespaces
default, Statement Behavior
temporary, Statement Behavior
tan, Mathematical Functions and Operators
tand, Mathematical Functions and Operators
target list, The Query Tree
Tcl, PL/Tcl - Tcl Procedural Language
tcn, tcn
tcp_keepalives_count configuration parameter, Connection Settings
tcp_keepalives_idle configuration parameter, Connection Settings
tcp_keepalives_interval configuration parameter, Connection Settings
template0, Template Databases
template1, Creating a Database, Template Databases
temp_buffers configuration parameter, Memory
temp_file_limit configuration parameter, Disk
temp_tablespaces configuration parameter, Statement Behavior
test, Regression Tests
test_decoding, test_decoding
text, Character Types, Network Address Functions and Operators
text search, Text Search Types, Text Search Types, Full Text Search, GIN and GiST Index Types
data types, Text Search Types
functions and operators, Text Search Types
indexes, GIN and GiST Index Types
text2ltree, Operators and Functions
threads, Behavior in Threaded Programs
with libpq, Behavior in Threaded Programs
tid, Object Identifier Types
time, Date/Time Types, Times
constants, Special Values
current, Current Date/Time
output format, Date/Time Output
(see also formatting)
time span, Date/Time Types
time with time zone, Date/Time Types, Times
time without time zone, Date/Time Types, Times
time zone, Time Zones, Locale and Formatting
conversion, AT TIME ZONE
input abbreviations, Date/Time Configuration Files
time zone data, Installation Procedure
time zone names, Locale and Formatting
timelines, Backup and Restore
TIMELINE_HISTORY, Streaming Replication Protocol
timeofday, Date/Time Functions and Operators
timeout
client authentication, Authentication
deadlock, Lock Management
timestamp, Date/Time Types, Time Stamps
timestamp with time zone, Date/Time Types, Time Stamps
timestamp without time zone, Date/Time Types, Time Stamps
timestamptz, Date/Time Types
TimeZone configuration parameter, Locale and Formatting
timezone_abbreviations configuration parameter, Locale and Formatting
TOAST, TOAST
and user-defined types, TOAST Considerations
per-column storage settings, Description
versus large objects, Introduction
token, Lexical Structure
to_ascii, String Functions and Operators
to_char, Data Type Formatting Functions
and locales, Behavior
to_date, Data Type Formatting Functions
to_hex, String Functions and Operators
to_json, JSON Functions and Operators
to_jsonb, JSON Functions and Operators
to_number, Data Type Formatting Functions
to_regclass, System Information Functions
to_regnamespace, System Information Functions
to_regoper, System Information Functions
to_regoperator, System Information Functions
to_regproc, System Information Functions
to_regprocedure, System Information Functions
to_regrole, System Information Functions
to_regtype, System Information Functions
to_timestamp, Data Type Formatting Functions, Date/Time Functions and Operators
to_tsquery, Text Search Functions and Operators, Parsing Queries
to_tsvector, Text Search Functions and Operators, Parsing Documents
trace_locks configuration parameter, Developer Options
trace_lock_oidmin configuration parameter, Developer Options
trace_lock_table configuration parameter, Developer Options
trace_lwlocks configuration parameter, Developer Options
trace_notify configuration parameter, Developer Options
trace_recovery_messages configuration parameter, Developer Options
trace_sort configuration parameter, Developer Options
trace_userlocks configuration parameter, Developer Options
track_activities configuration parameter, Query and Index Statistics Collector
track_activity_query_size configuration parameter, Query and Index Statistics Collector
track_commit_timestamp configuration parameter, Sending Servers
track_counts configuration parameter, Query and Index Statistics Collector
track_functions configuration parameter, Query and Index Statistics Collector
track_io_timing configuration parameter, Query and Index Statistics Collector
transaction, Transactions
transaction ID, Preventing Transaction ID Wraparound Failures
wraparound, Preventing Transaction ID Wraparound Failures
transaction isolation, Transaction Isolation
transaction isolation level, Transaction Isolation
read committed, Read Committed Isolation Level
repeatable read, Repeatable Read Isolation Level
serializable, Serializable Isolation Level
setting, SET TRANSACTION
setting default, Statement Behavior
transaction log (see WAL)
transaction_timestamp, Date/Time Functions and Operators
transform_null_equals configuration parameter, Platform and Client Compatibility
transition tables, CREATE TRIGGER
(see also ephemeral named relation)
implementation in PLs, SPI_register_trigger_data
referencing from C trigger, Writing Trigger Functions in C
translate, String Functions and Operators
transparent + huge pages, Memory
trigger, Pseudo-Types, Triggers, Writing Trigger Functions in C, Rules Versus Triggers, Trigger Functions, Trigger Functions
arguments for trigger functions, Overview of Trigger Behavior
for updating a derived tsvector column, Triggers for Automatic Updates
in C, Writing Trigger Functions in C
in PL/pgSQL, Trigger Functions
in PL/Python, Trigger Functions
in PL/Tcl, Trigger Functions in PL/Tcl
compared with rules, Rules Versus Triggers
triggered_change_notification, tcn
trigger_file recovery parameter, Standby Server Settings
trim, String Functions and Operators, Binary String Functions and Operators
true, Boolean Type
trunc, Mathematical Functions and Operators, Network Address Functions and Operators
TRUNCATE, TRUNCATE
trusted, Trusted and Untrusted PL/Perl
PL/Perl, Trusted and Untrusted PL/Perl
tsm_handler, Pseudo-Types
tsm_system_rows, tsm_system_rows
tsm_system_time, tsm_system_time
tsquery (data type), tsquery
tsquery_phrase, Text Search Functions and Operators, Manipulating Queries
tsvector (data type), tsvector
tsvector concatenation, Manipulating Documents
tsvector_to_array, Text Search Functions and Operators
tsvector_update_trigger, Text Search Functions and Operators
tsvector_update_trigger_column, Text Search Functions and Operators
ts_debug, Text Search Functions and Operators, Configuration Testing
ts_delete, Text Search Functions and Operators
ts_filter, Text Search Functions and Operators
ts_headline, Text Search Functions and Operators, Highlighting Results
ts_lexize, Text Search Functions and Operators, Dictionary Testing
ts_parse, Text Search Functions and Operators, Parser Testing
ts_rank, Text Search Functions and Operators, Ranking Search Results
ts_rank_cd, Text Search Functions and Operators, Ranking Search Results
ts_rewrite, Text Search Functions and Operators, Query Rewriting
ts_stat, Text Search Functions and Operators, Gathering Document Statistics
ts_token_type, Text Search Functions and Operators, Parser Testing
tuple_data_split, Heap Functions
txid_current, System Information Functions
txid_current_if_assigned, System Information Functions
txid_current_snapshot, System Information Functions
txid_snapshot_xip, System Information Functions
txid_snapshot_xmax, System Information Functions
txid_snapshot_xmin, System Information Functions
txid_status, System Information Functions
txid_visible_in_snapshot, System Information Functions
type (see data type)
type cast, Numeric Constants, Type Casts

U

UESCAPE, Identifiers and Key Words, String Constants with Unicode Escapes
unaccent, unaccent, Functions
Unicode escape, String Constants with Unicode Escapes
in identifiers, Identifiers and Key Words
in string constants, String Constants with Unicode Escapes
UNION, Combining Queries, UNION, CASE, and Related Constructs
determination of result type, UNION, CASE, and Related Constructs
uniq, intarray Functions and Operators
unique constraint, Unique Constraints
Unix domain socket, Parameter Key Words
unix_socket_directories configuration parameter, Connection Settings
unix_socket_group configuration parameter, Connection Settings
unix_socket_permissions configuration parameter, Connection Settings
unknown, Pseudo-Types
UNLISTEN, UNLISTEN
unnest, Array Functions and Operators
for tsvector, Text Search Functions and Operators
unqualified name, The Schema Search Path
updatable views, Updatable Views
UPDATE, Updates, Updating Data, Returning Data From Modified Rows, UPDATE
RETURNING, Returning Data From Modified Rows
update_process_title configuration parameter, Process Title
updating, Updating Data
upgrading, Upgrading a PostgreSQL Cluster
upper, String Functions and Operators, Range Functions and Operators
and locales, Behavior
upper_inc, Range Functions and Operators
upper_inf, Range Functions and Operators
UPSERT, INSERT
URI, Connection Strings
user, System Information Functions, Database Roles
current, System Information Functions
user mapping, Foreign Data
User name maps, User Name Maps
UUID, UUID Type, Installation Procedure
uuid-ossp, uuid-ossp
uuid_generate_v1, uuid-ossp Functions
uuid_generate_v1mc, uuid-ossp Functions
uuid_generate_v3, uuid-ossp Functions

V

vacuum, Routine Vacuuming
VACUUM, VACUUM
vacuumdb, vacuumdb
vacuumlo, vacuumlo
vacuum_cleanup_index_scale_factor configuration parameter, Statement Behavior
vacuum_cost_delay configuration parameter, Cost-based Vacuum Delay
vacuum_cost_limit configuration parameter, Cost-based Vacuum Delay
vacuum_cost_page_dirty configuration parameter, Cost-based Vacuum Delay
vacuum_cost_page_hit configuration parameter, Cost-based Vacuum Delay
vacuum_cost_page_miss configuration parameter, Cost-based Vacuum Delay
vacuum_defer_cleanup_age configuration parameter, Master Server
vacuum_freeze_min_age configuration parameter, Statement Behavior
vacuum_freeze_table_age configuration parameter, Statement Behavior
vacuum_multixact_freeze_min_age configuration parameter, Statement Behavior
vacuum_multixact_freeze_table_age configuration parameter, Statement Behavior
value expression, Value Expressions
VALUES, VALUES Lists, UNION, CASE, and Related Constructs, VALUES
determination of result type, UNION, CASE, and Related Constructs
varchar, Character Types
variadic function, SQL Functions with Variable Numbers of Arguments
variance, Aggregate Functions
population, Aggregate Functions
sample, Aggregate Functions
var_pop, Aggregate Functions
var_samp, Aggregate Functions
version, Accessing a Database, System Information Functions, Upgrading a PostgreSQL Cluster
compatibility, Upgrading a PostgreSQL Cluster
view, Views, Views and the Rule System, Materialized Views, Cooperation with Views
implementation through rules, Views and the Rule System
materialized, Materialized Views
updating, Cooperation with Views
Visibility Map, Visibility Map
VM (see Visibility Map)
void, Pseudo-Types
VOLATILE, Function Volatility Categories
volatility, Function Volatility Categories
functions, Function Volatility Categories
VPATH, Installation Procedure, Extension Building Infrastructure

W

WAL, Reliability and the Write-Ahead Log
wal_block_size configuration parameter, Preset Options
wal_buffers configuration parameter, Settings
wal_compression configuration parameter, Settings
wal_consistency_checking configuration parameter, Developer Options
wal_debug configuration parameter, Developer Options
wal_keep_segments configuration parameter, Sending Servers
wal_level configuration parameter, Settings
wal_log_hints configuration parameter, Settings
wal_receiver_status_interval configuration parameter, Standby Servers
wal_receiver_timeout configuration parameter, Standby Servers
wal_retrieve_retry_interval configuration parameter, Standby Servers
wal_segment_size configuration parameter, Preset Options
wal_sender_timeout configuration parameter, Sending Servers
wal_sync_method configuration parameter, Settings
wal_writer_delay configuration parameter, Settings
wal_writer_flush_after configuration parameter, Settings
warm standby, High Availability, Load Balancing, and Replication
websearch_to_tsquery, Text Search Functions and Operators
WHERE, The WHERE Clause
where to log, Where To Log
WHILE
in PL/pgSQL, WHILE
width, Geometric Functions and Operators
width_bucket, Mathematical Functions and Operators
window function, Window Functions, Window Function Calls, Window Function Processing, Window Functions
built-in, Window Functions
invocation, Window Function Calls
order of execution, Window Function Processing
WITH, WITH Queries (Common Table Expressions), SELECT
in SELECT, WITH Queries (Common Table Expressions), SELECT
WITH CHECK OPTION, CREATE VIEW
WITHIN GROUP, Aggregate Expressions
witness server, High Availability, Load Balancing, and Replication
word_similarity, Functions and Operators
work_mem configuration parameter, Memory
wraparound
of multixact IDs, Multixacts and Wraparound
of transaction IDs, Preventing Transaction ID Wraparound Failures

X

xid, Object Identifier Types
xmax, System Columns
xmin, System Columns
XML, XML Type
XML export, Mapping Tables to XML
XML Functions, XML Functions
XML option, Creating XML Values, Statement Behavior
xml2, xml2
xmlagg, xmlagg, Aggregate Functions
xmlbinary configuration parameter, Statement Behavior
xmlcomment, xmlcomment
xmlconcat, xmlconcat
xmlelement, xmlelement
XMLEXISTS, XMLEXISTS
xmlforest, xmlforest
xmloption configuration parameter, Statement Behavior
xmlparse, Creating XML Values
xmlpi, xmlpi
xmlroot, xmlroot
xmlserialize, Creating XML Values
xmltable, xmltable
xml_is_well_formed, xml_is_well_formed
xml_is_well_formed_content, xml_is_well_formed
xml_is_well_formed_document, xml_is_well_formed
XPath, xpath
xpath_exists, xpath_exists
xpath_table, xpath_table
xslt_process, xslt_process

Z

zero_damaged_pages configuration parameter, Developer Options
zlib, Requirements, Installation Procedure
\ No newline at end of file diff -Nru postgresql-11-11.6/doc/src/sgml/html/brin-builtin-opclasses.html postgresql-11-11.7/doc/src/sgml/html/brin-builtin-opclasses.html --- postgresql-11-11.6/doc/src/sgml/html/brin-builtin-opclasses.html 2019-11-11 22:18:52.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/brin-builtin-opclasses.html 2020-02-10 22:30:25.000000000 +0000 @@ -1,5 +1,5 @@ -67.2. Built-in Operator Classes

67.2. Built-in Operator Classes

+67.2. Built-in Operator Classes

67.2. Built-in Operator Classes

The core PostgreSQL distribution includes the BRIN operator classes shown in Table 67.1. diff -Nru postgresql-11-11.6/doc/src/sgml/html/brin-extensibility.html postgresql-11-11.7/doc/src/sgml/html/brin-extensibility.html --- postgresql-11-11.6/doc/src/sgml/html/brin-extensibility.html 2019-11-11 22:18:53.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/brin-extensibility.html 2020-02-10 22:30:25.000000000 +0000 @@ -1,5 +1,5 @@ -67.3. Extensibility

67.3. Extensibility

+67.3. Extensibility

67.3. Extensibility

The BRIN interface has a high level of abstraction, requiring the access method implementer only to implement the semantics of the data type being accessed. The BRIN layer diff -Nru postgresql-11-11.6/doc/src/sgml/html/brin-intro.html postgresql-11-11.7/doc/src/sgml/html/brin-intro.html --- postgresql-11-11.6/doc/src/sgml/html/brin-intro.html 2019-11-11 22:18:52.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/brin-intro.html 2020-02-10 22:30:25.000000000 +0000 @@ -1,5 +1,5 @@ -67.1. Introduction

67.1. Introduction

+67.1. Introduction

67.1. Introduction

BRIN stands for Block Range Index. BRIN is designed for handling very large tables in which certain columns have some natural correlation with their diff -Nru postgresql-11-11.6/doc/src/sgml/html/brin.html postgresql-11-11.7/doc/src/sgml/html/brin.html --- postgresql-11-11.6/doc/src/sgml/html/brin.html 2019-11-11 22:18:53.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/brin.html 2020-02-10 22:30:25.000000000 +0000 @@ -1,2 +1,2 @@ -Chapter 67. BRIN Indexes

\ No newline at end of file +Chapter 67. BRIN Indexes \ No newline at end of file diff -Nru postgresql-11-11.6/doc/src/sgml/html/btree-behavior.html postgresql-11-11.7/doc/src/sgml/html/btree-behavior.html --- postgresql-11-11.6/doc/src/sgml/html/btree-behavior.html 2019-11-11 22:18:52.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/btree-behavior.html 2020-02-10 22:30:25.000000000 +0000 @@ -1,5 +1,5 @@ -63.2. Behavior of B-Tree Operator Classes

63.2. Behavior of B-Tree Operator Classes

+63.2. Behavior of B-Tree Operator Classes

63.2. Behavior of B-Tree Operator Classes

As shown in Table 38.2, a btree operator class must provide five comparison operators, <, diff -Nru postgresql-11-11.6/doc/src/sgml/html/btree-gin.html postgresql-11-11.7/doc/src/sgml/html/btree-gin.html --- postgresql-11-11.6/doc/src/sgml/html/btree-gin.html 2019-11-11 22:18:55.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/btree-gin.html 2020-02-10 22:30:27.000000000 +0000 @@ -1,5 +1,5 @@ -F.6. btree_gin

F.6. btree_gin

+F.6. btree_gin

F.6. btree_gin

btree_gin provides sample GIN operator classes that implement B-tree equivalent behavior for the data types int2, int4, int8, float4, diff -Nru postgresql-11-11.6/doc/src/sgml/html/btree-gist.html postgresql-11-11.7/doc/src/sgml/html/btree-gist.html --- postgresql-11-11.6/doc/src/sgml/html/btree-gist.html 2019-11-11 22:18:55.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/btree-gist.html 2020-02-10 22:30:27.000000000 +0000 @@ -1,5 +1,5 @@ -F.7. btree_gist

F.7. btree_gist

+F.7. btree_gist

F.7. btree_gist

btree_gist provides GiST index operator classes that implement B-tree equivalent behavior for the data types int2, int4, int8, float4, diff -Nru postgresql-11-11.6/doc/src/sgml/html/btree-implementation.html postgresql-11-11.7/doc/src/sgml/html/btree-implementation.html --- postgresql-11-11.6/doc/src/sgml/html/btree-implementation.html 2019-11-11 22:18:52.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/btree-implementation.html 2020-02-10 22:30:25.000000000 +0000 @@ -1,5 +1,5 @@ -63.4. Implementation

63.4. Implementation

+63.4. Implementation

63.4. Implementation

An introduction to the btree index implementation can be found in src/backend/access/nbtree/README.

\ No newline at end of file diff -Nru postgresql-11-11.6/doc/src/sgml/html/btree-intro.html postgresql-11-11.7/doc/src/sgml/html/btree-intro.html --- postgresql-11-11.6/doc/src/sgml/html/btree-intro.html 2019-11-11 22:18:52.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/btree-intro.html 2020-02-10 22:30:24.000000000 +0000 @@ -1,5 +1,5 @@ -63.1. Introduction

63.1. Introduction

+63.1. Introduction

63.1. Introduction

PostgreSQL includes an implementation of the standard btree (multi-way balanced tree) index data structure. Any data type that can be sorted into a well-defined linear diff -Nru postgresql-11-11.6/doc/src/sgml/html/btree-support-funcs.html postgresql-11-11.7/doc/src/sgml/html/btree-support-funcs.html --- postgresql-11-11.6/doc/src/sgml/html/btree-support-funcs.html 2019-11-11 22:18:52.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/btree-support-funcs.html 2020-02-10 22:30:25.000000000 +0000 @@ -1,5 +1,5 @@ -63.3. B-Tree Support Functions

63.3. B-Tree Support Functions

+63.3. B-Tree Support Functions

63.3. B-Tree Support Functions

As shown in Table 38.8, btree defines one required and two optional support functions.

diff -Nru postgresql-11-11.6/doc/src/sgml/html/btree.html postgresql-11-11.7/doc/src/sgml/html/btree.html --- postgresql-11-11.6/doc/src/sgml/html/btree.html 2019-11-11 22:18:52.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/btree.html 2020-02-10 22:30:25.000000000 +0000 @@ -1,2 +1,2 @@ -Chapter 63. B-Tree Indexes

\ No newline at end of file +Chapter 63. B-Tree Indexes \ No newline at end of file diff -Nru postgresql-11-11.6/doc/src/sgml/html/bug-reporting.html postgresql-11-11.7/doc/src/sgml/html/bug-reporting.html --- postgresql-11-11.6/doc/src/sgml/html/bug-reporting.html 2019-11-11 22:18:29.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/bug-reporting.html 2020-02-10 22:30:04.000000000 +0000 @@ -1,5 +1,5 @@ -5. Bug Reporting Guidelines

5. Bug Reporting Guidelines

+5. Bug Reporting Guidelines

5. Bug Reporting Guidelines

When you find a bug in PostgreSQL we want to hear about it. Your bug reports play an important part in making PostgreSQL more reliable because even the utmost @@ -154,7 +154,7 @@ subversion the package might have. If you are talking about a Git snapshot, mention that, including the commit hash.

- If your version is older than 11.6 we will almost certainly + If your version is older than 11.7 we will almost certainly tell you to upgrade. There are many bug fixes and improvements in each new release, so it is quite possible that a bug you have encountered in an older release of PostgreSQL diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-aggregate.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-aggregate.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-aggregate.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-aggregate.html 2020-02-10 22:30:22.000000000 +0000 @@ -1,5 +1,5 @@ -52.2. pg_aggregate

52.2. pg_aggregate

+52.2. pg_aggregate

52.2. pg_aggregate

The catalog pg_aggregate stores information about aggregate functions. An aggregate function is a function that operates on a set of values (typically one column from each row diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-am.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-am.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-am.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-am.html 2020-02-10 22:30:22.000000000 +0000 @@ -1,5 +1,5 @@ -52.3. pg_am

52.3. pg_am

+52.3. pg_am

52.3. pg_am

The catalog pg_am stores information about relation access methods. There is one row for each access method supported by the system. diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-amop.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-amop.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-amop.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-amop.html 2020-02-10 22:30:22.000000000 +0000 @@ -1,5 +1,5 @@ -52.4. pg_amop

52.4. pg_amop

+52.4. pg_amop

52.4. pg_amop

The catalog pg_amop stores information about operators associated with access method operator families. There is one row for each operator that is a member of an operator family. A family diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-amproc.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-amproc.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-amproc.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-amproc.html 2020-02-10 22:30:22.000000000 +0000 @@ -1,5 +1,5 @@ -52.5. pg_amproc

52.5. pg_amproc

+52.5. pg_amproc

52.5. pg_amproc

The catalog pg_amproc stores information about support functions associated with access method operator families. There is one row for each support function belonging to an operator family. diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-attrdef.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-attrdef.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-attrdef.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-attrdef.html 2020-02-10 22:30:22.000000000 +0000 @@ -1,5 +1,5 @@ -52.6. pg_attrdef

52.6. pg_attrdef

+52.6. pg_attrdef

52.6. pg_attrdef

The catalog pg_attrdef stores column default values. The main information about columns is stored in pg_attribute (see below). Only columns that explicitly specify a default value diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-attribute.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-attribute.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-attribute.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-attribute.html 2020-02-10 22:30:22.000000000 +0000 @@ -1,5 +1,5 @@ -52.7. pg_attribute

52.7. pg_attribute

+52.7. pg_attribute

52.7. pg_attribute

The catalog pg_attribute stores information about table columns. There will be exactly one pg_attribute row for every column in every diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-auth-members.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-auth-members.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-auth-members.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-auth-members.html 2020-02-10 22:30:22.000000000 +0000 @@ -1,5 +1,5 @@ -52.9. pg_auth_members

52.9. pg_auth_members

+52.9. pg_auth_members

52.9. pg_auth_members

The catalog pg_auth_members shows the membership relations between roles. Any non-circular set of relationships is allowed.

diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-authid.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-authid.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-authid.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-authid.html 2020-02-10 22:30:22.000000000 +0000 @@ -1,5 +1,5 @@ -52.8. pg_authid

52.8. pg_authid

+52.8. pg_authid

52.8. pg_authid

The catalog pg_authid contains information about database authorization identifiers (roles). A role subsumes the concepts of users and groups. A user is essentially just a diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-cast.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-cast.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-cast.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-cast.html 2020-02-10 22:30:22.000000000 +0000 @@ -1,5 +1,5 @@ -52.10. pg_cast

52.10. pg_cast

+52.10. pg_cast

52.10. pg_cast

The catalog pg_cast stores data type conversion paths, both built-in and user-defined.

diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-class.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-class.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-class.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-class.html 2020-02-10 22:30:22.000000000 +0000 @@ -1,5 +1,5 @@ -52.11. pg_class

52.11. pg_class

+52.11. pg_class

52.11. pg_class

The catalog pg_class catalogs tables and most everything else that has columns or is otherwise similar to a table. This includes indexes (but see also diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-collation.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-collation.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-collation.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-collation.html 2020-02-10 22:30:22.000000000 +0000 @@ -1,5 +1,5 @@ -52.12. pg_collation

52.12. pg_collation

+52.12. pg_collation

52.12. pg_collation

The catalog pg_collation describes the available collations, which are essentially mappings from an SQL name to operating system locale categories. diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-constraint.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-constraint.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-constraint.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-constraint.html 2020-02-10 22:30:22.000000000 +0000 @@ -1,5 +1,5 @@ -52.13. pg_constraint

52.13. pg_constraint

+52.13. pg_constraint

52.13. pg_constraint

The catalog pg_constraint stores check, primary key, unique, foreign key, and exclusion constraints on tables. (Column constraints are not treated specially. Every column constraint is diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-conversion.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-conversion.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-conversion.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-conversion.html 2020-02-10 22:30:22.000000000 +0000 @@ -1,5 +1,5 @@ -52.14. pg_conversion

52.14. pg_conversion

+52.14. pg_conversion

52.14. pg_conversion

The catalog pg_conversion describes encoding conversion functions. See CREATE CONVERSION for more information. diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-database.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-database.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-database.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-database.html 2020-02-10 22:30:22.000000000 +0000 @@ -1,5 +1,5 @@ -52.15. pg_database

52.15. pg_database

+52.15. pg_database

52.15. pg_database

The catalog pg_database stores information about the available databases. Databases are created with the CREATE DATABASE command. Consult Chapter 22 for details about the meaning diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-db-role-setting.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-db-role-setting.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-db-role-setting.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-db-role-setting.html 2020-02-10 22:30:22.000000000 +0000 @@ -1,5 +1,5 @@ -52.16. pg_db_role_setting

52.16. pg_db_role_setting

+52.16. pg_db_role_setting

52.16. pg_db_role_setting

The catalog pg_db_role_setting records the default values that have been set for run-time configuration variables, for each role and database combination. diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-default-acl.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-default-acl.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-default-acl.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-default-acl.html 2020-02-10 22:30:22.000000000 +0000 @@ -1,5 +1,5 @@ -52.17. pg_default_acl

52.17. pg_default_acl

+52.17. pg_default_acl

52.17. pg_default_acl

The catalog pg_default_acl stores initial privileges to be assigned to newly created objects.

Table 52.17. pg_default_acl Columns

NameTypeReferencesDescription
oidoid Row identifier (hidden attribute; must be explicitly selected)
defaclroleoidpg_authid.oidThe OID of the role associated with this entry
defaclnamespaceoidpg_namespace.oidThe OID of the namespace associated with this entry, diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-depend.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-depend.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-depend.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-depend.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.18. pg_depend

52.18. pg_depend

+52.18. pg_depend

52.18. pg_depend

The catalog pg_depend records the dependency relationships between database objects. This information allows DROP commands to find which other objects must be dropped diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-description.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-description.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-description.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-description.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.19. pg_description

52.19. pg_description

+52.19. pg_description

52.19. pg_description

The catalog pg_description stores optional descriptions (comments) for each database object. Descriptions can be manipulated with the COMMENT command and viewed with diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-enum.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-enum.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-enum.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-enum.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.20. pg_enum

52.20. pg_enum

+52.20. pg_enum

52.20. pg_enum

The pg_enum catalog contains entries showing the values and labels for each enum type. The internal representation of a given enum value is actually the OID diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-event-trigger.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-event-trigger.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-event-trigger.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-event-trigger.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.21. pg_event_trigger

52.21. pg_event_trigger

+52.21. pg_event_trigger

52.21. pg_event_trigger

The catalog pg_event_trigger stores event triggers. See Chapter 40 for more information.

Table 52.21. pg_event_trigger Columns

NameTypeReferencesDescription
evtnamename Trigger name (must be unique)
evteventname Identifies the event for which this trigger fires
evtowneroidpg_authid.oidOwner of the event trigger
evtfoidoidpg_proc.oidThe function to be called
evtenabledchar  diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-extension.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-extension.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-extension.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-extension.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.22. pg_extension

52.22. pg_extension

+52.22. pg_extension

52.22. pg_extension

The catalog pg_extension stores information about the installed extensions. See Section 38.16 for details about extensions. diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-foreign-data-wrapper.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-foreign-data-wrapper.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-foreign-data-wrapper.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-foreign-data-wrapper.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.23. pg_foreign_data_wrapper

52.23. pg_foreign_data_wrapper

+52.23. pg_foreign_data_wrapper

52.23. pg_foreign_data_wrapper

The catalog pg_foreign_data_wrapper stores foreign-data wrapper definitions. A foreign-data wrapper is the mechanism by which external data, residing on foreign servers, is diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-foreign-server.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-foreign-server.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-foreign-server.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-foreign-server.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.24. pg_foreign_server

52.24. pg_foreign_server

+52.24. pg_foreign_server

52.24. pg_foreign_server

The catalog pg_foreign_server stores foreign server definitions. A foreign server describes a source of external data, such as a remote server. Foreign diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-foreign-table.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-foreign-table.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-foreign-table.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-foreign-table.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.25. pg_foreign_table

52.25. pg_foreign_table

+52.25. pg_foreign_table

52.25. pg_foreign_table

The catalog pg_foreign_table contains auxiliary information about foreign tables. A foreign table is primarily represented by a pg_class entry, diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-index.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-index.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-index.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-index.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.26. pg_index

52.26. pg_index

+52.26. pg_index

52.26. pg_index

The catalog pg_index contains part of the information about indexes. The rest is mostly in pg_class. diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-inherits.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-inherits.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-inherits.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-inherits.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.27. pg_inherits

52.27. pg_inherits

+52.27. pg_inherits

52.27. pg_inherits

The catalog pg_inherits records information about table inheritance hierarchies. There is one entry for each direct parent-child table relationship in the database. (Indirect inheritance can be determined diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-init-privs.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-init-privs.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-init-privs.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-init-privs.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.28. pg_init_privs

52.28. pg_init_privs

+52.28. pg_init_privs

52.28. pg_init_privs

The catalog pg_init_privs records information about the initial privileges of objects in the system. There is one entry for each object in the database which has a non-default (non-NULL) diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-language.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-language.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-language.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-language.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.29. pg_language

52.29. pg_language

+52.29. pg_language

52.29. pg_language

The catalog pg_language registers languages in which you can write functions or stored procedures. See CREATE LANGUAGE diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-largeobject-metadata.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-largeobject-metadata.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-largeobject-metadata.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-largeobject-metadata.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.31. pg_largeobject_metadata

52.31. pg_largeobject_metadata

+52.31. pg_largeobject_metadata

52.31. pg_largeobject_metadata

The catalog pg_largeobject_metadata holds metadata associated with large objects. The actual large object data is stored in diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-largeobject.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-largeobject.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-largeobject.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-largeobject.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.30. pg_largeobject

52.30. pg_largeobject

+52.30. pg_largeobject

52.30. pg_largeobject

The catalog pg_largeobject holds the data making up large objects. A large object is identified by an OID assigned when it is created. Each large object is broken into diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-namespace.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-namespace.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-namespace.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-namespace.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.32. pg_namespace

52.32. pg_namespace

+52.32. pg_namespace

52.32. pg_namespace

The catalog pg_namespace stores namespaces. A namespace is the structure underlying SQL schemas: each namespace can have a separate collection of relations, types, etc. without name diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-opclass.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-opclass.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-opclass.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-opclass.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.33. pg_opclass

52.33. pg_opclass

+52.33. pg_opclass

52.33. pg_opclass

The catalog pg_opclass defines index access method operator classes. Each operator class defines semantics for index columns of a particular data type and a particular diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-operator.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-operator.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-operator.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-operator.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.34. pg_operator

52.34. pg_operator

+52.34. pg_operator

52.34. pg_operator

The catalog pg_operator stores information about operators. See CREATE OPERATOR and Section 38.13 for more information. diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-opfamily.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-opfamily.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-opfamily.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-opfamily.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.35. pg_opfamily

52.35. pg_opfamily

+52.35. pg_opfamily

52.35. pg_opfamily

The catalog pg_opfamily defines operator families. Each operator family is a collection of operators and associated support routines that implement the semantics specified for a particular diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-partitioned-table.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-partitioned-table.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-partitioned-table.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-partitioned-table.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.36. pg_partitioned_table

52.36. pg_partitioned_table

+52.36. pg_partitioned_table

52.36. pg_partitioned_table

The catalog pg_partitioned_table stores information about how tables are partitioned.

Table 52.36. pg_partitioned_table Columns

NameTypeReferencesDescription
partrelidoidpg_class.oidThe OID of the pg_class entry for this partitioned table
partstratchar  diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-pltemplate.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-pltemplate.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-pltemplate.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-pltemplate.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.37. pg_pltemplate

52.37. pg_pltemplate

+52.37. pg_pltemplate

52.37. pg_pltemplate

The catalog pg_pltemplate stores template information for procedural languages. A template for a language allows the language to be created in a diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-policy.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-policy.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-policy.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-policy.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.38. pg_policy

52.38. pg_policy

+52.38. pg_policy

52.38. pg_policy

The catalog pg_policy stores row level security policies for tables. A policy includes the kind of command that it applies to (possibly all commands), the roles that it diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-proc.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-proc.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-proc.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-proc.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.39. pg_proc

52.39. pg_proc

+52.39. pg_proc

52.39. pg_proc

The catalog pg_proc stores information about functions, procedures, aggregate functions, and window functions (collectively also known as routines). See CREATE FUNCTION, CREATE PROCEDURE, and diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-publication-rel.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-publication-rel.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-publication-rel.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-publication-rel.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.41. pg_publication_rel

52.41. pg_publication_rel

+52.41. pg_publication_rel

52.41. pg_publication_rel

The catalog pg_publication_rel contains the mapping between relations and publications in the database. This is a many-to-many mapping. See also Section 52.78 diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-publication.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-publication.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-publication.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-publication.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.40. pg_publication

52.40. pg_publication

+52.40. pg_publication

52.40. pg_publication

The catalog pg_publication contains all publications created in the database. For more on publications see Section 31.1. diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-range.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-range.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-range.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-range.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.42. pg_range

52.42. pg_range

+52.42. pg_range

52.42. pg_range

The catalog pg_range stores information about range types. This is in addition to the types' entries in pg_type. diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-replication-origin.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-replication-origin.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-replication-origin.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-replication-origin.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.43. pg_replication_origin

52.43. pg_replication_origin

+52.43. pg_replication_origin

52.43. pg_replication_origin

The pg_replication_origin catalog contains all replication origins created. For more on replication origins see Chapter 50. diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-rewrite.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-rewrite.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-rewrite.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-rewrite.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.44. pg_rewrite

52.44. pg_rewrite

+52.44. pg_rewrite

52.44. pg_rewrite

The catalog pg_rewrite stores rewrite rules for tables and views.

Table 52.44. pg_rewrite Columns

NameTypeReferencesDescription
oidoid Row identifier (hidden attribute; must be explicitly selected)
rulenamename Rule name
ev_classoidpg_class.oidThe table this rule is for
ev_typechar  Event type that the rule is for: 1 = SELECT, 2 = diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-seclabel.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-seclabel.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-seclabel.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-seclabel.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.45. pg_seclabel

52.45. pg_seclabel

+52.45. pg_seclabel

52.45. pg_seclabel

The catalog pg_seclabel stores security labels on database objects. Security labels can be manipulated with the SECURITY LABEL command. For an easier diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-sequence.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-sequence.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-sequence.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-sequence.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.46. pg_sequence

52.46. pg_sequence

+52.46. pg_sequence

52.46. pg_sequence

The catalog pg_sequence contains information about sequences. Some of the information about sequences, such as the name and the schema, is in pg_class. diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-shdepend.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-shdepend.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-shdepend.html 2019-11-11 22:18:51.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-shdepend.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.47. pg_shdepend

52.47. pg_shdepend

+52.47. pg_shdepend

52.47. pg_shdepend

The catalog pg_shdepend records the dependency relationships between database objects and shared objects, such as roles. This information allows diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-shdescription.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-shdescription.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-shdescription.html 2019-11-11 22:18:51.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-shdescription.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.48. pg_shdescription

52.48. pg_shdescription

+52.48. pg_shdescription

52.48. pg_shdescription

The catalog pg_shdescription stores optional descriptions (comments) for shared database objects. Descriptions can be manipulated with the COMMENT command and viewed with diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-shseclabel.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-shseclabel.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-shseclabel.html 2019-11-11 22:18:51.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-shseclabel.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.49. pg_shseclabel

52.49. pg_shseclabel

+52.49. pg_shseclabel

52.49. pg_shseclabel

The catalog pg_shseclabel stores security labels on shared database objects. Security labels can be manipulated with the SECURITY LABEL command. For an easier diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-statistic-ext.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-statistic-ext.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-statistic-ext.html 2019-11-11 22:18:51.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-statistic-ext.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.51. pg_statistic_ext

52.51. pg_statistic_ext

+52.51. pg_statistic_ext

52.51. pg_statistic_ext

The catalog pg_statistic_ext holds extended planner statistics. Each row in this catalog corresponds to a statistics object diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-statistic.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-statistic.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-statistic.html 2019-11-11 22:18:51.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-statistic.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.50. pg_statistic

52.50. pg_statistic

+52.50. pg_statistic

52.50. pg_statistic

The catalog pg_statistic stores statistical data about the contents of the database. Entries are created by ANALYZE diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-subscription-rel.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-subscription-rel.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-subscription-rel.html 2019-11-11 22:18:51.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-subscription-rel.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.53. pg_subscription_rel

52.53. pg_subscription_rel

+52.53. pg_subscription_rel

52.53. pg_subscription_rel

The catalog pg_subscription_rel contains the state for each replicated relation in each subscription. This is a many-to-many mapping. diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-subscription.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-subscription.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-subscription.html 2019-11-11 22:18:51.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-subscription.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.52. pg_subscription

52.52. pg_subscription

+52.52. pg_subscription

52.52. pg_subscription

The catalog pg_subscription contains all existing logical replication subscriptions. For more information about logical replication see Chapter 31. diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-tablespace.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-tablespace.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-tablespace.html 2019-11-11 22:18:51.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-tablespace.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.54. pg_tablespace

52.54. pg_tablespace

+52.54. pg_tablespace

52.54. pg_tablespace

The catalog pg_tablespace stores information about the available tablespaces. Tables can be placed in particular tablespaces to aid administration of disk layout. diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-transform.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-transform.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-transform.html 2019-11-11 22:18:51.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-transform.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.55. pg_transform

52.55. pg_transform

+52.55. pg_transform

52.55. pg_transform

The catalog pg_transform stores information about transforms, which are a mechanism to adapt data types to procedural languages. See CREATE TRANSFORM for more information. diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-trigger.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-trigger.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-trigger.html 2019-11-11 22:18:51.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-trigger.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.56. pg_trigger

52.56. pg_trigger

+52.56. pg_trigger

52.56. pg_trigger

The catalog pg_trigger stores triggers on tables and views. See CREATE TRIGGER diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-ts-config-map.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-ts-config-map.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-ts-config-map.html 2019-11-11 22:18:51.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-ts-config-map.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.58. pg_ts_config_map

52.58. pg_ts_config_map

+52.58. pg_ts_config_map

52.58. pg_ts_config_map

The pg_ts_config_map catalog contains entries showing which text search dictionaries should be consulted, and in what order, for each output token type of each text search configuration's diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-ts-config.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-ts-config.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-ts-config.html 2019-11-11 22:18:51.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-ts-config.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.57. pg_ts_config

52.57. pg_ts_config

+52.57. pg_ts_config

52.57. pg_ts_config

The pg_ts_config catalog contains entries representing text search configurations. A configuration specifies a particular text search parser and a list of dictionaries to use diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-ts-dict.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-ts-dict.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-ts-dict.html 2019-11-11 22:18:51.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-ts-dict.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.59. pg_ts_dict

52.59. pg_ts_dict

+52.59. pg_ts_dict

52.59. pg_ts_dict

The pg_ts_dict catalog contains entries defining text search dictionaries. A dictionary depends on a text search template, which specifies all the implementation functions diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-ts-parser.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-ts-parser.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-ts-parser.html 2019-11-11 22:18:51.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-ts-parser.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.60. pg_ts_parser

52.60. pg_ts_parser

+52.60. pg_ts_parser

52.60. pg_ts_parser

The pg_ts_parser catalog contains entries defining text search parsers. A parser is responsible for splitting input text into lexemes and assigning a token type to each lexeme. diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-ts-template.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-ts-template.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-ts-template.html 2019-11-11 22:18:51.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-ts-template.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.61. pg_ts_template

52.61. pg_ts_template

+52.61. pg_ts_template

52.61. pg_ts_template

The pg_ts_template catalog contains entries defining text search templates. A template is the implementation skeleton for a class of text search dictionaries. diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-type.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-type.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-type.html 2019-11-11 22:18:51.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-type.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.62. pg_type

52.62. pg_type

+52.62. pg_type

52.62. pg_type

The catalog pg_type stores information about data types. Base types and enum types (scalar types) are created with CREATE TYPE, and diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalog-pg-user-mapping.html postgresql-11-11.7/doc/src/sgml/html/catalog-pg-user-mapping.html --- postgresql-11-11.6/doc/src/sgml/html/catalog-pg-user-mapping.html 2019-11-11 22:18:51.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalog-pg-user-mapping.html 2020-02-10 22:30:23.000000000 +0000 @@ -1,5 +1,5 @@ -52.63. pg_user_mapping

52.63. pg_user_mapping

+52.63. pg_user_mapping

52.63. pg_user_mapping

The catalog pg_user_mapping stores the mappings from local user to remote. Access to this catalog is restricted from normal users, use the view diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalogs-overview.html postgresql-11-11.7/doc/src/sgml/html/catalogs-overview.html --- postgresql-11-11.6/doc/src/sgml/html/catalogs-overview.html 2019-11-11 22:18:50.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalogs-overview.html 2020-02-10 22:30:22.000000000 +0000 @@ -1,5 +1,5 @@ -52.1. Overview

52.1. Overview

+52.1. Overview

52.1. Overview

Table 52.1 lists the system catalogs. More detailed documentation of each catalog follows below.

diff -Nru postgresql-11-11.6/doc/src/sgml/html/catalogs.html postgresql-11-11.7/doc/src/sgml/html/catalogs.html --- postgresql-11-11.6/doc/src/sgml/html/catalogs.html 2019-11-11 22:18:51.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/catalogs.html 2020-02-10 22:30:24.000000000 +0000 @@ -1,5 +1,5 @@ -Chapter 52. System Catalogs

Chapter 52. System Catalogs

Table of Contents

52.1. Overview
52.2. pg_aggregate
52.3. pg_am
52.4. pg_amop
52.5. pg_amproc
52.6. pg_attrdef
52.7. pg_attribute
52.8. pg_authid
52.9. pg_auth_members
52.10. pg_cast
52.11. pg_class
52.12. pg_collation
52.13. pg_constraint
52.14. pg_conversion
52.15. pg_database
52.16. pg_db_role_setting
52.17. pg_default_acl
52.18. pg_depend
52.19. pg_description
52.20. pg_enum
52.21. pg_event_trigger
52.22. pg_extension
52.23. pg_foreign_data_wrapper
52.24. pg_foreign_server
52.25. pg_foreign_table
52.26. pg_index
52.27. pg_inherits
52.28. pg_init_privs
52.29. pg_language
52.30. pg_largeobject
52.31. pg_largeobject_metadata
52.32. pg_namespace
52.33. pg_opclass
52.34. pg_operator
52.35. pg_opfamily
52.36. pg_partitioned_table
52.37. pg_pltemplate
52.38. pg_policy
52.39. pg_proc
52.40. pg_publication
52.41. pg_publication_rel
52.42. pg_range
52.43. pg_replication_origin
52.44. pg_rewrite
52.45. pg_seclabel
52.46. pg_sequence
52.47. pg_shdepend
52.48. pg_shdescription
52.49. pg_shseclabel
52.50. pg_statistic
52.51. pg_statistic_ext
52.52. pg_subscription
52.53. pg_subscription_rel
52.54. pg_tablespace
52.55. pg_transform
52.56. pg_trigger
52.57. pg_ts_config
52.58. pg_ts_config_map
52.59. pg_ts_dict
52.60. pg_ts_parser
52.61. pg_ts_template
52.62. pg_type
52.63. pg_user_mapping
52.64. System Views
52.65. pg_available_extensions
52.66. pg_available_extension_versions
52.67. pg_config
52.68. pg_cursors
52.69. pg_file_settings
52.70. pg_group
52.71. pg_hba_file_rules
52.72. pg_indexes
52.73. pg_locks
52.74. pg_matviews
52.75. pg_policies
52.76. pg_prepared_statements
52.77. pg_prepared_xacts
52.78. pg_publication_tables
52.79. pg_replication_origin_status
52.80. pg_replication_slots
52.81. pg_roles
52.82. pg_rules
52.83. pg_seclabels
52.84. pg_sequences
52.85. pg_settings
52.86. pg_shadow
52.87. pg_stats
52.88. pg_tables
52.89. pg_timezone_abbrevs
52.90. pg_timezone_names
52.91. pg_user
52.92. pg_user_mappings
52.93. pg_views

+Chapter 52. System Catalogs

Chapter 52. System Catalogs

Table of Contents

52.1. Overview
52.2. pg_aggregate
52.3. pg_am
52.4. pg_amop
52.5. pg_amproc
52.6. pg_attrdef
52.7. pg_attribute
52.8. pg_authid
52.9. pg_auth_members
52.10. pg_cast
52.11. pg_class
52.12. pg_collation
52.13. pg_constraint
52.14. pg_conversion
52.15. pg_database
52.16. pg_db_role_setting
52.17. pg_default_acl
52.18. pg_depend
52.19. pg_description
52.20. pg_enum
52.21. pg_event_trigger
52.22. pg_extension
52.23. pg_foreign_data_wrapper
52.24. pg_foreign_server
52.25. pg_foreign_table
52.26. pg_index
52.27. pg_inherits
52.28. pg_init_privs
52.29. pg_language
52.30. pg_largeobject
52.31. pg_largeobject_metadata
52.32. pg_namespace
52.33. pg_opclass
52.34. pg_operator
52.35. pg_opfamily
52.36. pg_partitioned_table
52.37. pg_pltemplate
52.38. pg_policy
52.39. pg_proc
52.40. pg_publication
52.41. pg_publication_rel
52.42. pg_range
52.43. pg_replication_origin
52.44. pg_rewrite
52.45. pg_seclabel
52.46. pg_sequence
52.47. pg_shdepend
52.48. pg_shdescription
52.49. pg_shseclabel
52.50. pg_statistic
52.51. pg_statistic_ext
52.52. pg_subscription
52.53. pg_subscription_rel
52.54. pg_tablespace
52.55. pg_transform
52.56. pg_trigger
52.57. pg_ts_config
52.58. pg_ts_config_map
52.59. pg_ts_dict
52.60. pg_ts_parser
52.61. pg_ts_template
52.62. pg_type
52.63. pg_user_mapping
52.64. System Views
52.65. pg_available_extensions
52.66. pg_available_extension_versions
52.67. pg_config
52.68. pg_cursors
52.69. pg_file_settings
52.70. pg_group
52.71. pg_hba_file_rules
52.72. pg_indexes
52.73. pg_locks
52.74. pg_matviews
52.75. pg_policies
52.76. pg_prepared_statements
52.77. pg_prepared_xacts
52.78. pg_publication_tables
52.79. pg_replication_origin_status
52.80. pg_replication_slots
52.81. pg_roles
52.82. pg_rules
52.83. pg_seclabels
52.84. pg_sequences
52.85. pg_settings
52.86. pg_shadow
52.87. pg_stats
52.88. pg_tables
52.89. pg_timezone_abbrevs
52.90. pg_timezone_names
52.91. pg_user
52.92. pg_user_mappings
52.93. pg_views

The system catalogs are the place where a relational database management system stores schema metadata, such as information about tables and columns, and internal bookkeeping information. diff -Nru postgresql-11-11.6/doc/src/sgml/html/charset.html postgresql-11-11.7/doc/src/sgml/html/charset.html --- postgresql-11-11.6/doc/src/sgml/html/charset.html 2019-11-11 22:18:36.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/charset.html 2020-02-10 22:30:10.000000000 +0000 @@ -1,5 +1,5 @@ -Chapter 23. Localization

Chapter 23. Localization

+Chapter 23. Localization

Chapter 23. Localization

This chapter describes the available localization features from the point of view of the administrator. PostgreSQL supports two localization diff -Nru postgresql-11-11.6/doc/src/sgml/html/citext.html postgresql-11-11.7/doc/src/sgml/html/citext.html --- postgresql-11-11.6/doc/src/sgml/html/citext.html 2019-11-11 22:18:55.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/citext.html 2020-02-10 22:30:27.000000000 +0000 @@ -1,5 +1,5 @@ -F.8. citext

F.8. citext

+F.8. citext

F.8. citext

The citext module provides a case-insensitive character string type, citext. Essentially, it internally calls lower when comparing values. Otherwise, it behaves almost diff -Nru postgresql-11-11.6/doc/src/sgml/html/client-authentication-problems.html postgresql-11-11.7/doc/src/sgml/html/client-authentication-problems.html --- postgresql-11-11.6/doc/src/sgml/html/client-authentication-problems.html 2019-11-11 22:18:35.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/client-authentication-problems.html 2020-02-10 22:30:10.000000000 +0000 @@ -1,5 +1,5 @@ -20.15. Authentication Problems

20.15. Authentication Problems

+20.15. Authentication Problems

20.15. Authentication Problems

Authentication failures and related problems generally manifest themselves through error messages like the following:

diff -Nru postgresql-11-11.6/doc/src/sgml/html/client-authentication.html postgresql-11-11.7/doc/src/sgml/html/client-authentication.html --- postgresql-11-11.6/doc/src/sgml/html/client-authentication.html 2019-11-11 22:18:35.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/client-authentication.html 2020-02-10 22:30:10.000000000 +0000 @@ -1,5 +1,5 @@ -Chapter 20. Client Authentication

Chapter 20. Client Authentication

+Chapter 20. Client Authentication

Chapter 20. Client Authentication

When a client application connects to the database server, it specifies which PostgreSQL database user name it wants to connect as, much the same way one logs into a Unix computer diff -Nru postgresql-11-11.6/doc/src/sgml/html/client-interfaces.html postgresql-11-11.7/doc/src/sgml/html/client-interfaces.html --- postgresql-11-11.6/doc/src/sgml/html/client-interfaces.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/client-interfaces.html 2020-02-10 22:30:13.000000000 +0000 @@ -1,5 +1,5 @@ -Part IV. Client Interfaces

Part IV. Client Interfaces

+Part IV. Client Interfaces

Part IV. Client Interfaces

This part describes the client programming interfaces distributed with PostgreSQL. Each of these chapters can be read independently. Note that there are many other programming diff -Nru postgresql-11-11.6/doc/src/sgml/html/collation.html postgresql-11-11.7/doc/src/sgml/html/collation.html --- postgresql-11-11.6/doc/src/sgml/html/collation.html 2019-11-11 22:18:36.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/collation.html 2020-02-10 22:30:10.000000000 +0000 @@ -1,5 +1,5 @@ -23.2. Collation Support

23.2. Collation Support

+23.2. Collation Support

23.2. Collation Support

The collation feature allows specifying the sort order and character classification behavior of data per-column, or even per-operation. This alleviates the restriction that the diff -Nru postgresql-11-11.6/doc/src/sgml/html/config-setting.html postgresql-11-11.7/doc/src/sgml/html/config-setting.html --- postgresql-11-11.6/doc/src/sgml/html/config-setting.html 2019-11-11 22:18:35.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/config-setting.html 2020-02-10 22:30:09.000000000 +0000 @@ -1,5 +1,5 @@ -19.1. Setting Parameters

19.1. Setting Parameters

19.1.1. Parameter Names and Values

+19.1. Setting Parameters

19.1. Setting Parameters

19.1.1. Parameter Names and Values

All parameter names are case-insensitive. Every parameter takes a value of one of five types: boolean, string, integer, floating point, or enumerated (enum). The type determines the syntax for setting the diff -Nru postgresql-11-11.6/doc/src/sgml/html/connect-estab.html postgresql-11-11.7/doc/src/sgml/html/connect-estab.html --- postgresql-11-11.6/doc/src/sgml/html/connect-estab.html 2019-11-11 22:18:49.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/connect-estab.html 2020-02-10 22:30:22.000000000 +0000 @@ -1,5 +1,5 @@ -51.2. How Connections are Established

51.2. How Connections are Established

+51.2. How Connections are Established

51.2. How Connections are Established

PostgreSQL is implemented using a simple process per user client/server model. In this model there is one client process connected to diff -Nru postgresql-11-11.6/doc/src/sgml/html/continuous-archiving.html postgresql-11-11.7/doc/src/sgml/html/continuous-archiving.html --- postgresql-11-11.6/doc/src/sgml/html/continuous-archiving.html 2019-11-11 22:18:36.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/continuous-archiving.html 2020-02-10 22:30:10.000000000 +0000 @@ -1,5 +1,5 @@ -25.3. Continuous Archiving and Point-in-Time Recovery (PITR)

25.3. Continuous Archiving and Point-in-Time Recovery (PITR)

+25.3. Continuous Archiving and Point-in-Time Recovery (PITR)

25.3. Continuous Archiving and Point-in-Time Recovery (PITR)

At all times, PostgreSQL maintains a write ahead log (WAL) in the pg_wal/ subdirectory of the cluster's data directory. The log records diff -Nru postgresql-11-11.6/doc/src/sgml/html/contrib-dblink-build-sql-delete.html postgresql-11-11.7/doc/src/sgml/html/contrib-dblink-build-sql-delete.html --- postgresql-11-11.6/doc/src/sgml/html/contrib-dblink-build-sql-delete.html 2019-11-11 22:18:56.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/contrib-dblink-build-sql-delete.html 2020-02-10 22:30:27.000000000 +0000 @@ -1,5 +1,5 @@ -dblink_build_sql_delete

Advances the current confirmed position of a replication slot named slot_name. The slot will not be moved backwards, - and it will not be moved beyond the current insert location. Returns - name of the slot and real position to which it was advanced to. + and it will not be moved beyond the current insert location. Returns + the name of the slot and the real position to which it was advanced to. + The information of the updated slot is written out at the follow-up + checkpoint if any advancing is done. In the event of a crash, the + slot may return to an earlier position.
pg_replication_origin_create(node_name text) diff -Nru postgresql-11-11.6/doc/src/sgml/html/functions-aggregate.html postgresql-11-11.7/doc/src/sgml/html/functions-aggregate.html --- postgresql-11-11.6/doc/src/sgml/html/functions-aggregate.html 2019-11-11 22:18:33.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/functions-aggregate.html 2020-02-10 22:30:07.000000000 +0000 @@ -1,5 +1,5 @@ -9.20. Aggregate Functions

9.20. Aggregate Functions

+9.20. Aggregate Functions

9.20. Aggregate Functions

Aggregate functions compute a single result from a set of input values. The built-in general-purpose aggregate functions are listed in Table 9.52 diff -Nru postgresql-11-11.6/doc/src/sgml/html/functions-array.html postgresql-11-11.7/doc/src/sgml/html/functions-array.html --- postgresql-11-11.6/doc/src/sgml/html/functions-array.html 2019-11-11 22:18:32.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/functions-array.html 2020-02-10 22:30:07.000000000 +0000 @@ -1,5 +1,5 @@ -9.18. Array Functions and Operators

9.18. Array Functions and Operators

+9.18. Array Functions and Operators

9.18. Array Functions and Operators

Table 9.48 shows the operators available for array types.

Table 9.48. Array Operators

OperatorDescriptionExampleResult
= equalARRAY[1.1,2.1,3.1]::int[] = ARRAY[1,2,3]t
<> not equalARRAY[1,2,3] <> ARRAY[1,2,4]t
< less thanARRAY[1,2,3] < ARRAY[1,2,4]t
> greater thanARRAY[1,4,3] > ARRAY[1,2,4]t
<= less than or equalARRAY[1,2,3] <= ARRAY[1,2,3]t
>= greater than or equalARRAY[1,4,3] >= ARRAY[1,4,3]t
@> containsARRAY[1,4,3] @> ARRAY[3,1,3]t
<@ is contained byARRAY[2,2,7] <@ ARRAY[1,7,4,2,6]t
&& overlap (have elements in common)ARRAY[1,4,3] && ARRAY[2,1]t
|| array-to-array concatenationARRAY[1,2,3] || ARRAY[4,5,6]{1,2,3,4,5,6}
|| array-to-array concatenationARRAY[1,2,3] || ARRAY[[4,5,6],[7,8,9]]{{1,2,3},{4,5,6},{7,8,9}}
|| element-to-array concatenation3 || ARRAY[4,5,6]{3,4,5,6}
|| array-to-element concatenationARRAY[4,5,6] || 7{4,5,6,7}

diff -Nru postgresql-11-11.6/doc/src/sgml/html/functions-binarystring.html postgresql-11-11.7/doc/src/sgml/html/functions-binarystring.html --- postgresql-11-11.6/doc/src/sgml/html/functions-binarystring.html 2019-11-11 22:18:31.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/functions-binarystring.html 2020-02-10 22:30:06.000000000 +0000 @@ -1,5 +1,5 @@ -9.5. Binary String Functions and Operators

9.5. Binary String Functions and Operators

+9.5. Binary String Functions and Operators

9.5. Binary String Functions and Operators

This section describes functions and operators for examining and manipulating values of type bytea.

diff -Nru postgresql-11-11.6/doc/src/sgml/html/functions-bitstring.html postgresql-11-11.7/doc/src/sgml/html/functions-bitstring.html --- postgresql-11-11.6/doc/src/sgml/html/functions-bitstring.html 2019-11-11 22:18:31.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/functions-bitstring.html 2020-02-10 22:30:06.000000000 +0000 @@ -1,5 +1,5 @@ -9.6. Bit String Functions and Operators

9.6. Bit String Functions and Operators

+9.6. Bit String Functions and Operators

9.6. Bit String Functions and Operators

This section describes functions and operators for examining and manipulating bit strings, that is values of the types bit and bit varying. Aside from the diff -Nru postgresql-11-11.6/doc/src/sgml/html/functions-comparison.html postgresql-11-11.7/doc/src/sgml/html/functions-comparison.html --- postgresql-11-11.6/doc/src/sgml/html/functions-comparison.html 2019-11-11 22:18:31.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/functions-comparison.html 2020-02-10 22:30:06.000000000 +0000 @@ -1,5 +1,5 @@ -9.2. Comparison Functions and Operators

9.2. Comparison Functions and Operators

+9.2. Comparison Functions and Operators

9.2. Comparison Functions and Operators

The usual comparison operators are available, as shown in Table 9.1.

Table 9.1. Comparison Operators

OperatorDescription
< less than
> greater than
<= less than or equal to
>= greater than or equal to
= equal
<> or != not equal

Note

The != operator is converted to diff -Nru postgresql-11-11.6/doc/src/sgml/html/functions-comparisons.html postgresql-11-11.7/doc/src/sgml/html/functions-comparisons.html --- postgresql-11-11.6/doc/src/sgml/html/functions-comparisons.html 2019-11-11 22:18:33.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/functions-comparisons.html 2020-02-10 22:30:07.000000000 +0000 @@ -1,5 +1,5 @@ -9.23. Row and Array Comparisons

9.23. Row and Array Comparisons

+9.23. Row and Array Comparisons

9.23. Row and Array Comparisons

This section describes several specialized constructs for making multiple comparisons between groups of values. These forms are syntactically related to the subquery forms of the previous section, diff -Nru postgresql-11-11.6/doc/src/sgml/html/functions-conditional.html postgresql-11-11.7/doc/src/sgml/html/functions-conditional.html --- postgresql-11-11.6/doc/src/sgml/html/functions-conditional.html 2019-11-11 22:18:32.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/functions-conditional.html 2020-02-10 22:30:07.000000000 +0000 @@ -1,5 +1,5 @@ -9.17. Conditional Expressions

9.17. Conditional Expressions

+9.17. Conditional Expressions

9.17. Conditional Expressions

This section describes the SQL-compliant conditional expressions available in PostgreSQL.

Tip

diff -Nru postgresql-11-11.6/doc/src/sgml/html/functions-datetime.html postgresql-11-11.7/doc/src/sgml/html/functions-datetime.html --- postgresql-11-11.6/doc/src/sgml/html/functions-datetime.html 2019-11-11 22:18:32.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/functions-datetime.html 2020-02-10 22:30:06.000000000 +0000 @@ -1,5 +1,5 @@ -9.9. Date/Time Functions and Operators

9.9. Date/Time Functions and Operators

+9.9. Date/Time Functions and Operators

9.9. Date/Time Functions and Operators

Table 9.30 shows the available functions for date/time value processing, with details appearing in the following subsections. Table 9.29 illustrates the behaviors of diff -Nru postgresql-11-11.6/doc/src/sgml/html/functions-enum.html postgresql-11-11.7/doc/src/sgml/html/functions-enum.html --- postgresql-11-11.6/doc/src/sgml/html/functions-enum.html 2019-11-11 22:18:32.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/functions-enum.html 2020-02-10 22:30:06.000000000 +0000 @@ -1,5 +1,5 @@ -9.10. Enum Support Functions

9.10. Enum Support Functions

+9.10. Enum Support Functions

9.10. Enum Support Functions

For enum types (described in Section 8.7), there are several functions that allow cleaner programming without hard-coding particular values of an enum type. diff -Nru postgresql-11-11.6/doc/src/sgml/html/functions-event-triggers.html postgresql-11-11.7/doc/src/sgml/html/functions-event-triggers.html --- postgresql-11-11.6/doc/src/sgml/html/functions-event-triggers.html 2019-11-11 22:18:33.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/functions-event-triggers.html 2020-02-10 22:30:08.000000000 +0000 @@ -1,5 +1,5 @@ -9.28. Event Trigger Functions

9.28. Event Trigger Functions

+9.28. Event Trigger Functions

9.28. Event Trigger Functions

PostgreSQL provides these helper functions to retrieve information from event triggers.

diff -Nru postgresql-11-11.6/doc/src/sgml/html/functions-formatting.html postgresql-11-11.7/doc/src/sgml/html/functions-formatting.html --- postgresql-11-11.6/doc/src/sgml/html/functions-formatting.html 2019-11-11 22:18:32.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/functions-formatting.html 2020-02-10 22:30:06.000000000 +0000 @@ -1,5 +1,5 @@ -9.8. Data Type Formatting Functions

9.8. Data Type Formatting Functions

+9.8. Data Type Formatting Functions

9.8. Data Type Formatting Functions

The PostgreSQL formatting functions provide a powerful set of tools for converting various data types (date/time, integer, floating point, numeric) to formatted strings diff -Nru postgresql-11-11.6/doc/src/sgml/html/functions-geometry.html postgresql-11-11.7/doc/src/sgml/html/functions-geometry.html --- postgresql-11-11.6/doc/src/sgml/html/functions-geometry.html 2019-11-11 22:18:32.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/functions-geometry.html 2020-02-10 22:30:06.000000000 +0000 @@ -1,5 +1,5 @@ -9.11. Geometric Functions and Operators

9.11. Geometric Functions and Operators

+9.11. Geometric Functions and Operators

9.11. Geometric Functions and Operators

The geometric types point, box, lseg, line, path, polygon, and circle have a large set of diff -Nru postgresql-11-11.6/doc/src/sgml/html/functions-info.html postgresql-11-11.7/doc/src/sgml/html/functions-info.html --- postgresql-11-11.6/doc/src/sgml/html/functions-info.html 2019-11-11 22:18:33.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/functions-info.html 2020-02-10 22:30:07.000000000 +0000 @@ -1,5 +1,5 @@ -9.25. System Information Functions

9.25. System Information Functions

+9.25. System Information Functions

9.25. System Information Functions

Table 9.60 shows several functions that extract session and system information.

diff -Nru postgresql-11-11.6/doc/src/sgml/html/functions-json.html postgresql-11-11.7/doc/src/sgml/html/functions-json.html --- postgresql-11-11.6/doc/src/sgml/html/functions-json.html 2019-11-11 22:18:32.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/functions-json.html 2020-02-10 22:30:07.000000000 +0000 @@ -1,5 +1,5 @@ -9.15. JSON Functions and Operators

9.15. JSON Functions and Operators

+9.15. JSON Functions and Operators

9.15. JSON Functions and Operators

Table 9.43 shows the operators that are available for use with the two JSON data types (see Section 8.14).

Table 9.43. json and jsonb Operators

OperatorRight Operand TypeDescriptionExampleExample Result
->intGet JSON array element (indexed from zero, negative diff -Nru postgresql-11-11.6/doc/src/sgml/html/functions-logical.html postgresql-11-11.7/doc/src/sgml/html/functions-logical.html --- postgresql-11-11.6/doc/src/sgml/html/functions-logical.html 2019-11-11 22:18:31.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/functions-logical.html 2020-02-10 22:30:06.000000000 +0000 @@ -1,5 +1,5 @@ -9.1. Logical Operators

9.1. Logical Operators

+9.1. Logical Operators

9.1. Logical Operators

The usual logical operators are available: diff -Nru postgresql-11-11.6/doc/src/sgml/html/functions-matching.html postgresql-11-11.7/doc/src/sgml/html/functions-matching.html --- postgresql-11-11.6/doc/src/sgml/html/functions-matching.html 2019-11-11 22:18:32.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/functions-matching.html 2020-02-10 22:30:06.000000000 +0000 @@ -1,5 +1,5 @@ -9.7. Pattern Matching

9.7. Pattern Matching

+9.7. Pattern Matching

9.7. Pattern Matching

There are three separate approaches to pattern matching provided by PostgreSQL: the traditional SQL LIKE operator, the diff -Nru postgresql-11-11.6/doc/src/sgml/html/functions-math.html postgresql-11-11.7/doc/src/sgml/html/functions-math.html --- postgresql-11-11.6/doc/src/sgml/html/functions-math.html 2019-11-11 22:18:31.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/functions-math.html 2020-02-10 22:30:06.000000000 +0000 @@ -1,5 +1,5 @@ -9.3. Mathematical Functions and Operators

9.3. Mathematical Functions and Operators

+9.3. Mathematical Functions and Operators

9.3. Mathematical Functions and Operators

Mathematical operators are provided for many PostgreSQL types. For types without standard mathematical conventions diff -Nru postgresql-11-11.6/doc/src/sgml/html/functions-net.html postgresql-11-11.7/doc/src/sgml/html/functions-net.html --- postgresql-11-11.6/doc/src/sgml/html/functions-net.html 2019-11-11 22:18:32.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/functions-net.html 2020-02-10 22:30:06.000000000 +0000 @@ -1,5 +1,5 @@ -9.12. Network Address Functions and Operators

9.12. Network Address Functions and Operators

+9.12. Network Address Functions and Operators

9.12. Network Address Functions and Operators

Table 9.36 shows the operators available for the cidr and inet types. The operators <<, diff -Nru postgresql-11-11.6/doc/src/sgml/html/functions-range.html postgresql-11-11.7/doc/src/sgml/html/functions-range.html --- postgresql-11-11.6/doc/src/sgml/html/functions-range.html 2019-11-11 22:18:32.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/functions-range.html 2020-02-10 22:30:07.000000000 +0000 @@ -1,5 +1,5 @@ -9.19. Range Functions and Operators

9.19. Range Functions and Operators

+9.19. Range Functions and Operators

9.19. Range Functions and Operators

See Section 8.17 for an overview of range types.

Table 9.50 shows the operators diff -Nru postgresql-11-11.6/doc/src/sgml/html/functions-sequence.html postgresql-11-11.7/doc/src/sgml/html/functions-sequence.html --- postgresql-11-11.6/doc/src/sgml/html/functions-sequence.html 2019-11-11 22:18:32.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/functions-sequence.html 2020-02-10 22:30:07.000000000 +0000 @@ -1,5 +1,5 @@ -9.16. Sequence Manipulation Functions

9.16. Sequence Manipulation Functions

+9.16. Sequence Manipulation Functions

9.16. Sequence Manipulation Functions

This section describes functions for operating on sequence objects, also called sequence generators or just sequences. Sequence objects are special single-row tables created with CREATE SEQUENCE. diff -Nru postgresql-11-11.6/doc/src/sgml/html/functions-srf.html postgresql-11-11.7/doc/src/sgml/html/functions-srf.html --- postgresql-11-11.6/doc/src/sgml/html/functions-srf.html 2019-11-11 22:18:33.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/functions-srf.html 2020-02-10 22:30:07.000000000 +0000 @@ -1,5 +1,5 @@ -9.24. Set Returning Functions

9.24. Set Returning Functions

+9.24. Set Returning Functions

9.24. Set Returning Functions

This section describes functions that possibly return more than one row. The most widely used functions in this class are series generating functions, as detailed in Table 9.58 and diff -Nru postgresql-11-11.6/doc/src/sgml/html/functions-string.html postgresql-11-11.7/doc/src/sgml/html/functions-string.html --- postgresql-11-11.6/doc/src/sgml/html/functions-string.html 2019-11-11 22:18:31.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/functions-string.html 2020-02-10 22:30:06.000000000 +0000 @@ -1,5 +1,5 @@ -9.4. String Functions and Operators

9.4. String Functions and Operators

+9.4. String Functions and Operators

9.4. String Functions and Operators

This section describes functions and operators for examining and manipulating string values. Strings in this context include values of the types character, character varying, diff -Nru postgresql-11-11.6/doc/src/sgml/html/functions-subquery.html postgresql-11-11.7/doc/src/sgml/html/functions-subquery.html --- postgresql-11-11.6/doc/src/sgml/html/functions-subquery.html 2019-11-11 22:18:33.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/functions-subquery.html 2020-02-10 22:30:07.000000000 +0000 @@ -1,5 +1,5 @@ -9.22. Subquery Expressions

9.22. Subquery Expressions

+9.22. Subquery Expressions

9.22. Subquery Expressions

This section describes the SQL-compliant subquery expressions available in PostgreSQL. All of the expression forms documented in this section return diff -Nru postgresql-11-11.6/doc/src/sgml/html/functions-textsearch.html postgresql-11-11.7/doc/src/sgml/html/functions-textsearch.html --- postgresql-11-11.6/doc/src/sgml/html/functions-textsearch.html 2019-11-11 22:18:32.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/functions-textsearch.html 2020-02-10 22:30:07.000000000 +0000 @@ -1,5 +1,5 @@ -9.13. Text Search Functions and Operators

9.13. Text Search Functions and Operators

+9.13. Text Search Functions and Operators

9.13. Text Search Functions and Operators

Table 9.40, Table 9.41 and Table 9.42 diff -Nru postgresql-11-11.6/doc/src/sgml/html/functions-trigger.html postgresql-11-11.7/doc/src/sgml/html/functions-trigger.html --- postgresql-11-11.6/doc/src/sgml/html/functions-trigger.html 2019-11-11 22:18:33.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/functions-trigger.html 2020-02-10 22:30:07.000000000 +0000 @@ -1,5 +1,5 @@ -9.27. Trigger Functions

9.27. Trigger Functions

+9.27. Trigger Functions

9.27. Trigger Functions

Currently PostgreSQL provides one built in trigger function, suppress_redundant_updates_trigger, which will prevent any update diff -Nru postgresql-11-11.6/doc/src/sgml/html/functions-window.html postgresql-11-11.7/doc/src/sgml/html/functions-window.html --- postgresql-11-11.6/doc/src/sgml/html/functions-window.html 2019-11-11 22:18:33.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/functions-window.html 2020-02-10 22:30:07.000000000 +0000 @@ -1,5 +1,5 @@ -9.21. Window Functions

9.21. Window Functions

+9.21. Window Functions

9.21. Window Functions

Window functions provide the ability to perform calculations across sets of rows that are related to the current query row. See Section 3.5 for an introduction to this diff -Nru postgresql-11-11.6/doc/src/sgml/html/functions-xml.html postgresql-11-11.7/doc/src/sgml/html/functions-xml.html --- postgresql-11-11.6/doc/src/sgml/html/functions-xml.html 2019-11-11 22:18:32.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/functions-xml.html 2020-02-10 22:30:07.000000000 +0000 @@ -1,5 +1,5 @@ -9.14. XML Functions

9.14. XML Functions

+9.14. XML Functions

9.14. XML Functions

The functions and function-like expressions described in this section operate on values of type xml. See Section 8.13 for information about the xml type. The function-like expressions xmlparse diff -Nru postgresql-11-11.6/doc/src/sgml/html/functions.html postgresql-11-11.7/doc/src/sgml/html/functions.html --- postgresql-11-11.6/doc/src/sgml/html/functions.html 2019-11-11 22:18:33.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/functions.html 2020-02-10 22:30:08.000000000 +0000 @@ -1,5 +1,5 @@ -Chapter 9. Functions and Operators

Chapter 9. Functions and Operators

Table of Contents

9.1. Logical Operators
9.2. Comparison Functions and Operators
9.3. Mathematical Functions and Operators
9.4. String Functions and Operators
9.4.1. format
9.5. Binary String Functions and Operators
9.6. Bit String Functions and Operators
9.7. Pattern Matching
9.7.1. LIKE
9.7.2. SIMILAR TO Regular Expressions
9.7.3. POSIX Regular Expressions
9.8. Data Type Formatting Functions
9.9. Date/Time Functions and Operators
9.9.1. EXTRACT, date_part
9.9.2. date_trunc
9.9.3. AT TIME ZONE
9.9.4. Current Date/Time
9.9.5. Delaying Execution
9.10. Enum Support Functions
9.11. Geometric Functions and Operators
9.12. Network Address Functions and Operators
9.13. Text Search Functions and Operators
9.14. XML Functions
9.14.1. Producing XML Content
9.14.2. XML Predicates
9.14.3. Processing XML
9.14.4. Mapping Tables to XML
9.15. JSON Functions and Operators
9.16. Sequence Manipulation Functions
9.17. Conditional Expressions
9.17.1. CASE
9.17.2. COALESCE
9.17.3. NULLIF
9.17.4. GREATEST and LEAST
9.18. Array Functions and Operators
9.19. Range Functions and Operators
9.20. Aggregate Functions
9.21. Window Functions
9.22. Subquery Expressions
9.22.1. EXISTS
9.22.2. IN
9.22.3. NOT IN
9.22.4. ANY/SOME
9.22.5. ALL
9.22.6. Single-row Comparison
9.23. Row and Array Comparisons
9.23.1. IN
9.23.2. NOT IN
9.23.3. ANY/SOME (array)
9.23.4. ALL (array)
9.23.5. Row Constructor Comparison
9.23.6. Composite Type Comparison
9.24. Set Returning Functions
9.25. System Information Functions
9.26. System Administration Functions
9.26.1. Configuration Settings Functions
9.26.2. Server Signaling Functions
9.26.3. Backup Control Functions
9.26.4. Recovery Control Functions
9.26.5. Snapshot Synchronization Functions
9.26.6. Replication Functions
9.26.7. Database Object Management Functions
9.26.8. Index Maintenance Functions
9.26.9. Generic File Access Functions
9.26.10. Advisory Lock Functions
9.27. Trigger Functions
9.28. Event Trigger Functions
9.28.1. Capturing Changes at Command End
9.28.2. Processing Objects Dropped by a DDL Command
9.28.3. Handling a Table Rewrite Event

+Chapter 9. Functions and Operators

Chapter 9. Functions and Operators

Table of Contents

9.1. Logical Operators
9.2. Comparison Functions and Operators
9.3. Mathematical Functions and Operators
9.4. String Functions and Operators
9.4.1. format
9.5. Binary String Functions and Operators
9.6. Bit String Functions and Operators
9.7. Pattern Matching
9.7.1. LIKE
9.7.2. SIMILAR TO Regular Expressions
9.7.3. POSIX Regular Expressions
9.8. Data Type Formatting Functions
9.9. Date/Time Functions and Operators
9.9.1. EXTRACT, date_part
9.9.2. date_trunc
9.9.3. AT TIME ZONE
9.9.4. Current Date/Time
9.9.5. Delaying Execution
9.10. Enum Support Functions
9.11. Geometric Functions and Operators
9.12. Network Address Functions and Operators
9.13. Text Search Functions and Operators
9.14. XML Functions
9.14.1. Producing XML Content
9.14.2. XML Predicates
9.14.3. Processing XML
9.14.4. Mapping Tables to XML
9.15. JSON Functions and Operators
9.16. Sequence Manipulation Functions
9.17. Conditional Expressions
9.17.1. CASE
9.17.2. COALESCE
9.17.3. NULLIF
9.17.4. GREATEST and LEAST
9.18. Array Functions and Operators
9.19. Range Functions and Operators
9.20. Aggregate Functions
9.21. Window Functions
9.22. Subquery Expressions
9.22.1. EXISTS
9.22.2. IN
9.22.3. NOT IN
9.22.4. ANY/SOME
9.22.5. ALL
9.22.6. Single-row Comparison
9.23. Row and Array Comparisons
9.23.1. IN
9.23.2. NOT IN
9.23.3. ANY/SOME (array)
9.23.4. ALL (array)
9.23.5. Row Constructor Comparison
9.23.6. Composite Type Comparison
9.24. Set Returning Functions
9.25. System Information Functions
9.26. System Administration Functions
9.26.1. Configuration Settings Functions
9.26.2. Server Signaling Functions
9.26.3. Backup Control Functions
9.26.4. Recovery Control Functions
9.26.5. Snapshot Synchronization Functions
9.26.6. Replication Functions
9.26.7. Database Object Management Functions
9.26.8. Index Maintenance Functions
9.26.9. Generic File Access Functions
9.26.10. Advisory Lock Functions
9.27. Trigger Functions
9.28. Event Trigger Functions
9.28.1. Capturing Changes at Command End
9.28.2. Processing Objects Dropped by a DDL Command
9.28.3. Handling a Table Rewrite Event

PostgreSQL provides a large number of functions and operators for the built-in data types. Users can also define their own functions and operators, as described in diff -Nru postgresql-11-11.6/doc/src/sgml/html/fuzzystrmatch.html postgresql-11-11.7/doc/src/sgml/html/fuzzystrmatch.html --- postgresql-11-11.6/doc/src/sgml/html/fuzzystrmatch.html 2019-11-11 22:18:56.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/fuzzystrmatch.html 2020-02-10 22:30:28.000000000 +0000 @@ -1,5 +1,5 @@ -F.15. fuzzystrmatch

F.15. fuzzystrmatch

+F.15. fuzzystrmatch

F.15. fuzzystrmatch

The fuzzystrmatch module provides several functions to determine similarities and distance between strings.

Caution

diff -Nru postgresql-11-11.6/doc/src/sgml/html/generic-wal.html postgresql-11-11.7/doc/src/sgml/html/generic-wal.html --- postgresql-11-11.6/doc/src/sgml/html/generic-wal.html 2019-11-11 22:18:52.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/generic-wal.html 2020-02-10 22:30:24.000000000 +0000 @@ -1,5 +1,5 @@ -Chapter 62. Generic WAL Records

Chapter 62. Generic WAL Records

+Chapter 62. Generic WAL Records

Chapter 62. Generic WAL Records

Although all built-in WAL-logged modules have their own types of WAL records, there is also a generic WAL record type, which describes changes to pages in a generic way. This is useful for extensions that provide diff -Nru postgresql-11-11.6/doc/src/sgml/html/geqo-biblio.html postgresql-11-11.7/doc/src/sgml/html/geqo-biblio.html --- postgresql-11-11.6/doc/src/sgml/html/geqo-biblio.html 2019-11-11 22:18:52.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/geqo-biblio.html 2020-02-10 22:30:24.000000000 +0000 @@ -1,5 +1,5 @@ -60.4. Further Reading

60.4. Further Reading

+60.4. Further Reading

60.4. Further Reading

The following resources contain additional information about genetic algorithms: diff -Nru postgresql-11-11.6/doc/src/sgml/html/geqo-intro.html postgresql-11-11.7/doc/src/sgml/html/geqo-intro.html --- postgresql-11-11.6/doc/src/sgml/html/geqo-intro.html 2019-11-11 22:18:52.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/geqo-intro.html 2020-02-10 22:30:24.000000000 +0000 @@ -1,5 +1,5 @@ -60.1. Query Handling as a Complex Optimization Problem

60.1. Query Handling as a Complex Optimization Problem

+60.1. Query Handling as a Complex Optimization Problem

60.1. Query Handling as a Complex Optimization Problem

Among all relational operators the most difficult one to process and optimize is the join. The number of possible query plans grows exponentially with the diff -Nru postgresql-11-11.6/doc/src/sgml/html/geqo-intro2.html postgresql-11-11.7/doc/src/sgml/html/geqo-intro2.html --- postgresql-11-11.6/doc/src/sgml/html/geqo-intro2.html 2019-11-11 22:18:52.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/geqo-intro2.html 2020-02-10 22:30:24.000000000 +0000 @@ -1,5 +1,5 @@ -60.2. Genetic Algorithms

60.2. Genetic Algorithms

+60.2. Genetic Algorithms

60.2. Genetic Algorithms

The genetic algorithm (GA) is a heuristic optimization method which operates through randomized search. The set of possible solutions for the optimization problem is considered as a diff -Nru postgresql-11-11.6/doc/src/sgml/html/geqo-pg-intro.html postgresql-11-11.7/doc/src/sgml/html/geqo-pg-intro.html --- postgresql-11-11.6/doc/src/sgml/html/geqo-pg-intro.html 2019-11-11 22:18:52.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/geqo-pg-intro.html 2020-02-10 22:30:24.000000000 +0000 @@ -1,5 +1,5 @@ -60.3. Genetic Query Optimization (GEQO) in PostgreSQL

60.3. Genetic Query Optimization (GEQO) in PostgreSQL

60.3.1. Generating Possible Plans with GEQO
60.3.2. Future Implementation Tasks for +60.3. Genetic Query Optimization (GEQO) in PostgreSQL

60.3. Genetic Query Optimization (GEQO) in PostgreSQL

The GEQO module approaches the query optimization problem as though it were the well-known traveling salesman diff -Nru postgresql-11-11.6/doc/src/sgml/html/geqo.html postgresql-11-11.7/doc/src/sgml/html/geqo.html --- postgresql-11-11.6/doc/src/sgml/html/geqo.html 2019-11-11 22:18:52.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/geqo.html 2020-02-10 22:30:24.000000000 +0000 @@ -1,5 +1,5 @@ -Chapter 60. Genetic Query Optimizer

Chapter 60. Genetic Query Optimizer

Table of Contents

60.1. Query Handling as a Complex Optimization Problem
60.2. Genetic Algorithms
60.3. Genetic Query Optimization (GEQO) in PostgreSQL
60.3.1. Generating Possible Plans with GEQO
60.3.2. Future Implementation Tasks for +Chapter 60. Genetic Query Optimizer

Chapter 60. Genetic Query Optimizer

Author

Written by Martin Utesch () diff -Nru postgresql-11-11.6/doc/src/sgml/html/gin-builtin-opclasses.html postgresql-11-11.7/doc/src/sgml/html/gin-builtin-opclasses.html --- postgresql-11-11.6/doc/src/sgml/html/gin-builtin-opclasses.html 2019-11-11 22:18:52.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/gin-builtin-opclasses.html 2020-02-10 22:30:25.000000000 +0000 @@ -1,5 +1,5 @@ -66.2. Built-in Operator Classes

66.2. Built-in Operator Classes

+66.2. Built-in Operator Classes

66.2. Built-in Operator Classes

The core PostgreSQL distribution includes the GIN operator classes shown in Table 66.1. diff -Nru postgresql-11-11.6/doc/src/sgml/html/gin-examples.html postgresql-11-11.7/doc/src/sgml/html/gin-examples.html --- postgresql-11-11.6/doc/src/sgml/html/gin-examples.html 2019-11-11 22:18:52.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/gin-examples.html 2020-02-10 22:30:25.000000000 +0000 @@ -1,5 +1,5 @@ -66.7. Examples

66.7. Examples

+66.7. Examples

66.7. Examples

The core PostgreSQL distribution includes the GIN operator classes previously shown in Table 66.1. diff -Nru postgresql-11-11.6/doc/src/sgml/html/gin-extensibility.html postgresql-11-11.7/doc/src/sgml/html/gin-extensibility.html --- postgresql-11-11.6/doc/src/sgml/html/gin-extensibility.html 2019-11-11 22:18:52.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/gin-extensibility.html 2020-02-10 22:30:25.000000000 +0000 @@ -1,5 +1,5 @@ -66.3. Extensibility

66.3. Extensibility

+66.3. Extensibility

66.3. Extensibility

The GIN interface has a high level of abstraction, requiring the access method implementer only to implement the semantics of the data type being accessed. The GIN layer itself diff -Nru postgresql-11-11.6/doc/src/sgml/html/gin-implementation.html postgresql-11-11.7/doc/src/sgml/html/gin-implementation.html --- postgresql-11-11.6/doc/src/sgml/html/gin-implementation.html 2019-11-11 22:18:52.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/gin-implementation.html 2020-02-10 22:30:25.000000000 +0000 @@ -1,5 +1,5 @@ -66.4. Implementation

66.4. Implementation

+66.4. Implementation

66.4. Implementation

Internally, a GIN index contains a B-tree index constructed over keys, where each key is an element of one or more indexed items (a member of an array, for example) and where each tuple in a leaf diff -Nru postgresql-11-11.6/doc/src/sgml/html/gin-intro.html postgresql-11-11.7/doc/src/sgml/html/gin-intro.html --- postgresql-11-11.6/doc/src/sgml/html/gin-intro.html 2019-11-11 22:18:52.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/gin-intro.html 2020-02-10 22:30:25.000000000 +0000 @@ -1,5 +1,5 @@ -66.1. Introduction

66.1. Introduction

+66.1. Introduction

66.1. Introduction

GIN stands for Generalized Inverted Index. GIN is designed for handling cases where the items to be indexed are composite values, and the queries to be handled by diff -Nru postgresql-11-11.6/doc/src/sgml/html/gin-limit.html postgresql-11-11.7/doc/src/sgml/html/gin-limit.html --- postgresql-11-11.6/doc/src/sgml/html/gin-limit.html 2019-11-11 22:18:52.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/gin-limit.html 2020-02-10 22:30:25.000000000 +0000 @@ -1,5 +1,5 @@ -66.6. Limitations

66.6. Limitations

+66.6. Limitations

66.6. Limitations

GIN assumes that indexable operators are strict. This means that extractValue will not be called at all on a null item value (instead, a placeholder index entry is created automatically), diff -Nru postgresql-11-11.6/doc/src/sgml/html/gin-tips.html postgresql-11-11.7/doc/src/sgml/html/gin-tips.html --- postgresql-11-11.6/doc/src/sgml/html/gin-tips.html 2019-11-11 22:18:52.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/gin-tips.html 2020-02-10 22:30:25.000000000 +0000 @@ -1,5 +1,5 @@ -66.5. GIN Tips and Tricks

66.5. GIN Tips and Tricks

Create vs. insert

+66.5. GIN Tips and Tricks

66.5. GIN Tips and Tricks

Create vs. insert

Insertion into a GIN index can be slow due to the likelihood of many keys being inserted for each item. So, for bulk insertions into a table it is advisable to drop the GIN diff -Nru postgresql-11-11.6/doc/src/sgml/html/gin.html postgresql-11-11.7/doc/src/sgml/html/gin.html --- postgresql-11-11.6/doc/src/sgml/html/gin.html 2019-11-11 22:18:52.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/gin.html 2020-02-10 22:30:25.000000000 +0000 @@ -1,2 +1,2 @@ -Chapter 66. GIN Indexes

\ No newline at end of file +Chapter 66. GIN Indexes \ No newline at end of file diff -Nru postgresql-11-11.6/doc/src/sgml/html/gist-builtin-opclasses.html postgresql-11-11.7/doc/src/sgml/html/gist-builtin-opclasses.html --- postgresql-11-11.6/doc/src/sgml/html/gist-builtin-opclasses.html 2019-11-11 22:18:52.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/gist-builtin-opclasses.html 2020-02-10 22:30:25.000000000 +0000 @@ -1,5 +1,5 @@ -64.2. Built-in Operator Classes

64.2. Built-in Operator Classes

+64.2. Built-in Operator Classes

64.2. Built-in Operator Classes

The core PostgreSQL distribution includes the GiST operator classes shown in Table 64.1. diff -Nru postgresql-11-11.6/doc/src/sgml/html/gist-examples.html postgresql-11-11.7/doc/src/sgml/html/gist-examples.html --- postgresql-11-11.6/doc/src/sgml/html/gist-examples.html 2019-11-11 22:18:52.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/gist-examples.html 2020-02-10 22:30:25.000000000 +0000 @@ -1,5 +1,5 @@ -64.5. Examples

64.5. Examples

+64.5. Examples

64.5. Examples

The PostgreSQL source distribution includes several examples of index methods implemented using GiST. The core system currently provides text search diff -Nru postgresql-11-11.6/doc/src/sgml/html/gist-extensibility.html postgresql-11-11.7/doc/src/sgml/html/gist-extensibility.html --- postgresql-11-11.6/doc/src/sgml/html/gist-extensibility.html 2019-11-11 22:18:52.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/gist-extensibility.html 2020-02-10 22:30:25.000000000 +0000 @@ -1,5 +1,5 @@ -64.3. Extensibility

64.3. Extensibility

+64.3. Extensibility

64.3. Extensibility

Traditionally, implementing a new index access method meant a lot of difficult work. It was necessary to understand the inner workings of the database, such as the lock manager and Write-Ahead Log. The diff -Nru postgresql-11-11.6/doc/src/sgml/html/gist-implementation.html postgresql-11-11.7/doc/src/sgml/html/gist-implementation.html --- postgresql-11-11.6/doc/src/sgml/html/gist-implementation.html 2019-11-11 22:18:52.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/gist-implementation.html 2020-02-10 22:30:25.000000000 +0000 @@ -1,5 +1,5 @@ -64.4. Implementation

64.4. Implementation

64.4.1. GiST buffering build

+64.4. Implementation

64.4. Implementation

64.4.1. GiST buffering build

Building large GiST indexes by simply inserting all the tuples tends to be slow, because if the index tuples are scattered across the index and the index is large enough to not fit in cache, the insertions need to perform diff -Nru postgresql-11-11.6/doc/src/sgml/html/gist-intro.html postgresql-11-11.7/doc/src/sgml/html/gist-intro.html --- postgresql-11-11.6/doc/src/sgml/html/gist-intro.html 2019-11-11 22:18:52.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/gist-intro.html 2020-02-10 22:30:25.000000000 +0000 @@ -1,5 +1,5 @@ -64.1. Introduction

64.1. Introduction

+64.1. Introduction

64.1. Introduction

GiST stands for Generalized Search Tree. It is a balanced, tree-structured access method, that acts as a base template in which to implement arbitrary indexing schemes. B-trees, R-trees and many diff -Nru postgresql-11-11.6/doc/src/sgml/html/gist.html postgresql-11-11.7/doc/src/sgml/html/gist.html --- postgresql-11-11.6/doc/src/sgml/html/gist.html 2019-11-11 22:18:52.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/gist.html 2020-02-10 22:30:25.000000000 +0000 @@ -1,2 +1,2 @@ -Chapter 64. GiST Indexes

\ No newline at end of file +Chapter 64. GiST Indexes \ No newline at end of file diff -Nru postgresql-11-11.6/doc/src/sgml/html/git.html postgresql-11-11.7/doc/src/sgml/html/git.html --- postgresql-11-11.6/doc/src/sgml/html/git.html 2019-11-11 22:18:57.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/git.html 2020-02-10 22:30:28.000000000 +0000 @@ -1,5 +1,5 @@ -I.1. Getting The Source via Git

I.1. Getting The Source via Git

+I.1. Getting The Source via Git

I.1. Getting The Source via Git

With Git you will make a copy of the entire code repository on your local machine, so you will have access to all history and branches offline. This is the fastest and most flexible way to develop or test diff -Nru postgresql-11-11.6/doc/src/sgml/html/gssapi-auth.html postgresql-11-11.7/doc/src/sgml/html/gssapi-auth.html --- postgresql-11-11.6/doc/src/sgml/html/gssapi-auth.html 2019-11-11 22:18:35.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/gssapi-auth.html 2020-02-10 22:30:10.000000000 +0000 @@ -1,5 +1,5 @@ -20.6. GSSAPI Authentication

20.6. GSSAPI Authentication

+20.6. GSSAPI Authentication

20.6. GSSAPI Authentication

GSSAPI is an industry-standard protocol for secure authentication defined in RFC 2743. PostgreSQL supports diff -Nru postgresql-11-11.6/doc/src/sgml/html/high-availability.html postgresql-11-11.7/doc/src/sgml/html/high-availability.html --- postgresql-11-11.6/doc/src/sgml/html/high-availability.html 2019-11-11 22:18:36.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/high-availability.html 2020-02-10 22:30:10.000000000 +0000 @@ -1,5 +1,5 @@ -Chapter 26. High Availability, Load Balancing, and Replication

Chapter 26. High Availability, Load Balancing, and Replication

+Chapter 26. High Availability, Load Balancing, and Replication

Chapter 26. High Availability, Load Balancing, and Replication

Database servers can work together to allow a second server to take over quickly if the primary server fails (high availability), or to allow several computers to serve the same diff -Nru postgresql-11-11.6/doc/src/sgml/html/history.html postgresql-11-11.7/doc/src/sgml/html/history.html --- postgresql-11-11.6/doc/src/sgml/html/history.html 2019-11-11 22:18:29.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/history.html 2020-02-10 22:30:04.000000000 +0000 @@ -1,5 +1,5 @@ -2. A Brief History of PostgreSQL

2. A Brief History of PostgreSQL

+2. A Brief History of PostgreSQL

2. A Brief History of PostgreSQL

The object-relational database management system now known as PostgreSQL is derived from the POSTGRES package written at the diff -Nru postgresql-11-11.6/doc/src/sgml/html/hot-standby.html postgresql-11-11.7/doc/src/sgml/html/hot-standby.html --- postgresql-11-11.6/doc/src/sgml/html/hot-standby.html 2019-11-11 22:18:36.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/hot-standby.html 2020-02-10 22:30:10.000000000 +0000 @@ -1,5 +1,5 @@ -26.5. Hot Standby

26.5. Hot Standby

+26.5. Hot Standby

26.5. Hot Standby

Hot Standby is the term used to describe the ability to connect to the server and run read-only queries while the server is in archive recovery or standby mode. This diff -Nru postgresql-11-11.6/doc/src/sgml/html/how-parallel-query-works.html postgresql-11-11.7/doc/src/sgml/html/how-parallel-query-works.html --- postgresql-11-11.6/doc/src/sgml/html/how-parallel-query-works.html 2019-11-11 22:18:34.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/how-parallel-query-works.html 2020-02-10 22:30:08.000000000 +0000 @@ -1,5 +1,5 @@ -15.1. How Parallel Query Works

15.1. How Parallel Query Works

+15.1. How Parallel Query Works

15.1. How Parallel Query Works

When the optimizer determines that parallel query is the fastest execution strategy for a particular query, it will create a query plan which includes a Gather or Gather Merge diff -Nru postgresql-11-11.6/doc/src/sgml/html/hstore.html postgresql-11-11.7/doc/src/sgml/html/hstore.html --- postgresql-11-11.6/doc/src/sgml/html/hstore.html 2019-11-11 22:18:56.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/hstore.html 2020-02-10 22:30:28.000000000 +0000 @@ -1,5 +1,5 @@ -F.16. hstore

F.16. hstore

+F.16. hstore

F.16. hstore

This module implements the hstore data type for storing sets of key/value pairs within a single PostgreSQL value. This can be useful in various scenarios, such as rows with many attributes diff -Nru postgresql-11-11.6/doc/src/sgml/html/index-api.html postgresql-11-11.7/doc/src/sgml/html/index-api.html --- postgresql-11-11.6/doc/src/sgml/html/index-api.html 2019-11-11 22:18:52.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/index-api.html 2020-02-10 22:30:24.000000000 +0000 @@ -1,5 +1,5 @@ -61.1. Basic API Structure for Indexes

61.1. Basic API Structure for Indexes

+61.1. Basic API Structure for Indexes

61.1. Basic API Structure for Indexes

Each index access method is described by a row in the pg_am system catalog. The pg_am entry diff -Nru postgresql-11-11.6/doc/src/sgml/html/index-cost-estimation.html postgresql-11-11.7/doc/src/sgml/html/index-cost-estimation.html --- postgresql-11-11.6/doc/src/sgml/html/index-cost-estimation.html 2019-11-11 22:18:52.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/index-cost-estimation.html 2020-02-10 22:30:24.000000000 +0000 @@ -1,5 +1,5 @@ -61.6. Index Cost Estimation Functions

61.6. Index Cost Estimation Functions

+61.6. Index Cost Estimation Functions

61.6. Index Cost Estimation Functions

The amcostestimate function is given information describing a possible index scan, including lists of WHERE and ORDER BY clauses that have been determined to be usable with the index. It must return estimates diff -Nru postgresql-11-11.6/doc/src/sgml/html/index-functions.html postgresql-11-11.7/doc/src/sgml/html/index-functions.html --- postgresql-11-11.6/doc/src/sgml/html/index-functions.html 2019-11-11 22:18:52.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/index-functions.html 2020-02-10 22:30:24.000000000 +0000 @@ -1,5 +1,5 @@ -61.2. Index Access Method Functions

61.2. Index Access Method Functions

+61.2. Index Access Method Functions

61.2. Index Access Method Functions

The index construction and maintenance functions that an index access method must provide in IndexAmRoutine are:

diff -Nru postgresql-11-11.6/doc/src/sgml/html/index-locking.html postgresql-11-11.7/doc/src/sgml/html/index-locking.html --- postgresql-11-11.6/doc/src/sgml/html/index-locking.html 2019-11-11 22:18:52.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/index-locking.html 2020-02-10 22:30:24.000000000 +0000 @@ -1,5 +1,5 @@ -61.4. Index Locking Considerations

61.4. Index Locking Considerations

+61.4. Index Locking Considerations

61.4. Index Locking Considerations

Index access methods must handle concurrent updates of the index by multiple processes. The core PostgreSQL system obtains diff -Nru postgresql-11-11.6/doc/src/sgml/html/index-scanning.html postgresql-11-11.7/doc/src/sgml/html/index-scanning.html --- postgresql-11-11.6/doc/src/sgml/html/index-scanning.html 2019-11-11 22:18:52.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/index-scanning.html 2020-02-10 22:30:24.000000000 +0000 @@ -1,5 +1,5 @@ -61.3. Index Scanning

61.3. Index Scanning

+61.3. Index Scanning

61.3. Index Scanning

In an index scan, the index access method is responsible for regurgitating the TIDs of all the tuples it has been told about that match the scan keys. The access method is not involved in diff -Nru postgresql-11-11.6/doc/src/sgml/html/index-unique-checks.html postgresql-11-11.7/doc/src/sgml/html/index-unique-checks.html --- postgresql-11-11.6/doc/src/sgml/html/index-unique-checks.html 2019-11-11 22:18:52.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/index-unique-checks.html 2020-02-10 22:30:24.000000000 +0000 @@ -1,5 +1,5 @@ -61.5. Index Uniqueness Checks

61.5. Index Uniqueness Checks

+61.5. Index Uniqueness Checks

61.5. Index Uniqueness Checks

PostgreSQL enforces SQL uniqueness constraints using unique indexes, which are indexes that disallow multiple entries with identical keys. An access method that supports this diff -Nru postgresql-11-11.6/doc/src/sgml/html/index.html postgresql-11-11.7/doc/src/sgml/html/index.html --- postgresql-11-11.6/doc/src/sgml/html/index.html 2019-11-11 22:18:58.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/index.html 2020-02-10 22:30:30.000000000 +0000 @@ -1,2 +1,2 @@ -PostgreSQL 11.6 Documentation

PostgreSQL 11.6 Documentation

The PostgreSQL Global Development Group


Table of Contents

Preface
1. What is PostgreSQL?
2. A Brief History of PostgreSQL
3. Conventions
4. Further Information
5. Bug Reporting Guidelines
I. Tutorial
1. Getting Started
2. The SQL Language
3. Advanced Features
II. The SQL Language
4. SQL Syntax
5. Data Definition
6. Data Manipulation
7. Queries
8. Data Types
9. Functions and Operators
10. Type Conversion
11. Indexes
12. Full Text Search
13. Concurrency Control
14. Performance Tips
15. Parallel Query
III. Server Administration
16. Installation from Source Code
17. Installation from Source Code on Windows
18. Server Setup and Operation
19. Server Configuration
20. Client Authentication
21. Database Roles
22. Managing Databases
23. Localization
24. Routine Database Maintenance Tasks
25. Backup and Restore
26. High Availability, Load Balancing, and Replication
27. Recovery Configuration
28. Monitoring Database Activity
29. Monitoring Disk Usage
30. Reliability and the Write-Ahead Log
31. Logical Replication
32. Just-in-Time Compilation (JIT)
33. Regression Tests
IV. Client Interfaces
34. libpq - C Library
35. Large Objects
36. ECPG - Embedded SQL in C
37. The Information Schema
V. Server Programming
38. Extending SQL
39. Triggers
40. Event Triggers
41. The Rule System
42. Procedural Languages
43. PL/pgSQL - SQL Procedural Language
44. PL/Tcl - Tcl Procedural Language
45. PL/Perl - Perl Procedural Language
46. PL/Python - Python Procedural Language
47. Server Programming Interface
48. Background Worker Processes
49. Logical Decoding
50. Replication Progress Tracking
VI. Reference
I. SQL Commands
II. PostgreSQL Client Applications
III. PostgreSQL Server Applications
VII. Internals
51. Overview of PostgreSQL Internals
52. System Catalogs
53. Frontend/Backend Protocol
54. PostgreSQL Coding Conventions
55. Native Language Support
56. Writing A Procedural Language Handler
57. Writing A Foreign Data Wrapper
58. Writing A Table Sampling Method
59. Writing A Custom Scan Provider
60. Genetic Query Optimizer
61. Index Access Method Interface Definition
62. Generic WAL Records
63. B-Tree Indexes
64. GiST Indexes
65. SP-GiST Indexes
66. GIN Indexes
67. BRIN Indexes
68. Database Physical Storage
69. System Catalog Declarations and Initial Contents
70. How the Planner Uses Statistics
VIII. Appendixes
A. PostgreSQL Error Codes
B. Date/Time Support
C. SQL Key Words
D. SQL Conformance
E. Release Notes
F. Additional Supplied Modules
G. Additional Supplied Programs
H. External Projects
I. The Source Code Repository
J. Documentation
K. Acronyms
Bibliography
Index
\ No newline at end of file +PostgreSQL 11.7 Documentation

PostgreSQL 11.7 Documentation

The PostgreSQL Global Development Group


Table of Contents

Preface
1. What is PostgreSQL?
2. A Brief History of PostgreSQL
3. Conventions
4. Further Information
5. Bug Reporting Guidelines
I. Tutorial
1. Getting Started
2. The SQL Language
3. Advanced Features
II. The SQL Language
4. SQL Syntax
5. Data Definition
6. Data Manipulation
7. Queries
8. Data Types
9. Functions and Operators
10. Type Conversion
11. Indexes
12. Full Text Search
13. Concurrency Control
14. Performance Tips
15. Parallel Query
III. Server Administration
16. Installation from Source Code
17. Installation from Source Code on Windows
18. Server Setup and Operation
19. Server Configuration
20. Client Authentication
21. Database Roles
22. Managing Databases
23. Localization
24. Routine Database Maintenance Tasks
25. Backup and Restore
26. High Availability, Load Balancing, and Replication
27. Recovery Configuration
28. Monitoring Database Activity
29. Monitoring Disk Usage
30. Reliability and the Write-Ahead Log
31. Logical Replication
32. Just-in-Time Compilation (JIT)
33. Regression Tests
IV. Client Interfaces
34. libpq - C Library
35. Large Objects
36. ECPG - Embedded SQL in C
37. The Information Schema
V. Server Programming
38. Extending SQL
39. Triggers
40. Event Triggers
41. The Rule System
42. Procedural Languages
43. PL/pgSQL - SQL Procedural Language
44. PL/Tcl - Tcl Procedural Language
45. PL/Perl - Perl Procedural Language
46. PL/Python - Python Procedural Language
47. Server Programming Interface
48. Background Worker Processes
49. Logical Decoding
50. Replication Progress Tracking
VI. Reference
I. SQL Commands
II. PostgreSQL Client Applications
III. PostgreSQL Server Applications
VII. Internals
51. Overview of PostgreSQL Internals
52. System Catalogs
53. Frontend/Backend Protocol
54. PostgreSQL Coding Conventions
55. Native Language Support
56. Writing A Procedural Language Handler
57. Writing A Foreign Data Wrapper
58. Writing A Table Sampling Method
59. Writing A Custom Scan Provider
60. Genetic Query Optimizer
61. Index Access Method Interface Definition
62. Generic WAL Records
63. B-Tree Indexes
64. GiST Indexes
65. SP-GiST Indexes
66. GIN Indexes
67. BRIN Indexes
68. Database Physical Storage
69. System Catalog Declarations and Initial Contents
70. How the Planner Uses Statistics
VIII. Appendixes
A. PostgreSQL Error Codes
B. Date/Time Support
C. SQL Key Words
D. SQL Conformance
E. Release Notes
F. Additional Supplied Modules
G. Additional Supplied Programs
H. External Projects
I. The Source Code Repository
J. Documentation
K. Acronyms
Bibliography
Index
\ No newline at end of file diff -Nru postgresql-11-11.6/doc/src/sgml/html/indexam.html postgresql-11-11.7/doc/src/sgml/html/indexam.html --- postgresql-11-11.6/doc/src/sgml/html/indexam.html 2019-11-11 22:18:52.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/indexam.html 2020-02-10 22:30:24.000000000 +0000 @@ -1,5 +1,5 @@ -Chapter 61. Index Access Method Interface Definition

Chapter 61. Index Access Method Interface Definition

+Chapter 61. Index Access Method Interface Definition

Chapter 61. Index Access Method Interface Definition

This chapter defines the interface between the core PostgreSQL system and index access methods, which manage individual index types. The core system diff -Nru postgresql-11-11.6/doc/src/sgml/html/indexes-bitmap-scans.html postgresql-11-11.7/doc/src/sgml/html/indexes-bitmap-scans.html --- postgresql-11-11.6/doc/src/sgml/html/indexes-bitmap-scans.html 2019-11-11 22:18:33.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/indexes-bitmap-scans.html 2020-02-10 22:30:08.000000000 +0000 @@ -1,5 +1,5 @@ -11.5. Combining Multiple Indexes

11.5. Combining Multiple Indexes

+11.5. Combining Multiple Indexes

11.5. Combining Multiple Indexes

A single index scan can only use query clauses that use the index's columns with operators of its operator class and are joined with AND. For example, given an index on (a, b) diff -Nru postgresql-11-11.6/doc/src/sgml/html/indexes-collations.html postgresql-11-11.7/doc/src/sgml/html/indexes-collations.html --- postgresql-11-11.6/doc/src/sgml/html/indexes-collations.html 2019-11-11 22:18:33.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/indexes-collations.html 2020-02-10 22:30:08.000000000 +0000 @@ -1,5 +1,5 @@ -11.11. Indexes and Collations

11.11. Indexes and Collations

+11.11. Indexes and Collations

11.11. Indexes and Collations

An index can support only one collation per index column. If multiple collations are of interest, multiple indexes may be needed.

diff -Nru postgresql-11-11.6/doc/src/sgml/html/indexes-examine.html postgresql-11-11.7/doc/src/sgml/html/indexes-examine.html --- postgresql-11-11.6/doc/src/sgml/html/indexes-examine.html 2019-11-11 22:18:34.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/indexes-examine.html 2020-02-10 22:30:08.000000000 +0000 @@ -1,5 +1,5 @@ -11.12. Examining Index Usage

11.12. Examining Index Usage

+11.12. Examining Index Usage

11.12. Examining Index Usage

Although indexes in PostgreSQL do not need maintenance or tuning, it is still important to check which indexes are actually used by the real-life query workload. diff -Nru postgresql-11-11.6/doc/src/sgml/html/indexes-expressional.html postgresql-11-11.7/doc/src/sgml/html/indexes-expressional.html --- postgresql-11-11.6/doc/src/sgml/html/indexes-expressional.html 2019-11-11 22:18:33.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/indexes-expressional.html 2020-02-10 22:30:08.000000000 +0000 @@ -1,5 +1,5 @@ -11.7. Indexes on Expressions

11.7. Indexes on Expressions

+11.7. Indexes on Expressions

11.7. Indexes on Expressions

An index column need not be just a column of the underlying table, but can be a function or scalar expression computed from one or more columns of the table. This feature is useful to obtain fast @@ -17,6 +17,13 @@ CREATE INDEX test1_lower_col1_idx ON test1 (lower(col1));

+ Expression indexes also allow control over the scope of unique indexes. + For example, this unique index prevents duplicate integer values from + being stored in a double precision-typed column: +

+CREATE UNIQUE INDEX test1_uniq_int ON tests ((floor(double_col)))
+

+

If we were to declare this index UNIQUE, it would prevent creation of rows whose col1 values differ only in case, as well as rows whose col1 values are actually identical. diff -Nru postgresql-11-11.6/doc/src/sgml/html/indexes-index-only-scans.html postgresql-11-11.7/doc/src/sgml/html/indexes-index-only-scans.html --- postgresql-11-11.6/doc/src/sgml/html/indexes-index-only-scans.html 2019-11-11 22:18:33.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/indexes-index-only-scans.html 2020-02-10 22:30:08.000000000 +0000 @@ -1,5 +1,5 @@ -11.9. Index-Only Scans and Covering Indexes

11.9. Index-Only Scans and Covering Indexes

+11.9. Index-Only Scans and Covering Indexes

11.9. Index-Only Scans and Covering Indexes

All indexes in PostgreSQL are secondary indexes, meaning that each index is stored separately from the table's main data area (which is called the diff -Nru postgresql-11-11.6/doc/src/sgml/html/indexes-intro.html postgresql-11-11.7/doc/src/sgml/html/indexes-intro.html --- postgresql-11-11.6/doc/src/sgml/html/indexes-intro.html 2019-11-11 22:18:33.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/indexes-intro.html 2020-02-10 22:30:08.000000000 +0000 @@ -1,5 +1,5 @@ -11.1. Introduction

11.1. Introduction

+11.1. Introduction

11.1. Introduction

Suppose we have a table similar to this:

 CREATE TABLE test1 (
diff -Nru postgresql-11-11.6/doc/src/sgml/html/indexes-multicolumn.html postgresql-11-11.7/doc/src/sgml/html/indexes-multicolumn.html
--- postgresql-11-11.6/doc/src/sgml/html/indexes-multicolumn.html	2019-11-11 22:18:33.000000000 +0000
+++ postgresql-11-11.7/doc/src/sgml/html/indexes-multicolumn.html	2020-02-10 22:30:08.000000000 +0000
@@ -1,5 +1,5 @@
 
-11.3. Multicolumn Indexes

11.3. Multicolumn Indexes

+11.3. Multicolumn Indexes

11.3. Multicolumn Indexes

An index can be defined on more than one column of a table. For example, if you have a table of this form:

diff -Nru postgresql-11-11.6/doc/src/sgml/html/indexes-opclass.html postgresql-11-11.7/doc/src/sgml/html/indexes-opclass.html
--- postgresql-11-11.6/doc/src/sgml/html/indexes-opclass.html	2019-11-11 22:18:33.000000000 +0000
+++ postgresql-11-11.7/doc/src/sgml/html/indexes-opclass.html	2020-02-10 22:30:08.000000000 +0000
@@ -1,5 +1,5 @@
 
-11.10. Operator Classes and Operator Families

11.10. Operator Classes and Operator Families

+11.10. Operator Classes and Operator Families

11.10. Operator Classes and Operator Families

An index definition can specify an operator class for each column of an index.

diff -Nru postgresql-11-11.6/doc/src/sgml/html/indexes-ordering.html postgresql-11-11.7/doc/src/sgml/html/indexes-ordering.html
--- postgresql-11-11.6/doc/src/sgml/html/indexes-ordering.html	2019-11-11 22:18:33.000000000 +0000
+++ postgresql-11-11.7/doc/src/sgml/html/indexes-ordering.html	2020-02-10 22:30:08.000000000 +0000
@@ -1,5 +1,5 @@
 
-11.4. Indexes and ORDER BY

11.4. Indexes and ORDER BY

+11.4. Indexes and ORDER BY

11.4. Indexes and ORDER BY

In addition to simply finding the rows to be returned by a query, an index may be able to deliver them in a specific sorted order. This allows a query's ORDER BY specification to be honored diff -Nru postgresql-11-11.6/doc/src/sgml/html/indexes-partial.html postgresql-11-11.7/doc/src/sgml/html/indexes-partial.html --- postgresql-11-11.6/doc/src/sgml/html/indexes-partial.html 2019-11-11 22:18:33.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/indexes-partial.html 2020-02-10 22:30:08.000000000 +0000 @@ -1,5 +1,5 @@ -11.8. Partial Indexes

11.8. Partial Indexes

+11.8. Partial Indexes

11.8. Partial Indexes

A partial index is an index built over a subset of a table; the subset is defined by a conditional expression (called the predicate of the @@ -150,6 +150,14 @@

This is a particularly efficient approach when there are few successful tests and many unsuccessful ones. +

+ This index allows only one null in the indexed column by using a + partial index clause to process only null column values, and using + an expression index clause to index true instead + of null: +

+CREATE UNIQUE INDEX tests_target_one_null ON tests ((target IS NULL)) WHERE target IS NULL;
+


Finally, a partial index can also be used to override the system's query plan choices. Also, data sets with peculiar diff -Nru postgresql-11-11.6/doc/src/sgml/html/indexes-types.html postgresql-11-11.7/doc/src/sgml/html/indexes-types.html --- postgresql-11-11.6/doc/src/sgml/html/indexes-types.html 2019-11-11 22:18:33.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/indexes-types.html 2020-02-10 22:30:08.000000000 +0000 @@ -1,5 +1,5 @@ -11.2. Index Types

11.2. Index Types

+11.2. Index Types

11.2. Index Types

PostgreSQL provides several index types: B-tree, Hash, GiST, SP-GiST, GIN and BRIN. Each index type uses a different diff -Nru postgresql-11-11.6/doc/src/sgml/html/indexes-unique.html postgresql-11-11.7/doc/src/sgml/html/indexes-unique.html --- postgresql-11-11.6/doc/src/sgml/html/indexes-unique.html 2019-11-11 22:18:33.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/indexes-unique.html 2020-02-10 22:30:08.000000000 +0000 @@ -1,5 +1,5 @@ -11.6. Unique Indexes

11.6. Unique Indexes

+11.6. Unique Indexes

11.6. Unique Indexes

Indexes can also be used to enforce uniqueness of a column's value, or the uniqueness of the combined values of more than one column.

diff -Nru postgresql-11-11.6/doc/src/sgml/html/indexes.html postgresql-11-11.7/doc/src/sgml/html/indexes.html
--- postgresql-11-11.6/doc/src/sgml/html/indexes.html	2019-11-11 22:18:34.000000000 +0000
+++ postgresql-11-11.7/doc/src/sgml/html/indexes.html	2020-02-10 22:30:08.000000000 +0000
@@ -1,5 +1,5 @@
 
-Chapter 11. Indexes

Chapter 11. Indexes

+Chapter 11. Indexes

Chapter 11. Indexes

Indexes are a common way to enhance database performance. An index allows the database server to find and retrieve specific rows much faster than it could do without an index. But indexes also add diff -Nru postgresql-11-11.6/doc/src/sgml/html/information-schema.html postgresql-11-11.7/doc/src/sgml/html/information-schema.html --- postgresql-11-11.6/doc/src/sgml/html/information-schema.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/information-schema.html 2020-02-10 22:30:13.000000000 +0000 @@ -1,5 +1,5 @@ -Chapter 37. The Information Schema

Chapter 37. The Information Schema

+Chapter 37. The Information Schema

Chapter 37. The Information Schema

The information schema consists of a set of views that contain information about the objects defined in the current database. The information schema is defined in the SQL standard and can therefore diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-administrable-role-authorizations.html postgresql-11-11.7/doc/src/sgml/html/infoschema-administrable-role-authorizations.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-administrable-role-authorizations.html 2019-11-11 22:18:38.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-administrable-role-authorizations.html 2020-02-10 22:30:12.000000000 +0000 @@ -1,5 +1,5 @@ -37.4. administrable_role_authorizations

37.4. administrable_role_authorizations

+37.4. administrable_role_authorizations

37.4. administrable_role_authorizations

The view administrable_role_authorizations identifies all roles that the current user has the admin option for. diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-applicable-roles.html postgresql-11-11.7/doc/src/sgml/html/infoschema-applicable-roles.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-applicable-roles.html 2019-11-11 22:18:38.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-applicable-roles.html 2020-02-10 22:30:12.000000000 +0000 @@ -1,5 +1,5 @@ -37.5. applicable_roles

37.5. applicable_roles

+37.5. applicable_roles

37.5. applicable_roles

The view applicable_roles identifies all roles whose privileges the current user can use. This means there is some chain of role grants from the current user to the role in diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-attributes.html postgresql-11-11.7/doc/src/sgml/html/infoschema-attributes.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-attributes.html 2019-11-11 22:18:38.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-attributes.html 2020-02-10 22:30:12.000000000 +0000 @@ -1,5 +1,5 @@ -37.6. attributes

37.6. attributes

+37.6. attributes

37.6. attributes

The view attributes contains information about the attributes of composite data types defined in the database. (Note that the view does not give information about table columns, diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-character-sets.html postgresql-11-11.7/doc/src/sgml/html/infoschema-character-sets.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-character-sets.html 2019-11-11 22:18:38.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-character-sets.html 2020-02-10 22:30:12.000000000 +0000 @@ -1,5 +1,5 @@ -37.7. character_sets

37.7. character_sets

+37.7. character_sets

37.7. character_sets

The view character_sets identifies the character sets available in the current database. Since PostgreSQL does not support multiple character sets within one database, this view only diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-check-constraint-routine-usage.html postgresql-11-11.7/doc/src/sgml/html/infoschema-check-constraint-routine-usage.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-check-constraint-routine-usage.html 2019-11-11 22:18:38.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-check-constraint-routine-usage.html 2020-02-10 22:30:12.000000000 +0000 @@ -1,5 +1,5 @@ -37.8. check_constraint_routine_usage

37.8. check_constraint_routine_usage

+37.8. check_constraint_routine_usage

37.8. check_constraint_routine_usage

The view check_constraint_routine_usage identifies routines (functions and procedures) that are used by a check constraint. Only those routines are shown that are owned by diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-check-constraints.html postgresql-11-11.7/doc/src/sgml/html/infoschema-check-constraints.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-check-constraints.html 2019-11-11 22:18:38.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-check-constraints.html 2020-02-10 22:30:12.000000000 +0000 @@ -1,5 +1,5 @@ -37.9. check_constraints

37.9. check_constraints

+37.9. check_constraints

37.9. check_constraints

The view check_constraints contains all check constraints, either defined on a table or on a domain, that are owned by a currently enabled role. (The owner of the table or diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-collation-character-set-applicab.html postgresql-11-11.7/doc/src/sgml/html/infoschema-collation-character-set-applicab.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-collation-character-set-applicab.html 2019-11-11 22:18:38.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-collation-character-set-applicab.html 2020-02-10 22:30:12.000000000 +0000 @@ -1,5 +1,5 @@ -37.11. collation_character_set_applicability

37.11. collation_character_set_applicability

+37.11. collation_character_set_applicability

37.11. collation_character_set_applicability

The view collation_character_set_applicability identifies which character set the available collations are applicable to. In PostgreSQL, there is only one character set per diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-collations.html postgresql-11-11.7/doc/src/sgml/html/infoschema-collations.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-collations.html 2019-11-11 22:18:38.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-collations.html 2020-02-10 22:30:12.000000000 +0000 @@ -1,5 +1,5 @@ -37.10. collations

37.10. collations

+37.10. collations

37.10. collations

The view collations contains the collations available in the current database.

Table 37.8. collations Columns

NameData TypeDescription
collation_catalogsql_identifierName of the database containing the collation (always the current database)
collation_schemasql_identifierName of the schema containing the collation
collation_namesql_identifierName of the default collation
pad_attributecharacter_data diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-column-domain-usage.html postgresql-11-11.7/doc/src/sgml/html/infoschema-column-domain-usage.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-column-domain-usage.html 2019-11-11 22:18:38.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-column-domain-usage.html 2020-02-10 22:30:12.000000000 +0000 @@ -1,5 +1,5 @@ -37.12. column_domain_usage

37.12. column_domain_usage

+37.12. column_domain_usage

37.12. column_domain_usage

The view column_domain_usage identifies all columns (of a table or a view) that make use of some domain defined in the current database and owned by a currently enabled role. diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-column-options.html postgresql-11-11.7/doc/src/sgml/html/infoschema-column-options.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-column-options.html 2019-11-11 22:18:38.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-column-options.html 2020-02-10 22:30:12.000000000 +0000 @@ -1,5 +1,5 @@ -37.13. column_options

37.13. column_options

+37.13. column_options

37.13. column_options

The view column_options contains all the options defined for foreign table columns in the current database. Only those foreign table columns are shown that the current user has access to diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-column-privileges.html postgresql-11-11.7/doc/src/sgml/html/infoschema-column-privileges.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-column-privileges.html 2019-11-11 22:18:38.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-column-privileges.html 2020-02-10 22:30:12.000000000 +0000 @@ -1,5 +1,5 @@ -37.14. column_privileges

37.14. column_privileges

+37.14. column_privileges

37.14. column_privileges

The view column_privileges identifies all privileges granted on columns to a currently enabled role or by a currently enabled role. There is one row for each combination of diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-column-udt-usage.html postgresql-11-11.7/doc/src/sgml/html/infoschema-column-udt-usage.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-column-udt-usage.html 2019-11-11 22:18:38.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-column-udt-usage.html 2020-02-10 22:30:12.000000000 +0000 @@ -1,5 +1,5 @@ -37.15. column_udt_usage

37.15. column_udt_usage

+37.15. column_udt_usage

37.15. column_udt_usage

The view column_udt_usage identifies all columns that use data types owned by a currently enabled role. Note that in PostgreSQL, built-in data types behave diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-columns.html postgresql-11-11.7/doc/src/sgml/html/infoschema-columns.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-columns.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-columns.html 2020-02-10 22:30:12.000000000 +0000 @@ -1,5 +1,5 @@ -37.16. columns

37.16. columns

+37.16. columns

37.16. columns

The view columns contains information about all table columns (or view columns) in the database. System columns (oid, etc.) are not included. Only those columns are diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-constraint-column-usage.html postgresql-11-11.7/doc/src/sgml/html/infoschema-constraint-column-usage.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-constraint-column-usage.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-constraint-column-usage.html 2020-02-10 22:30:12.000000000 +0000 @@ -1,5 +1,5 @@ -37.17. constraint_column_usage

37.17. constraint_column_usage

+37.17. constraint_column_usage

37.17. constraint_column_usage

The view constraint_column_usage identifies all columns in the current database that are used by some constraint. Only those columns are shown that are contained in a table owned by diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-constraint-table-usage.html postgresql-11-11.7/doc/src/sgml/html/infoschema-constraint-table-usage.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-constraint-table-usage.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-constraint-table-usage.html 2020-02-10 22:30:12.000000000 +0000 @@ -1,5 +1,5 @@ -37.18. constraint_table_usage

37.18. constraint_table_usage

+37.18. constraint_table_usage

37.18. constraint_table_usage

The view constraint_table_usage identifies all tables in the current database that are used by some constraint and are owned by a currently enabled role. (This is different from the diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-data-type-privileges.html postgresql-11-11.7/doc/src/sgml/html/infoschema-data-type-privileges.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-data-type-privileges.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-data-type-privileges.html 2020-02-10 22:30:12.000000000 +0000 @@ -1,5 +1,5 @@ -37.19. data_type_privileges

37.19. data_type_privileges

+37.19. data_type_privileges

37.19. data_type_privileges

The view data_type_privileges identifies all data type descriptors that the current user has access to, by way of being the owner of the described object or having some privilege diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-datatypes.html postgresql-11-11.7/doc/src/sgml/html/infoschema-datatypes.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-datatypes.html 2019-11-11 22:18:38.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-datatypes.html 2020-02-10 22:30:12.000000000 +0000 @@ -1,5 +1,5 @@ -37.2. Data Types

37.2. Data Types

+37.2. Data Types

37.2. Data Types

The columns of the information schema views use special data types that are defined in the information schema. These are defined as simple domains over ordinary built-in types. You should not use diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-domain-constraints.html postgresql-11-11.7/doc/src/sgml/html/infoschema-domain-constraints.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-domain-constraints.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-domain-constraints.html 2020-02-10 22:30:12.000000000 +0000 @@ -1,5 +1,5 @@ -37.20. domain_constraints

37.20. domain_constraints

+37.20. domain_constraints

37.20. domain_constraints

The view domain_constraints contains all constraints belonging to domains defined in the current database. Only those domains are shown that the current user has access to (by way of being the owner or diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-domain-udt-usage.html postgresql-11-11.7/doc/src/sgml/html/infoschema-domain-udt-usage.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-domain-udt-usage.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-domain-udt-usage.html 2020-02-10 22:30:12.000000000 +0000 @@ -1,5 +1,5 @@ -37.21. domain_udt_usage

37.21. domain_udt_usage

+37.21. domain_udt_usage

37.21. domain_udt_usage

The view domain_udt_usage identifies all domains that are based on data types owned by a currently enabled role. Note that in PostgreSQL, built-in data diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-domains.html postgresql-11-11.7/doc/src/sgml/html/infoschema-domains.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-domains.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-domains.html 2020-02-10 22:30:12.000000000 +0000 @@ -1,5 +1,5 @@ -37.22. domains

37.22. domains

+37.22. domains

37.22. domains

The view domains contains all domains defined in the current database. Only those domains are shown that the current user has access to (by way of being the owner or having some privilege). diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-element-types.html postgresql-11-11.7/doc/src/sgml/html/infoschema-element-types.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-element-types.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-element-types.html 2020-02-10 22:30:12.000000000 +0000 @@ -1,5 +1,5 @@ -37.23. element_types

37.23. element_types

+37.23. element_types

37.23. element_types

The view element_types contains the data type descriptors of the elements of arrays. When a table column, composite-type attribute, domain, function parameter, or function return value is defined to diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-enabled-roles.html postgresql-11-11.7/doc/src/sgml/html/infoschema-enabled-roles.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-enabled-roles.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-enabled-roles.html 2020-02-10 22:30:12.000000000 +0000 @@ -1,5 +1,5 @@ -37.24. enabled_roles

37.24. enabled_roles

+37.24. enabled_roles

37.24. enabled_roles

The view enabled_roles identifies the currently enabled roles. The enabled roles are recursively defined as the current user together with all roles that have been diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-foreign-data-wrapper-options.html postgresql-11-11.7/doc/src/sgml/html/infoschema-foreign-data-wrapper-options.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-foreign-data-wrapper-options.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-foreign-data-wrapper-options.html 2020-02-10 22:30:12.000000000 +0000 @@ -1,5 +1,5 @@ -37.25. foreign_data_wrapper_options

37.25. foreign_data_wrapper_options

+37.25. foreign_data_wrapper_options

37.25. foreign_data_wrapper_options

The view foreign_data_wrapper_options contains all the options defined for foreign-data wrappers in the current database. Only those foreign-data wrappers are shown that the diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-foreign-data-wrappers.html postgresql-11-11.7/doc/src/sgml/html/infoschema-foreign-data-wrappers.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-foreign-data-wrappers.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-foreign-data-wrappers.html 2020-02-10 22:30:13.000000000 +0000 @@ -1,5 +1,5 @@ -37.26. foreign_data_wrappers

37.26. foreign_data_wrappers

+37.26. foreign_data_wrappers

37.26. foreign_data_wrappers

The view foreign_data_wrappers contains all foreign-data wrappers defined in the current database. Only those foreign-data wrappers are shown that the current user has access to diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-foreign-server-options.html postgresql-11-11.7/doc/src/sgml/html/infoschema-foreign-server-options.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-foreign-server-options.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-foreign-server-options.html 2020-02-10 22:30:13.000000000 +0000 @@ -1,5 +1,5 @@ -37.27. foreign_server_options

37.27. foreign_server_options

+37.27. foreign_server_options

37.27. foreign_server_options

The view foreign_server_options contains all the options defined for foreign servers in the current database. Only those foreign servers are shown that the current user has access to diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-foreign-servers.html postgresql-11-11.7/doc/src/sgml/html/infoschema-foreign-servers.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-foreign-servers.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-foreign-servers.html 2020-02-10 22:30:13.000000000 +0000 @@ -1,5 +1,5 @@ -37.28. foreign_servers

37.28. foreign_servers

+37.28. foreign_servers

37.28. foreign_servers

The view foreign_servers contains all foreign servers defined in the current database. Only those foreign servers are shown that the current user has access to (by way of diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-foreign-table-options.html postgresql-11-11.7/doc/src/sgml/html/infoschema-foreign-table-options.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-foreign-table-options.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-foreign-table-options.html 2020-02-10 22:30:13.000000000 +0000 @@ -1,5 +1,5 @@ -37.29. foreign_table_options

37.29. foreign_table_options

+37.29. foreign_table_options

37.29. foreign_table_options

The view foreign_table_options contains all the options defined for foreign tables in the current database. Only those foreign tables are shown that the current user has access to diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-foreign-tables.html postgresql-11-11.7/doc/src/sgml/html/infoschema-foreign-tables.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-foreign-tables.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-foreign-tables.html 2020-02-10 22:30:13.000000000 +0000 @@ -1,5 +1,5 @@ -37.30. foreign_tables

37.30. foreign_tables

+37.30. foreign_tables

37.30. foreign_tables

The view foreign_tables contains all foreign tables defined in the current database. Only those foreign tables are shown that the current user has access to (by way of diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-information-schema-catalog-name.html postgresql-11-11.7/doc/src/sgml/html/infoschema-information-schema-catalog-name.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-information-schema-catalog-name.html 2019-11-11 22:18:38.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-information-schema-catalog-name.html 2020-02-10 22:30:12.000000000 +0000 @@ -1,5 +1,5 @@ -37.3. information_schema_catalog_name

37.3. information_schema_catalog_name

+37.3. information_schema_catalog_name

37.3. information_schema_catalog_name

information_schema_catalog_name is a table that always contains one row and one column containing the name of the current database (current catalog, in SQL terminology). diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-key-column-usage.html postgresql-11-11.7/doc/src/sgml/html/infoschema-key-column-usage.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-key-column-usage.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-key-column-usage.html 2020-02-10 22:30:13.000000000 +0000 @@ -1,5 +1,5 @@ -37.31. key_column_usage

37.31. key_column_usage

+37.31. key_column_usage

37.31. key_column_usage

The view key_column_usage identifies all columns in the current database that are restricted by some unique, primary key, or foreign key constraint. Check constraints are not included diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-parameters.html postgresql-11-11.7/doc/src/sgml/html/infoschema-parameters.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-parameters.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-parameters.html 2020-02-10 22:30:13.000000000 +0000 @@ -1,5 +1,5 @@ -37.32. parameters

37.32. parameters

+37.32. parameters

37.32. parameters

The view parameters contains information about the parameters (arguments) of all functions in the current database. Only those functions are shown that the current user has access to diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-referential-constraints.html postgresql-11-11.7/doc/src/sgml/html/infoschema-referential-constraints.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-referential-constraints.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-referential-constraints.html 2020-02-10 22:30:13.000000000 +0000 @@ -1,5 +1,5 @@ -37.33. referential_constraints

37.33. referential_constraints

+37.33. referential_constraints

37.33. referential_constraints

The view referential_constraints contains all referential (foreign key) constraints in the current database. Only those constraints are shown for which the current user has diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-role-column-grants.html postgresql-11-11.7/doc/src/sgml/html/infoschema-role-column-grants.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-role-column-grants.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-role-column-grants.html 2020-02-10 22:30:13.000000000 +0000 @@ -1,5 +1,5 @@ -37.34. role_column_grants

37.34. role_column_grants

+37.34. role_column_grants

37.34. role_column_grants

The view role_column_grants identifies all privileges granted on columns where the grantor or grantee is a currently enabled role. Further information can be found under diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-role-routine-grants.html postgresql-11-11.7/doc/src/sgml/html/infoschema-role-routine-grants.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-role-routine-grants.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-role-routine-grants.html 2020-02-10 22:30:13.000000000 +0000 @@ -1,5 +1,5 @@ -37.35. role_routine_grants

37.35. role_routine_grants

+37.35. role_routine_grants

37.35. role_routine_grants

The view role_routine_grants identifies all privileges granted on functions where the grantor or grantee is a currently enabled role. Further information can be found under diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-role-table-grants.html postgresql-11-11.7/doc/src/sgml/html/infoschema-role-table-grants.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-role-table-grants.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-role-table-grants.html 2020-02-10 22:30:13.000000000 +0000 @@ -1,5 +1,5 @@ -37.36. role_table_grants

37.36. role_table_grants

+37.36. role_table_grants

37.36. role_table_grants

The view role_table_grants identifies all privileges granted on tables or views where the grantor or grantee is a currently enabled role. Further information can be found diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-role-udt-grants.html postgresql-11-11.7/doc/src/sgml/html/infoschema-role-udt-grants.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-role-udt-grants.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-role-udt-grants.html 2020-02-10 22:30:13.000000000 +0000 @@ -1,5 +1,5 @@ -37.37. role_udt_grants

37.37. role_udt_grants

+37.37. role_udt_grants

37.37. role_udt_grants

The view role_udt_grants is intended to identify USAGE privileges granted on user-defined types where the grantor or grantee is a currently enabled role. Further diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-role-usage-grants.html postgresql-11-11.7/doc/src/sgml/html/infoschema-role-usage-grants.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-role-usage-grants.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-role-usage-grants.html 2020-02-10 22:30:13.000000000 +0000 @@ -1,5 +1,5 @@ -37.38. role_usage_grants

37.38. role_usage_grants

+37.38. role_usage_grants

37.38. role_usage_grants

The view role_usage_grants identifies USAGE privileges granted on various kinds of objects where the grantor or grantee is a currently enabled role. diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-routine-privileges.html postgresql-11-11.7/doc/src/sgml/html/infoschema-routine-privileges.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-routine-privileges.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-routine-privileges.html 2020-02-10 22:30:13.000000000 +0000 @@ -1,5 +1,5 @@ -37.39. routine_privileges

37.39. routine_privileges

+37.39. routine_privileges

37.39. routine_privileges

The view routine_privileges identifies all privileges granted on functions to a currently enabled role or by a currently enabled role. There is one row for each combination of function, diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-routines.html postgresql-11-11.7/doc/src/sgml/html/infoschema-routines.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-routines.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-routines.html 2020-02-10 22:30:13.000000000 +0000 @@ -1,5 +1,5 @@ -37.40. routines

37.40. routines

+37.40. routines

37.40. routines

The view routines contains all functions and procedures in the current database. Only those functions and procedures are shown that the current user has access to (by way of being the owner or having some diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-schema.html postgresql-11-11.7/doc/src/sgml/html/infoschema-schema.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-schema.html 2019-11-11 22:18:38.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-schema.html 2020-02-10 22:30:12.000000000 +0000 @@ -1,5 +1,5 @@ -37.1. The Schema

37.1. The Schema

+37.1. The Schema

37.1. The Schema

The information schema itself is a schema named information_schema. This schema automatically exists in all databases. The owner of this schema is the initial diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-schemata.html postgresql-11-11.7/doc/src/sgml/html/infoschema-schemata.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-schemata.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-schemata.html 2020-02-10 22:30:13.000000000 +0000 @@ -1,5 +1,5 @@ -37.41. schemata

37.41. schemata

+37.41. schemata

37.41. schemata

The view schemata contains all schemas in the current database that the current user has access to (by way of being the owner or having some privilege). diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-sequences.html postgresql-11-11.7/doc/src/sgml/html/infoschema-sequences.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-sequences.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-sequences.html 2020-02-10 22:30:13.000000000 +0000 @@ -1,5 +1,5 @@ -37.42. sequences

37.42. sequences

+37.42. sequences

37.42. sequences

The view sequences contains all sequences defined in the current database. Only those sequences are shown that the current user has access to (by way of being the owner or diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-sql-features.html postgresql-11-11.7/doc/src/sgml/html/infoschema-sql-features.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-sql-features.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-sql-features.html 2020-02-10 22:30:13.000000000 +0000 @@ -1,5 +1,5 @@ -37.43. sql_features

37.43. sql_features

+37.43. sql_features

37.43. sql_features

The table sql_features contains information about which formal features defined in the SQL standard are supported by PostgreSQL. This is the diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-sql-implementation-info.html postgresql-11-11.7/doc/src/sgml/html/infoschema-sql-implementation-info.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-sql-implementation-info.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-sql-implementation-info.html 2020-02-10 22:30:13.000000000 +0000 @@ -1,5 +1,5 @@ -37.44. sql_implementation_info

37.44. sql_implementation_info

+37.44. sql_implementation_info

37.44. sql_implementation_info

The table sql_implementation_info contains information about various aspects that are left implementation-defined by the SQL standard. This information is diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-sql-languages.html postgresql-11-11.7/doc/src/sgml/html/infoschema-sql-languages.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-sql-languages.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-sql-languages.html 2020-02-10 22:30:13.000000000 +0000 @@ -1,5 +1,5 @@ -37.45. sql_languages

37.45. sql_languages

+37.45. sql_languages

37.45. sql_languages

The table sql_languages contains one row for each SQL language binding that is supported by PostgreSQL. diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-sql-packages.html postgresql-11-11.7/doc/src/sgml/html/infoschema-sql-packages.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-sql-packages.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-sql-packages.html 2020-02-10 22:30:13.000000000 +0000 @@ -1,5 +1,5 @@ -37.46. sql_packages

37.46. sql_packages

+37.46. sql_packages

37.46. sql_packages

The table sql_packages contains information about which feature packages defined in the SQL standard are supported by PostgreSQL. Refer to Appendix D for background information on feature packages. diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-sql-parts.html postgresql-11-11.7/doc/src/sgml/html/infoschema-sql-parts.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-sql-parts.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-sql-parts.html 2020-02-10 22:30:13.000000000 +0000 @@ -1,5 +1,5 @@ -37.47. sql_parts

37.47. sql_parts

+37.47. sql_parts

37.47. sql_parts

The table sql_parts contains information about which of the several parts of the SQL standard are supported by PostgreSQL. diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-sql-sizing-profiles.html postgresql-11-11.7/doc/src/sgml/html/infoschema-sql-sizing-profiles.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-sql-sizing-profiles.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-sql-sizing-profiles.html 2020-02-10 22:30:13.000000000 +0000 @@ -1,5 +1,5 @@ -37.49. sql_sizing_profiles

37.49. sql_sizing_profiles

+37.49. sql_sizing_profiles

37.49. sql_sizing_profiles

The table sql_sizing_profiles contains information about the sql_sizing values that are required by various profiles of the SQL standard. PostgreSQL does diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-sql-sizing.html postgresql-11-11.7/doc/src/sgml/html/infoschema-sql-sizing.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-sql-sizing.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-sql-sizing.html 2020-02-10 22:30:13.000000000 +0000 @@ -1,5 +1,5 @@ -37.48. sql_sizing

37.48. sql_sizing

+37.48. sql_sizing

37.48. sql_sizing

The table sql_sizing contains information about various size limits and maximum values in PostgreSQL. This information is diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-table-constraints.html postgresql-11-11.7/doc/src/sgml/html/infoschema-table-constraints.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-table-constraints.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-table-constraints.html 2020-02-10 22:30:13.000000000 +0000 @@ -1,5 +1,5 @@ -37.50. table_constraints

37.50. table_constraints

+37.50. table_constraints

37.50. table_constraints

The view table_constraints contains all constraints belonging to tables that the current user owns or has some privilege other than SELECT on. diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-table-privileges.html postgresql-11-11.7/doc/src/sgml/html/infoschema-table-privileges.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-table-privileges.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-table-privileges.html 2020-02-10 22:30:13.000000000 +0000 @@ -1,5 +1,5 @@ -37.51. table_privileges

37.51. table_privileges

+37.51. table_privileges

37.51. table_privileges

The view table_privileges identifies all privileges granted on tables or views to a currently enabled role or by a currently enabled role. There is one row for each diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-tables.html postgresql-11-11.7/doc/src/sgml/html/infoschema-tables.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-tables.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-tables.html 2020-02-10 22:30:13.000000000 +0000 @@ -1,5 +1,5 @@ -37.52. tables

37.52. tables

+37.52. tables

37.52. tables

The view tables contains all tables and views defined in the current database. Only those tables and views are shown that the current user has access to (by way of being the diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-transforms.html postgresql-11-11.7/doc/src/sgml/html/infoschema-transforms.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-transforms.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-transforms.html 2020-02-10 22:30:13.000000000 +0000 @@ -1,5 +1,5 @@ -37.53. transforms

37.53. transforms

+37.53. transforms

37.53. transforms

The view transforms contains information about the transforms defined in the current database. More precisely, it contains a row for each function contained in a transform (the from SQL diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-triggered-update-columns.html postgresql-11-11.7/doc/src/sgml/html/infoschema-triggered-update-columns.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-triggered-update-columns.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-triggered-update-columns.html 2020-02-10 22:30:13.000000000 +0000 @@ -1,5 +1,5 @@ -37.54. triggered_update_columns

37.54. triggered_update_columns

+37.54. triggered_update_columns

37.54. triggered_update_columns

For triggers in the current database that specify a column list (like UPDATE OF column1, column2), the view triggered_update_columns identifies these diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-triggers.html postgresql-11-11.7/doc/src/sgml/html/infoschema-triggers.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-triggers.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-triggers.html 2020-02-10 22:30:13.000000000 +0000 @@ -1,5 +1,5 @@ -37.55. triggers

37.55. triggers

+37.55. triggers

37.55. triggers

The view triggers contains all triggers defined in the current database on tables and views that the current user owns or has some privilege other than SELECT on. diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-udt-privileges.html postgresql-11-11.7/doc/src/sgml/html/infoschema-udt-privileges.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-udt-privileges.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-udt-privileges.html 2020-02-10 22:30:13.000000000 +0000 @@ -1,5 +1,5 @@ -37.56. udt_privileges

37.56. udt_privileges

+37.56. udt_privileges

37.56. udt_privileges

The view udt_privileges identifies USAGE privileges granted on user-defined types to a currently enabled role or by a currently enabled role. There is one row for diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-usage-privileges.html postgresql-11-11.7/doc/src/sgml/html/infoschema-usage-privileges.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-usage-privileges.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-usage-privileges.html 2020-02-10 22:30:13.000000000 +0000 @@ -1,5 +1,5 @@ -37.57. usage_privileges

37.57. usage_privileges

+37.57. usage_privileges

37.57. usage_privileges

The view usage_privileges identifies USAGE privileges granted on various kinds of objects to a currently enabled role or by a currently enabled role. diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-user-defined-types.html postgresql-11-11.7/doc/src/sgml/html/infoschema-user-defined-types.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-user-defined-types.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-user-defined-types.html 2020-02-10 22:30:13.000000000 +0000 @@ -1,5 +1,5 @@ -37.58. user_defined_types

37.58. user_defined_types

+37.58. user_defined_types

37.58. user_defined_types

The view user_defined_types currently contains all composite types defined in the current database. Only those types are shown that the current user has access to (by way diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-user-mapping-options.html postgresql-11-11.7/doc/src/sgml/html/infoschema-user-mapping-options.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-user-mapping-options.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-user-mapping-options.html 2020-02-10 22:30:13.000000000 +0000 @@ -1,5 +1,5 @@ -37.59. user_mapping_options

37.59. user_mapping_options

+37.59. user_mapping_options

37.59. user_mapping_options

The view user_mapping_options contains all the options defined for user mappings in the current database. Only those user mappings are shown where the current user has access to diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-user-mappings.html postgresql-11-11.7/doc/src/sgml/html/infoschema-user-mappings.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-user-mappings.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-user-mappings.html 2020-02-10 22:30:13.000000000 +0000 @@ -1,5 +1,5 @@ -37.60. user_mappings

37.60. user_mappings

+37.60. user_mappings

37.60. user_mappings

The view user_mappings contains all user mappings defined in the current database. Only those user mappings are shown where the current user has access to the corresponding diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-view-column-usage.html postgresql-11-11.7/doc/src/sgml/html/infoschema-view-column-usage.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-view-column-usage.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-view-column-usage.html 2020-02-10 22:30:13.000000000 +0000 @@ -1,5 +1,5 @@ -37.61. view_column_usage

37.61. view_column_usage

+37.61. view_column_usage

37.61. view_column_usage

The view view_column_usage identifies all columns that are used in the query expression of a view (the SELECT statement that defines the view). A diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-view-routine-usage.html postgresql-11-11.7/doc/src/sgml/html/infoschema-view-routine-usage.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-view-routine-usage.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-view-routine-usage.html 2020-02-10 22:30:13.000000000 +0000 @@ -1,5 +1,5 @@ -37.62. view_routine_usage

37.62. view_routine_usage

+37.62. view_routine_usage

37.62. view_routine_usage

The view view_routine_usage identifies all routines (functions and procedures) that are used in the query expression of a view (the SELECT statement that diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-view-table-usage.html postgresql-11-11.7/doc/src/sgml/html/infoschema-view-table-usage.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-view-table-usage.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-view-table-usage.html 2020-02-10 22:30:13.000000000 +0000 @@ -1,5 +1,5 @@ -37.63. view_table_usage

37.63. view_table_usage

+37.63. view_table_usage

37.63. view_table_usage

The view view_table_usage identifies all tables that are used in the query expression of a view (the SELECT statement that defines the view). A diff -Nru postgresql-11-11.6/doc/src/sgml/html/infoschema-views.html postgresql-11-11.7/doc/src/sgml/html/infoschema-views.html --- postgresql-11-11.6/doc/src/sgml/html/infoschema-views.html 2019-11-11 22:18:39.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/infoschema-views.html 2020-02-10 22:30:13.000000000 +0000 @@ -1,5 +1,5 @@ -37.64. views

37.64. views

+37.64. views

37.64. views

The view views contains all views defined in the current database. Only those views are shown that the current user has access to (by way of being the owner or having some privilege). diff -Nru postgresql-11-11.6/doc/src/sgml/html/install-getsource.html postgresql-11-11.7/doc/src/sgml/html/install-getsource.html --- postgresql-11-11.6/doc/src/sgml/html/install-getsource.html 2019-11-11 22:18:34.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/install-getsource.html 2020-02-10 22:30:09.000000000 +0000 @@ -1,19 +1,19 @@ -16.3. Getting The Source

16.3. Getting The Source

- The PostgreSQL 11.6 sources can be obtained from the +16.3. Getting The Source

16.3. Getting The Source

+ The PostgreSQL 11.7 sources can be obtained from the download section of our website: https://www.postgresql.org/download/. You - should get a file named postgresql-11.6.tar.gz - or postgresql-11.6.tar.bz2. After + should get a file named postgresql-11.7.tar.gz + or postgresql-11.7.tar.bz2. After you have obtained the file, unpack it:

-gunzip postgresql-11.6.tar.gz
-tar xf postgresql-11.6.tar
+gunzip postgresql-11.7.tar.gz
+tar xf postgresql-11.7.tar
 

(Use bunzip2 instead of gunzip if you have the .bz2 file.) This will create a directory - postgresql-11.6 under the current directory + postgresql-11.7 under the current directory with the PostgreSQL sources. Change into that directory for the rest of the installation procedure. diff -Nru postgresql-11-11.6/doc/src/sgml/html/install-post.html postgresql-11-11.7/doc/src/sgml/html/install-post.html --- postgresql-11-11.6/doc/src/sgml/html/install-post.html 2019-11-11 22:18:34.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/install-post.html 2020-02-10 22:30:09.000000000 +0000 @@ -1,5 +1,5 @@ -16.5. Post-Installation Setup

16.5. Post-Installation Setup

16.5.1. Shared Libraries

+16.5. Post-Installation Setup

16.5. Post-Installation Setup

16.5.1. Shared Libraries

On some systems with shared libraries you need to tell the system how to find the newly installed shared libraries. The systems on which this is diff -Nru postgresql-11-11.6/doc/src/sgml/html/install-procedure.html postgresql-11-11.7/doc/src/sgml/html/install-procedure.html --- postgresql-11-11.6/doc/src/sgml/html/install-procedure.html 2019-11-11 22:18:34.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/install-procedure.html 2020-02-10 22:30:09.000000000 +0000 @@ -1,5 +1,5 @@ -16.4. Installation Procedure

16.4. Installation Procedure

  1. Configuration

    +16.4. Installation Procedure

    16.4. Installation Procedure

    1. Configuration

      The first step of the installation procedure is to configure the source tree for your system and choose the options you would like. This is done by running the configure script. For a diff -Nru postgresql-11-11.6/doc/src/sgml/html/install-requirements.html postgresql-11-11.7/doc/src/sgml/html/install-requirements.html --- postgresql-11-11.6/doc/src/sgml/html/install-requirements.html 2019-11-11 22:18:34.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/install-requirements.html 2020-02-10 22:30:08.000000000 +0000 @@ -1,5 +1,5 @@ -16.2. Requirements

      16.2. Requirements

      +16.2. Requirements

      16.2. Requirements

      In general, a modern Unix-compatible platform should be able to run PostgreSQL. The platforms that had received specific testing at the diff -Nru postgresql-11-11.6/doc/src/sgml/html/install-short.html postgresql-11-11.7/doc/src/sgml/html/install-short.html --- postgresql-11-11.6/doc/src/sgml/html/install-short.html 2019-11-11 22:18:34.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/install-short.html 2020-02-10 22:30:08.000000000 +0000 @@ -1,5 +1,5 @@ -16.1. Short Version

      16.1. Short Version

      +16.1. Short Version

      16.1. Short Version

       ./configure
       make
      diff -Nru postgresql-11-11.6/doc/src/sgml/html/install-windows-full.html postgresql-11-11.7/doc/src/sgml/html/install-windows-full.html
      --- postgresql-11-11.6/doc/src/sgml/html/install-windows-full.html	2019-11-11 22:18:35.000000000 +0000
      +++ postgresql-11-11.7/doc/src/sgml/html/install-windows-full.html	2020-02-10 22:30:09.000000000 +0000
      @@ -1,6 +1,6 @@
       
       17.1. Building with Visual C++ or the Microsoft Windows SDK

      17.1. Building with Visual C++ or the + Microsoft Windows SDK

Prev UpChapter 17. Installation from Source Code on WindowsHome Next

17.1. Building with Visual C++ or the Microsoft Windows SDK

PostgreSQL can be built using the Visual C++ compiler suite from Microsoft. These compilers can be either from Visual Studio, diff -Nru postgresql-11-11.6/doc/src/sgml/html/install-windows.html postgresql-11-11.7/doc/src/sgml/html/install-windows.html --- postgresql-11-11.6/doc/src/sgml/html/install-windows.html 2019-11-11 22:18:35.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/install-windows.html 2020-02-10 22:30:09.000000000 +0000 @@ -1,5 +1,5 @@ -Chapter 17. Installation from Source Code on Windows

Chapter 17. Installation from Source Code on Windows

Table of Contents

17.1. Building with Visual C++ or the +Chapter 17. Installation from Source Code on Windows

Chapter 17. Installation from Source Code on Windows

It is recommended that most users download the binary distribution for Windows, available as a graphical installer package diff -Nru postgresql-11-11.6/doc/src/sgml/html/installation-platform-notes.html postgresql-11-11.7/doc/src/sgml/html/installation-platform-notes.html --- postgresql-11-11.6/doc/src/sgml/html/installation-platform-notes.html 2019-11-11 22:18:34.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/installation-platform-notes.html 2020-02-10 22:30:09.000000000 +0000 @@ -1,5 +1,5 @@ -16.7. Platform-specific Notes

16.7. Platform-specific Notes

+16.7. Platform-specific Notes

16.7. Platform-specific Notes

This section documents additional platform-specific issues regarding the installation and setup of PostgreSQL. Be sure to read the installation instructions, and in diff -Nru postgresql-11-11.6/doc/src/sgml/html/installation.html postgresql-11-11.7/doc/src/sgml/html/installation.html --- postgresql-11-11.6/doc/src/sgml/html/installation.html 2019-11-11 22:18:34.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/installation.html 2020-02-10 22:30:09.000000000 +0000 @@ -1,5 +1,5 @@ -Chapter 16. Installation from Source Code

Chapter 16. Installation from Source Code

+Chapter 16. Installation from Source Code

Chapter 16. Installation from Source Code

This chapter describes the installation of PostgreSQL using the source code distribution. (If you are installing a pre-packaged distribution, diff -Nru postgresql-11-11.6/doc/src/sgml/html/intagg.html postgresql-11-11.7/doc/src/sgml/html/intagg.html --- postgresql-11-11.6/doc/src/sgml/html/intagg.html 2019-11-11 22:18:56.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/intagg.html 2020-02-10 22:30:28.000000000 +0000 @@ -1,5 +1,5 @@ -F.17. intagg

F.17. intagg

+F.17. intagg

F.17. intagg

The intagg module provides an integer aggregator and an enumerator. intagg is now obsolete, because there are built-in functions that provide a superset of its capabilities. diff -Nru postgresql-11-11.6/doc/src/sgml/html/intarray.html postgresql-11-11.7/doc/src/sgml/html/intarray.html --- postgresql-11-11.6/doc/src/sgml/html/intarray.html 2019-11-11 22:18:56.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/intarray.html 2020-02-10 22:30:28.000000000 +0000 @@ -1,5 +1,5 @@ -F.18. intarray

F.18. intarray

+F.18. intarray

F.18. intarray

The intarray module provides a number of useful functions and operators for manipulating null-free arrays of integers. There is also support for indexed searches using some of the operators. diff -Nru postgresql-11-11.6/doc/src/sgml/html/internals.html postgresql-11-11.7/doc/src/sgml/html/internals.html --- postgresql-11-11.6/doc/src/sgml/html/internals.html 2019-11-11 22:18:53.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/internals.html 2020-02-10 22:30:25.000000000 +0000 @@ -1,5 +1,5 @@ -Part VII. Internals

Part VII. Internals

+Part VII. Internals

Part VII. Internals

This part contains assorted information that might be of use to PostgreSQL developers.

Table of Contents

51. Overview of PostgreSQL Internals
51.1. The Path of a Query
51.2. How Connections are Established
51.3. The Parser Stage
51.4. The PostgreSQL Rule System
51.5. Planner/Optimizer
51.6. Executor
52. System Catalogs
52.1. Overview
52.2. pg_aggregate
52.3. pg_am
52.4. pg_amop
52.5. pg_amproc
52.6. pg_attrdef
52.7. pg_attribute
52.8. pg_authid
52.9. pg_auth_members
52.10. pg_cast
52.11. pg_class
52.12. pg_collation
52.13. pg_constraint
52.14. pg_conversion
52.15. pg_database
52.16. pg_db_role_setting
52.17. pg_default_acl
52.18. pg_depend
52.19. pg_description
52.20. pg_enum
52.21. pg_event_trigger
52.22. pg_extension
52.23. pg_foreign_data_wrapper
52.24. pg_foreign_server
52.25. pg_foreign_table
52.26. pg_index
52.27. pg_inherits
52.28. pg_init_privs
52.29. pg_language
52.30. pg_largeobject
52.31. pg_largeobject_metadata
52.32. pg_namespace
52.33. pg_opclass
52.34. pg_operator
52.35. pg_opfamily
52.36. pg_partitioned_table
52.37. pg_pltemplate
52.38. pg_policy
52.39. pg_proc
52.40. pg_publication
52.41. pg_publication_rel
52.42. pg_range
52.43. pg_replication_origin
52.44. pg_rewrite
52.45. pg_seclabel
52.46. pg_sequence
52.47. pg_shdepend
52.48. pg_shdescription
52.49. pg_shseclabel
52.50. pg_statistic
52.51. pg_statistic_ext
52.52. pg_subscription
52.53. pg_subscription_rel
52.54. pg_tablespace
52.55. pg_transform
52.56. pg_trigger
52.57. pg_ts_config
52.58. pg_ts_config_map
52.59. pg_ts_dict
52.60. pg_ts_parser
52.61. pg_ts_template
52.62. pg_type
52.63. pg_user_mapping
52.64. System Views
52.65. pg_available_extensions
52.66. pg_available_extension_versions
52.67. pg_config
52.68. pg_cursors
52.69. pg_file_settings
52.70. pg_group
52.71. pg_hba_file_rules
52.72. pg_indexes
52.73. pg_locks
52.74. pg_matviews
52.75. pg_policies
52.76. pg_prepared_statements
52.77. pg_prepared_xacts
52.78. pg_publication_tables
52.79. pg_replication_origin_status
52.80. pg_replication_slots
52.81. pg_roles
52.82. pg_rules
52.83. pg_seclabels
52.84. pg_sequences
52.85. pg_settings
52.86. pg_shadow
52.87. pg_stats
52.88. pg_tables
52.89. pg_timezone_abbrevs
52.90. pg_timezone_names
52.91. pg_user
52.92. pg_user_mappings
52.93. pg_views
53. Frontend/Backend Protocol
53.1. Overview
53.2. Message Flow
53.3. SASL Authentication
53.4. Streaming Replication Protocol
53.5. Logical Streaming Replication Protocol
53.6. Message Data Types
53.7. Message Formats
53.8. Error and Notice Message Fields
53.9. Logical Replication Message Formats
53.10. Summary of Changes since Protocol 2.0
54. PostgreSQL Coding Conventions
54.1. Formatting
54.2. Reporting Errors Within the Server
54.3. Error Message Style Guide
54.4. Miscellaneous Coding Conventions
55. Native Language Support
55.1. For the Translator
55.2. For the Programmer
56. Writing A Procedural Language Handler
57. Writing A Foreign Data Wrapper
57.1. Foreign Data Wrapper Functions
57.2. Foreign Data Wrapper Callback Routines
57.3. Foreign Data Wrapper Helper Functions
57.4. Foreign Data Wrapper Query Planning
57.5. Row Locking in Foreign Data Wrappers
58. Writing A Table Sampling Method
58.1. Sampling Method Support Functions
59. Writing A Custom Scan Provider
59.1. Creating Custom Scan Paths
59.2. Creating Custom Scan Plans
59.3. Executing Custom Scans
60. Genetic Query Optimizer
60.1. Query Handling as a Complex Optimization Problem
60.2. Genetic Algorithms
60.3. Genetic Query Optimization (GEQO) in PostgreSQL
60.4. Further Reading
61. Index Access Method Interface Definition
61.1. Basic API Structure for Indexes
61.2. Index Access Method Functions
61.3. Index Scanning
61.4. Index Locking Considerations
61.5. Index Uniqueness Checks
61.6. Index Cost Estimation Functions
62. Generic WAL Records
63. B-Tree Indexes
63.1. Introduction
63.2. Behavior of B-Tree Operator Classes
63.3. B-Tree Support Functions
63.4. Implementation
64. GiST Indexes
64.1. Introduction
64.2. Built-in Operator Classes
64.3. Extensibility
64.4. Implementation
64.5. Examples
65. SP-GiST Indexes
65.1. Introduction
65.2. Built-in Operator Classes
65.3. Extensibility
65.4. Implementation
65.5. Examples
66. GIN Indexes
66.1. Introduction
66.2. Built-in Operator Classes
66.3. Extensibility
66.4. Implementation
66.5. GIN Tips and Tricks
66.6. Limitations
66.7. Examples
67. BRIN Indexes
67.1. Introduction
67.2. Built-in Operator Classes
67.3. Extensibility
68. Database Physical Storage
68.1. Database File Layout
68.2. TOAST
68.3. Free Space Map
68.4. Visibility Map
68.5. The Initialization Fork
68.6. Database Page Layout
69. System Catalog Declarations and Initial Contents
69.1. System Catalog Declaration Rules
69.2. System Catalog Initial Data
69.3. BKI File Format
69.4. BKI Commands
69.5. Structure of the Bootstrap BKI File
69.6. BKI Example
70. How the Planner Uses Statistics
70.1. Row Estimation Examples
70.2. Multivariate Statistics Examples
70.3. Planner Statistics and Security
\ No newline at end of file diff -Nru postgresql-11-11.6/doc/src/sgml/html/intro-whatis.html postgresql-11-11.7/doc/src/sgml/html/intro-whatis.html --- postgresql-11-11.6/doc/src/sgml/html/intro-whatis.html 2019-11-11 22:18:29.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/intro-whatis.html 2020-02-10 22:30:04.000000000 +0000 @@ -1,5 +1,5 @@ -1.  What is PostgreSQL?

1.  What is PostgreSQL?

+1.  What is PostgreSQL?

1.  What is PostgreSQL?

PostgreSQL is an object-relational database management system (ORDBMS) based on diff -Nru postgresql-11-11.6/doc/src/sgml/html/isn.html postgresql-11-11.7/doc/src/sgml/html/isn.html --- postgresql-11-11.6/doc/src/sgml/html/isn.html 2019-11-11 22:18:56.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/isn.html 2020-02-10 22:30:28.000000000 +0000 @@ -1,5 +1,5 @@ -F.19. isn

+F.19. isn

F.19. isn

The isn module provides data types for the following international product numbering standards: EAN13, UPC, ISBN (books), ISMN (music), and ISSN (serials). Numbers are validated on input according to a diff -Nru postgresql-11-11.6/doc/src/sgml/html/jit-configuration.html postgresql-11-11.7/doc/src/sgml/html/jit-configuration.html --- postgresql-11-11.6/doc/src/sgml/html/jit-configuration.html 2019-11-11 22:18:37.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/jit-configuration.html 2020-02-10 22:30:11.000000000 +0000 @@ -1,5 +1,5 @@ -32.3. Configuration

32.3. Configuration

+32.3. Configuration

32.3. Configuration

The configuration variable jit determines whether JIT compilation is enabled or disabled. diff -Nru postgresql-11-11.6/doc/src/sgml/html/jit-decision.html postgresql-11-11.7/doc/src/sgml/html/jit-decision.html --- postgresql-11-11.6/doc/src/sgml/html/jit-decision.html 2019-11-11 22:18:37.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/jit-decision.html 2020-02-10 22:30:11.000000000 +0000 @@ -1,5 +1,5 @@ -32.2. When to JIT?

32.2. When to JIT?

+32.2. When to JIT?

32.2. When to JIT?

JIT compilation is beneficial primarily for long-running CPU-bound queries. Frequently these will be analytical queries. For short queries the added overhead of performing JIT compilation diff -Nru postgresql-11-11.6/doc/src/sgml/html/jit-extensibility.html postgresql-11-11.7/doc/src/sgml/html/jit-extensibility.html --- postgresql-11-11.6/doc/src/sgml/html/jit-extensibility.html 2019-11-11 22:18:37.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/jit-extensibility.html 2020-02-10 22:30:11.000000000 +0000 @@ -1,5 +1,5 @@ -32.4. Extensibility

32.4. Extensibility

32.4.1. Inlining Support for Extensions

+32.4. Extensibility

32.4. Extensibility

32.4.1. Inlining Support for Extensions

PostgreSQL's JIT implementation can inline the bodies of functions of types C and internal, as well as diff -Nru postgresql-11-11.6/doc/src/sgml/html/jit-reason.html postgresql-11-11.7/doc/src/sgml/html/jit-reason.html --- postgresql-11-11.6/doc/src/sgml/html/jit-reason.html 2019-11-11 22:18:37.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/jit-reason.html 2020-02-10 22:30:11.000000000 +0000 @@ -1,5 +1,5 @@ -32.1. What is JIT compilation?

32.1. What is JIT compilation?

+32.1. What is JIT compilation?

32.1. What is JIT compilation?

Just-in-Time (JIT) compilation is the process of turning some form of interpreted program evaluation into a native program, and doing so at run time. diff -Nru postgresql-11-11.6/doc/src/sgml/html/jit.html postgresql-11-11.7/doc/src/sgml/html/jit.html --- postgresql-11-11.6/doc/src/sgml/html/jit.html 2019-11-11 22:18:37.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/jit.html 2020-02-10 22:30:11.000000000 +0000 @@ -1,5 +1,5 @@ -Chapter 32. Just-in-Time Compilation (JIT)

Chapter 32. Just-in-Time Compilation (JIT)

+Chapter 32. Just-in-Time Compilation (JIT)

Chapter 32. Just-in-Time Compilation (JIT)

This chapter explains what just-in-time compilation is, and how it can be configured in PostgreSQL.

\ No newline at end of file diff -Nru postgresql-11-11.6/doc/src/sgml/html/kernel-resources.html postgresql-11-11.7/doc/src/sgml/html/kernel-resources.html --- postgresql-11-11.6/doc/src/sgml/html/kernel-resources.html 2019-11-11 22:18:35.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/kernel-resources.html 2020-02-10 22:30:09.000000000 +0000 @@ -1,5 +1,5 @@ -18.4. Managing Kernel Resources

18.4. Managing Kernel Resources

+18.4. Managing Kernel Resources

18.4. Managing Kernel Resources

PostgreSQL can sometimes exhaust various operating system resource limits, especially when multiple copies of the server are running on the same system, or in very large installations. This section explains diff -Nru postgresql-11-11.6/doc/src/sgml/html/largeobjects.html postgresql-11-11.7/doc/src/sgml/html/largeobjects.html --- postgresql-11-11.6/doc/src/sgml/html/largeobjects.html 2019-11-11 22:18:38.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/largeobjects.html 2020-02-10 22:30:12.000000000 +0000 @@ -1,5 +1,5 @@ -Chapter 35. Large Objects

Chapter 35. Large Objects

+Chapter 35. Large Objects

Chapter 35. Large Objects

PostgreSQL has a large object facility, which provides stream-style access to user data that is stored in a special large-object structure. Streaming access is useful diff -Nru postgresql-11-11.6/doc/src/sgml/html/legalnotice.html postgresql-11-11.7/doc/src/sgml/html/legalnotice.html --- postgresql-11-11.6/doc/src/sgml/html/legalnotice.html 2019-11-11 22:18:27.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/legalnotice.html 2020-02-10 22:30:02.000000000 +0000 @@ -1,6 +1,6 @@ Legal Notice

Legal Notice

- PostgreSQL is Copyright © 1996-2019 + PostgreSQL is Copyright © 1996-2020 by the PostgreSQL Global Development Group.

Postgres95 is Copyright © 1994-5 diff -Nru postgresql-11-11.6/doc/src/sgml/html/libpq-async.html postgresql-11-11.7/doc/src/sgml/html/libpq-async.html --- postgresql-11-11.6/doc/src/sgml/html/libpq-async.html 2019-11-11 22:18:37.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/libpq-async.html 2020-02-10 22:30:11.000000000 +0000 @@ -1,5 +1,5 @@ -34.4. Asynchronous Command Processing

34.4. Asynchronous Command Processing

+34.4. Asynchronous Command Processing

34.4. Asynchronous Command Processing

The PQexec function is adequate for submitting commands in normal, synchronous applications. It has a few deficiencies, however, that can be of importance to some users: diff -Nru postgresql-11-11.6/doc/src/sgml/html/libpq-build.html postgresql-11-11.7/doc/src/sgml/html/libpq-build.html --- postgresql-11-11.6/doc/src/sgml/html/libpq-build.html 2019-11-11 22:18:38.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/libpq-build.html 2020-02-10 22:30:12.000000000 +0000 @@ -1,5 +1,5 @@ -34.20. Building libpq Programs

34.20. Building libpq Programs

+34.20. Building libpq Programs

34.20. Building libpq Programs

To build (i.e., compile and link) a program using libpq you need to do all of the following things: diff -Nru postgresql-11-11.6/doc/src/sgml/html/libpq-cancel.html postgresql-11-11.7/doc/src/sgml/html/libpq-cancel.html --- postgresql-11-11.6/doc/src/sgml/html/libpq-cancel.html 2019-11-11 22:18:37.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/libpq-cancel.html 2020-02-10 22:30:11.000000000 +0000 @@ -1,5 +1,5 @@ -34.6. Canceling Queries in Progress

34.6. Canceling Queries in Progress

+34.6. Canceling Queries in Progress

34.6. Canceling Queries in Progress

A client application can request cancellation of a command that is still being processed by the server, using the functions described in this section. diff -Nru postgresql-11-11.6/doc/src/sgml/html/libpq-connect.html postgresql-11-11.7/doc/src/sgml/html/libpq-connect.html --- postgresql-11-11.6/doc/src/sgml/html/libpq-connect.html 2019-11-11 22:18:37.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/libpq-connect.html 2020-02-10 22:30:11.000000000 +0000 @@ -1,5 +1,5 @@ -34.1. Database Connection Control Functions

34.1. Database Connection Control Functions

+34.1. Database Connection Control Functions

34.1. Database Connection Control Functions

The following functions deal with making a connection to a PostgreSQL backend server. An application program can have several backend connections open at @@ -882,8 +882,10 @@ configuration for Kerberos authentication to succeed. (See also Section 20.6.)

gsslib

- GSS library to use for GSSAPI authentication. Only used on Windows. - Set to gssapi to force libpq to use the GSSAPI + GSS library to use for GSSAPI authentication. + Currently this is disregarded except on Windows builds that include + both GSSAPI and SSPI support. In that case, set + this to gssapi to cause libpq to use the GSSAPI library for authentication instead of the default SSPI.

service

Service name to use for additional parameters. It specifies a service diff -Nru postgresql-11-11.6/doc/src/sgml/html/libpq-control.html postgresql-11-11.7/doc/src/sgml/html/libpq-control.html --- postgresql-11-11.6/doc/src/sgml/html/libpq-control.html 2019-11-11 22:18:37.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/libpq-control.html 2020-02-10 22:30:11.000000000 +0000 @@ -1,5 +1,5 @@ -34.10. Control Functions

34.10. Control Functions

+34.10. Control Functions

34.10. Control Functions

These functions control miscellaneous details of libpq's behavior.

diff -Nru postgresql-11-11.6/doc/src/sgml/html/libpq-copy.html postgresql-11-11.7/doc/src/sgml/html/libpq-copy.html --- postgresql-11-11.6/doc/src/sgml/html/libpq-copy.html 2019-11-11 22:18:37.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/libpq-copy.html 2020-02-10 22:30:11.000000000 +0000 @@ -1,5 +1,5 @@ -34.9. Functions Associated with the COPY Command

34.9. Functions Associated with the COPY Command

+34.9. Functions Associated with the COPY Command

34.9. Functions Associated with the COPY Command

The COPY command in PostgreSQL has options to read from or write to the network connection used by libpq. diff -Nru postgresql-11-11.6/doc/src/sgml/html/libpq-envars.html postgresql-11-11.7/doc/src/sgml/html/libpq-envars.html --- postgresql-11-11.6/doc/src/sgml/html/libpq-envars.html 2019-11-11 22:18:38.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/libpq-envars.html 2020-02-10 22:30:11.000000000 +0000 @@ -1,5 +1,5 @@ -34.14. Environment Variables

34.14. Environment Variables

+34.14. Environment Variables

34.14. Environment Variables

The following environment variables can be used to select default connection parameter values, which will be used by PQconnectdb, PQsetdbLogin and diff -Nru postgresql-11-11.6/doc/src/sgml/html/libpq-events.html postgresql-11-11.7/doc/src/sgml/html/libpq-events.html --- postgresql-11-11.6/doc/src/sgml/html/libpq-events.html 2019-11-11 22:18:38.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/libpq-events.html 2020-02-10 22:30:11.000000000 +0000 @@ -1,5 +1,5 @@ -34.13. Event System

34.13. Event System

+34.13. Event System

34.13. Event System

libpq's event system is designed to notify registered event handlers about interesting libpq events, such as the creation or diff -Nru postgresql-11-11.6/doc/src/sgml/html/libpq-example.html postgresql-11-11.7/doc/src/sgml/html/libpq-example.html --- postgresql-11-11.6/doc/src/sgml/html/libpq-example.html 2019-11-11 22:18:38.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/libpq-example.html 2020-02-10 22:30:12.000000000 +0000 @@ -1,5 +1,5 @@ -34.21. Example Programs

34.21. Example Programs

+34.21. Example Programs

34.21. Example Programs

These examples and others can be found in the directory src/test/examples in the source code distribution. diff -Nru postgresql-11-11.6/doc/src/sgml/html/libpq-exec.html postgresql-11-11.7/doc/src/sgml/html/libpq-exec.html --- postgresql-11-11.6/doc/src/sgml/html/libpq-exec.html 2019-11-11 22:18:37.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/libpq-exec.html 2020-02-10 22:30:11.000000000 +0000 @@ -1,5 +1,5 @@ -34.3. Command Execution Functions

34.3. Command Execution Functions

+34.3. Command Execution Functions

34.3. Command Execution Functions

Once a connection to a database server has been successfully established, the functions described here are used to perform SQL queries and commands. diff -Nru postgresql-11-11.6/doc/src/sgml/html/libpq-fastpath.html postgresql-11-11.7/doc/src/sgml/html/libpq-fastpath.html --- postgresql-11-11.6/doc/src/sgml/html/libpq-fastpath.html 2019-11-11 22:18:37.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/libpq-fastpath.html 2020-02-10 22:30:11.000000000 +0000 @@ -1,5 +1,5 @@ -34.7. The Fast-Path Interface

34.7. The Fast-Path Interface

+34.7. The Fast-Path Interface

34.7. The Fast-Path Interface

PostgreSQL provides a fast-path interface to send simple function calls to the server.

Tip

diff -Nru postgresql-11-11.6/doc/src/sgml/html/libpq-ldap.html postgresql-11-11.7/doc/src/sgml/html/libpq-ldap.html --- postgresql-11-11.6/doc/src/sgml/html/libpq-ldap.html 2019-11-11 22:18:38.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/libpq-ldap.html 2020-02-10 22:30:11.000000000 +0000 @@ -1,5 +1,5 @@ -34.17. LDAP Lookup of Connection Parameters

34.17. LDAP Lookup of Connection Parameters

+34.17. LDAP Lookup of Connection Parameters

34.17. LDAP Lookup of Connection Parameters

If libpq has been compiled with LDAP support (option --with-ldap for configure) it is possible to retrieve connection options like host diff -Nru postgresql-11-11.6/doc/src/sgml/html/libpq-misc.html postgresql-11-11.7/doc/src/sgml/html/libpq-misc.html --- postgresql-11-11.6/doc/src/sgml/html/libpq-misc.html 2019-11-11 22:18:37.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/libpq-misc.html 2020-02-10 22:30:11.000000000 +0000 @@ -1,5 +1,5 @@ -34.11. Miscellaneous Functions

34.11. Miscellaneous Functions

+34.11. Miscellaneous Functions

34.11. Miscellaneous Functions

As always, there are some functions that just don't fit anywhere.

PQfreemem diff -Nru postgresql-11-11.6/doc/src/sgml/html/libpq-notice-processing.html postgresql-11-11.7/doc/src/sgml/html/libpq-notice-processing.html --- postgresql-11-11.6/doc/src/sgml/html/libpq-notice-processing.html 2019-11-11 22:18:37.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/libpq-notice-processing.html 2020-02-10 22:30:11.000000000 +0000 @@ -1,5 +1,5 @@ -34.12. Notice Processing

34.12. Notice Processing

+34.12. Notice Processing

34.12. Notice Processing

Notice and warning messages generated by the server are not returned by the query execution functions, since they do not imply failure of the query. Instead they are passed to a notice handling function, and diff -Nru postgresql-11-11.6/doc/src/sgml/html/libpq-notify.html postgresql-11-11.7/doc/src/sgml/html/libpq-notify.html --- postgresql-11-11.6/doc/src/sgml/html/libpq-notify.html 2019-11-11 22:18:37.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/libpq-notify.html 2020-02-10 22:30:11.000000000 +0000 @@ -1,5 +1,5 @@ -34.8. Asynchronous Notification

34.8. Asynchronous Notification

+34.8. Asynchronous Notification

34.8. Asynchronous Notification

PostgreSQL offers asynchronous notification via the LISTEN and NOTIFY commands. A client session registers its interest in a particular diff -Nru postgresql-11-11.6/doc/src/sgml/html/libpq-pgpass.html postgresql-11-11.7/doc/src/sgml/html/libpq-pgpass.html --- postgresql-11-11.6/doc/src/sgml/html/libpq-pgpass.html 2019-11-11 22:18:38.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/libpq-pgpass.html 2020-02-10 22:30:11.000000000 +0000 @@ -1,5 +1,5 @@ -34.15. The Password File

34.15. The Password File

+34.15. The Password File

34.15. The Password File

The file .pgpass in a user's home directory can contain passwords to be used if the connection requires a password (and no password has been diff -Nru postgresql-11-11.6/doc/src/sgml/html/libpq-pgservice.html postgresql-11-11.7/doc/src/sgml/html/libpq-pgservice.html --- postgresql-11-11.6/doc/src/sgml/html/libpq-pgservice.html 2019-11-11 22:18:38.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/libpq-pgservice.html 2020-02-10 22:30:11.000000000 +0000 @@ -1,5 +1,5 @@ -34.16. The Connection Service File

34.16. The Connection Service File

+34.16. The Connection Service File

34.16. The Connection Service File

The connection service file allows libpq connection parameters to be associated with a single service name. That service name can then be specified by a libpq connection, and the associated settings will be diff -Nru postgresql-11-11.6/doc/src/sgml/html/libpq-single-row-mode.html postgresql-11-11.7/doc/src/sgml/html/libpq-single-row-mode.html --- postgresql-11-11.6/doc/src/sgml/html/libpq-single-row-mode.html 2019-11-11 22:18:37.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/libpq-single-row-mode.html 2020-02-10 22:30:11.000000000 +0000 @@ -1,5 +1,5 @@ -34.5. Retrieving Query Results Row-By-Row

34.5. Retrieving Query Results Row-By-Row

+34.5. Retrieving Query Results Row-By-Row

34.5. Retrieving Query Results Row-By-Row

Ordinarily, libpq collects a SQL command's entire result and returns it to the application as a single PGresult. This can be unworkable for commands diff -Nru postgresql-11-11.6/doc/src/sgml/html/libpq-ssl.html postgresql-11-11.7/doc/src/sgml/html/libpq-ssl.html --- postgresql-11-11.6/doc/src/sgml/html/libpq-ssl.html 2019-11-11 22:18:38.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/libpq-ssl.html 2020-02-10 22:30:12.000000000 +0000 @@ -1,5 +1,5 @@ -34.18. SSL Support

34.18. SSL Support

+34.18. SSL Support

34.18. SSL Support

PostgreSQL has native support for using SSL connections to encrypt client/server communications for increased security. See Section 18.9 for details about the server-side @@ -160,7 +160,7 @@ encryption if the server supports it.

requireYesNoI want my data to be encrypted, and I accept the overhead. I trust that the network will make sure I always connect to the server I want. -
verify-caYesDepends on CA-policyI want my data encrypted, and I accept the overhead. I want to be +
verify-caYesDepends on CA policyI want my data encrypted, and I accept the overhead. I want to be sure that I connect to a server that I trust.
verify-fullYesYesI want my data encrypted, and I accept the overhead. I want to be sure that I connect to a server I trust, and that it's the one I diff -Nru postgresql-11-11.6/doc/src/sgml/html/libpq-status.html postgresql-11-11.7/doc/src/sgml/html/libpq-status.html --- postgresql-11-11.6/doc/src/sgml/html/libpq-status.html 2019-11-11 22:18:37.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/libpq-status.html 2020-02-10 22:30:11.000000000 +0000 @@ -1,5 +1,5 @@ -34.2. Connection Status Functions

34.2. Connection Status Functions

+34.2. Connection Status Functions

34.2. Connection Status Functions

These functions can be used to interrogate the status of an existing database connection object.

Tip

diff -Nru postgresql-11-11.6/doc/src/sgml/html/libpq-threading.html postgresql-11-11.7/doc/src/sgml/html/libpq-threading.html --- postgresql-11-11.6/doc/src/sgml/html/libpq-threading.html 2019-11-11 22:18:38.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/libpq-threading.html 2020-02-10 22:30:12.000000000 +0000 @@ -1,5 +1,5 @@ -34.19. Behavior in Threaded Programs

34.19. Behavior in Threaded Programs

+34.19. Behavior in Threaded Programs

34.19. Behavior in Threaded Programs

libpq is reentrant and thread-safe by default. You might need to use special compiler command-line options when you compile your application code. Refer to your diff -Nru postgresql-11-11.6/doc/src/sgml/html/libpq.html postgresql-11-11.7/doc/src/sgml/html/libpq.html --- postgresql-11-11.6/doc/src/sgml/html/libpq.html 2019-11-11 22:18:38.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/libpq.html 2020-02-10 22:30:12.000000000 +0000 @@ -1,5 +1,5 @@ -Chapter 34. libpq - C Library

Chapter 34. libpq - C Library

+Chapter 34. libpq - C Library

Chapter 34. libpq - C Library

libpq is the C application programmer's interface to PostgreSQL. libpq is a set of library functions that allow diff -Nru postgresql-11-11.6/doc/src/sgml/html/lo-examplesect.html postgresql-11-11.7/doc/src/sgml/html/lo-examplesect.html --- postgresql-11-11.6/doc/src/sgml/html/lo-examplesect.html 2019-11-11 22:18:38.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/lo-examplesect.html 2020-02-10 22:30:12.000000000 +0000 @@ -1,5 +1,5 @@ -35.5. Example Program

35.5. Example Program

+35.5. Example Program

35.5. Example Program

Example 35.1 is a sample program which shows how the large object interface in libpq can be used. Parts of the program are diff -Nru postgresql-11-11.6/doc/src/sgml/html/lo-funcs.html postgresql-11-11.7/doc/src/sgml/html/lo-funcs.html --- postgresql-11-11.6/doc/src/sgml/html/lo-funcs.html 2019-11-11 22:18:38.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/lo-funcs.html 2020-02-10 22:30:12.000000000 +0000 @@ -1,5 +1,5 @@ -35.4. Server-side Functions

35.4. Server-side Functions

+35.4. Server-side Functions

35.4. Server-side Functions

Server-side functions tailored for manipulating large objects from SQL are listed in Table 35.1.

Table 35.1. SQL-oriented Large Object Functions

FunctionReturn TypeDescriptionExampleResult
diff -Nru postgresql-11-11.6/doc/src/sgml/html/lo-implementation.html postgresql-11-11.7/doc/src/sgml/html/lo-implementation.html --- postgresql-11-11.6/doc/src/sgml/html/lo-implementation.html 2019-11-11 22:18:38.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/lo-implementation.html 2020-02-10 22:30:12.000000000 +0000 @@ -1,5 +1,5 @@ -35.2. Implementation Features

35.2. Implementation Features

+35.2. Implementation Features

35.2. Implementation Features

The large object implementation breaks large objects up into chunks and stores the chunks in rows in the database. A B-tree index guarantees fast diff -Nru postgresql-11-11.6/doc/src/sgml/html/lo-interfaces.html postgresql-11-11.7/doc/src/sgml/html/lo-interfaces.html --- postgresql-11-11.6/doc/src/sgml/html/lo-interfaces.html 2019-11-11 22:18:38.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/lo-interfaces.html 2020-02-10 22:30:12.000000000 +0000 @@ -1,5 +1,5 @@ -35.3. Client Interfaces

35.3. Client Interfaces

+35.3. Client Interfaces

35.3. Client Interfaces

This section describes the facilities that PostgreSQL's libpq client interface library provides for accessing large objects. diff -Nru postgresql-11-11.6/doc/src/sgml/html/lo-intro.html postgresql-11-11.7/doc/src/sgml/html/lo-intro.html --- postgresql-11-11.6/doc/src/sgml/html/lo-intro.html 2019-11-11 22:18:38.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/lo-intro.html 2020-02-10 22:30:12.000000000 +0000 @@ -1,5 +1,5 @@ -35.1. Introduction

35.1. Introduction

+35.1. Introduction

35.1. Introduction

All large objects are stored in a single system table named pg_largeobject. Each large object also has an entry in the system table pg_largeobject_metadata. Large objects can be created, modified, and deleted using a read/write API diff -Nru postgresql-11-11.6/doc/src/sgml/html/lo.html postgresql-11-11.7/doc/src/sgml/html/lo.html --- postgresql-11-11.6/doc/src/sgml/html/lo.html 2019-11-11 22:18:56.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/lo.html 2020-02-10 22:30:28.000000000 +0000 @@ -1,5 +1,5 @@ -F.20. lo

F.20. lo

+F.20. lo

F.20. lo

The lo module provides support for managing Large Objects (also called LOs or BLOBs). This includes a data type lo and a trigger lo_manage. diff -Nru postgresql-11-11.6/doc/src/sgml/html/locale.html postgresql-11-11.7/doc/src/sgml/html/locale.html --- postgresql-11-11.6/doc/src/sgml/html/locale.html 2019-11-11 22:18:36.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/locale.html 2020-02-10 22:30:10.000000000 +0000 @@ -1,5 +1,5 @@ -23.1. Locale Support

23.1. Locale Support

+23.1. Locale Support

23.1. Locale Support

Locale support refers to an application respecting cultural preferences regarding alphabets, sorting, number formatting, etc. PostgreSQL uses the standard ISO diff -Nru postgresql-11-11.6/doc/src/sgml/html/locking-indexes.html postgresql-11-11.7/doc/src/sgml/html/locking-indexes.html --- postgresql-11-11.6/doc/src/sgml/html/locking-indexes.html 2019-11-11 22:18:34.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/locking-indexes.html 2020-02-10 22:30:08.000000000 +0000 @@ -1,5 +1,5 @@ -13.6. Locking and Indexes

13.6. Locking and Indexes

+13.6. Locking and Indexes

13.6. Locking and Indexes

Though PostgreSQL provides nonblocking read/write access to table data, nonblocking read/write access is not currently offered for every diff -Nru postgresql-11-11.6/doc/src/sgml/html/log-shipping-alternative.html postgresql-11-11.7/doc/src/sgml/html/log-shipping-alternative.html --- postgresql-11-11.6/doc/src/sgml/html/log-shipping-alternative.html 2019-11-11 22:18:36.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/log-shipping-alternative.html 2020-02-10 22:30:10.000000000 +0000 @@ -1,5 +1,5 @@ -26.4. Alternative Method for Log Shipping

26.4. Alternative Method for Log Shipping

+26.4. Alternative Method for Log Shipping

26.4. Alternative Method for Log Shipping

An alternative to the built-in standby mode described in the previous sections is to use a restore_command that polls the archive location. This was the only option available in versions 8.4 and below. In this diff -Nru postgresql-11-11.6/doc/src/sgml/html/logfile-maintenance.html postgresql-11-11.7/doc/src/sgml/html/logfile-maintenance.html --- postgresql-11-11.6/doc/src/sgml/html/logfile-maintenance.html 2019-11-11 22:18:36.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/logfile-maintenance.html 2020-02-10 22:30:10.000000000 +0000 @@ -1,5 +1,5 @@ -24.3. Log File Maintenance

24.3. Log File Maintenance

+24.3. Log File Maintenance

24.3. Log File Maintenance

It is a good idea to save the database server's log output somewhere, rather than just discarding it via /dev/null. The log output is invaluable when diagnosing diff -Nru postgresql-11-11.6/doc/src/sgml/html/logical-replication-architecture.html postgresql-11-11.7/doc/src/sgml/html/logical-replication-architecture.html --- postgresql-11-11.6/doc/src/sgml/html/logical-replication-architecture.html 2019-11-11 22:18:37.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/logical-replication-architecture.html 2020-02-10 22:30:11.000000000 +0000 @@ -1,5 +1,5 @@ -31.5. Architecture

31.5. Architecture

+31.5. Architecture

31.5. Architecture

Logical replication starts by copying a snapshot of the data on the publisher database. Once that is done, changes on the publisher are sent to the subscriber as they occur in real time. The subscriber applies data diff -Nru postgresql-11-11.6/doc/src/sgml/html/logical-replication-config.html postgresql-11-11.7/doc/src/sgml/html/logical-replication-config.html --- postgresql-11-11.6/doc/src/sgml/html/logical-replication-config.html 2019-11-11 22:18:37.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/logical-replication-config.html 2020-02-10 22:30:11.000000000 +0000 @@ -1,5 +1,5 @@ -31.8. Configuration Settings

31.8. Configuration Settings

+31.8. Configuration Settings

31.8. Configuration Settings

Logical replication requires several configuration options to be set.

On the publisher side, wal_level must be set to diff -Nru postgresql-11-11.6/doc/src/sgml/html/logical-replication-conflicts.html postgresql-11-11.7/doc/src/sgml/html/logical-replication-conflicts.html --- postgresql-11-11.6/doc/src/sgml/html/logical-replication-conflicts.html 2019-11-11 22:18:37.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/logical-replication-conflicts.html 2020-02-10 22:30:11.000000000 +0000 @@ -1,5 +1,5 @@ -31.3. Conflicts

31.3. Conflicts

+31.3. Conflicts

31.3. Conflicts

Logical replication behaves similarly to normal DML operations in that the data will be updated even if it was changed locally on the subscriber node. If incoming data violates any constraints the replication will diff -Nru postgresql-11-11.6/doc/src/sgml/html/logical-replication-monitoring.html postgresql-11-11.7/doc/src/sgml/html/logical-replication-monitoring.html --- postgresql-11-11.6/doc/src/sgml/html/logical-replication-monitoring.html 2019-11-11 22:18:37.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/logical-replication-monitoring.html 2020-02-10 22:30:11.000000000 +0000 @@ -1,5 +1,5 @@ -31.6. Monitoring

31.6. Monitoring

+31.6. Monitoring

31.6. Monitoring

Because logical replication is based on a similar architecture as physical streaming replication, the monitoring on a publication node is similar to monitoring of a diff -Nru postgresql-11-11.6/doc/src/sgml/html/logical-replication-publication.html postgresql-11-11.7/doc/src/sgml/html/logical-replication-publication.html --- postgresql-11-11.6/doc/src/sgml/html/logical-replication-publication.html 2019-11-11 22:18:37.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/logical-replication-publication.html 2020-02-10 22:30:11.000000000 +0000 @@ -1,5 +1,5 @@ -31.1. Publication

31.1. Publication

+31.1. Publication

31.1. Publication

A publication can be defined on any physical replication master. The node where a publication is defined is referred to as publisher. A publication is a set of changes diff -Nru postgresql-11-11.6/doc/src/sgml/html/logical-replication-quick-setup.html postgresql-11-11.7/doc/src/sgml/html/logical-replication-quick-setup.html --- postgresql-11-11.6/doc/src/sgml/html/logical-replication-quick-setup.html 2019-11-11 22:18:37.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/logical-replication-quick-setup.html 2020-02-10 22:30:11.000000000 +0000 @@ -1,5 +1,5 @@ -31.9. Quick Setup

31.9. Quick Setup

+31.9. Quick Setup

31.9. Quick Setup

First set the configuration options in postgresql.conf:

 wal_level = logical
diff -Nru postgresql-11-11.6/doc/src/sgml/html/logical-replication-restrictions.html postgresql-11-11.7/doc/src/sgml/html/logical-replication-restrictions.html
--- postgresql-11-11.6/doc/src/sgml/html/logical-replication-restrictions.html	2019-11-11 22:18:37.000000000 +0000
+++ postgresql-11-11.7/doc/src/sgml/html/logical-replication-restrictions.html	2020-02-10 22:30:11.000000000 +0000
@@ -1,5 +1,5 @@
 
-31.4. Restrictions

31.4. Restrictions

+31.4. Restrictions

31.4. Restrictions

Logical replication currently has the following restrictions or missing functionality. These might be addressed in future releases.

\ No newline at end of file diff -Nru postgresql-11-11.6/doc/src/sgml/html/release-11-2.html postgresql-11-11.7/doc/src/sgml/html/release-11-2.html --- postgresql-11-11.6/doc/src/sgml/html/release-11-2.html 2019-11-11 22:18:55.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/release-11-2.html 2020-02-10 22:30:27.000000000 +0000 @@ -1,14 +1,14 @@ -E.5. Release 11.2

E.5. Release 11.2

Release date: 2019-02-14

+E.6. Release 11.2

E.6. Release 11.2

Release date: 2019-02-14

This release contains a variety of fixes from 11.1. For information about new features in major release 11, see - Section E.7. -

E.5.1. Migration to Version 11.2

+ Section E.8. +

E.6.1. Migration to Version 11.2

A dump/restore is not required for those running 11.X.

However, if you are upgrading from a version earlier than 11.1, - see Section E.6. -

E.5.2. Changes

E.6.2. Changes

  • By default, panic instead of retrying after fsync() failure, to avoid possible data corruption (Craig Ringer, Thomas Munro) @@ -422,4 +422,4 @@ creating a new zone Asia/Qostanay, as some areas did not change UTC offset. Historical corrections for Hong Kong and numerous Pacific islands. -

\ No newline at end of file +

\ No newline at end of file diff -Nru postgresql-11-11.6/doc/src/sgml/html/release-11-3.html postgresql-11-11.7/doc/src/sgml/html/release-11-3.html --- postgresql-11-11.6/doc/src/sgml/html/release-11-3.html 2019-11-11 22:18:55.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/release-11-3.html 2020-02-10 22:30:27.000000000 +0000 @@ -1,14 +1,14 @@ -E.4. Release 11.3

E.4. Release 11.3

Release date: 2019-05-09

+E.5. Release 11.3

E.5. Release 11.3

Release date: 2019-05-09

This release contains a variety of fixes from 11.2. For information about new features in major release 11, see - Section E.7. -

E.4.1. Migration to Version 11.3

+ Section E.8. +

E.5.1. Migration to Version 11.3

A dump/restore is not required for those running 11.X.

However, if you are upgrading from a version earlier than 11.1, - see Section E.6. -

E.4.2. Changes

E.5.2. Changes

  • Prevent row-level security policies from being bypassed via selectivity estimators (Dean Rasheed)

    @@ -402,4 +402,4 @@ typically a typo. PostgreSQL will still accept UCT as an input zone abbreviation, but it won't output it. -

\ No newline at end of file +

\ No newline at end of file diff -Nru postgresql-11-11.6/doc/src/sgml/html/release-11-4.html postgresql-11-11.7/doc/src/sgml/html/release-11-4.html --- postgresql-11-11.6/doc/src/sgml/html/release-11-4.html 2019-11-11 22:18:55.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/release-11-4.html 2020-02-10 22:30:27.000000000 +0000 @@ -1,14 +1,14 @@ -E.3. Release 11.4

E.3. Release 11.4

Release date: 2019-06-20

+E.4. Release 11.4

E.4. Release 11.4

Release date: 2019-06-20

This release contains a variety of fixes from 11.3. For information about new features in major release 11, see - Section E.7. -

E.3.1. Migration to Version 11.4

+ Section E.8. +

E.4.1. Migration to Version 11.4

A dump/restore is not required for those running 11.X.

However, if you are upgrading from a version earlier than 11.1, - see Section E.6. -

E.3.2. Changes

E.4.2. Changes

  • Fix buffer-overflow hazards in SCRAM verifier parsing (Jonathan Katz, Heikki Linnakangas, Michael Paquier)

    @@ -195,4 +195,4 @@

  • Make PL/pgSQL's header files C++-safe (George Tarasov) -

\ No newline at end of file +

\ No newline at end of file diff -Nru postgresql-11-11.6/doc/src/sgml/html/release-11-5.html postgresql-11-11.7/doc/src/sgml/html/release-11-5.html --- postgresql-11-11.6/doc/src/sgml/html/release-11-5.html 2019-11-11 22:18:55.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/release-11-5.html 2020-02-10 22:30:27.000000000 +0000 @@ -1,14 +1,14 @@ -E.2. Release 11.5

E.2. Release 11.5

Release date: 2019-08-08

+E.3. Release 11.5

E.3. Release 11.5

Release date: 2019-08-08

This release contains a variety of fixes from 11.4. For information about new features in major release 11, see - Section E.7. -

E.2.1. Migration to Version 11.5

+ Section E.8. +

E.3.1. Migration to Version 11.5

A dump/restore is not required for those running 11.X.

However, if you are upgrading from a version earlier than 11.1, - see Section E.6. -

E.2.2. Changes

E.3.2. Changes

  • Require schema qualification to cast to a temporary type when using functional cast syntax (Noah Misch)

    @@ -282,4 +282,4 @@ Update time zone data files to tzdata release 2019b for DST law changes in Brazil, plus historical corrections for Hong Kong, Italy, and Palestine. -

\ No newline at end of file +

\ No newline at end of file diff -Nru postgresql-11-11.6/doc/src/sgml/html/release-11-6.html postgresql-11-11.7/doc/src/sgml/html/release-11-6.html --- postgresql-11-11.6/doc/src/sgml/html/release-11-6.html 2019-11-11 22:18:55.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/release-11-6.html 2020-02-10 22:30:27.000000000 +0000 @@ -1,9 +1,9 @@ -E.1. Release 11.6

E.1. Release 11.6

Release date: 2019-11-14

+E.2. Release 11.6

E.2. Release 11.6

Release date: 2019-11-14

This release contains a variety of fixes from 11.5. For information about new features in major release 11, see - Section E.7. -

E.1.1. Migration to Version 11.6

+ Section E.8. +

E.2.1. Migration to Version 11.6

A dump/restore is not required for those running 11.X.

However, if you use the contrib/intarray @@ -12,8 +12,8 @@ about that.

Also, if you are upgrading from a version earlier than 11.1, - see Section E.6. -

E.1.2. Changes

E.2.2. Changes

  • Fix failure of ALTER TABLE SET with a custom relation option (Michael Paquier)

  • @@ -429,4 +429,4 @@ historical corrections for Alberta, Austria, Belgium, British Columbia, Cambodia, Hong Kong, Indiana (Perry County), Kaliningrad, Kentucky, Michigan, Norfolk Island, South Korea, and Turkey. -

\ No newline at end of file +

\ No newline at end of file diff -Nru postgresql-11-11.6/doc/src/sgml/html/release-11-7.html postgresql-11-11.7/doc/src/sgml/html/release-11-7.html --- postgresql-11-11.6/doc/src/sgml/html/release-11-7.html 1970-01-01 00:00:00.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/release-11-7.html 2020-02-10 22:30:27.000000000 +0000 @@ -0,0 +1,360 @@ + +E.1. Release 11.7

E.1. Release 11.7

Release date: 2020-02-13

+ This release contains a variety of fixes from 11.6. + For information about new features in major release 11, see + Section E.8. +

E.1.1. Migration to Version 11.7

+ A dump/restore is not required for those running 11.X. +

+ However, if you are upgrading from a version earlier than 11.6, + see Section E.2. +

E.1.2. Changes

  • + Add missing permissions checks for ALTER ... DEPENDS ON + EXTENSION (Álvaro Herrera) +

    + Marking an object as dependent on an extension did not have any + privilege check whatsoever. This oversight allowed any user to mark + routines, triggers, materialized views, or indexes as droppable by + anyone able to drop an extension. Require that the calling user own + the specified object (and hence have privilege to drop it). + (CVE-2020-1720) +

  • + Ensure that row triggers on partitioned tables are correctly + cloned to sub-partitions when appropriate + (Álvaro Herrera) +

    + User-defined triggers (but not triggers for foreign key or deferred + unique constraints) might be missed when creating or attaching a + partition. +

  • + Fix logical replication subscriber code to execute + per-column UPDATE triggers when appropriate + (Peter Eisentraut) +

  • + Avoid failure in logical decoding when a large transaction must be + spilled into many separate temporary files (Amit Khandekar) +

  • + Fix possible crash or data corruption when a logical replication + subscriber processes a row update (Tom Lane, Tomas Vondra) +

    + This bug caused visible problems only if the subscriber's table + contained columns that were not being copied from the publisher and + had pass-by-reference data types. +

  • + Fix crash in logical replication subscriber after DDL changes on a + subscribed relation (Jehan-Guillaume de Rorthais, Vignesh C) +

  • + Fix failure in logical replication publisher after a database crash + and restart (Vignesh C) +

  • + Ensure that the effect + of pg_replication_slot_advance() on a physical + replication slot will persist across restarts (Alexey Kondratov, + Michael Paquier) +

  • + Improve efficiency of logical replication with REPLICA + IDENTITY FULL (Konstantin Knizhnik) +

    + When searching for an existing tuple during an update or delete + operation, return the first matching tuple not the last one. +

  • + Ensure parallel plans are always shut down at the correct time + (Kyotaro Horiguchi) +

    + This oversight is known to result in temporary file + leak warnings from multi-batch parallel hash joins. +

  • + Prevent premature shutdown of a Gather or GatherMerge plan node that + is underneath a Limit node (Amit Kapila) +

    + This avoids failure if such a plan node needs to be scanned more + than once, as for instance if it is on the inside of a nestloop. +

  • + Improve efficiency of parallel hash join on CPUs with many cores + (Gang Deng, Thomas Munro) +

  • + Avoid crash in parallel CREATE INDEX when there + are no free dynamic shared memory slots (Thomas Munro) +

    + Fall back to a non-parallel index build, instead. +

  • + Avoid memory leak when there are no free dynamic shared memory slots + (Thomas Munro) +

  • + Ignore the CONCURRENTLY option when performing an + index creation, drop, or rebuild on a temporary table (Michael + Paquier, Heikki Linnakangas, Andres Freund) +

    + This avoids strange failures if the temporary table has + an ON COMMIT action. There is no benefit in + using CONCURRENTLY for a temporary table anyway, + since other sessions cannot access the table, making the extra + processing pointless. +

  • + Fix possible failure when resetting expression indexes on temporary + tables that are marked ON COMMIT DELETE ROWS + (Tom Lane) +

  • + Fix possible crash in BRIN index operations + with box, range and inet data + types (Heikki Linnakangas) +

  • + Fix handling of deleted pages in GIN indexes (Alexander Korotkov) +

    + Avoid possible deadlocks, incorrect updates of a deleted page's + state, and failure to traverse through a recently-deleted page. +

  • + Fix possible crash with a SubPlan (sub-SELECT) + within a multi-row VALUES list (Tom Lane) +

  • + Fix failure to insert default values for missing + attributes during tuple conversion (Vik Fearing, Andrew Gierth) +

    + This could result in values incorrectly reading as NULL, when + they come from columns that had been added by ALTER + TABLE ADD COLUMN with a constant default. +

  • + Fix crash after FileClose() failure (Noah Misch) +

    + This issue could only be observed + with data_sync_retry enabled, since otherwise + FileClose() failure would be reported as a PANIC. +

  • + Fix unlikely crash with pass-by-reference aggregate transition + states (Andres Freund, Teodor Sigaev) +

  • + Improve error reporting in to_date() + and to_timestamp() + (Tom Lane, Álvaro Herrera) +

    + Reports about incorrect month or day names in input strings could + truncate the input in the middle of a multi-byte character, leading + to an improperly encoded error message that could cause follow-on + failures. Truncate at the next whitespace instead. +

  • + Fix off-by-one result for EXTRACT(ISOYEAR + FROM timestamp) for BC dates + (Tom Lane) +

  • + Avoid stack overflow in information_schema views + when a self-referential view exists in the system catalogs + (Tom Lane) +

    + A self-referential view can't work; it will always result in + infinite recursion. We handled that situation correctly when + trying to execute the view, but not when inquiring whether it is + automatically updatable. +

  • + Ensure that walsender processes always show NULL for transaction + start time in pg_stat_activity + (Álvaro Herrera) +

    + Previously, the xact_start column would + sometimes show the process start time. +

  • + Improve performance of hash joins with very large inner relations + (Thomas Munro) +

  • + Fix placement of Subplans Removed field + in EXPLAIN output (Daniel Gustafsson, Tom Lane) +

    + In non-text output formats, this field was emitted inside + the Plans sub-group, resulting in syntactically + invalid output. Attach it to the parent Append or MergeAppend plan + node as intended. This causes the field to change position in text + output format too: if there are any InitPlans attached to the same + plan node, Subplans Removed will now appear before + those. +

  • + Allow the planner to apply potentially-leaky tests to child-table + statistics, if the user can read the corresponding column of the + table that's actually named in the query (Dilip Kumar, Amit Langote) +

    + This change fixes a performance problem for partitioned tables that + was created by the fix for CVE-2017-7484. That security fix + disallowed applying leaky operators to statistics for columns that + the current user doesn't have permission to read directly. However, + it's somewhat common to grant permissions only on the parent + partitioned table and not bother to do so on individual partitions. + In such cases, the user can read the column via the parent, so + there's no point in this security restriction; it only results in + poorer planner estimates than necessary. +

  • + Fix edge-case crashes and misestimations in selectivity calculations + for the <@ and @> range + operators (Michael Paquier, Andrey Borodin, Tom Lane) +

  • + Ignore system columns when applying most-common-value + extended statistics (Tomas Vondra) +

    + This prevents negative bitmapset member not allowed + planner errors for affected queries. +

  • + Fix BRIN index logic to support hypothetical BRIN indexes + (Julien Rouhaud, Heikki Linnakangas) +

    + Previously, if an index adviser extension tried to + get the planner to produce a plan involving a hypothetical BRIN + index, that would fail, because the BRIN cost estimation code would + always try to physically access the index's metapage. Now it checks + to see if the index is only hypothetical, and uses default + assumptions about the index parameters if so. +

  • + Improve error reporting for attempts to use automatic updating of + views with conditional INSTEAD rules (Dean Rasheed) +

    + This has never been supported, but previously the error was thrown + only at execution time, so that it could be masked by planner errors. +

  • + Prevent a composite type from being included in itself indirectly + via a range type (Tom Lane, Julien Rouhaud) +

  • + Disallow partition key expressions that return pseudo-types, such + as record (Tom Lane) +

  • + Fix error reporting for index expressions of prohibited types + (Amit Langote) +

  • + Fix dumping of views that contain only a VALUES + list to handle cases where a view output column has been renamed + (Tom Lane) +

  • + Ensure that data types and collations used + in XMLTABLE constructs are accounted for when + computing dependencies of a view or rule (Tom Lane) +

    + Previously it was possible to break a view + using XMLTABLE by dropping a type, if the type + was not otherwise referenced in the view. This fix does not + correct the dependencies already recorded for existing views, only + for newly-created ones. +

  • + Prevent unwanted downcasing and truncation of RADIUS authentication + parameters (Marcos David) +

    + The pg_hba.conf parser mistakenly treated these + fields as SQL identifiers, which in general they aren't. +

  • + Transmit incoming NOTIFY messages to the client + before sending ReadyForQuery, rather than after + (Tom Lane) +

    + This change ensures that, with libpq and other client libraries that + act similarly to it, any notifications received during a transaction + will be available by the time the client thinks the transaction is + complete. This probably makes no difference in practical + applications (which would need to cope with asynchronous + notifications in any case); but it makes it easier to build test + cases with reproducible behavior. +

  • + Allow libpq to parse all GSS-related + connection parameters even when the GSSAPI code hasn't been compiled + in (Tom Lane) +

    + This makes the behavior similar to our SSL support, where it was + long ago deemed to be a good idea to always accept all the related + parameters, even if some are ignored or restricted due to lack of + the feature in a particular build. +

  • + Fix incorrect handling of %b + and %B format codes + in ecpg's + PGTYPEStimestamp_fmt_asc() function + (Tomas Vondra) +

    + Due to an off-by-one error, these codes would print the wrong month + name, or possibly crash. +

  • + Fix + parallel pg_dump/pg_restore + to more gracefully handle failure to create worker processes + (Tom Lane) +

  • + Prevent possible crash or lockup when attempting to terminate a + parallel pg_dump/pg_restore + run via a signal (Tom Lane) +

  • + In pg_upgrade, look inside arrays and + ranges while searching for non-upgradable data types in tables + (Tom Lane) +

  • + Apply more thorough syntax checking + to createuser's + --connection-limit option (Álvaro Herrera) +

  • + Cope with changes of the specific type referenced by a PL/pgSQL + composite-type variable in more cases (Ashutosh Sharma, Tom Lane) +

    + Dropping and re-creating the composite type referenced by a PL/pgSQL + variable could lead to could not open relation with + OID NNNN errors. +

  • + Avoid crash in postgres_fdw when trying to + send a command like UPDATE remote_tab SET (x,y) = (SELECT + ...) to the remote server (Tom Lane) +

  • + In contrib/dict_int, + reject maxlen settings less than one + (Tomas Vondra) +

    + This prevents a possible crash with silly settings for that parameter. +

  • + Disallow NULL category values + in contrib/tablefunc's + crosstab() function (Joe Conway) +

    + This case never worked usefully, and it would crash on some + platforms. +

  • + Fix configure's probe for + OpenSSL's SSL_clear_options() function so that + it works with OpenSSL versions before 1.1.0 (Michael Paquier, Daniel + Gustafsson) +

    + This problem could lead to failure to set the SSL compression option + as desired, when PostgreSQL is built against + an old version of OpenSSL. +

  • + Mark some timeout and statistics-tracking GUC variables + as PGDLLIMPORT, to allow extensions to access + them on Windows (Pascal Legrand) +

    + This applies to + idle_in_transaction_session_timeout, + lock_timeout, + statement_timeout, + track_activities, + track_counts, and + track_functions. +

  • + Avoid memory leak in sanity checks for slab memory + contexts (Tomas Vondra) +

    + This isn't an issue for production builds, since they wouldn't + ordinarily have memory context checking enabled; but the leak could + be quite severe in a debug build. +

  • + Fix multiple statistics entries reported by the LWLock statistics + mechanism (Fujii Masao) +

    + The LWLock statistics code (which is not built by default; it + requires compiling with -DLWLOCK_STATS) + could report multiple entries for the same LWLock and backend + process, as a result of faulty hashtable key creation. +

  • + Fix race condition that led to delayed delivery of interprocess + signals on Windows (Amit Kapila) +

    + This caused visible timing oddities in NOTIFY, + and perhaps other misbehavior. +

  • + On Windows, retry a few times after + an ERROR_ACCESS_DENIED file access failure + (Alexander Lakhin, Tom Lane) +

    + This helps cope with cases where a file open attempt fails because + the targeted file is flagged for deletion but not yet actually gone. + pg_ctl, for example, frequently failed + with such an error when probing to see if the postmaster had shut + down yet. +

\ No newline at end of file diff -Nru postgresql-11-11.6/doc/src/sgml/html/release-11.html postgresql-11-11.7/doc/src/sgml/html/release-11.html --- postgresql-11-11.6/doc/src/sgml/html/release-11.html 2019-11-11 22:18:55.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/release-11.html 2020-02-10 22:30:27.000000000 +0000 @@ -1,5 +1,5 @@ -E.7. Release 11

E.7. Release 11

Release date: 2018-10-18

E.7.1. Overview

+E.8. Release 11

E.8. Release 11

Release date: 2018-10-18

E.8.1. Overview

Major enhancements in PostgreSQL 11 include:

  • Improvements to partitioning functionality, including: @@ -52,9 +52,10 @@ with a non-null column default

The above items are explained in more detail in the sections below. -

E.7.2. Migration to Version 11

- A dump/restore using pg_dumpall, or use of pg_upgrade, is required for those wishing to migrate data - from any previous release. +

E.8.2. Migration to Version 11

+ A dump/restore using pg_dumpall or use of pg_upgrade or logical replication is required for those + wishing to migrate data from any previous release. See Section 18.6 for general information on migrating to new major + releases.

Version 11 contains a number of changes that may affect compatibility with previous releases. Observe the following incompatibilities: @@ -247,11 +248,11 @@

Previously, references to these variables could be parsed but not executed. -

E.7.3. Changes

+

E.8.3. Changes

Below you will find a detailed account of the changes between PostgreSQL 11 and the previous major release. -

E.7.3.1. Server

E.7.3.1.1. Partitioning
  • +

    E.8.3.1. Server

    E.8.3.1.1. Partitioning
    • Allow the creation of partitions based on hashing a key column (Amul Sul)

    • @@ -332,7 +333,7 @@ Allow postgres_fdw to push down aggregates to foreign tables that are partitions (Jeevan Chalke) -

    E.7.3.1.2. Parallel Queries
    • +

    E.8.3.1.2. Parallel Queries
    • Allow parallel building of a btree index (Peter Geoghegan, Rushabh Lathia, Heikki Linnakangas)

    • @@ -371,7 +372,7 @@

    • Add reporting of parallel workers' sort activity in EXPLAIN (Robert Haas, Tom Lane) -

    E.7.3.1.3. Indexes
    • +

    E.8.3.1.3. Indexes
    • Allow B-tree indexes to include columns that are not part of the search key or unique constraint, but are available to be read by index-only scans (Anastasia Lubennikova, Alexander Korotkov, Teodor @@ -392,7 +393,7 @@

      This reduces the likelihood of serialization conflicts in serializable-mode transactions. -

    E.7.3.1.3.1. SP-Gist
    • +

    E.8.3.1.3.1. SP-Gist
    • Add prefix-match operator text ^@ text, which is supported by SP-GiST (Ildus Kurbangaliev) @@ -405,7 +406,7 @@

    • Allow SP-GiST to use lossy representation of leaf keys (Teodor Sigaev, Heikki Linnakangas, Alexander Korotkov, Nikita Glukhov) -

    E.7.3.1.4. Optimizer
    • +

    E.8.3.1.4. Optimizer
    • Improve selection of the most common values for statistics (Jeff Janes, Dean Rasheed)

      @@ -437,7 +438,7 @@

    • Make the optimizer account for evaluation costs and selectivity of HAVING clauses (Tom Lane) -

    E.7.3.1.5. General Performance
    • +

    E.8.3.1.5. General Performance
    • Add Just-in-Time (JIT) compilation of some parts of query plans to improve execution speed (Andres Freund) @@ -477,7 +478,7 @@

      This is controlled by the huge_pages configuration parameter. -

    E.7.3.1.6. Monitoring
    • +

    E.8.3.1.6. Monitoring
    E.7.3.1.6.1. Information Schema
    • +

    E.8.3.1.6.1. Information Schema
    • Add information_schema columns related to table constraints and triggers (Peter Eisentraut)

      @@ -504,7 +505,7 @@ are now populated, where before they were always null. Also, table_constraints.enforced now exists but is not yet usefully populated. -

    E.7.3.1.7. Authentication
    • +

    E.8.3.1.7. Authentication
    • Allow the server to specify more complex LDAP specifications in search+bind mode (Thomas Munro)

      @@ -522,7 +523,7 @@ or ldapurl=ldaps://.

    • Improve logging of LDAP errors (Thomas Munro) -

    E.7.3.1.8. Permissions
    • +

    E.8.3.1.8. Permissions
    • Add default roles that enable file system access (Stephen Frost)

      @@ -564,7 +565,7 @@

    • Fix invalid locking permission check in SELECT FOR UPDATE on views (Tom Lane) -

    E.7.3.1.9. Server Configuration
    • +

    E.8.3.1.9. Server Configuration
    • Add server setting ssl_passphrase_command to allow supplying of the passphrase for SSL key files (Peter Eisentraut) @@ -587,7 +588,7 @@ The new unit suffix is B. This is in addition to the existing units kB, MB, GB and TB. -

    E.7.3.1.10. Write-Ahead Log (WAL)
    • +

    E.8.3.1.10. Write-Ahead Log (WAL)
    • Allow the WAL file size to be set during initdb (Beena Emerson)

      @@ -601,7 +602,7 @@ Fill the unused portion of force-switched WAL segment files with zeros for improved compressibility (Chapman Flack) -

    E.7.3.2. Base Backup and Streaming Replication

    • +

E.8.3.2. Base Backup and Streaming Replication

  • Replicate TRUNCATE activity when using logical replication (Simon Riggs, Marco Nenciarini, Peter Eisentraut)

  • @@ -633,7 +634,7 @@ Add host and port connection information to the pg_stat_wal_receiver system view (Haribabu Kommi) -

E.7.3.3. Utility Commands

  • +

E.8.3.3. Utility Commands

  • Allow ALTER TABLE to add a column with a non-null default without doing a table rewrite (Andrew Dunstan, Serge Rielau) @@ -669,7 +670,7 @@

    This is helpful for allowing user-defined aggregate functions to be optimized and to work as window functions. -

E.7.3.4. Data Types

  • +

E.8.3.4. Data Types

  • Allow the creation of arrays of domains (Tom Lane)

    This also allows array_agg() to be used @@ -683,7 +684,7 @@

  • Add casts from JSONB scalars to numeric and boolean data types (Anastasia Lubennikova) -

E.7.3.5. Functions

  • +

E.8.3.5. Functions

  • Add all window function framing options specified by SQL:2011 (Oliver Ford, Tom Lane)

    @@ -719,7 +720,7 @@ Add functions json(b)_to_tsvector() to create a text search query for matching JSON/JSONB values (Dmitry Dolgov) -

E.7.3.6. Server-Side Languages

  • +

E.8.3.6. Server-Side Languages

  • Add SQL-level procedures, which can start and commit their own transactions (Peter Eisentraut)

    @@ -759,7 +760,7 @@

  • Add extension jsonb_plperl to transform JSONB to/from PL/Perl types (Anthony Bykov) -

E.7.3.7. Client Interfaces

  • +

E.8.3.7. Client Interfaces

  • Change libpq to disable compression by default (Peter Eisentraut)

    Compression is already disabled in modern OpenSSL versions, so that @@ -777,7 +778,7 @@ Pro*C-style handling of char arrays.

    This mode is enabled with -C. -

E.7.3.8. Client Applications

E.7.3.8.1. psql
  • +

E.8.3.8. Client Applications

E.8.3.8.1. psql
  • Add psql command \gdesc to display the names and types of the columns in a query result (Pavel Stehule) @@ -843,7 +844,7 @@ (Tom Lane)

    Previously, tab completion queries could fail against older servers. -

E.7.3.8.2. pgbench
  • +

E.8.3.8.2. pgbench
  • Add pgbench expression support for NULLs, booleans, and some functions and operators (Fabien Coelho)

  • @@ -873,7 +874,7 @@ Make pgbench statistics more accurate when using --latency-limit and --rate (Fabien Coelho) -

E.7.3.9. Server Applications

  • +

E.8.3.9. Server Applications

  • Add an option to pg_basebackup that creates a named replication slot (Michael Banck)

    @@ -921,7 +922,7 @@

  • Prevent pg_rewind from running as root (Michael Paquier) -

E.7.3.9.1. pg_dump, +

  • Add pg_dumpall option @@ -946,7 +947,7 @@ pg_dumpall, and pg_restore option is --no-comments. -

E.7.3.10. Source Code

  • +

E.8.3.10. Source Code

  • Add PGXS support for installing include files (Andrew Gierth)

    @@ -1023,7 +1024,7 @@

  • Update to use perltidy version 20170521 (Tom Lane, Peter Eisentraut) -

E.7.3.11. Additional Modules

  • +

E.8.3.11. Additional Modules

  • Allow extension pg_prewarm to restore the previous shared buffer contents on startup (Mithun Cy, Robert Haas) @@ -1083,8 +1084,8 @@

    This extension is no longer considered to be a usable security tool or example of how to write an extension. -

E.7.4. Acknowledgments

+

E.8.4. Acknowledgments

The following individuals (in alphabetical order) have contributed to this release as patch authors, committers, reviewers, testers, or reporters of issues. -

Abhijit Menon-Sen
Adam Bielanski
Adam Brightwell
Adam Brusselback
Aditya Toshniwal
Adrián Escoms
Adrien Nayrat
Akos Vandra
Aleksander Alekseev
Aleksandr Parfenov
Alexander Korotkov
Alexander Kukushkin
Alexander Kuzmenkov
Alexander Lakhin
Alexandre Garcia
Alexey Bashtanov
Alexey Chernyshov
Alexey Kryuchkov
Alik Khilazhev
Álvaro Herrera
Amit Kapila
Amit Khandekar
Amit Langote
Amul Sul
Anastasia Lubennikova
Andreas Joseph Krogh
Andreas Karlsson
Andreas Seltenreich
André Hänsel
Andrei Gorita
Andres Freund
Andrew Dunstan
Andrew Fletcher
Andrew Gierth
Andrew Grossman
Andrew Krasichkov
Andrey Borodin
Andrey Lizenko
Andy Abelisto
Anthony Bykov
Antoine Scemama
Anton Dignös
Antonin Houska
Arseniy Sharoglazov
Arseny Sher
Arthur Zakirov
Ashutosh Bapat
Ashutosh Sharma
Ashwin Agrawal
Asim Praveen
Atsushi Torikoshi
Badrul Chowdhury
Balazs Szilfai
Basil Bourque
Beena Emerson
Ben Chobot
Benjamin Coutu
Bernd Helmle
Blaz Merela
Brad DeJong
Brent Dearth
Brian Cloutier
Bruce Momjian
Catalin Iacob
Chad Trabant
Chapman Flack
Christian Duta
Christian Ullrich
Christoph Berg
Christoph Dreis
Christophe Courtois
Christopher Jones
Claudio Freire
Clayton Salem
Craig Ringer
Dagfinn Ilmari Mannsåker
Dan Vianello
Dan Watson
Dang Minh Huong
Daniel Gustafsson
Daniel Vérité
Daniel Westermann
Daniel Wood
Darafei Praliaskouski
Dave Cramer
Dave Page
David Binderman
David Carlier
David Fetter
David G. Johnston
David Gould
David Hinkle
David Pereiro Lagares
David Rader
David Rowley
David Steele
Davy Machado
Dean Rasheed
Dian Fay
Dilip Kumar
Dmitriy Sarafannikov
Dmitry Dolgov
Dmitry Ivanov
Dmitry Shalashov
Don Seiler
Doug Doole
Doug Rady
Edmund Horner
Eiji Seki
Elvis Pranskevichus
Emre Hasegeli
Erik Rijkers
Erwin Brandstetter
Etsuro Fujita
Euler Taveira
Everaldo Canuto
Fabien Coelho
Fabrízio de Royes Mello
Feike Steenbergen
Frits Jalvingh
Fujii Masao
Gao Zengqi
Gianni Ciolli
Greg Stark
Gunnlaugur Thor Briem
Guo Xiang Tan
Hadi Moshayedi
Hailong Li
Haribabu Kommi
Heath Lord
Heikki Linnakangas
Hugo Mercier
Igor Korot
Igor Neyman
Ildar Musin
Ildus Kurbangaliev
Ioseph Kim
Jacob Champion
Jaime Casanova
Jakob Egger
Jean-Pierre Pelletier
Jeevan Chalke
Jeevan Ladhe
Jeff Davis
Jeff Janes
Jeremy Evans
Jeremy Finzel
Jeremy Schneider
Jesper Pedersen
Jim Nasby
Jimmy Yih
Jing Wang
Jobin Augustine
Joe Conway
John Gorman
John Naylor
Jon Nelson
Jon Wolski
Jonathan Allen
Jonathan S. Katz
Julien Rouhaud
Jürgen Purtz
Justin Pryzby
KaiGai Kohei
Kaiting Chen
Karl Lehenbauer
Keith Fiske
Kevin Bloch
Kha Nguyen
Kim Rose Carlsen
Konstantin Knizhnik
Kuntal Ghosh
Kyle Samson
Kyotaro Horiguchi
Lætitia Avrot
Lars Kanis
Laurenz Albe
Leonardo Cecchi
Liudmila Mantrova
Lixian Zou
Lloyd Albin
Luca Ferrari
Lucas Fairchild
Lukas Eder
Lukas Fittl
Magnus Hagander
Mai Peng
Maksim Milyutin
Maksym Boguk
Mansur Galiev
Marc Dilger
Marco Nenciarini
Marina Polyakova
Mario de Frutos Dieguez
Mark Cave-Ayland
Mark Dilger
Mark Wood
Marko Tiikkaja
Markus Winand
Martín Marqués
Masahiko Sawada
Matheus Oliveira
Matthew Stickney
Metin Doslu
Michael Banck
Michael Meskes
Michael Paquier
Michail Nikolaev
Mike Blackwell
Minh-Quan Tran
Mithun Cy
Morgan Owens
Nathan Bossart
Nathan Wagner
Neil Conway
Nick Barnes
Nicolas Thauvin
Nikhil Sontakke
Nikita Glukhov
Nikolay Shaplov
Noah Misch
Noriyoshi Shinoda
Oleg Bartunov
Oleg Samoilov
Oliver Ford
Pan Bian
Pascal Legrand
Patrick Hemmer
Patrick Krecker
Paul Bonaud
Paul Guo
Paul Ramsey
Pavan Deolasee
Pavan Maddamsetti
Pavel Golub
Pavel Stehule
Peter Eisentraut
Peter Geoghegan
Petr Jelínek
Petru-Florin Mihancea
Phil Florent
Philippe Beaudoin
Pierre Ducroquet
Piotr Stefaniak
Prabhat Sahu
Pu Qun
QL Zhuo
Rafia Sabih
Rahila Syed
Rainer Orth
Rajkumar Raghuwanshi
Raúl Marín Rodríguez
Regina Obe
Richard Yen
Robert Haas
Robins Tharakan
Rod Taylor
Rushabh Lathia
Ryan Murphy
Sahap Asci
Samuel Horwitz
Scott Ure
Sean Johnston
Shao Bret
Shay Rojansky
Shubham Barai
Simon Riggs
Simone Gotti
Sivasubramanian Ramasubramanian
Stas Kelvich
Stefan Kaltenbrunner
Stephen Froehlich
Stephen Frost
Steve Singer
Steven Winfield
Sven Kunze
Taiki Kondo
Takayuki Tsunakawa
Takeshi Ideriha
Tatsuo Ishii
Tatsuro Yamada
Teodor Sigaev
Thom Brown
Thomas Kellerer
Thomas Munro
Thomas Reiss
Tobias Bussmann
Todd A. Cook
Tom Kazimiers
Tom Lane
Tomas Vondra
Tomonari Katsumata
Torsten Grust
Tushar Ahuja
Vaishnavi Prabakaran
Vasundhar Boddapati
Victor Drobny
Victor Wagner
Victor Yegorov
Vik Fearing
Vinayak Pokale
Vincent Lachenal
Vitaliy Garnashevich
Vitaly Burovoy
Vladimir Baranoff
Xin Zhang
Yi Wen Wong
Yorick Peterse
Yugo Nagata
Yuqi Gu
Yura Sokolov
Yves Goergen
Zhou Digoal
\ No newline at end of file +

Abhijit Menon-Sen
Adam Bielanski
Adam Brightwell
Adam Brusselback
Aditya Toshniwal
Adrián Escoms
Adrien Nayrat
Akos Vandra
Aleksander Alekseev
Aleksandr Parfenov
Alexander Korotkov
Alexander Kukushkin
Alexander Kuzmenkov
Alexander Lakhin
Alexandre Garcia
Alexey Bashtanov
Alexey Chernyshov
Alexey Kryuchkov
Alik Khilazhev
Álvaro Herrera
Amit Kapila
Amit Khandekar
Amit Langote
Amul Sul
Anastasia Lubennikova
Andreas Joseph Krogh
Andreas Karlsson
Andreas Seltenreich
André Hänsel
Andrei Gorita
Andres Freund
Andrew Dunstan
Andrew Fletcher
Andrew Gierth
Andrew Grossman
Andrew Krasichkov
Andrey Borodin
Andrey Lizenko
Andy Abelisto
Anthony Bykov
Antoine Scemama
Anton Dignös
Antonin Houska
Arseniy Sharoglazov
Arseny Sher
Arthur Zakirov
Ashutosh Bapat
Ashutosh Sharma
Ashwin Agrawal
Asim Praveen
Atsushi Torikoshi
Badrul Chowdhury
Balazs Szilfai
Basil Bourque
Beena Emerson
Ben Chobot
Benjamin Coutu
Bernd Helmle
Blaz Merela
Brad DeJong
Brent Dearth
Brian Cloutier
Bruce Momjian
Catalin Iacob
Chad Trabant
Chapman Flack
Christian Duta
Christian Ullrich
Christoph Berg
Christoph Dreis
Christophe Courtois
Christopher Jones
Claudio Freire
Clayton Salem
Craig Ringer
Dagfinn Ilmari Mannsåker
Dan Vianello
Dan Watson
Dang Minh Huong
Daniel Gustafsson
Daniel Vérité
Daniel Westermann
Daniel Wood
Darafei Praliaskouski
Dave Cramer
Dave Page
David Binderman
David Carlier
David Fetter
David G. Johnston
David Gould
David Hinkle
David Pereiro Lagares
David Rader
David Rowley
David Steele
Davy Machado
Dean Rasheed
Dian Fay
Dilip Kumar
Dmitriy Sarafannikov
Dmitry Dolgov
Dmitry Ivanov
Dmitry Shalashov
Don Seiler
Doug Doole
Doug Rady
Edmund Horner
Eiji Seki
Elvis Pranskevichus
Emre Hasegeli
Erik Rijkers
Erwin Brandstetter
Etsuro Fujita
Euler Taveira
Everaldo Canuto
Fabien Coelho
Fabrízio de Royes Mello
Feike Steenbergen
Frits Jalvingh
Fujii Masao
Gao Zengqi
Gianni Ciolli
Greg Stark
Gunnlaugur Thor Briem
Guo Xiang Tan
Hadi Moshayedi
Hailong Li
Haribabu Kommi
Heath Lord
Heikki Linnakangas
Hugo Mercier
Igor Korot
Igor Neyman
Ildar Musin
Ildus Kurbangaliev
Ioseph Kim
Jacob Champion
Jaime Casanova
Jakob Egger
Jean-Pierre Pelletier
Jeevan Chalke
Jeevan Ladhe
Jeff Davis
Jeff Janes
Jeremy Evans
Jeremy Finzel
Jeremy Schneider
Jesper Pedersen
Jim Nasby
Jimmy Yih
Jing Wang
Jobin Augustine
Joe Conway
John Gorman
John Naylor
Jon Nelson
Jon Wolski
Jonathan Allen
Jonathan S. Katz
Julien Rouhaud
Jürgen Purtz
Justin Pryzby
KaiGai Kohei
Kaiting Chen
Karl Lehenbauer
Keith Fiske
Kevin Bloch
Kha Nguyen
Kim Rose Carlsen
Konstantin Knizhnik
Kuntal Ghosh
Kyle Samson
Kyotaro Horiguchi
Lætitia Avrot
Lars Kanis
Laurenz Albe
Leonardo Cecchi
Liudmila Mantrova
Lixian Zou
Lloyd Albin
Luca Ferrari
Lucas Fairchild
Lukas Eder
Lukas Fittl
Magnus Hagander
Mai Peng
Maksim Milyutin
Maksym Boguk
Mansur Galiev
Marc Dilger
Marco Nenciarini
Marina Polyakova
Mario de Frutos Dieguez
Mark Cave-Ayland
Mark Dilger
Mark Wood
Marko Tiikkaja
Markus Winand
Martín Marqués
Masahiko Sawada
Matheus Oliveira
Matthew Stickney
Metin Doslu
Michael Banck
Michael Meskes
Michael Paquier
Michail Nikolaev
Mike Blackwell
Minh-Quan Tran
Mithun Cy
Morgan Owens
Nathan Bossart
Nathan Wagner
Neil Conway
Nick Barnes
Nicolas Thauvin
Nikhil Sontakke
Nikita Glukhov
Nikolay Shaplov
Noah Misch
Noriyoshi Shinoda
Oleg Bartunov
Oleg Samoilov
Oliver Ford
Pan Bian
Pascal Legrand
Patrick Hemmer
Patrick Krecker
Paul Bonaud
Paul Guo
Paul Ramsey
Pavan Deolasee
Pavan Maddamsetti
Pavel Golub
Pavel Stehule
Peter Eisentraut
Peter Geoghegan
Petr Jelínek
Petru-Florin Mihancea
Phil Florent
Philippe Beaudoin
Pierre Ducroquet
Piotr Stefaniak
Prabhat Sahu
Pu Qun
QL Zhuo
Rafia Sabih
Rahila Syed
Rainer Orth
Rajkumar Raghuwanshi
Raúl Marín Rodríguez
Regina Obe
Richard Yen
Robert Haas
Robins Tharakan
Rod Taylor
Rushabh Lathia
Ryan Murphy
Sahap Asci
Samuel Horwitz
Scott Ure
Sean Johnston
Shao Bret
Shay Rojansky
Shubham Barai
Simon Riggs
Simone Gotti
Sivasubramanian Ramasubramanian
Stas Kelvich
Stefan Kaltenbrunner
Stephen Froehlich
Stephen Frost
Steve Singer
Steven Winfield
Sven Kunze
Taiki Kondo
Takayuki Tsunakawa
Takeshi Ideriha
Tatsuo Ishii
Tatsuro Yamada
Teodor Sigaev
Thom Brown
Thomas Kellerer
Thomas Munro
Thomas Reiss
Tobias Bussmann
Todd A. Cook
Tom Kazimiers
Tom Lane
Tomas Vondra
Tomonari Katsumata
Torsten Grust
Tushar Ahuja
Vaishnavi Prabakaran
Vasundhar Boddapati
Victor Drobny
Victor Wagner
Victor Yegorov
Vik Fearing
Vinayak Pokale
Vincent Lachenal
Vitaliy Garnashevich
Vitaly Burovoy
Vladimir Baranoff
Xin Zhang
Yi Wen Wong
Yorick Peterse
Yugo Nagata
Yuqi Gu
Yura Sokolov
Yves Goergen
Zhou Digoal
\ No newline at end of file diff -Nru postgresql-11-11.6/doc/src/sgml/html/release-prior.html postgresql-11-11.7/doc/src/sgml/html/release-prior.html --- postgresql-11-11.6/doc/src/sgml/html/release-prior.html 2019-11-11 22:18:55.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/release-prior.html 2020-02-10 22:30:27.000000000 +0000 @@ -1,5 +1,5 @@ -E.8. Prior Releases

E.8. Prior Releases

+E.9. Prior Releases

E.9. Prior Releases

Release notes for prior release branches can be found at https://www.postgresql.org/docs/release/ -

\ No newline at end of file +

\ No newline at end of file diff -Nru postgresql-11-11.6/doc/src/sgml/html/release.html postgresql-11-11.7/doc/src/sgml/html/release.html --- postgresql-11-11.6/doc/src/sgml/html/release.html 2019-11-11 22:18:55.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/release.html 2020-02-10 22:30:27.000000000 +0000 @@ -1,5 +1,5 @@ -Appendix E. Release Notes

Appendix E. Release Notes

+Appendix E. Release Notes

Appendix E. Release Notes

The release notes contain the significant changes in each PostgreSQL release, with major features and migration issues listed at the top. The release notes do not contain changes @@ -18,4 +18,4 @@ The name appearing next to each item represents the major developer for that item. Of course all changes involve community discussion and patch review, so each item is truly a community effort. -

\ No newline at end of file +

\ No newline at end of file diff -Nru postgresql-11-11.6/doc/src/sgml/html/replication-origins.html postgresql-11-11.7/doc/src/sgml/html/replication-origins.html --- postgresql-11-11.6/doc/src/sgml/html/replication-origins.html 2019-11-11 22:18:42.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/replication-origins.html 2020-02-10 22:30:15.000000000 +0000 @@ -1,5 +1,5 @@ -Chapter 50. Replication Progress Tracking

Chapter 50. Replication Progress Tracking

+Chapter 50. Replication Progress Tracking

Chapter 50. Replication Progress Tracking

Replication origins are intended to make it easier to implement logical replication solutions on top of logical decoding. diff -Nru postgresql-11-11.6/doc/src/sgml/html/resources.html postgresql-11-11.7/doc/src/sgml/html/resources.html --- postgresql-11-11.6/doc/src/sgml/html/resources.html 2019-11-11 22:18:29.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/resources.html 2020-02-10 22:30:04.000000000 +0000 @@ -1,5 +1,5 @@ -4. Further Information

4. Further Information

+4. Further Information

4. Further Information

Besides the documentation, that is, this book, there are other resources about PostgreSQL: diff -Nru postgresql-11-11.6/doc/src/sgml/html/role-attributes.html postgresql-11-11.7/doc/src/sgml/html/role-attributes.html --- postgresql-11-11.6/doc/src/sgml/html/role-attributes.html 2019-11-11 22:18:36.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/role-attributes.html 2020-02-10 22:30:10.000000000 +0000 @@ -1,5 +1,5 @@ -21.2. Role Attributes

21.2. Role Attributes

+21.2. Role Attributes

21.2. Role Attributes

A database role can have a number of attributes that define its privileges and interact with the client authentication system. diff -Nru postgresql-11-11.6/doc/src/sgml/html/role-membership.html postgresql-11-11.7/doc/src/sgml/html/role-membership.html --- postgresql-11-11.6/doc/src/sgml/html/role-membership.html 2019-11-11 22:18:36.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/role-membership.html 2020-02-10 22:30:10.000000000 +0000 @@ -1,5 +1,5 @@ -21.3. Role Membership

21.3. Role Membership

+21.3. Role Membership

21.3. Role Membership

It is frequently convenient to group users together to ease management of privileges: that way, privileges can be granted to, or revoked from, a group as a whole. In PostgreSQL diff -Nru postgresql-11-11.6/doc/src/sgml/html/role-removal.html postgresql-11-11.7/doc/src/sgml/html/role-removal.html --- postgresql-11-11.6/doc/src/sgml/html/role-removal.html 2019-11-11 22:18:36.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/role-removal.html 2020-02-10 22:30:10.000000000 +0000 @@ -1,5 +1,5 @@ -21.4. Dropping Roles

21.4. Dropping Roles

+21.4. Dropping Roles

21.4. Dropping Roles

Because roles can own database objects and can hold privileges to access other objects, dropping a role is often not just a matter of a quick DROP ROLE. Any objects owned by the role must diff -Nru postgresql-11-11.6/doc/src/sgml/html/routine-reindex.html postgresql-11-11.7/doc/src/sgml/html/routine-reindex.html --- postgresql-11-11.6/doc/src/sgml/html/routine-reindex.html 2019-11-11 22:18:36.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/routine-reindex.html 2020-02-10 22:30:10.000000000 +0000 @@ -1,5 +1,5 @@ -24.2. Routine Reindexing

24.2. Routine Reindexing

+24.2. Routine Reindexing

24.2. Routine Reindexing

In some situations it is worthwhile to rebuild indexes periodically with the REINDEX command or a series of individual rebuilding steps. diff -Nru postgresql-11-11.6/doc/src/sgml/html/routine-vacuuming.html postgresql-11-11.7/doc/src/sgml/html/routine-vacuuming.html --- postgresql-11-11.6/doc/src/sgml/html/routine-vacuuming.html 2019-11-11 22:18:36.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/routine-vacuuming.html 2020-02-10 22:30:10.000000000 +0000 @@ -1,5 +1,5 @@ -24.1. Routine Vacuuming

24.1. Routine Vacuuming

+24.1. Routine Vacuuming

24.1. Routine Vacuuming

PostgreSQL databases require periodic maintenance known as vacuuming. For many installations, it is sufficient to let vacuuming be performed by the autovacuum diff -Nru postgresql-11-11.6/doc/src/sgml/html/row-estimation-examples.html postgresql-11-11.7/doc/src/sgml/html/row-estimation-examples.html --- postgresql-11-11.6/doc/src/sgml/html/row-estimation-examples.html 2019-11-11 22:18:53.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/row-estimation-examples.html 2020-02-10 22:30:25.000000000 +0000 @@ -1,5 +1,5 @@ -70.1. Row Estimation Examples

70.1. Row Estimation Examples

+70.1. Row Estimation Examples

70.1. Row Estimation Examples

The examples shown below use tables in the PostgreSQL regression test database. The outputs shown are taken from version 8.3. diff -Nru postgresql-11-11.6/doc/src/sgml/html/rowtypes.html postgresql-11-11.7/doc/src/sgml/html/rowtypes.html --- postgresql-11-11.6/doc/src/sgml/html/rowtypes.html 2019-11-11 22:18:31.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/rowtypes.html 2020-02-10 22:30:05.000000000 +0000 @@ -1,5 +1,5 @@ -8.16. Composite Types

8.16. Composite Types

+8.16. Composite Types

8.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 diff -Nru postgresql-11-11.6/doc/src/sgml/html/rule-system.html postgresql-11-11.7/doc/src/sgml/html/rule-system.html --- postgresql-11-11.6/doc/src/sgml/html/rule-system.html 2019-11-11 22:18:49.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/rule-system.html 2020-02-10 22:30:22.000000000 +0000 @@ -1,5 +1,5 @@ -51.4. The PostgreSQL Rule System

51.4. The PostgreSQL Rule System

+51.4. The PostgreSQL Rule System

51.4. The PostgreSQL Rule System

PostgreSQL supports a powerful rule system for the specification of views and ambiguous view updates. diff -Nru postgresql-11-11.6/doc/src/sgml/html/rules-materializedviews.html postgresql-11-11.7/doc/src/sgml/html/rules-materializedviews.html --- postgresql-11-11.6/doc/src/sgml/html/rules-materializedviews.html 2019-11-11 22:18:40.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/rules-materializedviews.html 2020-02-10 22:30:14.000000000 +0000 @@ -1,5 +1,5 @@ -41.3. Materialized Views

41.3. Materialized Views

+41.3. Materialized Views

41.3. Materialized Views

Materialized views in PostgreSQL use the rule system like views do, but persist the results in a table-like form. The main differences between: diff -Nru postgresql-11-11.6/doc/src/sgml/html/rules-privileges.html postgresql-11-11.7/doc/src/sgml/html/rules-privileges.html --- postgresql-11-11.6/doc/src/sgml/html/rules-privileges.html 2019-11-11 22:18:40.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/rules-privileges.html 2020-02-10 22:30:14.000000000 +0000 @@ -1,5 +1,5 @@ -41.5. Rules and Privileges

41.5. Rules and Privileges

+41.5. Rules and Privileges

41.5. Rules and Privileges

Due to rewriting of queries by the PostgreSQL rule system, other tables/views than those used in the original query get accessed. When update rules are used, this can include write access diff -Nru postgresql-11-11.6/doc/src/sgml/html/rules-status.html postgresql-11-11.7/doc/src/sgml/html/rules-status.html --- postgresql-11-11.6/doc/src/sgml/html/rules-status.html 2019-11-11 22:18:40.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/rules-status.html 2020-02-10 22:30:14.000000000 +0000 @@ -1,5 +1,5 @@ -41.6. Rules and Command Status

41.6. Rules and Command Status

+41.6. Rules and Command Status

41.6. Rules and Command Status

The PostgreSQL server returns a command status string, such as INSERT 149592 1, for each command it receives. This is simple enough when there are no rules diff -Nru postgresql-11-11.6/doc/src/sgml/html/rules-triggers.html postgresql-11-11.7/doc/src/sgml/html/rules-triggers.html --- postgresql-11-11.6/doc/src/sgml/html/rules-triggers.html 2019-11-11 22:18:40.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/rules-triggers.html 2020-02-10 22:30:14.000000000 +0000 @@ -1,5 +1,5 @@ -41.7. Rules Versus Triggers

41.7. Rules Versus Triggers

+41.7. Rules Versus Triggers

41.7. Rules Versus Triggers

Many things that can be done using triggers can also be implemented using the PostgreSQL rule system. One of the things that cannot be implemented by diff -Nru postgresql-11-11.6/doc/src/sgml/html/rules-update.html postgresql-11-11.7/doc/src/sgml/html/rules-update.html --- postgresql-11-11.6/doc/src/sgml/html/rules-update.html 2019-11-11 22:18:40.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/rules-update.html 2020-02-10 22:30:14.000000000 +0000 @@ -1,5 +1,5 @@ -41.4. Rules on INSERT, UPDATE, and DELETE

41.4. Rules on INSERT, UPDATE, and DELETE

+41.4. Rules on INSERT, UPDATE, and DELETE

41.4. Rules on INSERT, UPDATE, and DELETE

Rules that are defined on INSERT, UPDATE, and DELETE are significantly different from the view rules described in the previous section. First, their CREATE diff -Nru postgresql-11-11.6/doc/src/sgml/html/rules-views.html postgresql-11-11.7/doc/src/sgml/html/rules-views.html --- postgresql-11-11.6/doc/src/sgml/html/rules-views.html 2019-11-11 22:18:40.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/rules-views.html 2020-02-10 22:30:14.000000000 +0000 @@ -1,5 +1,5 @@ -41.2. Views and the Rule System

41.2. Views and the Rule System

+41.2. Views and the Rule System

41.2. Views and the Rule System

Views in PostgreSQL are implemented using the rule system. In fact, there is essentially no difference between: diff -Nru postgresql-11-11.6/doc/src/sgml/html/rules.html postgresql-11-11.7/doc/src/sgml/html/rules.html --- postgresql-11-11.6/doc/src/sgml/html/rules.html 2019-11-11 22:18:40.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/rules.html 2020-02-10 22:30:14.000000000 +0000 @@ -1,5 +1,5 @@ -Chapter 41. The Rule System

Chapter 41. The Rule System

+Chapter 41. The Rule System

Chapter 41. The Rule System

This chapter discusses the rule system in PostgreSQL. Production rule systems are conceptually simple, but there are many subtle points diff -Nru postgresql-11-11.6/doc/src/sgml/html/runtime-config-autovacuum.html postgresql-11-11.7/doc/src/sgml/html/runtime-config-autovacuum.html --- postgresql-11-11.6/doc/src/sgml/html/runtime-config-autovacuum.html 2019-11-11 22:18:35.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/runtime-config-autovacuum.html 2020-02-10 22:30:09.000000000 +0000 @@ -1,5 +1,5 @@ -19.10. Automatic Vacuuming

19.10. Automatic Vacuuming

+19.10. Automatic Vacuuming

19.10. Automatic Vacuuming

These settings control the behavior of the autovacuum feature. Refer to Section 24.1.6 for more information. Note that many of these settings can be overridden on a per-table diff -Nru postgresql-11-11.6/doc/src/sgml/html/runtime-config-client.html postgresql-11-11.7/doc/src/sgml/html/runtime-config-client.html --- postgresql-11-11.6/doc/src/sgml/html/runtime-config-client.html 2019-11-11 22:18:35.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/runtime-config-client.html 2020-02-10 22:30:09.000000000 +0000 @@ -1,5 +1,5 @@ -19.11. Client Connection Defaults

19.11. Client Connection Defaults

19.11.1. Statement Behavior

client_min_messages (enum) +19.11. Client Connection Defaults

19.11. Client Connection Defaults

19.11.1. Statement Behavior

client_min_messages (enum)

Controls which diff -Nru postgresql-11-11.6/doc/src/sgml/html/runtime-config-compatible.html postgresql-11-11.7/doc/src/sgml/html/runtime-config-compatible.html --- postgresql-11-11.6/doc/src/sgml/html/runtime-config-compatible.html 2019-11-11 22:18:35.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/runtime-config-compatible.html 2020-02-10 22:30:09.000000000 +0000 @@ -1,5 +1,5 @@ -19.13. Version and Platform Compatibility

19.13. Version and Platform Compatibility

19.13.1. Previous PostgreSQL Versions

array_nulls (boolean) +19.13. Version and Platform Compatibility

19.13. Version and Platform Compatibility

19.13.1. Previous PostgreSQL Versions

array_nulls (boolean)

This controls whether the array input parser recognizes diff -Nru postgresql-11-11.6/doc/src/sgml/html/runtime-config-connection.html postgresql-11-11.7/doc/src/sgml/html/runtime-config-connection.html --- postgresql-11-11.6/doc/src/sgml/html/runtime-config-connection.html 2019-11-11 22:18:35.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/runtime-config-connection.html 2020-02-10 22:30:09.000000000 +0000 @@ -1,5 +1,5 @@ -19.3. Connections and Authentication

19.3. Connections and Authentication

19.3.1. Connection Settings

listen_addresses (string) +19.3. Connections and Authentication

19.3. Connections and Authentication

19.3.1. Connection Settings

listen_addresses (string)

Specifies the TCP/IP address(es) on which the server is diff -Nru postgresql-11-11.6/doc/src/sgml/html/runtime-config-custom.html postgresql-11-11.7/doc/src/sgml/html/runtime-config-custom.html --- postgresql-11-11.6/doc/src/sgml/html/runtime-config-custom.html 2019-11-11 22:18:35.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/runtime-config-custom.html 2020-02-10 22:30:09.000000000 +0000 @@ -1,5 +1,5 @@ -19.16. Customized Options

19.16. Customized Options

+19.16. Customized Options

19.16. Customized Options

This feature was designed to allow parameters not normally known to PostgreSQL to be added by add-on modules (such as procedural languages). This allows extension modules to be diff -Nru postgresql-11-11.6/doc/src/sgml/html/runtime-config-developer.html postgresql-11-11.7/doc/src/sgml/html/runtime-config-developer.html --- postgresql-11-11.6/doc/src/sgml/html/runtime-config-developer.html 2019-11-11 22:18:35.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/runtime-config-developer.html 2020-02-10 22:30:09.000000000 +0000 @@ -1,5 +1,5 @@ -19.17. Developer Options

19.17. Developer Options

+19.17. Developer Options

19.17. Developer Options

The following parameters are intended for work on the PostgreSQL source code, and in some cases to assist with recovery of severely damaged databases. There diff -Nru postgresql-11-11.6/doc/src/sgml/html/runtime-config-error-handling.html postgresql-11-11.7/doc/src/sgml/html/runtime-config-error-handling.html --- postgresql-11-11.6/doc/src/sgml/html/runtime-config-error-handling.html 2019-11-11 22:18:35.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/runtime-config-error-handling.html 2020-02-10 22:30:09.000000000 +0000 @@ -1,5 +1,5 @@ -19.14. Error Handling

19.14. Error Handling

exit_on_error (boolean) +19.14. Error Handling

19.14. Error Handling

exit_on_error (boolean)

If true, any error will terminate the current session. By default, diff -Nru postgresql-11-11.6/doc/src/sgml/html/runtime-config-file-locations.html postgresql-11-11.7/doc/src/sgml/html/runtime-config-file-locations.html --- postgresql-11-11.6/doc/src/sgml/html/runtime-config-file-locations.html 2019-11-11 22:18:35.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/runtime-config-file-locations.html 2020-02-10 22:30:09.000000000 +0000 @@ -1,5 +1,5 @@ -19.2. File Locations

19.2. File Locations

+19.2. File Locations

19.2. File Locations

In addition to the postgresql.conf file already mentioned, PostgreSQL uses two other manually-edited configuration files, which control diff -Nru postgresql-11-11.6/doc/src/sgml/html/runtime-config-locks.html postgresql-11-11.7/doc/src/sgml/html/runtime-config-locks.html --- postgresql-11-11.6/doc/src/sgml/html/runtime-config-locks.html 2019-11-11 22:18:35.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/runtime-config-locks.html 2020-02-10 22:30:09.000000000 +0000 @@ -1,5 +1,5 @@ -19.12. Lock Management

19.12. Lock Management

deadlock_timeout (integer) +19.12. Lock Management

19.12. Lock Management

deadlock_timeout (integer) diff -Nru postgresql-11-11.6/doc/src/sgml/html/runtime-config-logging.html postgresql-11-11.7/doc/src/sgml/html/runtime-config-logging.html --- postgresql-11-11.6/doc/src/sgml/html/runtime-config-logging.html 2019-11-11 22:18:35.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/runtime-config-logging.html 2020-02-10 22:30:09.000000000 +0000 @@ -1,5 +1,5 @@ -19.8. Error Reporting and Logging

19.8. Error Reporting and Logging

19.8.1. Where To Log

log_destination (string) +19.8. Error Reporting and Logging

19.8. Error Reporting and Logging

19.8.1. Where To Log

log_destination (string)

PostgreSQL supports several methods diff -Nru postgresql-11-11.6/doc/src/sgml/html/runtime-config-preset.html postgresql-11-11.7/doc/src/sgml/html/runtime-config-preset.html --- postgresql-11-11.6/doc/src/sgml/html/runtime-config-preset.html 2019-11-11 22:18:35.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/runtime-config-preset.html 2020-02-10 22:30:09.000000000 +0000 @@ -1,5 +1,5 @@ -19.15. Preset Options

19.15. Preset Options

+19.15. Preset Options

19.15. Preset Options

The following parameters are read-only, and are determined when PostgreSQL is compiled or when it is installed. As such, they have been excluded from the sample diff -Nru postgresql-11-11.6/doc/src/sgml/html/runtime-config-query.html postgresql-11-11.7/doc/src/sgml/html/runtime-config-query.html --- postgresql-11-11.6/doc/src/sgml/html/runtime-config-query.html 2019-11-11 22:18:35.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/runtime-config-query.html 2020-02-10 22:30:09.000000000 +0000 @@ -1,5 +1,5 @@ -19.7. Query Planning

19.7. Query Planning

19.7.1. Planner Method Configuration

+19.7. Query Planning

19.7. Query Planning

19.7.1. Planner Method Configuration

These configuration parameters provide a crude method of influencing the query plans chosen by the query optimizer. If the default plan chosen by the optimizer for a particular query diff -Nru postgresql-11-11.6/doc/src/sgml/html/runtime-config-replication.html postgresql-11-11.7/doc/src/sgml/html/runtime-config-replication.html --- postgresql-11-11.6/doc/src/sgml/html/runtime-config-replication.html 2019-11-11 22:18:35.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/runtime-config-replication.html 2020-02-10 22:30:09.000000000 +0000 @@ -1,5 +1,5 @@ -19.6. Replication

19.6. Replication

+19.6. Replication

19.6. Replication

These settings control the behavior of the built-in streaming replication feature (see Section 26.2.5). Servers will be either a diff -Nru postgresql-11-11.6/doc/src/sgml/html/runtime-config-resource.html postgresql-11-11.7/doc/src/sgml/html/runtime-config-resource.html --- postgresql-11-11.6/doc/src/sgml/html/runtime-config-resource.html 2019-11-11 22:18:35.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/runtime-config-resource.html 2020-02-10 22:30:09.000000000 +0000 @@ -1,5 +1,5 @@ -19.4. Resource Consumption

19.4. Resource Consumption

19.4.1. Memory

shared_buffers (integer) +19.4. Resource Consumption

19.4. Resource Consumption

19.4.1. Memory

shared_buffers (integer)

Sets the amount of memory the database server uses for shared diff -Nru postgresql-11-11.6/doc/src/sgml/html/runtime-config-short.html postgresql-11-11.7/doc/src/sgml/html/runtime-config-short.html --- postgresql-11-11.6/doc/src/sgml/html/runtime-config-short.html 2019-11-11 22:18:35.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/runtime-config-short.html 2020-02-10 22:30:09.000000000 +0000 @@ -1,5 +1,5 @@ -19.18. Short Options

19.18. Short Options

+19.18. Short Options

19.18. Short Options

For convenience there are also single letter command-line option switches available for some parameters. They are described in Table 19.2. Some of these diff -Nru postgresql-11-11.6/doc/src/sgml/html/runtime-config-statistics.html postgresql-11-11.7/doc/src/sgml/html/runtime-config-statistics.html --- postgresql-11-11.6/doc/src/sgml/html/runtime-config-statistics.html 2019-11-11 22:18:35.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/runtime-config-statistics.html 2020-02-10 22:30:09.000000000 +0000 @@ -1,5 +1,5 @@ -19.9. Run-time Statistics

19.9. Run-time Statistics

19.9.1. Query and Index Statistics Collector

+19.9. Run-time Statistics

19.9. Run-time Statistics

19.9.1. Query and Index Statistics Collector

These parameters control server-wide statistics collection features. When statistics collection is enabled, the data that is produced can be accessed via the pg_stat and diff -Nru postgresql-11-11.6/doc/src/sgml/html/runtime-config-wal.html postgresql-11-11.7/doc/src/sgml/html/runtime-config-wal.html --- postgresql-11-11.6/doc/src/sgml/html/runtime-config-wal.html 2019-11-11 22:18:35.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/runtime-config-wal.html 2020-02-10 22:30:09.000000000 +0000 @@ -1,5 +1,5 @@ -19.5. Write Ahead Log

19.5. Write Ahead Log

+19.5. Write Ahead Log

19.5. Write Ahead Log

For additional information on tuning these settings, see Section 30.4.

19.5.1. Settings

wal_level (enum) diff -Nru postgresql-11-11.6/doc/src/sgml/html/runtime-config.html postgresql-11-11.7/doc/src/sgml/html/runtime-config.html --- postgresql-11-11.6/doc/src/sgml/html/runtime-config.html 2019-11-11 22:18:35.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/runtime-config.html 2020-02-10 22:30:09.000000000 +0000 @@ -1,5 +1,5 @@ -Chapter 19. Server Configuration

Chapter 19. Server Configuration

Table of Contents

19.1. Setting Parameters
19.1.1. Parameter Names and Values
19.1.2. Parameter Interaction via the Configuration File
19.1.3. Parameter Interaction via SQL
19.1.4. Parameter Interaction via the Shell
19.1.5. Managing Configuration File Contents
19.2. File Locations
19.3. Connections and Authentication
19.3.1. Connection Settings
19.3.2. Authentication
19.3.3. SSL
19.4. Resource Consumption
19.4.1. Memory
19.4.2. Disk
19.4.3. Kernel Resource Usage
19.4.4. Cost-based Vacuum Delay
19.4.5. Background Writer
19.4.6. Asynchronous Behavior
19.5. Write Ahead Log
19.5.1. Settings
19.5.2. Checkpoints
19.5.3. Archiving
19.6. Replication
19.6.1. Sending Servers
19.6.2. Master Server
19.6.3. Standby Servers
19.6.4. Subscribers
19.7. Query Planning
19.7.1. Planner Method Configuration
19.7.2. Planner Cost Constants
19.7.3. Genetic Query Optimizer
19.7.4. Other Planner Options
19.8. Error Reporting and Logging
19.8.1. Where To Log
19.8.2. When To Log
19.8.3. What To Log
19.8.4. Using CSV-Format Log Output
19.8.5. Process Title
19.9. Run-time Statistics
19.9.1. Query and Index Statistics Collector
19.9.2. Statistics Monitoring
19.10. Automatic Vacuuming
19.11. Client Connection Defaults
19.11.1. Statement Behavior
19.11.2. Locale and Formatting
19.11.3. Shared Library Preloading
19.11.4. Other Defaults
19.12. Lock Management
19.13. Version and Platform Compatibility
19.13.1. Previous PostgreSQL Versions
19.13.2. Platform and Client Compatibility
19.14. Error Handling
19.15. Preset Options
19.16. Customized Options
19.17. Developer Options
19.18. Short Options

+Chapter 19. Server Configuration

Chapter 19. Server Configuration

Table of Contents

19.1. Setting Parameters
19.1.1. Parameter Names and Values
19.1.2. Parameter Interaction via the Configuration File
19.1.3. Parameter Interaction via SQL
19.1.4. Parameter Interaction via the Shell
19.1.5. Managing Configuration File Contents
19.2. File Locations
19.3. Connections and Authentication
19.3.1. Connection Settings
19.3.2. Authentication
19.3.3. SSL
19.4. Resource Consumption
19.4.1. Memory
19.4.2. Disk
19.4.3. Kernel Resource Usage
19.4.4. Cost-based Vacuum Delay
19.4.5. Background Writer
19.4.6. Asynchronous Behavior
19.5. Write Ahead Log
19.5.1. Settings
19.5.2. Checkpoints
19.5.3. Archiving
19.6. Replication
19.6.1. Sending Servers
19.6.2. Master Server
19.6.3. Standby Servers
19.6.4. Subscribers
19.7. Query Planning
19.7.1. Planner Method Configuration
19.7.2. Planner Cost Constants
19.7.3. Genetic Query Optimizer
19.7.4. Other Planner Options
19.8. Error Reporting and Logging
19.8.1. Where To Log
19.8.2. When To Log
19.8.3. What To Log
19.8.4. Using CSV-Format Log Output
19.8.5. Process Title
19.9. Run-time Statistics
19.9.1. Query and Index Statistics Collector
19.9.2. Statistics Monitoring
19.10. Automatic Vacuuming
19.11. Client Connection Defaults
19.11.1. Statement Behavior
19.11.2. Locale and Formatting
19.11.3. Shared Library Preloading
19.11.4. Other Defaults
19.12. Lock Management
19.13. Version and Platform Compatibility
19.13.1. Previous PostgreSQL Versions
19.13.2. Platform and Client Compatibility
19.14. Error Handling
19.15. Preset Options
19.16. Customized Options
19.17. Developer Options
19.18. Short Options

There are many configuration parameters that affect the behavior of the database system. In the first section of this chapter we describe how to interact with configuration parameters. The subsequent sections diff -Nru postgresql-11-11.6/doc/src/sgml/html/runtime.html postgresql-11-11.7/doc/src/sgml/html/runtime.html --- postgresql-11-11.6/doc/src/sgml/html/runtime.html 2019-11-11 22:18:35.000000000 +0000 +++ postgresql-11-11.7/doc/src/sgml/html/runtime.html 2020-02-10 22:30:09.000000000 +0000 @@ -1,5 +1,5 @@ -Chapter 18. Server Setup and Operation

Chapter 18. Server Setup and Operation

+Chapter 18. Server Setup and Operation