+ A
llow
+ linkend="functions-aggregate-table">string_agg()>
+ to process bytea> values (Pavel Stehule)
- Allow per-column foreign data wrapper options and
- force_not_null> (Shigeru Hanada)
+ Fix regular expressions in which a back-reference occurs within
+ a larger quantified subexpression (Tom Lane)
- This allows
SQL specification of per-column
- information useful to foreign data sources. Includes
-
psql> option display support.
-
-
-
-
- Improve pretty printing of view definitions (Andrew Dunstan)
+ For example, ^(\w+)( \1)+$>. Previous releases did not
+ check that the back-reference actually matched the first occurrence.
- >
+ >
- >
-
Information Schema
+ >
+
Information Schema
- Add information_schema> views
+ Add information schema views
role_udt_grants>, udt_privileges>,
and user_defined_types> (Peter Eisentraut)
Add composite-type attributes to the
- information_schema>.name>element_types> view
+ information schema name>element_types> view
(Peter Eisentraut)
- Implement information schema interval_type> columns
- (Peter Eisentraut)
+ Implement interval_type> columns in the information
+ schema (Peter Eisentraut)
-
-
- Add collation columns to various information schema views (Peter
- Eisentraut)
+ Formerly these columns read as nulls.
+
+
- Specifically, provide collation columns for views referencing
- attributes, columns, domains, and element_types>.
+ Implement collation-related columns in the information schema
+ attributes>, columns>,
+ domains>, and element_types>
+ views (Peter Eisentraut)
- Add display of sequence USAGE> privileges to information
- schema (Peter Eisentraut)
+ Implement the with_hierarchy> column in the
+ information schema table_privileges> view (Peter
+ Eisentraut)
- Add a with_hierarchy> column to the information schema
- privileges display (Peter Eisentraut)
+ Add display of sequence USAGE> privileges to information
+ schema (Peter Eisentraut)
- Have the information schema show default privileges (Peter
+ Make the information schema show default privileges (Peter
Eisentraut)
- Previously, default permissions generated NULL> fields.
- (WAS IT NULL?)
+ Previously, non-empty default permissions were not represented in the
+ views.
-
-
- Improve performance and memory consumption of the PL/pgSQL
+ Improve performance and memory consumption for long chains of
ELSIF> clauses (Tom Lane)
- Specifically, this adds result object functions .colnames,
- .coltypes, and .coltypmods.
+ Specifically, this adds result object functions
+ .colnames, .coltypes, and
+ .coltypmods.
- To use this, simply name the function arguments and reference
+ To use this, simply name the function arguments and then reference
the argument names in the
SQL function body.
- This allows individual control of local> and
+ This allows separate control of local> and
host> pg_hba.conf authentication
settings.
Give command-line tools the ability to specify the name of the
- database to connect to, and fall back to <varname>template1>
+ database to connect to, and fall back to <literal>template1>
if a postgres> database connection fails (Robert Haas)
- Add
psql> mode to auto-expand output based on the
+ Add a display mode to auto-expand output based on the
display width (Peter Eisentraut)
- Allow inclusion of
psql> files relative to the
- directory of the input file from which it was invoked (Gurjeet
- Singh)
+ Allow inclusion of a script file relative to the directory of the
+ file from which it was invoked (Gurjeet Singh)
- Th
e psql> command is \ir>.
+ This is done with a new command \ir>.
psql> already supported minor-version-specific
- .psqlrc>
- files.
+ .psqlrc> files.
Specifically, PSQL_HISTORY and
- PSQLRC.
+ PSQLRC determine these file names if set.
- Add a
psql> \setenv> command to modify
- the environment variables used by child processes (Andrew Dunstan)
-
-
- This is useful in .psqlrc> files.
+ Add a \setenv> command to modify
+ the environment variables passed to child processes (Andrew Dunstan)
-
Have psql> temporary editor files use a
+
Make psql>'s temporary editor files use a
.sql> extension (Peter Eisentraut)
+
+ This allows extension-sensitive editors to select the right mode.
+
- Allow
s psql> to use zero-byte field and record
+ Allow
psql> to use zero-byte field and record
separators (Peter Eisentraut)
- Various shell tools use zero/null-byte separators, e.g. find.
+ Various shell tools use zero-byte (NUL) separators, e.g. find.
-
Have psql> \timing> report times for
+ Make the \timing> option report times for
failed queries (Magnus Hagander)
- Previously only successful query times were reported.
+ Previously times were reported only for successful queries.
- Unify and tighten
psql> treatment of \copy>
- and plain COPY> (Noah Misch)
+ Unify and tighten
psql>'s treatment of \copy>
+ and SQL COPY> (Noah Misch)
- This makes failure behavior more predictable and honors \set
- ON_ERROR_ROLLBACK>.
+ This fix makes failure behavior more predictable and honors
+ \set ON_ERROR_ROLLBACK>.
- Make <application>psql> <command>\d> on a sequence show the
+ Make \d> on a sequence show the
table/column name owning it (Magnus Hagander)
- Show statistics target for columns in <application>psql>
- \d+> (Magnus Hagander)
+ Show statistics target for columns in <command>\d+> (Magnus
+ Hagander)
- Show role password expiration dates in <application>psql>
- \du> (Fabrízio de Royes Mello)
+ Show role password expiration dates in <command>\du>
+ (Fabrízio de Royes Mello)
-
-
-
-
-
Comments
-
-
- Allow
psql> to display comments for languages and
- casts (Josh Kupershmidt)
+ Display comments for casts, conversions, domains, and languages
+ (Josh Kupershmidt)
- These are output via \dL> and \dC>.
+ These are included in the output of \dC+>,
+ \dc+>, \dD+>, and \dL> respectively.
- Allow
psql> to display comments for conversions
- and domains (Josh Kupershmidt)
+ Display comments for
SQL/
MED
+ objects (Josh Kupershmidt)
- This is accomplished with the addition of +> to
- \dc> and \dD> commands.
+ These are included in the output of \des+>,
+ \det+>, and \dew+> for foreign servers, foreign
+ tables, and foreign data wrappers respectively.
- Allow
psql> to display the comments on
-
SQL/
MED objects in verbose
- mode (Josh Kupershmidt)
-
-
-
-
- Change
psql>'s \dd> command to display
- only objects without their own backslash command (Josh Kupershmidt)
+ Change \dd> to display comments only for object types
+ without their own backslash command (Josh Kupershmidt)
-
-
- In
psql> tab completion,
- complete
SQL keywords based on
- COMP_KEYWORD_CASE> setting and the perhaps case of
- the partially-supplied word (Peter Eisentraut)
+ In
psql> tab completion, complete SQL>
+ keywords in either upper or lower case according to the new
+ linkend="APP-PSQL-variables">COMP_KEYWORD_CASE>
+ setting (Peter Eisentraut)
- Add
psql> tab completion support for
+ Add tab completion support for
EXECUTE (Andreas Karlsson)
- Change
psql> tab completion support for
- TABLE to also display views (Magnus Hagander)
+ Change tab completion support for
+ TABLE to also include views (Magnus Hagander)
Valid values are pre-data>, data>,
and post-data>. The option can be
- given more than once.
- is equivalent to --section=pre-data
- --section=post-data>.
- --section=data>.
+ given more than once to select two or more sections.
-
Have
+
Make
linkend="APP-PG-DUMPALL">
pg_dumpall> dump all
roles first, then all configuration settings on roles (Phil Sorber)
- This allows a role's configuration settings to rely on other
+ This allows a role's configuration settings to mention other
roles without generating an error.
- Add
URIs support to libpq connection functions
- (Alexander Shulgin)
+ Allow connection strings to have the format of a
+ linkend="libpq-connstring">
URI (Alexander
+ Shulgin)
- The syntax begins with postgres://>.
+ The syntax begins with postgres://>. This can allow
+ applications to avoid implementing their own parser for URIs
+ representing database connections.
- Add a libpq connection
+ Add a connection
option to disable
SSL compression
(Laurenz Albe)
Add a single-row processing
- mode to libpq for better handling of large result sets
+ mode for better handling of large result sets
(Kyotaro Horiguchi, Marko Kreen)
- Previously, libpq always collected the entire query result in memory
- before passing it back to the application.
+ Previously,
libpq> always collected the entire query
+ result in memory before passing it back to the application.
- Enhance const> qualifiers in the libpq functions
- PQconnectdbParams, PQconnectStartParams, and PQpingParams (Lionel
- Elie Mamane)
+ Add const> qualifiers to the declarations of the functions
+ PQconnectdbParams>, PQconnectStartParams>,
+ and PQpingParams> (Lionel Elie Mamane)
- Allow libpq's .pgpass> file to process escaped characters
+ Allow the .pgpass> file to include escaped characters
in the password field (Robert Haas)
- Have library functions use abort()> instead of
- exit()> to terminate the executable (Peter Eisentraut)
+ Make library functions use abort()> instead of
+ exit()> when it is necessary to terminate the process
+ (Peter Eisentraut)
- This does not interfere with the normal exit codes used by the
+ This choice does not interfere with the normal exit codes used by the
program, and generates a signal that can be caught by the caller.
-
- Fix a libpq memory leak by freeing client encoding connection
- parameters (Peter Eisentraut)
-
-
-
- The following platforms are no longer considered supported: dgux,
+ The following platforms are no longer supported: dgux,
nextstep, sunos4, svr4, ultrix4, univel, bsdi.
Improve the concurrent transaction regression tests
- (isolationtester) (Noah Misch)
+ (
isolationtester>) (Noah Misch)
Modify
thread_test> to create its test files in
- the current directory, rather than /tmp (Bruce Momjian)
+ the current directory, rather than /tmp> (Bruce Momjian)
- Add tcn (triggered change notification)
- to generate NOTIFY events on table changes
- (Kevin Grittner)
+ Support
force_not_null> option in
+ linkend="file-fdw">file_fdw (Shigeru Hanada)
-
- Have vacuumlo remove large objects
- in batches, to reduce locking (Tim Lewis, Tom Lane)
-
-
- The new
- objects removed per transaction.
-
-
-
Change
+
+ Add a tcn (triggered change notification)
+ module to generate NOTIFY events on table changes
+ (Kevin Grittner)
+
+
+
- Allow
pg_upgrade> to upgrade an old cluster that
- does not have a postgres> database (Bruce Momjian)
+ Adjust
pg_upgrade> environment variables (Bruce
+ Momjian)
+
+
+ Rename data, bin, and port environment
+ variables to begin with PG>, and support
+ PGPORTOLD/PGPORTNEW, to replace
+ PGPORT.
- Allow
pg_upgrade> to handle cases where some
- old or new databases are missing, as long as they are empty
+ Overhaul
pg_upgrade> logging and failure reporting
(Bruce Momjian)
-
-
- Allow
pg_upgrade> to handle configuration-only
- directory installations (Bruce Momjian)
+ Create four append-only log files, and delete them on success.
+ Add
+ retain these files. Also remove
pg_upgrade> options
+
+ and tighten log file permissions.
- In
pg_upgrade>, add
- options to pass parameters to the servers (Bruce Momjian)
+ Make
pg_upgrade> create a script to incrementally
+ generate more accurate optimizer statistics (Bruce Momjian)
- This is useful for configuration-only directory installs.
+ This reduces the time needed to generate minimal cluster statistics
+ after an upgrade.
- Change
pg_upgrade> to use port 50432 by default
- (Bruce Momjian)
-
-
- This helps avoid unintended client connections during the upgrade.
+ Allow
pg_upgrade> to upgrade an old cluster that
+ does not have a postgres> database (Bruce Momjian)
- Overhaul
pg_upgrade> logging and failure reporting
+ Allow
pg_upgrade> to handle cases where some
+ old or new databases are missing, as long as they are empty
(Bruce Momjian)
+
+
- Create four append-only log files, and delete them on success.
- Add
- retain these files. Also remove
pg_upgrade> options
-
- and tighten log file permissions.
+ Allow
pg_upgrade> to handle configuration-only
+ directory installations (Bruce Momjian)
- Adjust
pg_upgrade> environment variables (Bruce
- Momjian)
+ In
pg_upgrade>, add
+ options to pass parameters to the servers (Bruce Momjian)
- Rename data, bin, and port environment
- variables to begin with PG>, and support
- PGPORTOLD/PGPORTNEW, to replace
- PGPORT. INCOMPATIBILITY?
+ This is useful for configuration-only directory installs.
- Have
pg_upgrade> create a script to incrementally
- generate more accurate optimizer statistics (Bruce Momjian)
+ Change
pg_upgrade> to use port 50432 by default
+ (Bruce Momjian)
- This reduces the time needed to generate minimal cluster statistics
- after an upgrade.
+ This helps avoid unintended client connections during the upgrade.
Allow
pg_stat_statements> to aggregate similar
- queries via SQL text normalisation (Peter Geoghegan, Tom Lane)
+ queries via SQL text normalization (Peter Geoghegan, Tom Lane)
Users with applications that use non-parameterized SQL will now
- be able to monitor query performance without using log file
- analysis.
+ be able to monitor query performance without detailed log analysis.
- Specifically, add SECURITY LABEL>s to databases,
+ Specifically, add security labels to databases,
tablespaces, and roles.
- Add a rule to optionally build docs with the stylesheet from the
- website (Magnus Hagander)
+ Add a rule to optionally build HTML documentation using the
+ stylesheet from the website (Magnus Hagander)
- Use make STYLE=website draft>.
+ Use gmake STYLE=website draft>.
-
- Improve the foreign data wrapper
API and
- documentation (Hanada Shigeru)
-
-
-
Document the actual string returned by the client for MD5