@@ -62,19+62,24 @@ Prevent the containment operators (<@ and @>) for contrib/intarray from us
-Previously a full GiST index scan was required, so just avoid that and scan the heap, which is faster.
-EXISTING INDEXES? REMOVE?
+Previously a full GiST index scan was required, so just avoid that and scan the heap, which is faster. Indexes created for this purpose should be removed.
-Disallow single-quoting of the language name in the CREATE/DROP LANGUAGE command (Peter Eisentraut)
+Remove deprecated containment operators @ and ~ for built-in geometric data types and contrib modules cube, hstore, intarray, and seg (Justin Pryzby)
+
+
+
+The more consistent <@ and @> have been recommended for many years.
@@ -114,6+119,8 @@ Previously, quoted text that contained multiple adjacent discarded tokens were t
@@ -122,276+129,270 @@ Change the default of the password_encryption server parameter to scram-sha-256
Previously it was md5. All new passwords will be stored as SHA256 unless this server variable is changed or the password is already md5-hashed.
-Also, the legacy (and undocumented) boolean-like values which were previously synonyms ofmd5 are no longer accepted.
+Also, the legacy (and undocumented) boolean-like values which were previously synonyms formd5 are no longer accepted.
-Change EXTRACT to return the NUMERIC data type (Peter Eisentraut)
+Overhaul the specification of clientcert in pg_hba.conf (Kyotaro Horiguchi)
-EXTRACT(date) now throws an error for units that are not part of the date data type.
+Values 1/0/no-verify are no longer supported; only the strings verify-ca and verify-full can be used. Also, disallow verify-ca if cert authentication is enabled since cert requires verify-full
+checking.
-Pass doubled quote marks in ecpg SQL command strings literally (Tom Lane)
+Remove support for SSL compression (Daniel Gustafsson, Michael Paquier)
-Previously 'abc''def' was passed to the server as 'abc'def'; "abc""def" was passed as "abc"def".
+This was already disabled by default in previous Postgres releases, and most modern OpenSSL and TLS versions no longer support it.
-Prevent tablefunc's function normal_rand() from accepting negative values (Ashutosh Bapat)
+Remove server and libpq support for the version 2 wire protocol (Heikki Linnakangas)
-Negative values produced undesirable results.
+This was last used as the default in Postgres 7.2 (year 2002).
-Fix handling of infinite window function ranges (Tom Lane)
+Change EXTRACT to return the NUMERIC data type (Peter Eisentraut)
-Previously window frame clauses like 'inf' PRECEDING AND 'inf' FOLLOWING returned incorrect results.
+EXTRACT(date) now throws an error for units that are not part of the date data type.
-Change var_samp() and stddev_samp() with numeric parameters to return NULL for a single NaN value (Tom Lane)
+Fix handling of infinite window function ranges (Tom Lane)
-Previously NaN was returned.
+Previously window frame clauses like 'inf' PRECEDING AND 'inf' FOLLOWING returned incorrect results.
-Remove support for SSL compression (Daniel Gustafsson, Michael Paquier)
+Prevent tablefunc's function normal_rand() from accepting negative values (Ashutosh Bapat)
-This was already disabled by default in previous Postgres releases, and most modern OpenSSL and TLS versions no longer support it.
+Negative values produced undesirable results.
-Remove deprecated containment operators @ and ~ for built-in geometric data types and contrib modules cube, hstore, intarray, and seg (Justin Pryzby)
+Change var_samp() and stddev_samp() with numeric parameters to return NULL for a single NaN value (Tom Lane)
-The more consistent <@ and @> have been recommended for many years.
+Previously NaN was returned.
-Remove server and libpq support for the version 2 wire protocol (Heikki Linnakangas)
+Remove factorial operators ! and !! (Mark Dilger)
-This was last used as the default in Postgres 7.2 (year 2002).
+The factorial() function is still supported. Also remove function numeric_fac().
-Improve handling of regular expression back-references (Tom Lane)
+Disallow factorial() of negative numbers (Peter Eisentraut)
-For example, disregard ^ in its expansion in \1 in "(^\d+).*\1".
+Previously such cases returned 1.
-Allow \D and \W shorthands to match newlines in newline-sensitive mode (Tom Lane)
+Remove support for postfix (right-unary) operators (Mark Dilger)
-Previously they did not match; [^[:digit:]] or [^[:word:]] can be used to get the old behavior.
+pg_dump and pg_upgrade will warn if postfix operators are being dumped.
-Disallow \w as range start/end in character classes (Tom Lane)
+Allow \D and \W shorthands to match newlines in newline-sensitive mode (Tom Lane)
-This previously was allowed but produced incorrect results.
+Previously they did not match; [^[:digit:]] or [^[:word:]] can be used to get the old behavior.
-Force custom server variable names to match the pattern used for unquoted SQL identifiers (Tom Lane)
+Improve handling of regular expression back-references (Tom Lane)
+
+
+
+For example, disregard ^ in its expansion in \1 in "(^\d+).*\1".
-Return false for has_column_privilege() checks on non-existent or dropped columns when using attribute numbers (Joe Conway)
+Disallow \w as range start/end in character classes (Tom Lane)
-Previously such attribute numbers returned an invalid column error.
+This previously was allowed but produced incorrect results.
-Remove contrib program pg_standby (Justin Pryzby)
+Force custom server variable names to match the pattern used for unquoted SQL identifiers (Tom Lane)
-Overhaul the specification of clientcert in pg_hba.conf (Kyotaro Horiguchi)
+Return false for has_column_privilege() checks on non-existent or dropped columns when using attribute numbers (Joe Conway)
-Values 1/0/no-verify are no longer supported; only the strings verify-ca and verify-full can be used. Also, disallow verify-ca if cert authentication is enabled since cert requires verify-full
-checking.
+Previously such attribute numbers returned an invalid column error.
-Remove factorial operators ! and !! (Mark Dilger)
+Pass doubled quote marks in ecpg SQL command strings literally (Tom Lane)
-The factorial() function is still supported. Also remove function numeric_fac().
+Previously 'abc''def' was passed to the server as 'abc'def', and "abc""def" was passed as "abc"def".
-Disallow factorial() of negative numbers (Peter Eisentraut)
-
-
-
-Previously such cases returned 1.
+Disallow single-quoting of the language name in the CREATE/DROP LANGUAGE command (Peter Eisentraut)
-Remove support for postfix (right-unary) operators (Mark Dilger)
-
-
-
-pg_dump and pg_upgrade will warn if postfix operators are being dumped.
+Remove contrib program pg_standby (Justin Pryzby)
-Allow index additions to remove expired btree index entries to prevent page splits (Peter Geoghegan)
+Allow btree index additions to remove expired index entries to prevent page splits (Peter Geoghegan)
@@ -725,27+801,27 @@ This allows bloom indexes to be used effectively with data that is not physicall
-Allow SP-GiST to use INCLUDE'd columns (Pavel Borisov)
+Allow some GiST indexes to be built by presorting the data (Andrey Borodin)
+
+
+
+Presorting happens automatically and allows for faster index creation and smaller indexes.
-Allow some GiST indexes to be built by presorting the data (Andrey Borodin)
-
-
-
-Presorting happens automatically and allows for faster index creation and smaller indexes.
+Allow SP-GiST to use INCLUDE'd columns (Pavel Borisov)
@@ -760,17+836,16 @@ Presorting happens automatically and allows for faster index creation and smalle
-Allow extended statistics on expressions (Tomas Vondra)
+Allow hash lookup of IN clause with many constants (James Coleman, David Rowley)
-This allows statistics on a group of expressions and columns, rather than only columns like previously. System view pg_stats_ext_exprs reports such statistics.
-ALTER TABLE ... ALTER COLUMN ... TYPE RESETS STASTISTICS?
+Previously the only option was to sequentially scan the list of constants.
Increase the number of places extended statistics can be used for OR clause estimation (Tomas Vondra, Dean Rasheed)
+
+
+
+
+
+
+Allow extended statistics on expressions (Tomas Vondra)
+
+
+
+This allows statistics on a group of expressions and columns, rather than only columns like previously. System view pg_stats_ext_exprs reports such statistics.
+ALTER TABLE ... ALTER COLUMN ... TYPE RESETS STASTISTICS?
+
+
+
+
+
+
+
+Allow efficient heap scanning of a range of tids (Edmund Horner, David Rowley)
+
+
+
+Previously a sequential scan was required for non-equality tid specifications.
+
+
+
+
+
+
+
+Fix EXPLAIN CREATE TABLE AS and EXPLAIN CREATE MATERIALIZED VIEW to honor IF NOT EXISTS (Bharath Rupireddy)
+
+
+
+Previously, if the object already exists, EXPLAIN would fail.
-Improve speed of computing MVCC visibility snapshots on systems with many CPUs and high session count (Andres Freund)
+Improve the speed of computing MVCC visibility snapshots on systems with many CPUs and high session counts (Andres Freund)
@@ -840,61+961,57 @@ This is useful if only a small percentage of rows is checked on the inner side.
-Allow a query referencing multiple foreign tables to perform foreign table scans in parallel (Robert Haas, Kyotaro Horiguchi, Thomas Munro, Etsuro Fujita)
-
-
-
-The postgres_fdw supports these type of scans if "async_capable" is set.
+Allow window functions to perform incremental sorts (David Rowley)
-Add ability to use LZ4 compression on TOAST data (Dilip Kumar)
+Improve the I/O performance of parallel sequential scans (Thomas Munro, David Rowley)
-This can be set at the column level, or set as a default via server setting default_toast_compression. The server must be compiled with --with-lz4 to support this feature; the default is still pglz.
+This was done by allocating blocks in groups to parallel workers.
-Allow analyze to do page prefetching (Stephen Frost)
+Allow a query referencing multiple foreign tables to perform foreign table scans in parallel (Robert Haas, Kyotaro Horiguchi, Thomas Munro, Etsuro Fujita)
-This is controlled by maintenance_io_concurrency.
+The postgres_fdw supports these type of scans if "async_capable" is set.
-Improve the I/O performance of parallel sequential scans (Thomas Munro, David Rowley)
+Allow analyze to do page prefetching (Stephen Frost)
-This was done by allocating blocks in groups to parallel workers.
+This is controlled by maintenance_io_concurrency.
@@ -931,51+1048,33 @@ Improve the performance of regular expression comparisons (Tom Lane)
-
-
-Speed truncation of small tables during recovery on clusters with a large number of shared buffers (Kirk Jamison)
-
-
-
-
-
-Speed up vacuuming of databases with many relations (Tatsuhito Kasahara)
+Add ability to use LZ4 compression on TOAST data (Dilip Kumar)
-This speeds normalize() and IS NORMALIZED.
+This can be set at the column level, or set as a default via server setting default_toast_compression. The server must be compiled with --with-lz4 to support this feature; the default is still pglz.
@@ -1011,12+1110,14 @@ A query id computed by an extension will also be displayed.
-Add information about the original user name supplied by the client to the output of log_connections (Jacob Champion)
+Add system view pg_backend_memory_contexts to report session memory usage (Atsushi Torikoshi, Fujii Masao)
@@ -1033,27+1134,27 @@ Add function pg_backend_memory_contexts() to output the memory contexts of arbit
-Add per-index information to autovacuum logging output (Masahiko Sawada)
+Improve logging of auto-vacuum and auto-analyze (Stephen Frost, Jakub Wartak)
+
+
+
+This reports I/O timings for auto-vacuum and auto-analyze if track_io_timing is enabled. Also, report buffer read and dirty rates for auto-analyze.
-Improve logging of auto-vacuum and auto-analyze (Stephen Frost, Jakub Wartak)
-
-
-
-This reports I/O timings for auto-vacuum and auto-analyze if track_io_timing is enabled. Also, report buffer read and dirty rates for auto-analyze.
+Add information about the original user name supplied by the client to the output of log_connections (Jacob Champion)
@@ -1068,55+1169,36 @@ This reports I/O timings for auto-vacuum and auto-analyze if track_io_timing is
-
-
-Make the archiver process visible in pg_stat_activity (Kyotaro Horiguchi)
-
-
-
-
-
-Improve pg_stat_activity reporting for walsender processes (Tom Lane)
-
-
-
-Previously only SQL commands were reported.
+Add view pg_stat_progress_copy to report COPY progress (Josef Šimánek, Matthias van de Meent)
-Add view pg_stat_progress_copy to report COPY progress (Josef Šimánek, Matthias van de Meent)
+Add session statistics to the pg_stat_database system view (Laurenz Albe)
-Add system view pg_stat_wal which reports WAL activity (Masahiro Ikeda)
+Add columns to pg_prepared_statements to report generic and custom plan counts (Atsushi Torikoshi, Kyotaro Horiguchi)
@@ -1133,12+1215,16 @@ Add lock wait time to pg_locks (Atsushi Torikoshi)
-Add session statistics to the pg_stat_database system view (Laurenz Albe)
+Add system view pg_stat_wal which reports WAL activity (Masahiro Ikeda)
@@ -1165,25+1251,27 @@ Function pg_stat_reset_replication_slot() resets slot statistics.
-Add system view pg_backend_memory_contexts to report session memory usage (Atsushi Torikoshi, Fujii Masao)
+Improve pg_stat_activity reporting of walsender processes (Tom Lane)
+
+
+
+Previously only SQL commands were reported.
-Add columns to pg_prepared_statements to report generic and custom plan counts (Atsushi Torikoshi, Kyotaro Horiguchi)
+Make the archiver process visible in pg_stat_activity (Kyotaro Horiguchi)
@@ -1236,26+1324,41 @@ The new pg_hba.conf keyword "clientname=DN" allows comparison with certificate a
-Allow passwords of an arbitrary length (Tom Lane, Nathan Bossart)
+Allow pg_hba.conf and pg_ident.conf records to span multiple lines (Fabien Coelho)
+
+
+
+A backslash at the end of a line allows record contents to be continued on the next line.
-Allow pg_hba.conf and pg_ident.conf records to span multiple lines (Fabien Coelho)
+Allow the specification of a certificate revocation list (CRL) directory (Kyotaro Horiguchi)
-A backslash at the end of a line allows record contents to be continued on the next line.
+This is controlled by server variable ssl_crl_dir and libpq connection option sslcrldir. Previously only CRL files could be specified.
+
+
+
+
+
+
+
+Allow passwords of an arbitrary length (Tom Lane, Nathan Bossart)
-Allow standby servers to be rewound via pg_rewind (Heikki Linnakangas)
-
->
+>
+ Logical Replication
+
+>
-Immediately WAL-log subtransaction and top-level XID association (Tomas Vondra, Dilip Kumar, Amit Kapila)
+Enhance the logical replication API to allow streaming large in-progress transactions (Tomas Vondra, Dilip Kumar, Amit Kapila)
-This is useful for logical decoding.
+The output functions begin with "stream". test_decoding also supports these.
-Allow logical replication subscriptions to use binary transfer mode (Dave Cramer)
-
-
-
-This is faster than text mode, but slightly less robust.
+Allow multiple transactions during table sync in logical replication (Peter Smith, Amit Kapila, and Takamichi Osumi)
-Add the replication origin to the record returned by pg_last_committed_xact() (Movead Li)
+Immediately WAL-log subtransaction and top-level XID association (Tomas Vondra, Dilip Kumar, Amit Kapila)
-
-
-
-
-Add function pg_xact_commit_timestamp_origin() to return the commit timestamp and replication origin of the specified transaction (Movead Li)
+This is useful for logical decoding.
-Allow replication origin functions to be controlled using standard function permission controls (Martín Marqués)
+Enhance logical decoding APIs to handle two-phase commits (Ajin Cherian, Amit Kapila, Nikhil Sontakke, Stas Kelvich)
-Previously these functions could only be executed by super-users, and this is still the default.
+This is controlled via pg_create_logical_replication_slot().
@@ -1643,83+1731,57 @@ When logical replication is disabled, WAL invalidation messages are generated at
-
-
-Enhance the logical replication API to allow streaming large in-progress transactions (Tomas Vondra, Dilip Kumar, Amit Kapila)
-
-
-
-The output functions begin with "stream". test_decoding also supports these.
-
-
-
-
-
-Pause recovery if the primary changes its parameters in a way that prevents replay on the hot standby (Peter Eisentraut)
+Allow logical decoding to more efficiently process cache invalidation messages (Dilip Kumar)
-Previously the standby would shut down immediately.
+This allows Logical decoding to work efficiently in presence of a large amount of DDL.
-Enhance logical decoding APIs to handle two-phase commits (Ajin Cherian, Amit Kapila, Nikhil Sontakke, Stas Kelvich)
-
-
-
-This is controlled via pg_create_logical_replication_slot().
+Allow control over whether logical decoding messages are sent to the replication stream (David Pirotte, Euler Taveira)
-Allow logical decoding to more efficiently process cache invalidation messages (Dilip Kumar)
+Allow logical replication subscriptions to use binary transfer mode (Dave Cramer)
-This allows Logical decoding to work efficiently in presence of a large amount of DDL.
+This is faster than text mode, but slightly less robust.
-Add function pg_get_wal_replay_pause_state() to report the recovery state (Dilip Kumar)
-
-
-
-It gives more detailed information than pg_is_wal_replay_paused(), which still exists.
+Allow logical decoding to be filtered by xid (Markus Wanner)
-
+
+
@@ -1731,30+1793,15 @@ It gives more detailed information than pg_is_wal_replay_paused(), which still e
-
-
-Allow the WHERE clause of ON CONFLICT to be table-qualified (Tom Lane)
-
-
-
-Only the target table can be referenced.
-
-
-
-
-
-Allow hash lookup of IN clause with many constants (James Coleman, David Rowley)
+Reduce the number of keywords that can't be used as column labels without "AS" (Mark Dilger)
-Previously the only option was to sequentially scan the list of constants.
+There are now 90% fewer restricted keywords.
@@ -1790,48+1837,48 @@ For example, GROUP BY CUBE (a,b), CUBE (b,c) will generate duplicate grouping co
-Add SQL-standard SEARCH and CYCLE clauses for common table expressions (Peter Eisentraut)
+Properly handle DEFAULT values for columns in multi-column inserts (Dean Rasheed)
-This could be accomplished previously using existing syntax.
+This used to throw an error.
-Properly handle DEFAULT values for columns in multi-column inserts (Dean Rasheed)
+Add SQL-standard SEARCH and CYCLE clauses for common table expressions (Peter Eisentraut)
-This used to throw an error.
+This could be accomplished previously using existing syntax.
-Reduce the number of keywords that can't be used as column labels without "AS" (Mark Dilger)
+Allow the WHERE clause of ON CONFLICT to be table-qualified (Tom Lane)
-There are now 90% fewer restricted keywords.
+Only the target table can be referenced.
@@ -1844,51+1891,6 @@ There are now 90% fewer restricted keywords.
-
-
-
-
-Allow TRUNCATE to operate on foreign tables (Kazutaka Onishi, Kohei KaiGai)
-
-
-
-The postgres_fdw module also now supports this.
-
-
-
-
-
-
-
-Allow publications to be more easily added and removed (Japin Li)
-
-
-
-The new syntax is ALTER SUBSCRIPTION ... ADD/DROP PUBLICATION. This avoids having to specify all publications to add/remove entries.
-
-
-
-
-
-
-
-Allow control over whether foreign servers keep connections open after transaction completion (Bharath Rupireddy)
-
-
-
-This is controlled by keep_connections and defaults to on.
-
-
-
-Add ability to skip vacuuming of TOAST tables (Nathan Bossart)
+Allow REINDEX to change the tablespace of the new index (Alexey Kondratov, Michael Paquier, Justin Pryzby)
-VACUUM now has a PROCESS_TOAST which can be set to false to disable TOAST processing, and vacuumdb has a --no-process-toast option.
+This is done by specifying a TABLESPACE clause.
-Allow REINDEX to change the tablespace of the new index (Alexey Kondratov, Michael Paquier, Justin Pryzby)
+Allow REINDEX to process all child tables or indexes of a partitioned relation (Justin Pryzby, Michael Paquier)
+
+
+
+
-This is done by specifying a TABLESPACE clause.
+Improve the performance of COPY FROM in binary mode (Bharath Rupireddy, Amit Langote)
-Add primary keys, unique constraints, and foreign keys to system catalogs (Peter Eisentraut)
+Preserve SQL standard syntax in view definitions, if possible (Tom Lane)
-This helps GUI tools analyze the system tables.
+Previously non-function call SQL standard syntax, e.g. EXTRACT, were converted to non-SQL standard function calls.
@@ -1960,79+1967,89 @@ Add the SQL-standard clause GRANTED BY to GRANT and REVOKE (Peter Eisentraut)
-Fix EXPLAIN CREATE TABLE AS and EXPLAIN CREATE MATERIALIZED VIEW to honor IF NOT EXISTS (Bharath Rupireddy)
+Add OR REPLACE for CREATE TRIGGER (Takamichi Osumi)
-Previously, if the object already exists, EXPLAIN would fail.
+This allows pre-existing triggers to be conditionally replaced.
-Add OR REPLACE for CREATE TRIGGER (Takamichi Osumi)
+Allow control over whether foreign servers keep connections open after transaction completion (Bharath Rupireddy)
-This allows pre-existing triggers to be conditionally replaced.
+This is controlled by keep_connections and defaults to on.
-Preserve SQL standard syntax in view definitions, if possible (Tom Lane)
+Allow TRUNCATE to operate on foreign tables (Kazutaka Onishi, Kohei KaiGai)
-Previously non-function call SQL standard syntax, e.g. EXTRACT, were converted to non-SQL standard function calls.
+The postgres_fdw module also now supports this.
-Allow CURRENT_ROLE every place CURRENT_USER is accepted (Peter Eisentraut)
+Allow publications to be more easily added and removed (Japin Li)
+
+
+
+The new syntax is ALTER SUBSCRIPTION ... ADD/DROP PUBLICATION. This avoids having to specify all publications to add/remove entries.
-Allow REINDEX to process all child tables or indexes of a partitioned relation (Justin Pryzby, Michael Paquier)
+Add primary keys, unique constraints, and foreign keys to system catalogs (Peter Eisentraut)
+
+
+
+This helps GUI tools analyze the system tables.
-Improve the performance of COPY FROM in binary mode (Bharath Rupireddy, Amit Langote)
+Allow CURRENT_ROLE every place CURRENT_USER is accepted (Peter Eisentraut)
@@ -2045,17+2062,6 @@ Improve the performance of COPY FROM in binary mode (Bharath Rupireddy, Amit Lan
-
-
-
-
-Create composite array types for most system relations (Wenjing Zeng)
-
-
-
-Improve the accuracy of floating point computations involving infinity (Tom Lane)
+Add support for the stemming of languages Armenian, Basque, Catalan, Hindi, Serbian, and Yiddish (Peter Eisentraut)
@@ -2136,37+2145,11 @@ Floating point data types already supported these.
-
-
-Allow binary data transfer to be more forgiving of array and record OID mismatches (Tom Lane)
-
-
-
-
-
-
-
-Add operators to add and subtract LSN and numeric (byte) values (Fujii Masao)
-
-
-
-
-
-Add support for the stemming of languages Armenian, Basque, Catalan, Hindi, Serbian, and Yiddish (Peter Eisentraut)
+Improve the accuracy of floating point computations involving infinity (Tom Lane)
@@ -2200,45+2183,48 @@ Previously this returned an error. Division with Numerics always returned NaN.
-
-
-
-
-
- Functions
-
-
-
-Change pg_describe_object(), pg_identify_object(), and pg_identify_object_as_address() to always report helpful error messages for non-existent objects (Michael Paquier)
+Add operators to add and subtract LSN and numeric (byte) values (Fujii Masao)
-Cause exp() and power() for negative-infinity exponents to return zero (Tom Lane)
+Allow binary data transfer to be more forgiving of array and record OID mismatches (Tom Lane)
+
+
+
+
-Previously they often returned underflow errors.
+Create composite array types for most system relations (Wenjing Zeng)
+
+
+
+
+
+ Functions
+
+
+
-Add unistr() function to allow Unicode characters to be specified as backslash-hex escapes in strings (Pavel Stehule)
-
-
-
-This is similar to how Unicode can be specified in literal string.
+Allow procedures to have OUT parameters (Peter Eisentraut)
-Add date_bin function (John Naylor)
+Allow subscripting of JSONB and simplify the implementation of subscripting (Dmitry Dolgov)
-The function date_bin "bins" the input timestamp into a specified interval aligned with a specified origin.
+JSONB subscripting can be used to extract from and assign to JSONB documents. Extensions and built-in data types can now implement subscripting more easily.
-Add function bit_count() to return the number of bits set in a bit or byte string (David Fetter)
+Allow some array functions to operate on a mix of compatible data types (Tom Lane)
+
+
+
+The functions are array_append() array_prepend(), array_cat(), array_position(), array_positions(), array_remove(), array_replace(), and width_bucket(). Previously only identical data types could be used.
-Mark pg_stat_get_subscription() as returning a set (Tom Lane)
+Add SQL-standard trim_array() function (Vik Fearing)
-While it worked in previous releases, it didn't report proper optimizer statistics and couldn't be used in the target list.
+This can already be done with array slices.
-Add bit_xor XOR aggregate function (Alexey Bashtanov)
+Add bytea equivalents of ltrim() and rtrim() (Joel Jacobson)
-Add SQL-standard trim_array() function (Vik Fearing)
+Support negative indexes in split_part() (Nikhil Benesch)
-This can already be done with array slices.
+Negative values start from the last field and count backward.
-Allow efficient heap scanning of a range of tids (Edmund Horner, David Rowley)
+A string_to_table() function to split a string on delimiters (Pavel Stehule)
-Previously a sequential scan was required for non-equality tid specifications.
+This is similar to the regexp_split_to_table() function.
-Add [[:word:]] as a character class to match \w (Tom Lane)
+Add unistr() function to allow Unicode characters to be specified as backslash-hex escapes in strings (Pavel Stehule)
+
+
+
+This is similar to how Unicode can be specified in literal string.
-Allow complemented character class escapes \D, \S, and \W within regex brackets (Tom Lane)
+Add bit_xor XOR aggregate function (Alexey Bashtanov)
-
-
-Allow subscripting of JSONB and simplify the implementation of subscripting (Dmitry Dolgov)
-
+Author: Peter Eisentraut
+2021-03-23 [a6715af1e] Add bit_count SQL function
+-->
-JSONB subscripting can be used to extract from and assign to JSONB documents. Extensions and built-in data types can now implement subscripting more easily.
+Add function bit_count() to return the number of bits set in a bit or byte string (David Fetter)
-Add bytea equivalents of ltrim() and rtrim() (Joel Jacobson)
+Add date_bin function (John Naylor)
+
+
+
+The function date_bin "bins" the input timestamp into a specified interval aligned with a specified origin.
-Prevent inet_server_addr() and inet_server_port() from being run by parallel workers (Masahiko Sawada)
+Allow make_timestamp/make_timestamptz to accept negative years (Peter Eisentraut)
+
+
+
+They are interpreted as BC years.
-Support negative indexes in split_part() (Nikhil Benesch)
-Negative values start from the last field and count backward.
+The new syntax is SUBSTRING(text SIMILAR pattern ESCAPE escapechar). The previous standard syntax was SUBSTRING(text FROM pattern FOR escapechar), and is still supported by Postgres.
-Allow some array functions to operate on a mix of compatible data types (Tom Lane)
-
-
-
-The functions are array_append() array_prepend(), array_cat(), array_position(), array_positions(), array_remove(), array_replace(), and width_bucket(). Previously only identical data types could be used.
+Allow complemented character class escapes \D, \S, and \W within regex brackets (Tom Lane)
-Allow more flexible data types for default values of lead() and lag() window functions (Vik Fearing)
+Add [[:word:]] as a character class to match \w (Tom Lane)
-Allow procedures to have OUT parameters (Peter Eisentraut)
+Allow more flexible data types for default values of lead() and lag() window functions (Vik Fearing)
-Allow make_timestamp/make_timestamptz to accept negative years (Peter Eisentraut)
+Cause exp() and power() for negative-infinity exponents to return zero (Tom Lane)
-They are interpreted as BC years.
+Previously they often returned underflow errors.
-A string_to_table() function to split a string on delimiters (Pavel Stehule)
+Mark built-in type coercion functions as leakproof where possible (Tom Lane)
-This is similar to the regexp_split_to_table() function.
+This allows more use of functions that require type conversion in security-sensitive situations.
-Mark built-in type coercion functions as leakproof where possible (Tom Lane)
+Mark pg_stat_get_subscription() as returning a set (Tom Lane)
-This allows more use of functions that require type conversion in security-sensitive situations.
+While it worked in previous releases, it didn't report proper optimizer statistics and couldn't be used in the target list.
+Prevent inet_server_addr() and inet_server_port() from being run by parallel workers (Masahiko Sawada)
+
+
+
+
-The new syntax is SUBSTRING(text SIMILAR pattern ESCAPE escapechar). The previous standard syntax was SUBSTRING(text FROM pattern FOR escapechar), and is still supported by Postgres.
+Change pg_describe_object(), pg_identify_object(), and pg_identify_object_as_address() to always report helpful error messages for non-existent objects (Michael Paquier)
@@ -2542,37+2543,37 @@ The new syntax is SUBSTRING(text SIMILAR pattern ESCAPE escapechar). The previo
-Improve performance of repeated CALLs within plpgsql procedures (Pavel Stehule, Tom Lane)
+Improve PL/pgSQL's expression and assignment parsing (Tom Lane)
+
+
+
+This adds nested record and array slicing support.
-Improve PL/pgSQL's expression and assignment parsing (Tom Lane)
-
-
-
-This adds nested record and array slicing support.
+Allow plpgsql's RETURN QUERY to execute its query using parallelism (Tom Lane)
-Allow plpgsql's RETURN QUERY to execute its query using parallelism (Tom Lane)
+Improve performance of repeated CALLs within plpgsql procedures (Pavel Stehule, Tom Lane)
@@ -2588,73+2589,73 @@ Allow plpgsql's RETURN QUERY to execute its query using parallelism (Tom Lane)
-Improve the output format of libpq's PQtrace() (Aya Iwata)