Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
393ad11c
Commit
393ad11c
authored
Jun 04, 2008
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Draft release notes for upcoming back-branch updates.
parent
eaa70a38
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1334 additions
and
142 deletions
+1334
-142
doc/src/sgml/release.sgml
doc/src/sgml/release.sgml
+1334
-142
No files found.
doc/src/sgml/release.sgml
View file @
393ad11c
<!-- $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.58
1 2008/04/21 09:44:47 mha
Exp $ -->
<!-- $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.58
2 2008/06/04 03:16:02 tgl
Exp $ -->
<!--
Typical markup:
...
...
@@ -63,6 +63,371 @@ do it for earlier branch release files.
review, so each item is truly a community effort.
</para>
<sect1 id="release-8-3-2">
<title>Release 8.3.2</title>
<note>
<title>Release date</title>
<simpara>2008-06-09</simpara>
</note>
<para>
This release contains a variety of fixes from 8.3.1.
For information about new features in the 8.3 major release, see
<xref linkend="release-8-3">.
</para>
<sect2>
<title>Migration to Version 8.3.2</title>
<para>
A dump/restore is not required for those running 8.3.X.
However, if you are upgrading from a version earlier than 8.3.1,
see the release notes for 8.3.1.
</para>
</sect2>
<sect2>
<title>Changes</title>
<itemizedlist>
<listitem>
<para>
Fix <literal>ERRORDATA_STACK_SIZE exceeded</literal> crash that
occurred on Windows when using UTF-8 database encoding and a different
client encoding (Tom)
</para>
</listitem>
<listitem>
<para>
Fix incorrect archive truncation point calculation for the
<literal>%r</> macro in <varname>recovery_command</> parameters
(Simon)
</para>
<para>
This could lead to data loss if a warm-standby script relied on
<literal>%r</> to decide when to throw away WAL segment files.
</para>
</listitem>
<listitem>
<para>
Fix <command>ALTER TABLE ADD COLUMN ... PRIMARY KEY</> so that the new
column is correctly checked to see if it's been initialized to all
non-nulls (Brendan Jurd)
</para>
<para>
Previous versions neglected to check this requirement at all.
</para>
</listitem>
<listitem>
<para>
Fix <command>REASSIGN OWNED</> so that it works on procedural
languages too (Alvaro)
</para>
</listitem>
<listitem>
<para>
Fix problems with <command>SELECT FOR UPDATE/SHARE</> occurring as a
subquery in a query with a non-<command>SELECT</> top-level operation
(Tom)
</para>
</listitem>
<listitem>
<para>
Fix possible <command>CREATE TABLE</> failure when inheriting the
<quote>same</> constraint from multiple parent relations that
inherited that constraint from a common ancestor (Tom)
</para>
</listitem>
<listitem>
<para>
Fix <function>pg_get_ruledef()</> to show the alias, if any, attached
to the target table of an <command>UPDATE</> or <command>DELETE</>
(Tom)
</para>
</listitem>
<listitem>
<para>
Restore the pre-8.3 behavior that an out-of-range block number in a
TID being used in a TidScan plan results in silently not matching any
rows (Tom)
</para>
<para>
8.3.0 and 8.3.1 threw an error instead.
</para>
</listitem>
<listitem>
<para>
Fix GIN bug that could result in a <literal>too many LWLocks
taken</literal> failure (Teodor)
</para>
</listitem>
<listitem>
<para>
Fix broken GiST comparison function for <type>tsquery</> (Teodor)
</para>
</listitem>
<listitem>
<para>
Fix <function>tsvector_update_trigger()</> and <function>ts_stat()</>
to accept domains over the types they expect to work with (Tom)
</para>
</listitem>
<listitem>
<para>
Fix failure to support enum data types as foreign keys (Tom)
</para>
</listitem>
<listitem>
<para>
Avoid possible crash when decompressing corrupted data
(Zdenek Kotala)
</para>
</listitem>
<listitem>
<para>
Fix race conditions between delayed unlinks and <command>DROP
DATABASE</> (Heikki)
</para>
<para>
In the worst case this could result in deleting a newly created table
in a new database that happened to get the same OID as the
recently-dropped one; but of course that is an extremely
low-probability scenario.
</para>
</listitem>
<listitem>
<para>
Repair two places where SIGTERM exit of a backend could leave corrupted
state in shared memory (Tom)
</para>
<para>
Neither case is very important if SIGTERM is used to shut down the
whole database cluster together, but there was a problem if someone
tried to SIGTERM individual backends.
</para>
</listitem>
<listitem>
<para>
Fix possible crash due to incorrect plan generated for an
<literal><replaceable>x</> IN (SELECT <replaceable>y</>
FROM ...)</literal> clause when <replaceable>x</> and <replaceable>y</>
have different data types; and make sure the behavior is semantically
correct when the conversion from <replaceable>y</>'s type to
<replaceable>x</>'s type is lossy (Tom)
</para>
</listitem>
<listitem>
<para>
Fix oversight that prevented the planner from substituting known Param
values as if they were constants (Tom)
</para>
<para>
This mistake partially disabled optimization of unnamed
extended-Query statements in 8.3.0 and 8.3.1: in particular the
LIKE-to-indexscan optimization would never be applied if the LIKE
pattern was passed as a parameter, and constraint exclusion
depending on a parameter value didn't work either.
</para>
</listitem>
<listitem>
<para>
Fix planner failure when an indexable <function>MIN</> or
<function>MAX</> aggregate is used with <literal>DISTINCT</> or
<literal>ORDER BY</> (Tom)
</para>
</listitem>
<listitem>
<para>
Fix planner to ensure it never uses a <quote>physical tlist</> for a
plan node that is feeding a Sort node (Tom)
</para>
<para>
This led to the sort having to push around more data than it really
needed to, since unused column values were included in the sorted
data.
</para>
</listitem>
<listitem>
<para>
Avoid unnecessary copying of query strings (Tom)
</para>
<para>
This fixes a performance problem introduced in 8.3.0 when a very large
number of commands are submitted as a single query string.
</para>
</listitem>
<listitem>
<para>
Make <function>TransactionIdIsCurrentTransactionId()</> use binary
search instead of linear search when checking child-transaction XIDs
(Heikki)
</para>
<para>
This fixes some cases in which 8.3.0 was significantly
slower than earlier releases.
</para>
</listitem>
<listitem>
<para>
Fix conversions between ISO-8859-5 and other encodings to handle
Cyrillic <quote>Yo</> characters (<literal>e</> and <literal>E</> with
two dots) (Sergey Burladyan)
</para>
</listitem>
<listitem>
<para>
Fix several datatype input functions, notably <function>array_in()</>,
that were allowing unused bytes in their results to contain
uninitialized, unpredictable values (Tom)
</para>
<para>
This could lead to failures in which two apparently identical literal
values were not seen as equal, resulting in the parser complaining
about unmatched <literal>ORDER BY</> and <literal>DISTINCT</>
expressions.
</para>
</listitem>
<listitem>
<para>
Fix a corner case in regular-expression substring matching
(<literal>substring(<replaceable>string</> from
<replaceable>pattern</>)</literal>) (Tom)
</para>
<para>
The problem occurs when there is a match to the pattern overall but
the user has specified a parenthesized subexpression and that
subexpression hasn't got a match. An example is
<literal>substring('foo' from 'foo(bar)?')</>.
This should return NULL, since <literal>(bar)</> isn't matched, but
it was mistakenly returning the whole-pattern match instead (ie,
<literal>foo</>).
</para>
</listitem>
<listitem>
<para>
Prevent cancellation of an auto-vacuum that was launched to prevent
XID wraparound (Alvaro)
</para>
</listitem>
<listitem>
<para>
Improve <command>ANALYZE</>'s handling of in-doubt tuples (those
inserted or deleted by a not-yet-committed transaction) so that the
counts it reports to the stats collector are more likely to be correct
(Pavan Deolasee)
</para>
</listitem>
<listitem>
<para>
Fix <application>initdb</> to reject a relative path for its
<literal>--xlogdir</> (<literal>-X</>) option (Tom)
</para>
</listitem>
<listitem>
<para>
Make <application>psql</> print tab characters as an appropriate
number of spaces, rather than <literal>\x09</literal> as was done in
8.3.0 and 8.3.1 (Bruce)
</para>
</listitem>
<listitem>
<para>
Update time zone data files to <application>tzdata</> release 2008c (for
DST law changes in Morocco, Iraq, Choibalsan, Pakistan, Syria, Cuba, and
Argentina/San_Luis)
</para>
</listitem>
<listitem>
<para>
Add <function>ECPGget_PGconn()</> function to
<application>ecpglib</> (Michael)
</para>
</listitem>
<listitem>
<para>
Fix incorrect result from <application>ecpg</>'s
<function>PGTYPEStimestamp_sub()</> function (Michael)
</para>
</listitem>
<listitem>
<para>
Fix handling of continuation line markers in <application>ecpg</>
(Michael)
</para>
</listitem>
<listitem>
<para>
Fix possible crashes in <filename>contrib/cube</> functions (Tom)
</para>
</listitem>
<listitem>
<para>
Fix core dump in <filename>contrib/xml2</>'s
<function>xpath_table()</> function when the input query returns a
NULL value (Tom)
</para>
</listitem>
<listitem>
<para>
Fix <filename>contrib/xml2</>'s makefile to not override
<literal>CFLAGS</>, and make it auto-configure properly for
<application>libxslt</> present or not (Tom)
</para>
</listitem>
</itemizedlist>
</sect2>
</sect1>
<sect1 id="release-8-3-1">
<title>Release 8.3.1</title>
...
...
@@ -2842,145 +3207,340 @@ current_date < 2017-11-17
linkend="creating-cluster-nfs">NFS</link> documentation
sections (Bruce)
</para>
</listitem>
</listitem>
<listitem>
<para>
"Postgres" is now documented as an accepted alias for
"PostgreSQL" (Peter)
</para>
</listitem>
<listitem>
<para>
Add documentation about preventing database server spoofing when
the server is down (Bruce)
</para>
</listitem>
</itemizedlist>
</sect3>
<sect3>
<title>Contrib</title>
<itemizedlist>
<listitem>
<para>
Move <filename>contrib</> <filename>README</> content into the
main <productname>PostgreSQL</> documentation (Albert Cervera i
Areny)
</para>
</listitem>
<listitem>
<para>
Add <filename>contrib/pageinspect</filename> module for low-level
page inspection (Simon, Heikki)
</para>
</listitem>
<listitem>
<para>
Add <filename>contrib/pg_standby</filename> module for controlling
warm standby operation (Simon)
</para>
</listitem>
<listitem>
<para>
Add <filename>contrib/uuid-ossp</filename> module for generating
<type>UUID</> values using the OSSP UUID library (Peter)
</para>
<para>
Use <application>configure</>
<literal>--with-ossp-uuid</literal> to activate. This takes
advantage of the new <type>UUID</type> builtin type.
</para>
</listitem>
<listitem>
<para>
Add <filename>contrib/dict_int</filename>,
<filename>contrib/dict_xsyn</filename>, and
<filename>contrib/test_parser</filename> modules to provide
sample add-on text search dictionary templates and parsers
(Sergey Karpov)
</para>
</listitem>
<listitem>
<para>
Allow <application>contrib/pgbench</> to set the fillfactor (Pavan
Deolasee)
</para>
</listitem>
<listitem>
<para>
Add timestamps to <application>contrib/pgbench</> <literal>-l</>
(Greg Smith)
</para>
</listitem>
<listitem>
<para>
Add usage count statistics to
<filename>contrib/pgbuffercache</filename> (Greg Smith)
</para>
</listitem>
<listitem>
<para>
Add GIN support for <filename>contrib/hstore</> (Teodor)
</para>
</listitem>
<listitem>
<para>
Add GIN support for <filename>contrib/pg_trgm</> (Guillaume Smet, Teodor)
</para>
</listitem>
<listitem>
<para>
Update OS/X startup scripts in
<filename>contrib/start-scripts</filename> (Mark Cotner, David
Fetter)
</para>
</listitem>
<listitem>
<para>
Restrict <function>pgrowlocks()</function> and
<function>dblink_get_pkey()</function> to users who have
<literal>SELECT</literal> privilege on the target table (Tom)
</para>
</listitem>
<listitem>
<para>
Restrict <filename>contrib/pgstattuple</filename> functions to
superusers (Tom)
</para>
</listitem>
<listitem>
<para>
<filename>contrib/xml2</filename> is deprecated and planned for
removal in 8.4 (Peter)
</para>
<para>
The new XML support in core PostgreSQL supersedes this module.
</para>
</listitem>
</itemizedlist>
</sect3>
</sect2>
</sect1>
<sect1 id="release-8-2-8">
<title>Release 8.2.8</title>
<note>
<title>Release date</title>
<simpara>2008-06-09</simpara>
</note>
<para>
This release contains a variety of fixes from 8.2.7.
For information about new features in the 8.2 major release, see
<xref linkend="release-8-2">.
</para>
<sect2>
<title>Migration to Version 8.2.8</title>
<para>
A dump/restore is not required for those running 8.2.X.
However, if you are upgrading from a version earlier than 8.2.7,
see the release notes for 8.2.7.
</para>
</sect2>
<sect2>
<title>Changes</title>
<itemizedlist>
<listitem>
<para>
Fix <literal>ERRORDATA_STACK_SIZE exceeded</literal> crash that
occurred on Windows when using UTF-8 database encoding and a different
client encoding (Tom)
</para>
</listitem>
<listitem>
<para>
Fix <command>ALTER TABLE ADD COLUMN ... PRIMARY KEY</> so that the new
column is correctly checked to see if it's been initialized to all
non-nulls (Brendan Jurd)
</para>
<listitem>
<para>
"Postgres" is now documented as an accepted alias for
"PostgreSQL" (Peter)
Previous versions neglected to check this requirement at all.
</para>
</listitem>
<listitem>
<para>
Add documentation about preventing database server spoofing when
the server is down (Bruce)
Fix possible <command>CREATE TABLE</> failure when inheriting the
<quote>same</> constraint from multiple parent relations that
inherited that constraint from a common ancestor (Tom)
</para>
</listitem>
</itemizedlist>
</sect3>
<sect3>
<title>Contrib</title>
<itemizedlist>
<listitem>
<para>
Move <filename>contrib</> <filename>README</> content into the
main <productname>PostgreSQL</> documentation (Albert Cervera i
Areny
)
Fix <function>pg_get_ruledef()</> to show the alias, if any, attached
to the target table of an <command>UPDATE</> or <command>DELETE</>
(Tom
)
</para>
</listitem>
<listitem>
<para>
Add <filename>contrib/pageinspect</filename> module for low-level
page inspection (Simon, Heikki
)
Fix GIN bug that could result in a <literal>too many LWLocks
taken</literal> failure (Teodor
)
</para>
</listitem>
<listitem>
<para>
Add <filename>contrib/pg_standby</filename> module for controlling
warm standby operation (Simon
)
Avoid possible crash when decompressing corrupted data
(Zdenek Kotala
)
</para>
</listitem>
<listitem>
<para>
Add <filename>contrib/uuid-ossp</filename> module for generating
<type>UUID</> values using the OSSP UUID library (Peter
)
Repair two places where SIGTERM exit of a backend could leave corrupted
state in shared memory (Tom
)
</para>
<para>
Use <application>configure</>
<literal>--with-ossp-uuid</literal> to activate. This takes
advantage of the new <type>UUID</type> builtin type
.
Neither case is very important if SIGTERM is used to shut down the
whole database cluster together, but there was a problem if someone
tried to SIGTERM individual backends
.
</para>
</listitem>
<listitem>
<para>
Add <filename>contrib/dict_int</filename>,
<filename>contrib/dict_xsyn</filename>, and
<filename>contrib/test_parser</filename> modules to provide
sample add-on text search dictionary templates and parsers
(Sergey Karpov)
Fix conversions between ISO-8859-5 and other encodings to handle
Cyrillic <quote>Yo</> characters (<literal>e</> and <literal>E</> with
two dots) (Sergey Burladyan)
</para>
</listitem>
<listitem>
<para>
Allow <application>contrib/pgbench</> to set the fillfactor (Pavan
Deolasee)
Fix several datatype input functions, notably <function>array_in()</>,
that were allowing unused bytes in their results to contain
uninitialized, unpredictable values (Tom)
</para>
<para>
This could lead to failures in which two apparently identical literal
values were not seen as equal, resulting in the parser complaining
about unmatched <literal>ORDER BY</> and <literal>DISTINCT</>
expressions.
</para>
</listitem>
<listitem>
<para>
Add timestamps to <application>contrib/pgbench</> <literal>-l</>
(Greg Smith)
Fix a corner case in regular-expression substring matching
(<literal>substring(<replaceable>string</> from
<replaceable>pattern</>)</literal>) (Tom)
</para>
<para>
The problem occurs when there is a match to the pattern overall but
the user has specified a parenthesized subexpression and that
subexpression hasn't got a match. An example is
<literal>substring('foo' from 'foo(bar)?')</>.
This should return NULL, since <literal>(bar)</> isn't matched, but
it was mistakenly returning the whole-pattern match instead (ie,
<literal>foo</>).
</para>
</listitem>
<listitem>
<para>
Add usage count statistics to
<filename>contrib/pgbuffercache</filename> (Greg Smith)
Update time zone data files to <application>tzdata</> release 2008c (for
DST law changes in Morocco, Iraq, Choibalsan, Pakistan, Syria, Cuba, and
Argentina/San_Luis)
</para>
</listitem>
<listitem>
<para>
Add GIN support for <filename>contrib/hstore</> (Teodor)
Fix incorrect result from <application>ecpg</>'s
<function>PGTYPEStimestamp_sub()</> function (Michael)
</para>
</listitem>
<listitem>
<para>
Add GIN support for <filename>contrib/pg_trgm</> (Guillaume Smet, Teodor)
Fix broken GiST comparison function for <filename>contrib/tsearch2</>'s
<type>tsquery</> type (Teodor)
</para>
</listitem>
<listitem>
<para>
Update OS/X startup scripts in
<filename>contrib/start-scripts</filename> (Mark Cotner, David
Fetter)
Fix possible crashes in <filename>contrib/cube</> functions (Tom)
</para>
</listitem>
<listitem>
<para>
Restrict <function>pgrowlocks()</function> and
<function>dblink_get_pkey()</function> to users who have
<literal>SELECT</literal> privilege on the target tabl
e (Tom)
Fix core dump in <filename>contrib/xml2</>'s
<function>xpath_table()</> function when the input query returns a
NULL valu
e (Tom)
</para>
</listitem>
<listitem>
<para>
Restrict <filename>contrib/pgstattuple</filename> functions to
superusers
(Tom)
Fix <filename>contrib/xml2</>'s makefile to not override
<literal>CFLAGS</>
(Tom)
</para>
</listitem>
<listitem>
<para>
<filename>contrib/xml2</filename> is deprecated and planned for
removal in 8.4 (Peter
)
Fix <literal>DatumGetBool</> macro to not fail with <application>gcc</>
4.3 (Tom
)
</para>
<para>
The new XML support in core PostgreSQL supersedes this module.
This problem affects <quote>old style</> (V0) C functions that
return boolean. The fix is already in 8.3, but the need to
back-patch it was not realized at the time.
</para>
</listitem>
</itemizedlist>
</sect3>
</sect2>
</sect1>
...
...
@@ -3244,7 +3804,7 @@ current_date < 2017-11-17
<para>
This failure has only been observed to occur when a user-defined
datatype's output routine issues a NOTICE, but there is no
guarantee
e
it couldn't happen due to other causes.
guarantee it couldn't happen due to other causes.
</para>
</listitem>
...
...
@@ -6750,15 +7310,265 @@ current_date < 2017-11-17
<listitem>
<para>
Add uninstall scripts for all contrib packages that have install
scripts (David, Josh Drake)
Add uninstall scripts for all contrib packages that have install
scripts (David, Josh Drake)
</para>
</listitem>
</itemizedlist>
</sect3>
</sect2>
</sect1>
<sect1 id="release-8-1-12">
<title>Release 8.1.12</title>
<note>
<title>Release date</title>
<simpara>2008-06-09</simpara>
</note>
<para>
This release contains a variety of fixes from 8.1.11.
For information about new features in the 8.1 major release, see
<xref linkend="release-8-1">.
</para>
<sect2>
<title>Migration to Version 8.1.12</title>
<para>
A dump/restore is not required for those running 8.1.X.
However, if you are upgrading from a version earlier than 8.1.2,
see the release notes for 8.1.2.
</para>
</sect2>
<sect2>
<title>Changes</title>
<itemizedlist>
<listitem>
<para>
Fix <command>ALTER TABLE ADD COLUMN ... PRIMARY KEY</> so that the new
column is correctly checked to see if it's been initialized to all
non-nulls (Brendan Jurd)
</para>
<para>
Previous versions neglected to check this requirement at all.
</para>
</listitem>
<listitem>
<para>
Fix possible <command>CREATE TABLE</> failure when inheriting the
<quote>same</> constraint from multiple parent relations that
inherited that constraint from a common ancestor (Tom)
</para>
</listitem>
<listitem>
<para>
Fix conversions between ISO-8859-5 and other encodings to handle
Cyrillic <quote>Yo</> characters (<literal>e</> and <literal>E</> with
two dots) (Sergey Burladyan)
</para>
</listitem>
<listitem>
<para>
Fix a few datatype input functions
that were allowing unused bytes in their results to contain
uninitialized, unpredictable values (Tom)
</para>
<para>
This could lead to failures in which two apparently identical literal
values were not seen as equal, resulting in the parser complaining
about unmatched <literal>ORDER BY</> and <literal>DISTINCT</>
expressions.
</para>
</listitem>
<listitem>
<para>
Fix a corner case in regular-expression substring matching
(<literal>substring(<replaceable>string</> from
<replaceable>pattern</>)</literal>) (Tom)
</para>
<para>
The problem occurs when there is a match to the pattern overall but
the user has specified a parenthesized subexpression and that
subexpression hasn't got a match. An example is
<literal>substring('foo' from 'foo(bar)?')</>.
This should return NULL, since <literal>(bar)</> isn't matched, but
it was mistakenly returning the whole-pattern match instead (ie,
<literal>foo</>).
</para>
</listitem>
<listitem>
<para>
Update time zone data files to <application>tzdata</> release 2008c (for
DST law changes in Morocco, Iraq, Choibalsan, Pakistan, Syria, Cuba,
Argentina/San_Luis, and Chile)
</para>
</listitem>
<listitem>
<para>
Fix incorrect result from <application>ecpg</>'s
<function>PGTYPEStimestamp_sub()</> function (Michael)
</para>
</listitem>
<listitem>
<para>
Fix core dump in <filename>contrib/xml2</>'s
<function>xpath_table()</> function when the input query returns a
NULL value (Tom)
</para>
</listitem>
<listitem>
<para>
Fix <filename>contrib/xml2</>'s makefile to not override
<literal>CFLAGS</> (Tom)
</para>
</listitem>
<listitem>
<para>
Fix <literal>DatumGetBool</> macro to not fail with <application>gcc</>
4.3 (Tom)
</para>
<para>
This problem affects <quote>old style</> (V0) C functions that
return boolean. The fix is already in 8.3, but the need to
back-patch it was not realized at the time.
</para>
</listitem>
<listitem>
<para>
Fix longstanding <command>LISTEN</>/<command>NOTIFY</>
race condition (Tom)
</para>
<para>
In rare cases a session that had just executed a
<command>LISTEN</> might not get a notification, even though
one would be expected because the concurrent transaction executing
<command>NOTIFY</> was observed to commit later.
</para>
<para>
A side effect of the fix is that a transaction that has executed
a not-yet-committed <command>LISTEN</> command will not see any
row in <structname>pg_listener</> for the <command>LISTEN</>,
should it choose to look; formerly it would have. This behavior
was never documented one way or the other, but it is possible that
some applications depend on the old behavior.
</para>
</listitem>
<listitem>
<para>
Disallow <command>LISTEN</> and <command>UNLISTEN</> within a
prepared transaction (Tom)
</para>
<para>
This was formerly allowed but trying to do it had various unpleasant
consequences, notably that the originating backend could not exit
as long as an <command>UNLISTEN</> remained uncommitted.
</para>
</listitem>
<listitem>
<para>
Fix rare crash when an error occurs during a query using a hash index
(Heikki)
</para>
</listitem>
<listitem>
<para>
Fix input of datetime values for February 29 in years BC (Tom)
</para>
<para>
The former coding was mistaken about which years were leap years.
</para>
</listitem>
<listitem>
<para>
Fix <quote>unrecognized node type</> error in some variants of
<command>ALTER OWNER</> (Tom)
</para>
</listitem>
<listitem>
<para>
Fix <application>pg_ctl</> to correctly extract the postmaster's port
number from command-line options (Itagaki Takahiro, Tom)
</para>
<para>
Previously, <literal>pg_ctl start -w</> could try to contact the
postmaster on the wrong port, leading to bogus reports of startup
failure.
</para>
</listitem>
<listitem>
<para>
Use <option>-fwrapv</> to defend against possible misoptimization
in recent <application>gcc</> versions (Tom)
</para>
<para>
This is known to be necessary when building <productname>PostgreSQL</>
with <application>gcc</> 4.3 or later.
</para>
</listitem>
<listitem>
<para>
Fix display of constant expressions in <literal>ORDER BY</>
and <literal>GROUP BY</> (Tom)
</para>
<para>
An explictly casted constant would be shown incorrectly. This could
for example lead to corruption of a view definition during
dump and reload.
</para>
</listitem>
<listitem>
<para>
Fix <application>libpq</> to handle NOTICE messages correctly
during COPY OUT (Tom)
</para>
<para>
This failure has only been observed to occur when a user-defined
datatype's output routine issues a NOTICE, but there is no
guarantee it couldn't happen due to other causes.
</para>
</listitem>
</itemizedlist>
</sect3>
</sect2>
</sect1>
...
...
@@ -9960,232 +10770,469 @@ psql -t -f fixseq.sql db1 | psql -e db1
<para>
Add Chinese FAQ (laser@pgsqldb.com)
</para>
</listitem>
</listitem>
<listitem>
<para>
Rename Rendezvous to Bonjour to match OS/X feature renaming
(Bruce)
</para>
</listitem>
<listitem>
<para>
Add support for <literal>fsync_writethrough</literal> on
Darwin (Chris Campbell)
</para>
</listitem>
<listitem>
<para>
Streamline the passing of information within the server, the
optimizer, and the lock system (Tom)
</para>
</listitem>
<listitem>
<para>
Allow <application>pg_config</> to be compiled using MSVC (Andrew)
</para>
<para>
This is required to build DBD::Pg using <application>MSVC</>.
</para>
</listitem>
<listitem>
<para>
Remove support for Kerberos V4 (Magnus)
</para>
<para>
Kerberos 4 had security vulnerabilities and is no longer
maintained.
</para>
</listitem>
<listitem>
<para>
Code cleanups (Coverity static analysis performed by
EnterpriseDB)
</para>
</listitem>
<listitem>
<para>
Modify <filename>postgresql.conf</> to use documentation defaults
<literal>on</>/<literal>off</> rather than
<literal>true</>/<literal>false</> (Bruce)
</para>
</listitem>
<listitem>
<para>
Enhance <application>pg_config</> to be able to report more
build-time values (Tom)
</para>
</listitem>
<listitem>
<para>
Allow <application>libpq</application> to be built thread-safe
on Windows (Dave Page)
</para>
</listitem>
<listitem>
<para>
Allow IPv6 connections to be used on Windows (Andrew)
</para>
</listitem>
<listitem>
<para>
Add Server Administration documentation about I/O subsystem
reliability (Bruce)
</para>
</listitem>
<listitem>
<para>
Move private declarations from <filename>gist.h</filename> to
<filename>gist_private.h</filename> (Neil)
</para>
<para>
In previous releases, <filename>gist.h</> contained both the
public GiST API (intended for use by authors of GiST index
implementations) as well as some private declarations used by
the implementation of GiST itself. The latter have been moved
to a separate file, <filename>gist_private.h</>. Most GiST
index implementations should be unaffected.
</para>
</listitem>
<listitem>
<para>
Overhaul GiST memory management (Neil)
</para>
<para>
GiST methods are now always invoked in a short-lived memory
context. Therefore, memory allocated via <function>palloc()</>
will be reclaimed automatically, so GiST index implementations
do not need to manually release allocated memory via
<function>pfree()</>.
</para>
</listitem>
</itemizedlist>
</sect3>
<sect3>
<title>Contrib Changes</title>
<itemizedlist>
<listitem>
<para>
Add <filename>/contrib/pg_buffercache</> contrib module (Mark
Kirkwood)
</para>
<para>
This displays the contents of the buffer cache, for debugging and
performance tuning purposes.
</para>
</listitem>
<listitem>
<para>
Remove <filename>/contrib/array</> because it is obsolete (Tom)
</para>
</listitem>
<listitem>
<para>
Clean up the <filename>/contrib/lo</> module (Tom)
</para>
</listitem>
<listitem>
<para>
Move <filename>/contrib/findoidjoins</> to
<filename>/src/tools</> (Tom)
</para>
</listitem>
<listitem>
<para>
Remove the <literal><<</>, <literal>>></>,
<literal>&<</>, and <literal>&></> operators from
<filename>/contrib/cube</>
</para>
<para>
These operators were not useful.
</para>
</listitem>
<listitem>
<para>
Improve <filename>/contrib/btree_gist</> (Janko Richter)
</para>
</listitem>
<listitem>
<para>
Improve <filename>/contrib/pgbench</> (Tomoaki Sato, Tatsuo)
</para>
<para>
There is now a facility for testing with SQL command scripts given
by the user, instead of only a hard-wired command sequence.
</para>
</listitem>
<listitem>
<para>
Improve <filename>/contrib/pgcrypto</> (Marko Kreen)
</para>
<itemizedlist>
<listitem>
<para>
Implementation of OpenPGP symmetric-key and public-key encryption
</para>
<para>
Both RSA and Elgamal public-key algorithms are supported.
</para>
</listitem>
<listitem>
<para>
Stand alone build: include SHA256/384/512 hashes, Fortuna PRNG
</para>
</listitem>
<listitem>
<para>
OpenSSL build: support 3DES, use internal AES with OpenSSL < 0.9.7
</para>
</listitem>
<listitem>
<para>
Take build parameters (OpenSSL, zlib) from <filename>configure</> result
</para>
<para>
There is no need to edit the <filename>Makefile</> anymore.
</para>
</listitem>
<listitem>
<para>
Remove support for <filename>libmhash</> and <filename>libmcrypt</>
</para>
</listitem>
</itemizedlist>
</listitem>
</itemizedlist>
</sect3>
</sect2>
</sect1>
<sect1 id="release-8-0-16">
<title>Release 8.0.16</title>
<note>
<title>Release date</title>
<simpara>2008-06-09</simpara>
</note>
<para>
This release contains a variety of fixes from 8.0.15.
For information about new features in the 8.0 major release, see
<xref linkend="release-8-0">.
</para>
<sect2>
<title>Migration to Version 8.0.16</title>
<para>
A dump/restore is not required for those running 8.0.X.
However, if you are upgrading from a version earlier than 8.0.6,
see the release notes for 8.0.6.
</para>
</sect2>
<sect2>
<title>Changes</title>
<itemizedlist>
<listitem>
<para>
Rename Rendezvous to Bonjour to match OS/X feature renaming
(Bruce)
Fix <command>ALTER TABLE ADD COLUMN ... PRIMARY KEY</> so that the new
column is correctly checked to see if it's been initialized to all
non-nulls (Brendan Jurd)
</para>
</listitem>
<listitem>
<para>
Add support for <literal>fsync_writethrough</literal> on
Darwin (Chris Campbell)
Previous versions neglected to check this requirement at all.
</para>
</listitem>
<listitem>
<para>
Streamline the passing of information within the server, the
optimizer, and the lock system (Tom)
Fix possible <command>CREATE TABLE</> failure when inheriting the
<quote>same</> constraint from multiple parent relations that
inherited that constraint from a common ancestor (Tom)
</para>
</listitem>
<listitem>
<para>
Allow <application>pg_config</> to be compiled using MSVC (Andrew)
</para>
<para>
This is required to build DBD::Pg using <application>MSVC</>.
Fix conversions between ISO-8859-5 and other encodings to handle
Cyrillic <quote>Yo</> characters (<literal>e</> and <literal>E</> with
two dots) (Sergey Burladyan)
</para>
</listitem>
<listitem>
<para>
Remove support for Kerberos V4 (Magnus)
Fix a few datatype input functions
that were allowing unused bytes in their results to contain
uninitialized, unpredictable values (Tom)
</para>
<para>
Kerberos 4 had security vulnerabilities and is no longer
maintained.
This could lead to failures in which two apparently identical literal
values were not seen as equal, resulting in the parser complaining
about unmatched <literal>ORDER BY</> and <literal>DISTINCT</>
expressions.
</para>
</listitem>
<listitem>
<para>
Code cleanups (Coverity static analysis performed by
EnterpriseDB)
Fix a corner case in regular-expression substring matching
(<literal>substring(<replaceable>string</> from
<replaceable>pattern</>)</literal>) (Tom)
</para>
</listitem>
<listitem>
<para>
Modify <filename>postgresql.conf</> to use documentation defaults
<literal>on</>/<literal>off</> rather than
<literal>true</>/<literal>false</> (Bruce)
The problem occurs when there is a match to the pattern overall but
the user has specified a parenthesized subexpression and that
subexpression hasn't got a match. An example is
<literal>substring('foo' from 'foo(bar)?')</>.
This should return NULL, since <literal>(bar)</> isn't matched, but
it was mistakenly returning the whole-pattern match instead (ie,
<literal>foo</>).
</para>
</listitem>
<listitem>
<para>
Enhance <application>pg_config</> to be able to report more
build-time values (Tom)
Update time zone data files to <application>tzdata</> release 2008c (for
DST law changes in Morocco, Iraq, Choibalsan, Pakistan, Syria, Cuba,
Argentina/San_Luis, and Chile)
</para>
</listitem>
<listitem>
<para>
Allow <application>libpq</application> to be built thread-safe
on Windows (Dave Page
)
Fix incorrect result from <application>ecpg</>'s
<function>PGTYPEStimestamp_sub()</> function (Michael
)
</para>
</listitem>
<listitem>
<para>
Allow IPv6 connections to be used on Windows (Andrew)
Fix core dump in <filename>contrib/xml2</>'s
<function>xpath_table()</> function when the input query returns a
NULL value (Tom)
</para>
</listitem>
<listitem>
<para>
Add Server Administration documentation about I/O subsystem
reliability (Bruce
)
Fix <filename>contrib/xml2</>'s makefile to not override
<literal>CFLAGS</> (Tom
)
</para>
</listitem>
<listitem>
<para>
Move private declarations from <filename>gist.h</filename> to
<filename>gist_private.h</filename> (Neil
)
Fix <literal>DatumGetBool</> macro to not fail with <application>gcc</>
4.3 (Tom
)
</para>
<para>
In previous releases, <filename>gist.h</> contained both the
public GiST API (intended for use by authors of GiST index
implementations) as well as some private declarations used by
the implementation of GiST itself. The latter have been moved
to a separate file, <filename>gist_private.h</>. Most GiST
index implementations should be unaffected.
This problem affects <quote>old style</> (V0) C functions that
return boolean. The fix is already in 8.3, but the need to
back-patch it was not realized at the time.
</para>
</listitem>
<listitem>
<para>
Overhaul GiST memory management (Neil)
Fix longstanding <command>LISTEN</>/<command>NOTIFY</>
race condition (Tom)
</para>
<para>
GiST methods are now always invoked in a short-lived memory
context. Therefore, memory allocated via <function>palloc()</>
will be reclaimed automatically, so GiST index implementations
do not need to manually release allocated memory via
<function>pfree()</>.
In rare cases a session that had just executed a
<command>LISTEN</> might not get a notification, even though
one would be expected because the concurrent transaction executing
<command>NOTIFY</> was observed to commit later.
</para>
</listitem>
</itemizedlist>
</sect3>
<sect3>
<title>Contrib Changes</title>
<itemizedlist>
<listitem>
<para>
Add <filename>/contrib/pg_buffercache</> contrib module (Mark
Kirkwood)
</para>
<para>
This displays the contents of the buffer cache, for debugging and
performance tuning purposes.
A side effect of the fix is that a transaction that has executed
a not-yet-committed <command>LISTEN</> command will not see any
row in <structname>pg_listener</> for the <command>LISTEN</>,
should it choose to look; formerly it would have. This behavior
was never documented one way or the other, but it is possible that
some applications depend on the old behavior.
</para>
</listitem>
<listitem>
<para>
Remove <filename>/contrib/array</> because it is obsolete (Tom)
Fix rare crash when an error occurs during a query using a hash index
(Heikki)
</para>
</listitem>
<listitem>
<para>
Clean up the <filename>/contrib/lo</> module
(Tom)
Fix input of datetime values for February 29 in years BC
(Tom)
</para>
</listitem>
<listitem>
<para>
Move <filename>/contrib/findoidjoins</> to
<filename>/src/tools</> (Tom)
The former coding was mistaken about which years were leap years.
</para>
</listitem>
<listitem>
<para>
Remove the <literal><<</>, <literal>>></>,
<literal>&<</>, and <literal>&></> operators from
<filename>/contrib/cube</>
</para>
<para>
These operators were not useful.
Fix <quote>unrecognized node type</> error in some variants of
<command>ALTER OWNER</> (Tom)
</para>
</listitem>
<listitem>
<para>
Improve <filename>/contrib/btree_gist</> (Janko Richter)
Fix <application>pg_ctl</> to correctly extract the postmaster's port
number from command-line options (Itagaki Takahiro, Tom)
</para>
</listitem>
<listitem>
<para>
Improve <filename>/contrib/pgbench</> (Tomoaki Sato, Tatsuo)
</para>
<para>
There is now a facility for testing with SQL command scripts given
by the user, instead of only a hard-wired command sequence.
Previously, <literal>pg_ctl start -w</> could try to contact the
postmaster on the wrong port, leading to bogus reports of startup
failure.
</para>
</listitem>
<listitem>
<para>
Improve <filename>/contrib/pgcrypto</> (Marko Kreen)
Use <option>-fwrapv</> to defend against possible misoptimization
in recent <application>gcc</> versions (Tom)
</para>
<itemizedlist>
<listitem>
<para>
Implementation of OpenPGP symmetric-key and public-key encryption
</para>
<para>
Both RSA and Elgamal public-key algorithms are supported.
This is known to be necessary when building <productname>PostgreSQL</>
with <application>gcc</> 4.3 or later.
</para>
</listitem>
<listitem>
<para>
Stand alone build: include SHA256/384/512 hashes, Fortuna PRNG
Fix display of constant expressions in <literal>ORDER BY</>
and <literal>GROUP BY</> (Tom)
</para>
</listitem>
<listitem>
<para>
OpenSSL build: support 3DES, use internal AES with OpenSSL < 0.9.7
An explictly casted constant would be shown incorrectly. This could
for example lead to corruption of a view definition during
dump and reload.
</para>
</listitem>
<listitem>
<para>
Take build parameters (OpenSSL, zlib) from <filename>configure</> result
</para>
<para>
There is no need to edit the <filename>Makefile</> anymore.
Fix <application>libpq</> to handle NOTICE messages correctly
during COPY OUT (Tom)
</para>
</listitem>
<listitem>
<para>
Remove support for <filename>libmhash</> and <filename>libmcrypt</>
This failure has only been observed to occur when a user-defined
datatype's output routine issues a NOTICE, but there is no
guarantee it couldn't happen due to other causes.
</para>
</listitem>
</itemizedlist>
</listitem>
</itemizedlist>
</sect3>
</sect2>
</sect1>
...
...
@@ -14047,6 +15094,151 @@ typedefs (Michael)</para></listitem>
</sect2>
</sect1>
<sect1 id="release-7-4-20">
<title>Release 7.4.20</title>
<note>
<title>Release date</title>
<simpara>2008-06-09</simpara>
</note>
<para>
This release contains a variety of fixes from 7.4.19.
For information about new features in the 7.4 major release, see
<xref linkend="release-7-4">.
</para>
<sect2>
<title>Migration to Version 7.4.20</title>
<para>
A dump/restore is not required for those running 7.4.X.
However, if you are upgrading from a version earlier than 7.4.11,
see the release notes for 7.4.11.
</para>
</sect2>
<sect2>
<title>Changes</title>
<itemizedlist>
<listitem>
<para>
Fix conversions between ISO-8859-5 and other encodings to handle
Cyrillic <quote>Yo</> characters (<literal>e</> and <literal>E</> with
two dots) (Sergey Burladyan)
</para>
</listitem>
<listitem>
<para>
Fix a few datatype input functions
that were allowing unused bytes in their results to contain
uninitialized, unpredictable values (Tom)
</para>
<para>
This could lead to failures in which two apparently identical literal
values were not seen as equal, resulting in the parser complaining
about unmatched <literal>ORDER BY</> and <literal>DISTINCT</>
expressions.
</para>
</listitem>
<listitem>
<para>
Fix a corner case in regular-expression substring matching
(<literal>substring(<replaceable>string</> from
<replaceable>pattern</>)</literal>) (Tom)
</para>
<para>
The problem occurs when there is a match to the pattern overall but
the user has specified a parenthesized subexpression and that
subexpression hasn't got a match. An example is
<literal>substring('foo' from 'foo(bar)?')</>.
This should return NULL, since <literal>(bar)</> isn't matched, but
it was mistakenly returning the whole-pattern match instead (ie,
<literal>foo</>).
</para>
</listitem>
<listitem>
<para>
Fix incorrect result from <application>ecpg</>'s
<function>PGTYPEStimestamp_sub()</> function (Michael)
</para>
</listitem>
<listitem>
<para>
Fix <literal>DatumGetBool</> macro to not fail with <application>gcc</>
4.3 (Tom)
</para>
<para>
This problem affects <quote>old style</> (V0) C functions that
return boolean. The fix is already in 8.3, but the need to
back-patch it was not realized at the time.
</para>
</listitem>
<listitem>
<para>
Fix longstanding <command>LISTEN</>/<command>NOTIFY</>
race condition (Tom)
</para>
<para>
In rare cases a session that had just executed a
<command>LISTEN</> might not get a notification, even though
one would be expected because the concurrent transaction executing
<command>NOTIFY</> was observed to commit later.
</para>
<para>
A side effect of the fix is that a transaction that has executed
a not-yet-committed <command>LISTEN</> command will not see any
row in <structname>pg_listener</> for the <command>LISTEN</>,
should it choose to look; formerly it would have. This behavior
was never documented one way or the other, but it is possible that
some applications depend on the old behavior.
</para>
</listitem>
<listitem>
<para>
Fix display of constant expressions in <literal>ORDER BY</>
and <literal>GROUP BY</> (Tom)
</para>
<para>
An explictly casted constant would be shown incorrectly. This could
for example lead to corruption of a view definition during
dump and reload.
</para>
</listitem>
<listitem>
<para>
Fix <application>libpq</> to handle NOTICE messages correctly
during COPY OUT (Tom)
</para>
<para>
This failure has only been observed to occur when a user-defined
datatype's output routine issues a NOTICE, but there is no
guarantee it couldn't happen due to other causes.
</para>
</listitem>
</itemizedlist>
</sect2>
</sect1>
<sect1 id="release-7-4-19">
<title>Release 7.4.19</title>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment