- Add relation option
- linkend="SQL-CREATETABLE-storage-parameters">user_catalog_table>
- to identify user-created tables involved in logical change-set
- encoding (Andres Freund)
+ Add module to illustrate logical
+ decoding at the
SQL> level (Andres Freund)
-
- Add ROWS
- FROM()> syntax to allow horizontal concatenation of
- set-returning functions in the FROM>-clause (Andrew Gierth)
-
-
-
Add WITH
ORDINALITY> syntax to number rows returned from
- FROM>-clause functions (Andrew Gierth, David Fetter)
+ set-returning functions in the FROM> clause
+ (Andrew Gierth, David Fetter)
- Allow SELECT> with
+ Add ROWS
+ FROM()> syntax to allow horizontal concatenation of
+ set-returning functions in the FROM> clause (Andrew Gierth)
+
+
+
+
+ Allow to have
an empty target list (Tom Lane)
- This was added so views that select from a table with zero columns
- can be dump ed correctly.
+ This was added so that views that select from a table with zero
+ columns can be dumped and restor ed correctly.
Add DISCARD
- SEQUENCES> command to discard cached sequence information
+ SEQUENCES> command to discard cached sequence-related state
(Fabrízio de Royes Mello, Robert Haas)
- Add FORCE NULL> option
- to COPY FROM> which causes
- quoted strings matching the null string to be converted to NULL in
- CSV> mode (Ian Barwick, Michael Paquier)
+ Add FORCE NULL> option
+ to COPY FROM>, which
+ causes quoted strings matching the specified null string to be
+ converted to NULLs in CSV> mode (Ian Barwick, Michael
+ Paquier)
- Previously only unquoted matching strings would be imported
+ Without this option, only unquoted matching strings will be imported
as null values.
Issue warnings for commands used outside of transaction blocks
- because they have no effect (Bruce Momjian)
+ when they can have no effect (Bruce Momjian)
- The cases are >SET
- LOCAL>, <literal>SET CONSTRAINTS>, >SET TRANSACTION> and
- <literal>ABORT> .
+ New warnings are issued for >SET
+ LOCAL>, <command>SET CONSTRAINTS>, >SET TRANSACTION> and
+ <command>ABORT> when used outside a transaction block .
-
<link linkend="SQL-EXPLAIN">EXPLAIN>>
+
<xref linkend="SQL-EXPLAIN" >
- Have EXPLAIN ANALYZE> output planning time (Andreas
+ Make EXPLAIN ANALYZE> show planning time (Andreas
Karlsson)
- Have EXPLAIN> print the grouping columns in Agg and
+ Make EXPLAIN> show the grouping columns in Agg and
Group nodes (Tom Lane)
- Have EXPLAIN ANALYZE> show bitmap heap scan exact/ lossy
- block information (Etsuro Fujita)
+ Make EXPLAIN ANALYZE> show exact and lossy
+ block counts in bitmap heap scans (Etsuro Fujita)
- Allow materialized views to be refreshed without blocking reads
- (Kevin Grittner)
+ Allow materialized views>
+ to be refreshed without blocking reads
+ (Kevin Grittner)
- Previously the presence of non-updatable columns such as
+ Previously the presence of non-updatable output columns such as
expressions, literals, and function calls prevented automatic
updates. Now INSERT>s, UPDATE>s and
DELETE>s are supported, provided that they do not
Allow control over whether INSERT>s and
UPDATE>s can add rows to an auto-updatable view that
- would no longer appear in the view (Dean Rasheed)
+ would not appear in the view (Dean Rasheed)
- This is controlled with the new <link
- linkend="SQL-CREATEVIEW">WITH CHECK OPTION>>.
+ This is controlled with the new <xref linkend="SQL-CREATEVIEW">
+ clause WITH CHECK OPTION >.
- Allow triggers on foreign
+ Support triggers on foreign
tables> (Ronan Dunklau)
- Fix DROP IF EXISTS> to more consistently not error
- for non-existent objects (Pavel Stehule, Dean Rasheed)
+ Allow moving groups of objects from one tablespace to another
+ using ... MOVE>
+ (Stephen Frost)
- Improve how system-level relations are designated (Andres Freund,
- Robert Haas)
+ Allow changing foreign key constraint deferrability
+ via ... ALTER
+ CONSTRAINT> (Simon Riggs)
+
+
- Previously, relations once moved into the system catalog schema could
- no longer be modified or dropped.
+ Reduce lock strength for some
+ commands
+ (Simon Riggs, Noah Misch, Robert Haas)
-
-
- Allow ALTER
- TABLESPACE> options to be also set by
- linkend="SQL-CREATETABLESPACE">CREATE TABLESPACE>
- (Vik Fearing)
+ Specifically, VALIDATE CONSTRAINT>, CLUSTER
+ ON>, SET WITHOUT CLUSTER>, ALTER COLUMN
+ SET STATISTICS>, ALTER COLUMN> SET>
+ (attribute_option)>, ALTER COLUMN RESET>
+ (attribute_option)> no longer require ACCESS
+ EXCLUSIVE> locks.
- Allow CREATE
- AGGREGATE> to supply the size of the aggregate's
- transition state data (Hadi Moshayedi)
+ Allow tablespace options to be set
+ in (Vik Fearing)
- This allows the optimizer to better estimate how much memory will be
- used by aggregates .
+ Formerly these options could only be set
+ via .
-
-
-
-
ALTER>
-
-
-
- Allow moving groups of objects from one tablespace to another
- using ALTER
- TABLESPACE> ... MOVE> (Stephen Frost)
+ Allow to define the estimated
+ size of the aggregate's transition state data (Hadi Moshayedi)
+
+
+ Proper use of this feature allows the planner to better estimate
+ how much memory will be used by aggregates.
- Allow changing foreign key constraint deferrability via
- linkend="SQL-ALTERTABLE">ALTER TABLE>
- ... ALTER CONSTRAINT> (Simon Riggs)
+ Fix DROP IF EXISTS> to avoid errors for non-existent
+ objects in more cases (Pavel Stehule, Dean Rasheed)
- Reduce lock levels of some
- linkend="SQL-ALTERTABLE">ALTER TABLE> commands
- (Simon Riggs, Noah Misch, Robert Haas)
+ Improve how system relations are identified (Andres Freund,
+ Robert Haas)
- Specifically, VALIDATE CONSTRAINT>, CLUSTER
- ON>, SET WITHOUT CLUSTER>, ALTER COLUMN
- SET STATISTICS>, ALTER COLUMN> SET>
- (attribute_option)>, ALTER COLUMN RESET>
- (attribute_option)> no longer require ACCESS
- EXCLUSIVE> locks.
+ Previously, relations once moved into the pg_catalog>
+ schema could no longer be modified or dropped.
-
-
The line
segment> data type (
- linkend="datatype-lseg">LSEG >) has always been
+ linkend="datatype-lseg">lseg >) has always been
fully supported. The previous line> data type (enabled
only via a compile-time option) is not binary or dump-compatible.
- Add PG_LSN >
+ Add pg_lsn >
data type to represent a
WAL> log sequence number
(
LSN>) (Robert Haas, Michael Paquier)
Allow single-point
- linkend="datatype-polygon">POLYGON >s to be converted
- to CIRCLE >s
+ linkend="datatype-polygon">polygon >s to be converted
+ to circle >s
(Bruce Momjian)
Allow 5+ digit years for non-
ISO>
- linkend="datatype-datetime">TIMESTAMP > and
- DATE > strings, where appropriate (Bruce Momjian)
+ linkend="datatype-datetime">timestamp > and
+ date > strings, where appropriate (Bruce Momjian)
Add checks for overflow/underflow of
- linkend="datatype-datetime">INTERVAL > values
+ linkend="datatype-datetime">interval > values
(Bruce Momjian)
-
<type >JSON>
+
<acronym >JSON>
- Add structured (non-text) data type (
- linkend="datatype-json">jsonb>) for storing
- JSON data (Oleg Bartunov, Teodor Sigaev, Alexander
- Korotkov, Peter Geoghegan, and Andrew Dunstan)
+ Add jsonb>, a more
+ capable and efficient data type for for storing
JSON> data
+ (Oleg Bartunov, Teodor Sigaev, Alexander
+ Korotkov, Peter Geoghegan, Andrew Dunstan)
- This allows for faster access to values in the JSON
- document and faster and more useful indexing of JSON.
- Scalar values in jsonb> documents are typed as appropriate
- scalar SQL types.
+ This new type allows faster access to values in a JSON
+ document and faster and more useful indexing of JSON columns.
+ Scalar values in jsonb> documents are stored as appropriate
+ scalar SQL types, and the JSON document structure is pre-parsed
+ rather than being stored as text as in the original json>
+ data type.
-
Functions
Add
linkend="functions-datetime-delay">pg_sleep_for(interval)>
- and pg_sleep_until(timestamp)> to specify sophisticated
- delays (Vik Fearing, Julien Rouhaud)
+ and pg_sleep_until(timestamp)> to specify
+ delays more flexibly (Vik Fearing, Julien Rouhaud)
- pg_sleep()> only supports delays specified in seconds.
+ The existing pg_sleep()> function only supports delays
+ specified in seconds.
- These functions are prefixed with make_>,
+ These functions' names are prefixed with make_>,
e.g. make_date()>.
- Have
- linkend="functions-formatting-table">to_char(TZ>)>
- return the proper value for constant time zone offsets (Tom Lane)
+ Make
+ linkend="functions-formatting-table">to_char()>'s
+ TZ> format specifier return a useful value for simple
+ numeric time zone offsets (Tom Lane)
Previously, to_char(CURRENT_TIMESTAMP, 'TZ')> returned
- NULL if the TIME ZONE> was set to a constant like
- -4>.
+ an empty string if the timezone> was set to a constant
+ like -4>.
- Add timezone offset
output option OF> to
+ Add timezone offset
format specifier OF> to
linkend="functions-formatting-table">to_char()>
(Bruce Momjian)
+
+ Tighten validity checking for Unicode code points in
+ linkend="functions-string-other">chr(int)>
+ (Tom Lane)
+
+
+ This function now only accepts values that are valid UTF8 characters
+ according to RFC 3629.
+
+
+
Add functions for looking up objects in pg_class>,
pg_proc>, pg_type>, and
- pg_operator> which do not generate errors for
+ pg_operator> that do not generate errors for
non-existent objects (Yugo Nagata, Nozomi Anzai,
Robert Haas)
For example,
linkend="functions-info-catalog-table">to_regclass()>
- does lookups of pg_class> and returns NULL for
- non-existent objects.
+ does a lookup in pg_class> similarly to
+ the regclass> input function, but it returns NULL for a
+ non-existent object instead of failing.
Add function
linkend="functions-admin-dblocation">pg_filenode_relation()>
- to allow for more efficient lookup of relation names from filenodes (Andres
- Freund)
+ to allow for more efficient lookup of relation names from filenodes
+ (Andres Freund)
- Add
- linkend="information-schema">information_schema>
- column
- linkend="infoschema-parameters">parameters.parameter_default>
- (Peter Eisentraut)
+ Add
parameter_default> column to
+ linkend="infoschema-parameters">information_schema.parameters>
+ view (Peter Eisentraut)
-
Hav e
- linkend="infoschema-schemata">field>information_schema.schemata>
- show all accessible schema (Peter Eisentraut)
+
Mak e
+ linkend="infoschema-schemata">name>information_schema.schemata>
+ show all accessible schemas (Peter Eisentraut)
- Previously it only showed owned> schemas .
+ Previously it only showed schemas owned by the current user .
- Add aggregates
- linkend="functions-orderedset-table">percentile_cont()>,
-
percentile_disc()>,
- linkend="functions-hypothetical-table">rank()>,
- dense_rank()>, percent_rank()>,
-
cume_dist()>, and
- linkend="functions-orderedset-table">mode()>
- (Atri Sharma, Andrew Gierth)
-
-
-
-
- Add control over which values are passed
+ Add control over which rows are passed
into aggregate functions using the
linkend="syntax-aggregates">FILTER> clause
(David Fetter)
linkend="syntax-aggregates">WITHIN GROUP>)
aggregates (Atri Sharma, Andrew Gierth, Tom Lane)
+
+
+
+ Add aggregates
+ linkend="functions-orderedset-table">percentile_cont()>,
+
percentile_disc()>, mode()>,
+ linkend="functions-hypothetical-table">rank()>,
+ dense_rank()>, percent_rank()>, and
+ cume_dist()>
+ (Atri Sharma, Andrew Gierth)
+
+
+
- This allows aggregates that require sorted input.
+ Support
+ linkend="xfunc-sql-variadic-functions">VARIADIC>
+ aggregate functions (Tom Lane)
types (Tom Lane)
- This allows the declaration of aggregates like the built-in
+ This allows proper declaration of aggregates like the built-in
aggregate array_agg()> in SQL.
-
- Allow
- linkend="xfunc-sql-variadic-functions">VARIADIC>
- aggregate functions (Tom Lane)
-
-
-
- Convert NUMERIC>s to
- decimal> values in PL/Python
+ Convert numeric>
+ values to decimal> in PL/Python
(Szymon Guz, Ronan Dunklau)
- Previously these were converted to float>s.
+ Previously such values were converted to Python float> values,
+ risking loss of precision.
Make libpq's
linkend="libpq-pqconndefaults">PQconndefaults()>
- ignore invalid service files (Steve Singer, Bruce Momjian)
+ function ignore invalid service files (Steve Singer, Bruce Momjian)
- Previously it returned NULL.
+ Previously it returned NULL if an incorrect service file was
+ encountered.
- Allow libpq to support
TLS> versions beyond
- TLSv1> (Marko Kreen)
-
-
-
-
- Document that libpq's
- linkend="libpq-pqclientencoding">PQclientEncoding()>
- returns -1> for an encoding lookup failure (Bruce
- Momjian)
+ Accept
TLS> protocol versions beyond TLSv1>
+ in libpq (Marko Kreen)
- Add
- linkend="APP-CREATEUSER">
createuser>
- -g> to specify role membership (Chistopher Browne)
+ Add option -g>
+ to specify role membership (Chistopher Browne)
- Add <
link linkend="APP-VACUUMDB">vacuumdb>>
+ Add <xref linkend="APP-VACUUMDB" >
option --analyze-in-stages> to analyze in stages of
increasing granularity (Peter Eisentraut)
- to report a live log stream with --follow> (Heikki
- Linnakangas)
+ Make with option -n>
+ output current and potentially changed values (Rajeev Rastogi)
- Have pg_resetxlog
- -n> output current and potentially changed values
- (Rajeev Rastogi )
+ Make throw error for incorrect locale
+ settings, rather than silently falling back to a default choice
+ (Tom Lane )
- Allow sizeof()> in ECPG
- C array definitions (Michael Meskes )
+ Make return exit code 4> for
+ an inaccessible data directory (Amit Kapila, Bruce Momjian )
-
-
- Have ECPG properly handle nesting
- requirements in C and
SQL> mode for C-style comments
- (Michael Meskes)
+ This behavior more closely matches the Linux Standard Base
+ (
LSB>) Core Specification.
- return 4> for an inaccessible data directory
- specification (Amit Kapila, Bruce Momjian)
+ On Windows, ensure that a non-absolute -D> path
+ specification is interpreted relative
+ to 's current directory
+ (Kumar Rajeev Rastogi)
+
+
+ Previously it would be interpreted relative to whichever directory
+ the underlying Windows service was started in.
+
+
- This more closely matches the Linux Standard Base (
LSB>)
- Core Specification.
+ Allow sizeof()> in ECPG
+ C array definitions (Michael Meskes)
- On Windows, interpret
- linkend="app-pg-ctl">
pg_ctl>'s non-absolute
- path
-D> directories relative to pg_ctl>'s
- current directory (Kumar Rajeev Rastogi)
+ Make ECPG properly handle nesting
+ of C-style comments in both C and
SQL> text
+ (Michael Meskes)
-
<link linkend="APP-PSQL">psql>>
+
<xref linkend="APP-PSQL" >
- Suppress
"No rows" in
psql>
+ Suppress
No rows
output in
psql>
linkend="APP-PSQL-meta-commands">expanded>
mode when the footer is disabled (Bruce Momjian)
- Allow Control-C to abort
psql> hung at connection
+ Allow Control-C to abort
psql> when hung at connection
startup (Peter Eisentraut)
-
Hav e
psql> \db+> show tablespace options
+
Mak e
psql> \db+> show tablespace options
(Magnus Hagander)
-
Hav e
psql> \do+> display the functions
+
Mak e
psql> \do+> display the functions
which implement the operators (Marko Tiikkaja)
-
Hav e
psql> \d+> output an
- OID> line only if an oid column exists in a table
- (Bruce Momjian)
+
Mak e
psql> \d+> output an
+ OID> line only if an oid column
+ exists in a table (Bruce Momjian)
- Previously, the presence or absence of an oid column was always
- reported.
+ Previously, the presence or absence of an oid
+ column was always reported.
- Hav e \d> show disabled system triggers (Bruce
+ Mak e \d> show disabled system triggers (Bruce
Momjian)
- Previously if you disabled all triggers, only user triggers
+ Previously, if you disabled all triggers, only user triggers
would show as disabled.
- Output the row count at the end of
-
psql> \copy> just like
- linkend="SQL-COPY">COPY>> (Kumar Rajeev Rastogi)
+ Output the row count at the end
+ like > (Kumar Rajeev Rastogi)
- In
psql>, output the written history file name
- (\s>) without adding an absolute path prefix (Tom Lane)
+ In
psql>, display the history file name written by
+ \s> without converting it to an absolute path (Tom Lane)
- The previous output was inconsistent.
+ The code previously attempted to convert a relative file name to
+ an absolute path for display, but frequently got it wrong.
-
<link linkend="APP-PGDUMP">pg_dump>>
+
<xref linkend="APP-PGDUMP" >
- Allow
- linkend="APP-PGRESTORE">
pg_restore> options
+ Allow options
-I>, -P>, -T> and -n>
to be specified multiple times (Heikki Linnakangas)
- This allows multiple restore object to be specified .
+ This allows multiple objects to be restored in one operation .
- Add IF EXISTS> clauses when removing old objects during
- dump and restore (Pavel Stehule)
+ Optionally add IF EXISTS> clauses to the DROP>
+ commands emitted when removing old objects during a restore (Pavel
+ Stehule)
- This suppresses errors when removing old objects.
- The new
--if-exists> option to
- linkend="APP-PGDUMP">
pg_dump>,
- linkend="APP-PG-DUMPALL">
pg_dumpall>, and
- is only available when --clean> is also specified.
+ This change prevents unnecessary errors when removing old objects.
+ The new --if-exists> option
+ for , ,
+ and is only available
+ when --clean> is also specified.
-
<link linkend="app-pgbasebackup">pg_basebackup>>
+
<xref linkend="app-pgbasebackup" >
- Allow network-streams base backups to be throttled (Antonin Houska)
+ Allow network-stream base backups to be throttled (Antonin Houska)
- Improve the way tuples are frozen, to preserve forensic information
+ Improve the way tuples are frozen to preserve forensic information
(Robert Haas, Andres Freund)
- Code that inspects tuple flag bits will need to be modified.
+ This change removes the main objection to freezing tuples as soon
+ as possible. Code that inspects tuple flag bits will need to be
+ modified.
- No longer require function prototypes for function marked with the
+ No longer require function prototypes for functions marked with the
PG_FUNCTION_INFO_V1>
macro (Peter Eisentraut)
- This eliminates needless boilerplate prototypes whose lack
- generates compiler warnings.
+ This change eliminates the need to write boilerplate prototypes.
+ Note that the PG_FUNCTION_INFO_V1> macro must appear
+ before the corresponding function definition to avoid compiler
+ warnings.
- Add
API> for memory allocations over one gigabyte (Noah
- Misch)
+ Add
an API> to allow memory allocations over one gigabyte
+ (Noah Misch)
- Add printf()> modifier "z" to specify size_t>
- values (Andres Freund)
+ Support printf()> size modifier z> to
+ print size_t> values (Andres Freund)
Reduce the number of semaphores required by
- --disable-spinlocks> (Robert Haas)
+ --disable-spinlocks> builds (Robert Haas)
Add make targets check-tests> and
- installcheck-tests> which allow per-test specification
- (Andrew Dunstan)
+ installcheck-tests>, which allow selection of individual
+ tests to be run (Andrew Dunstan)
- Its functionality is now done by the default build rule s.
+ The default build rules now include all the formerly-optional test s.
- Add configure flag that appends custom text to the
+ Add
a configure> flag that appends custom text to the
PG_VERSION> string (Oskari Saarenmaa)
- Various security and sanity fixes reported by the
+ Various minor security and sanity fixes reported by the
Coverity> scanner (Stephen Frost)
- Improve
Emacs> configuration file
+ Improve
sample Emacs> configuration file
emacs.samples> (Peter Eisentraut)
- Allow
pgindent> to be supplied a command-line list
+ Allow
pgindent> to accept a command-line list
of typedefs (Bruce Momjian)
-
P gindent> is also now smarter about blank lines
+
p gindent> is also now smarter about blank lines
around preprocessor conditionals.
- Avoid most uses of
dlltool in
Cygwin> and
+ Avoid most uses of dlltool
Mingw> builds (Marco Atzeri, Hiroshi Inoue)
- Allow client-only installs for
MSVC> (Windows) builds (MauMau)
+ Support client-only installs in
MSVC> (Windows) builds
+ (MauMau)
- extension to preload relation data into the shared buffer cache
- (Robert Haas)
+ Add extension to preload relation data
+ into the shared buffer cache at server start (Robert Haas)
- This is useful at server start to produce more consistent
- performance.
+ This allows reaching full operating performance more quickly.
Add
UUID> random number generator
-
gen_random_uuid()> to
- linkend="pgcrypto">
pgcrypto> (Oskari
- Saarenmaa)
+ gen_random_uuid()> to
+ (Oskari Saarenmaa)
- This allows
the creation of version 4
UUID>s without
- requiring the installation of uuid-ossp >.
+ This allows creation of version 4
UUID>s without
+ requiring installation of >.
- Add option to include trigger execution time to
- linkend="auto-explain">
auto_explain>
- (Horiguchi Kyotaro)
+ Allow to work with
+ the BSD> or e2fsprogs> UUID libraries,
+ not only the OSSP> UUID library (Matteo Beccati)
+
+
+ This improves the
uuid-ossp> module's portability
+ since it no longer has to have the increasingly-obsolete OSSP
+ library. The module's name is now rather a misnomer, but we won't
+ change it.
- to not report rows from uncommitted transactions as dead
- (Robert Haas)
+ Add option to to include trigger
+ execution time (Horiguchi Kyotaro)
- functions use regclass -type arguments (Satoshi Nagayasu )
+ Fix to not report rows from
+ uncommitted transactions as dead (Robert Haas )
+
+
- While text -type arguments are still supported, they will be
- removed in a later major release.
+ Make functions
+ use regclass -type arguments (Satoshi Nagayasu)
+
+
+ While text -type arguments are still supported, they
+ may be removed in a future major release.
- Improve consistency of
- linkend="pgrowlocks">
pgrowlocks> output to
- honor snapshot rules more consistently (Robert Haas)
+ Improve consistency of output to honor
+ snapshot rules more consistently (Robert Haas)
- generation of trigrams for indexed regular expression searches by
- discouraging the indexing of trigrams containing whitespace (Alexander
- Korotkov)
+ Improve 's choice of trigrams for indexed
+ regular expression searches by discouraging the selection of
+ trigrams containing whitespace (Alexander Korotkov)
- Store cube> data more compactly
- (Stas Kelvich)
+ Allow to report a live log stream
+ with --follow> (Heikki Linnakangas)
+
+
+
+
+ Store data more compactly (Stas Kelvich)
- Reduce <
link linkend="vacuumlo">vacuumlo>
- client-side memory usage by using a cursor (Andrew Dunstan)
+ Reduce <xref linkend="vacuumlo"> client-side memory usage by using
+ a cursor (Andrew Dunstan)
- Dramatically reduce memory consumption in
- linkend="pgupgrade">
pg_upgrade> (Bruce
- Momjian)
+ Dramatically reduce memory consumption
+ in (Bruce Momjian)
- Pass <
link linkend="pgupgrade">pg_upgrade>
- user names (-U>) to analyze scripts (Bruce Momjian)
+ Pass <xref linkend="pgupgrade"> user name (-U> option) to
+ analyze scripts (Bruce Momjian)
-
<link linkend="pgbench">pgbench>>
+
<xref linkend="pgbench" >
- Add
pgbench> option (--rate>) to control
- the transaction rate (Fabien Coelho)
+ Add long option names to
pgbench> (Fabien Coelho)
- Add
--progress> output option to pgbench> (Fabien Coelho)
+ Add
pgbench> option --rate> to control
+ the transaction rate (Fabien Coelho)
- Add long options to
pgbench> (Fabien Coelho)
+ Add
pgbench> option --progress> to
+ print periodic progress reports
+ (Fabien Coelho)
-
<link linkend="pgstatstatements">pg_stat_statements>>
+
<xref linkend="pgstatstatements" >
- Have
pg_stat_statements> use a flat file for query
- text storage (Peter Geoghegan)
+ Make
pg_stat_statements> use a file, rather than
+ shared memory, for query text storage (Peter Geoghegan)
- This removes the limitation on query text length, and allows a
- higher default number of unique statements to be tracked .
+ This removes the previous limitation on query text length, and
+ allows a higher number of unique statements to be tracked by default .
This allows monitoring tools to only fetch query text for newly
- created entries, as reported in queryid>.
+ created entries, improving performance for repeated querying of the
+ statistics.
+
+
+
+
+ Save the statistics file into $PGDATA/pg_stat> at server
+ shutdown, rather than $PGDATA/global> (Fujii Masao)