PROCEDURE command and invoked via
- linkend="sql-call">CALL . The new
- ALTER /DROP ROUTINE commands
- allows altering/dropping of procedures, functions, and aggregates.
+ linkend="sql-call">CALL .
+
+
+ The new ALTER /DROP ROUTINE
+ commands allow altering/dropping of all routine-like objects,
+ including procedures, functions, and aggregates.
+
+
+ Also, writing FUNCTION is now preferred
+ over writing PROCEDURE in CREATE
+ OPERATOR and CREATE TRIGGER , because the
+ referenced object must be a function not a procedure. However, the
+ old syntax is still accepted for compatibility.
- Transaction control is only available to top-transaction-level
- CALL s or in nested PL/pgSQL DO and
- CALL blocks that only contain other PL/pgSQL
+ Transaction control is only available within top-transaction-level
+ procedures and nested DO and
+ CALL blocks that only contain other
DO and CALL blocks.
-->
- Add the ability to define PL/pgSQL record types as not null,
- constant, or with initial values (Tom Lane)
+ Add the ability to define PL/pgSQL composite-type variables as not
+ null, constant, or with initial values (Tom Lane)
-->
- Add extension <application>jsonb_plpython> to
- transform JSONB to/from PL/Python types (Anthony
+ Add extension <filename>jsonb_plpython> to
+ transform JSONB to/from PL/Python types (Anthony
Bykov)
-->
- Add extension <application>jsonb_plperl> to transform
- JSONB to/from PL/Perl types (Anthony Bykov)
+ Add extension <filename>jsonb_plperl> to transform
+ JSONB to/from PL/Perl types (Anthony Bykov)
- Compression is already disabled in modern OpenSSL versions and
- the libpq setting had no effect in that case .
+ Compression is already disabled in modern OpenSSL versions, so that
+ the libpq setting had no effect with such libraries .
-->
- Add DO CONTINUE action to the ECPG
- WHENEVER statement (Vinayak Pokale)
+ Add DO CONTINUE option
+ statement (Vinayak Pokale)
- This generates a C 'continue' statement, causing a return to the
- top of the contained loop when the specified condition occurs.
+ This generates a C continue statement, causing a
+ return to the top of the contained loop when the specified condition
+ occurs.
-->
- Add ecpg mode to enable Oracle Pro*C handling of char arrays.
+ Add an
ecpg mode to enable Oracle
+ Pro*C-style handling of char arrays.
-->
- Add
psql command \gdesc to display
- the column names and types of the query output (Pavel Stehule)
+ Add
psql command
\gdesc
+ to display the column names and types of the query output (Pavel
+ Stehule)
- Specifically , the syntax :{?variable_name}
- allows a variable's existence to be tested in an \if statement.
+ Specifically, the syntax :{?variable_name} allows
+ a variable's existence to be tested in an \if
+ statement.
-->
- Add PSQL_PAGER to control
+ Allow environment variable PSQL_PAGER to control
psql 's pager (Pavel Stehule)
-->
- Have psql \d+ always show the partition information (Amit Langote,
- Ashutosh Bapat)
+ Make psql's \d+ command always show the table's
+ partitioning information (Amit Langote, Ashutosh Bapat)
-->
- Have
psql report the proper user name
- before the password prompt (Tom Lane)
+ Ensure that
psql reports the proper user
+ name when prompting for a password (Tom Lane)
Allow quit and exit to
- exit
psql when
used in an empty buffer
+ exit
psql when
given with no prior input
(Bruce Momjian)
- Also add hints of how to exit when quit and
- exit are used alone on a line in a non-empty
- buffer. Add a similar hint for help .
+ Also print hints about how to exit when quit and
+ exit are used alone on a line while the input
+ buffer is not empty . Add a similar hint for help .
-->
-
Hav e
psql hint at using control-D
+
Mak e
psql hint at using control-D
when \q is entered alone on a line but ignored
(Bruce Momjian)
-->
- Improve tab- completion for ALTER INDEX
+ Improve tab completion for ALTER INDEX
RESET/SET (Masahiko Sawada)
Add infrastructure to allow
psql
- to customize tab completion queries based on the server version
+ to adapt its tab completion queries based on the server version
(Tom Lane)
- Previously tab completion queries could fail.
+ Previously tab completion queries could fail against older servers .
-->
- Add
pgbench expression
s support for
+ Add
pgbench expression support for
NULLs, booleans, and some functions and operators (Fabien Coelho)
-->
- Add an approximated Zipfian-distributed random generator to
+ Add an approximately Zipfian-distributed random generator to
- This is accomplished with the initdb
- --allow-group-access flag . Administrators
+ This is accomplished with the new initdb option
+ --allow-group-access . Administrators
can also set group permissions on the empty data
directory before running initdb. Server variable
linkend="guc-data-directory">data_directory_mode
- This was originally unsupported due to concerns over its misuse.
+ This was previously unsupported due to concerns over possible misuse.
- --encoding to control encoding (Michael Paquier)
+ --encoding to control output encoding
+ (Michael Paquier)
--load-via-partition-root to force loading of
data into the partition's root table, rather than the original
- partitions
-(Rushabh Lathia)
+ partition (Rushabh Lathia)
- This is useful if the system to be loaded has different collation
- definitions or endianness, requiring the rows to be stored in
- different partitions.
+ This is useful if the system to be loaded to has different collation
+ definitions or endianness, possibly requiring rows to be stored in
+ different partitions than previously .
-->
- Add an option to suppress dumping and restoring comments
- (Robins Tharakan)
+ Add an option to suppress dumping and restoring database object
+ comments (Robins Tharakan)
-
- Add support for large pages on Windows
- (Takayuki Tsunakawa, Thomas Munro )
+ Add
PGXS support for installing include
+ files (Andrew Gierth )
- This is controlled by the
- linkend="guc-huge-pages">huge_pages configuration
- parameter.
+ This supports creating extension modules that depend on other
+ modules. Formerly there was no easy way for the dependent module to
+ find the referenced one's include files. Several
+ existing contrib modules that define data types
+ have been adjusted to install relevant files. Also, PL/Perl and
+ PL/Python now install their include files, to support creation of
+ transform modules for those languages.
- Add support for
ARMv8 hardware
-
CRC calculations (Yuqi Gu, Heikki
- Linnakangas, Thomas Munro)
+ Install errcodes.txt to allow extensions to access
+ the list of error codes known to
PostgreSQL
+ ( Thomas Munro)
+
+ Overhaul the way that initial system catalog contents are defined
+ (John Naylor)
+
+
+ The initial data is now represented in Perl data structures, making
+ it much easier to manipulate mechanically.
+
+
+
+
+
+
+ Prevent extensions from creating custom server parameters that
+ take a quoted list of values (Tom Lane)
+
+
+ This cannot be supported at present because knowledge of the
+ parameter's property would be required even before the extension is
+ loaded.
+
+
+
+
+
- Overhaul the way system tables are defined for bootstrap use
- (John Naylo r)
+ Allow background workers to attach to databases that normally
+ disallow connections (Magnus Hagande r)
- Allow background workers to attach to databases that normally
- disallow connections (Magnus Hagander)
+ Add support for hardware
CRC calculations
+ on
ARMv8 (Yuqi Gu, Heikki Linnakangas,
+ Thomas Munro)
-->
- Speed up lookups of built-in function names matching OIDs (Andres
- Freund)
+ Speed up lookups of built-in functions by OID (Andres Freund)
- The previous binary search now uses a lookup array.
+ The previous binary search has been replaced by a lookup array.
-->
- Improve access speed to system caches (Andres Freund)
+ Improve speed of access to system caches (Andres Freund)
Make the computation of system column
pg_class .reltuples
- consistent (Tomas Vondra)
+ more consistent (Tomas Vondra)
Allow extension
- linkend="pgprewarm"><application>pg_prewarm>
+ linkend="pgprewarm"><filename>pg_prewarm>
to restore the previous shared buffer contents on startup (Mithun
Cy, Robert Haas)
- This is accomplished by having
-
pg_prewarm store the shared buffer
- relation/offset values to disk occasionally during server operation
- and shutdown.
+ This is accomplished by having pg_prewarm store
+ the shared buffers' relation and block number data to disk
+ occasionally during server operation, and at shutdown.
-->
- Add <application>pg_trgm>
+ Add <filename>pg_trgm>
function strict_word_similarity() to compute
the similarity of whole words (Alexander Korotkov)
-->
- Allow creation of indexes on
- linkend="citext">
citext extension
- columns that can be used by LIKE compariso ns
+ Allow creation of indexes that can be used by LIKE
+ comparisons
+ on citext colum ns
(Alexey Chernyshov)
- Specifically, indexes must be created using the
+ To do this, the index must be created using the
citext_pattern_ops operator class.
Allow
- linkend="btree-gin"><application>btree_gin>
+ linkend="btree-gin"><filename>btree_gin>
to index bool , bpchar , name
and uuid data types (Matheus Oliveira)
-->
- Allow <application>cube>
- and <application>seg>
- extensions using GiST indexes to perform index-only scan s
+ Allow <filename>cube>
+ and <filename>seg>
+ extensions to perform index-only scans using GiST indexe s
(Andrey Borodin)
-->
- Allow retrieval of negative cube coordinates using the ~>
- operator (Alexander Korotkov)
+ Allow retrieval of negative cube coordinates using
+ the ~> operator (Alexander Korotkov)
-->
- Add Vietnamese letter
detection to the
- linkend="unaccent"><application>unaccent>
+ Add Vietnamese letter
handling to the
+ linkend="unaccent"><filename>unaccent>
extension (Dang Minh Huong, Michael Paquier)
Enhance
- linkend="amcheck"><application>amcheck>
+ linkend="amcheck"><filename>amcheck>
to check that each heap tuple has an index entry (Peter Geoghegan)
Have
- linkend="adminpack"><application>adminpack>
+ linkend="adminpack"><filename>adminpack>
use the new default file system access roles (Stephen Frost)
- Previously only superusers could call adminpack functions;
- now role permissions are checked.
+ Previously only superusers could call adminpack
+ functions; now role permissions are checked.
-->
- Increase pg_stat_statement 's query id
+ Widen pg_stat_statement 's query ID
to 64 bits (Robert Haas)
- This greatly reduces the chance of query id hash collisions.
- The query id can now potentially display as a negative value.
-
-
-
-
-
-
- Install errcodes.txt to provide access to
- the error codes reported by
PostgreSQL
- (Thomas Munro)
-
-
-
-
-
-
- Prevent extensions from creating custom server variables that
- take a quoted list of values (Tom Lane)
-
-
- This was never intended to be supported.
+ This greatly reduces the chance of query ID hash collisions.
+ The query ID can now potentially display as a negative value.
-->
- Remove contrib/start-scripts/osx since they
- are no longer recommended (Tom Lane)
+ Remove the contrib/start-scripts/osx scripts
+ since they are no longer recommended
+ (use contrib/start-scripts/macos instead)
+ (Tom Lane)
-->
- Remove extension chkpass (Peter Eisentraut)
+ Remove the chkpass extension (Peter Eisentraut)
- This extension no longer served as a usable security tool or
- example of how to write an extension.
+ This extension is no longer considered to be a usable security tool
+ or example of how to write an extension.