1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-05 07:41:25 +03:00

Stamp release 7.4.7.

This commit is contained in:
Tom Lane
2005-01-30 19:32:22 +00:00
parent f3610577bd
commit 9c1bb68356
6 changed files with 226 additions and 64 deletions

18
configure vendored
View File

@@ -1,6 +1,6 @@
#! /bin/sh #! /bin/sh
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.53 for PostgreSQL 7.4.6. # Generated by GNU Autoconf 2.53 for PostgreSQL 7.4.7.
# #
# Report bugs to <pgsql-bugs@postgresql.org>. # Report bugs to <pgsql-bugs@postgresql.org>.
# #
@@ -258,8 +258,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package. # Identity of this package.
PACKAGE_NAME='PostgreSQL' PACKAGE_NAME='PostgreSQL'
PACKAGE_TARNAME='postgresql' PACKAGE_TARNAME='postgresql'
PACKAGE_VERSION='7.4.6' PACKAGE_VERSION='7.4.7'
PACKAGE_STRING='PostgreSQL 7.4.6' PACKAGE_STRING='PostgreSQL 7.4.7'
PACKAGE_BUGREPORT='pgsql-bugs@postgresql.org' PACKAGE_BUGREPORT='pgsql-bugs@postgresql.org'
ac_unique_file="src/backend/access/common/heaptuple.c" ac_unique_file="src/backend/access/common/heaptuple.c"
@@ -769,7 +769,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing. # Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh. # This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF cat <<_ACEOF
\`configure' configures PostgreSQL 7.4.6 to adapt to many kinds of systems. \`configure' configures PostgreSQL 7.4.7 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]... Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -830,7 +830,7 @@ fi
if test -n "$ac_init_help"; then if test -n "$ac_init_help"; then
case $ac_init_help in case $ac_init_help in
short | recursive ) echo "Configuration of PostgreSQL 7.4.6:";; short | recursive ) echo "Configuration of PostgreSQL 7.4.7:";;
esac esac
cat <<\_ACEOF cat <<\_ACEOF
@@ -950,7 +950,7 @@ fi
test -n "$ac_init_help" && exit 0 test -n "$ac_init_help" && exit 0
if $ac_init_version; then if $ac_init_version; then
cat <<\_ACEOF cat <<\_ACEOF
PostgreSQL configure 7.4.6 PostgreSQL configure 7.4.7
generated by GNU Autoconf 2.53 generated by GNU Autoconf 2.53
Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
@@ -967,7 +967,7 @@ cat >&5 <<_ACEOF
This file contains any messages produced by compilers while This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake. running configure, to aid debugging if configure makes a mistake.
It was created by PostgreSQL $as_me 7.4.6, which was It was created by PostgreSQL $as_me 7.4.7, which was
generated by GNU Autoconf 2.53. Invocation command line was generated by GNU Autoconf 2.53. Invocation command line was
$ $0 $@ $ $0 $@
@@ -18050,7 +18050,7 @@ _ASBOX
} >&5 } >&5
cat >&5 <<_CSEOF cat >&5 <<_CSEOF
This file was extended by PostgreSQL $as_me 7.4.6, which was This file was extended by PostgreSQL $as_me 7.4.7, which was
generated by GNU Autoconf 2.53. Invocation command line was generated by GNU Autoconf 2.53. Invocation command line was
CONFIG_FILES = $CONFIG_FILES CONFIG_FILES = $CONFIG_FILES
@@ -18112,7 +18112,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\ ac_cs_version="\\
PostgreSQL config.status 7.4.6 PostgreSQL config.status 7.4.7
configured by $0, generated by GNU Autoconf 2.53, configured by $0, generated by GNU Autoconf 2.53,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"

View File

@@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script. dnl Process this file with autoconf to produce a configure script.
dnl $Header: /cvsroot/pgsql/configure.in,v 1.301.2.12 2004/10/22 00:26:22 tgl Exp $ dnl $Header: /cvsroot/pgsql/configure.in,v 1.301.2.13 2005/01/30 19:32:20 tgl Exp $
dnl dnl
dnl Developers, please strive to achieve this order: dnl Developers, please strive to achieve this order:
dnl dnl
@@ -21,7 +21,7 @@ dnl The GNU folks apparently haven't heard that some people don't use
dnl Texinfo. Use this sorcery to use "docdir" instead of "infodir". dnl Texinfo. Use this sorcery to use "docdir" instead of "infodir".
m4_define([info], [doc]) m4_define([info], [doc])
m4_define([infodir], [docdir]) m4_define([infodir], [docdir])
AC_INIT([PostgreSQL], [7.4.6], [pgsql-bugs@postgresql.org]) AC_INIT([PostgreSQL], [7.4.7], [pgsql-bugs@postgresql.org])
m4_undefine([infodir]) m4_undefine([infodir])
m4_undefine([info]) m4_undefine([info])
AC_SUBST(docdir) AC_SUBST(docdir)

View File

@@ -27,7 +27,7 @@ System Configuration
Operating System (example: Linux 2.4.18) : Operating System (example: Linux 2.4.18) :
PostgreSQL version (example: PostgreSQL-7.4.6): PostgreSQL-7.4.6 PostgreSQL version (example: PostgreSQL-7.4.7): PostgreSQL-7.4.7
Compiler used (example: gcc 2.95.2) : Compiler used (example: gcc 2.95.2) :

View File

@@ -1,10 +1,68 @@
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/release.sgml,v 1.235.2.28 2004/10/22 00:26:22 tgl Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/release.sgml,v 1.235.2.29 2005/01/30 19:32:21 tgl Exp $
--> -->
<appendix id="release"> <appendix id="release">
<title>Release Notes</title> <title>Release Notes</title>
<sect1 id="release-7-4-7">
<title>Release 7.4.7</title>
<note>
<title>Release date</title>
<simpara>2005-01-31</simpara>
</note>
<para>
This release contains a variety of fixes from 7.4.6, including several
security-related issues.
</para>
<sect2>
<title>Migration to version 7.4.7</title>
<para>
A dump/restore is not required for those running 7.4.X.
</para>
</sect2>
<sect2>
<title>Changes</title>
<itemizedlist>
<listitem><para>Disallow <command>LOAD</> to non-superusers</para>
<para>
On platforms that will automatically execute initialization functions of a
shared library (this includes at least Windows and ELF-based Unixen),
<command>LOAD</> can be used to make the server execute arbitrary code.
Thanks to NGS Software for reporting this.</para></listitem>
<listitem><para>Check that creator of an aggregate function has the right to
execute the specified transition functions</para>
<para>
This oversight made it possible to bypass denial of EXECUTE
permission on a function.</para></listitem>
<listitem><para>Fix security and 64-bit issues in
contrib/intagg</para></listitem>
<listitem><para>Add needed STRICT marking to some contrib functions (Kris
Jurka)</para></listitem>
<listitem><para>Avoid buffer overrun when plpgsql cursor declaration has too
many parameters (Neil)</para></listitem>
<listitem><para>Fix planning error for FULL and RIGHT outer joins</para>
<para>
The result of the join was mistakenly supposed to be sorted the same as the
left input. This could not only deliver mis-sorted output to the user, but
in case of nested merge joins could give outright wrong answers.
</para></listitem>
<listitem><para>Fix plperl for quote marks in tuple fields</para></listitem>
<listitem><para>Fix display of negative intervals in SQL and GERMAN
datestyles</para></listitem>
<listitem><para>Make age(timestamptz) do calculation in local timezone not
GMT</para></listitem>
</itemizedlist>
</sect2>
</sect1>
<sect1 id="release-7-4-6"> <sect1 id="release-7-4-6">
<title>Release 7.4.6</title> <title>Release 7.4.6</title>
@@ -41,11 +99,11 @@ it as a potential-data-loss bug.
Very large left joins using a hash join plan could fail to output unmatched Very large left joins using a hash join plan could fail to output unmatched
left-side rows given just the right data distribution. left-side rows given just the right data distribution.
</para></listitem> </para></listitem>
<listitem><para>Disallow running pg_ctl as root</para> <listitem><para>Disallow running <application>pg_ctl</> as root</para>
<para> <para>
This is to guard against any possible security issues. This is to guard against any possible security issues.
</para></listitem> </para></listitem>
<listitem><para>Avoid using temp files in /tmp in make_oidjoins_check</para> <listitem><para>Avoid using temp files in <filename>/tmp</> in <command>make_oidjoins_check</command></para>
<para> <para>
This has been reported as a security issue, though it's hardly worthy of This has been reported as a security issue, though it's hardly worthy of
concern since there is no reason for non-developers to use this script anyway. concern since there is no reason for non-developers to use this script anyway.
@@ -56,7 +114,7 @@ result</para>
In rare cases, a client might think that its last command had succeeded when In rare cases, a client might think that its last command had succeeded when
it really had been aborted by forced database shutdown. it really had been aborted by forced database shutdown.
</para></listitem> </para></listitem>
<listitem><para>Repair bug in pg_stat_get_backend_idset()</para> <listitem><para>Repair bug in <function>pg_stat_get_backend_idset</function></para>
<para> <para>
This could lead to misbehavior in some of the system-statistics views. This could lead to misbehavior in some of the system-statistics views.
</para></listitem> </para></listitem>
@@ -100,9 +158,9 @@ ECPG prepare statement</para></listitem>
<title>Changes</title> <title>Changes</title>
<itemizedlist> <itemizedlist>
<listitem><para>Repair possible crash during concurrent btree index insertions</para> <listitem><para>Repair possible crash during concurrent B-tree index insertions</para>
<para> <para>
This patch fixes a rare case in which concurrent insertions into a btree index This patch fixes a rare case in which concurrent insertions into a B-tree index
could result in a server panic. No permanent damage would result, but it's could result in a server panic. No permanent damage would result, but it's
still worth a re-release. The bug does not exist in pre-7.4 releases. still worth a re-release. The bug does not exist in pre-7.4 releases.
</para></listitem> </para></listitem>
@@ -146,12 +204,12 @@ since <productname>PostgreSQL</productname> 7.1.
</para></listitem> </para></listitem>
<listitem><para>Check HAVING restriction before evaluating result list of an <listitem><para>Check HAVING restriction before evaluating result list of an
aggregate plan</para></listitem> aggregate plan</para></listitem>
<listitem><para>Avoid crash when session's current userID is deleted</para></listitem> <listitem><para>Avoid crash when session's current user ID is deleted</para></listitem>
<listitem><para>Fix hashed crosstab for zero-rows case (Joe)</para></listitem> <listitem><para>Fix hashed crosstab for zero-rows case (Joe)</para></listitem>
<listitem><para>Force cache update after renaming a column in a foreign key</para></listitem> <listitem><para>Force cache update after renaming a column in a foreign key</para></listitem>
<listitem><para>Pretty-print UNION queries correctly</para></listitem> <listitem><para>Pretty-print UNION queries correctly</para></listitem>
<listitem><para>Make psql handle <literal>\r\n</> newlines properly in COPY IN</para></listitem> <listitem><para>Make psql handle <literal>\r\n</> newlines properly in COPY IN</para></listitem>
<listitem><para>pg_dump handled ACLs with grant options incorrectly</para></listitem> <listitem><para><application>pg_dump</> handled ACLs with grant options incorrectly</para></listitem>
<listitem><para>Fix thread support for OS X and Solaris</para></listitem> <listitem><para>Fix thread support for OS X and Solaris</para></listitem>
<listitem><para>Updated JDBC driver (build 215) with various fixes</para></listitem> <listitem><para>Updated JDBC driver (build 215) with various fixes</para></listitem>
<listitem><para>ECPG fixes</para></listitem> <listitem><para>ECPG fixes</para></listitem>
@@ -439,7 +497,7 @@ DROP SCHEMA information_schema CASCADE;
<listitem><para>Force zero_damaged_pages to be on during recovery from WAL</para></listitem> <listitem><para>Force zero_damaged_pages to be on during recovery from WAL</para></listitem>
<listitem><para>Prevent some obscure cases of <quote>variable not in subplan target lists</quote></para></listitem> <listitem><para>Prevent some obscure cases of <quote>variable not in subplan target lists</quote></para></listitem>
<listitem><para>Make <function>PQescapeBytea</function> and <function>byteaout</function> consistent with each other (Joe)</para></listitem> <listitem><para>Make <function>PQescapeBytea</function> and <function>byteaout</function> consistent with each other (Joe)</para></listitem>
<listitem><para>Escape <type>bytea</type> output for bytes > 0x7e(Joe)</para> <listitem><para>Escape <type>bytea</type> output for bytes &gt; 0x7e(Joe)</para>
<para> <para>
If different client encodings are used for <type>bytea</type> output and input, it If different client encodings are used for <type>bytea</type> output and input, it
is possible for <type>bytea</type> values to be corrupted by the differing is possible for <type>bytea</type> values to be corrupted by the differing
@@ -1417,7 +1475,7 @@ DROP SCHEMA information_schema CASCADE;
<itemizedlist> <itemizedlist>
<listitem> <listitem>
<para>Make <command>CREATE SEQUENCE</command> grammar more conforming to SQL 2003 (Neil)</para> <para>Make <command>CREATE SEQUENCE</command> grammar more conforming to SQL:2003 (Neil)</para>
</listitem> </listitem>
<listitem> <listitem>
@@ -1492,7 +1550,7 @@ DROP SCHEMA information_schema CASCADE;
<listitem> <listitem>
<para> <para>
Allow copying table schema using <literal>LIKE Allow copying table schema using <literal>LIKE
<replaceable>subtable</replaceable></literal>, also SQL 2003 <replaceable>subtable</replaceable></literal>, also SQL:2003
feature <literal>INCLUDING DEFAULTS</literal> (Rod) feature <literal>INCLUDING DEFAULTS</literal> (Rod)
</para> </para>
</listitem> </listitem>
@@ -2272,7 +2330,7 @@ DROP SCHEMA information_schema CASCADE;
<listitem><para>Allow libpq to compile with Borland C++ compiler (Lester Godwin, Karl Waclawek)</para></listitem> <listitem><para>Allow libpq to compile with Borland C++ compiler (Lester Godwin, Karl Waclawek)</para></listitem>
<listitem><para>Use our own version of <function>getopt_long()</function> if needed (Peter)</para></listitem> <listitem><para>Use our own version of <function>getopt_long()</function> if needed (Peter)</para></listitem>
<listitem><para>Convert administration scripts to C (Peter)</para></listitem> <listitem><para>Convert administration scripts to C (Peter)</para></listitem>
<listitem><para> Bison >= 1.85 is now required to build the <productname>PostgreSQL</> grammar, if building from CVS</para></listitem> <listitem><para> Bison &gt;= 1.85 is now required to build the <productname>PostgreSQL</> grammar, if building from CVS</para></listitem>
<listitem><para>Merge documentation into one book (Peter)</para></listitem> <listitem><para>Merge documentation into one book (Peter)</para></listitem>
<listitem><para>Add Windows compatibility functions (Bruce)</para></listitem> <listitem><para>Add Windows compatibility functions (Bruce)</para></listitem>
<listitem><para>Allow client interfaces to compile under MinGW (Bruce)</para></listitem> <listitem><para>Allow client interfaces to compile under MinGW (Bruce)</para></listitem>
@@ -2328,6 +2386,62 @@ DROP SCHEMA information_schema CASCADE;
</sect2> </sect2>
</sect1> </sect1>
<sect1 id="release-7-3-9">
<title>Release 7.3.9</title>
<note>
<title>Release date</title>
<simpara>2005-01-31</simpara>
</note>
<para>
This release contains a variety of fixes from 7.3.8, including several
security-related issues.
</para>
<sect2>
<title>Migration to version 7.3.9</title>
<para>
A dump/restore is not required for those running 7.3.X.
</para>
</sect2>
<sect2>
<title>Changes</title>
<itemizedlist>
<listitem><para>Disallow <command>LOAD</> to non-superusers</para>
<para>
On platforms that will automatically execute initialization functions of a
shared library (this includes at least Windows and ELF-based Unixen),
<command>LOAD</> can be used to make the server execute arbitrary code.
Thanks to NGS Software for reporting this.</para></listitem>
<listitem><para>Check that creator of an aggregate function has the right to
execute the specified transition functions</para>
<para>
This oversight made it possible to bypass denial of EXECUTE
permission on a function.</para></listitem>
<listitem><para>Fix security and 64-bit issues in
contrib/intagg</para></listitem>
<listitem><para>Add needed STRICT marking to some contrib functions (Kris
Jurka)</para></listitem>
<listitem><para>Avoid buffer overrun when plpgsql cursor declaration has too
many parameters (Neil)</para></listitem>
<listitem><para>Fix planning error for FULL and RIGHT outer joins</para>
<para>
The result of the join was mistakenly supposed to be sorted the same as the
left input. This could not only deliver mis-sorted output to the user, but
in case of nested merge joins could give outright wrong answers.
</para></listitem>
<listitem><para>Fix plperl for quote marks in tuple fields</para></listitem>
<listitem><para>Fix display of negative intervals in SQL and GERMAN
datestyles</para></listitem>
</itemizedlist>
</sect2>
</sect1>
<sect1 id="release-7-3-8"> <sect1 id="release-7-3-8">
<title>Release 7.3.8</title> <title>Release 7.3.8</title>
@@ -3113,7 +3227,7 @@ operations on bytea columns (Joe)</para></listitem>
<listitem><para>Make cursors insensitive, meaning their contents do not change (Tom)</para></listitem> <listitem><para>Make cursors insensitive, meaning their contents do not change (Tom)</para></listitem>
<listitem><para>Disable LIMIT #,# syntax; now only LIMIT # OFFSET # supported (Bruce)</para></listitem> <listitem><para>Disable LIMIT #,# syntax; now only LIMIT # OFFSET # supported (Bruce)</para></listitem>
<listitem><para>Increase identifier length to 63 (Neil, Bruce)</para></listitem> <listitem><para>Increase identifier length to 63 (Neil, Bruce)</para></listitem>
<listitem><para>UNION fixes for merging >= 3 columns of different lengths (Tom)</para></listitem> <listitem><para>UNION fixes for merging &gt;= 3 columns of different lengths (Tom)</para></listitem>
<listitem><para>Add DEFAULT key word to INSERT, e.g., INSERT ... (..., DEFAULT, ...) (Rod)</para></listitem> <listitem><para>Add DEFAULT key word to INSERT, e.g., INSERT ... (..., DEFAULT, ...) (Rod)</para></listitem>
<listitem><para>Allow views to have default values using ALTER COLUMN ... SET DEFAULT (Neil)</para></listitem> <listitem><para>Allow views to have default values using ALTER COLUMN ... SET DEFAULT (Neil)</para></listitem>
<listitem><para>Fail on INSERTs with column lists that don't supply all column values, e.g., INSERT INTO tab (col1, col2) VALUES ('val1'); (Rod)</para></listitem> <listitem><para>Fail on INSERTs with column lists that don't supply all column values, e.g., INSERT INTO tab (col1, col2) VALUES ('val1'); (Rod)</para></listitem>
@@ -3196,7 +3310,7 @@ operations on bytea columns (Joe)</para></listitem>
<listitem><para>New pg_settings table to view/modify GUC settings (Joe)</para></listitem> <listitem><para>New pg_settings table to view/modify GUC settings (Joe)</para></listitem>
<listitem><para>Add smart quoting, portability improvements to <application>pg_dump</> output (Peter)</para></listitem> <listitem><para>Add smart quoting, portability improvements to <application>pg_dump</> output (Peter)</para></listitem>
<listitem><para>Dump serial columns out as SERIAL (Tom)</para></listitem> <listitem><para>Dump serial columns out as SERIAL (Tom)</para></listitem>
<listitem><para>Enable large file support, >2G for <application>pg_dump</> (Peter, Philip Warner, Bruce)</para></listitem> <listitem><para>Enable large file support, &gt;2G for <application>pg_dump</> (Peter, Philip Warner, Bruce)</para></listitem>
<listitem><para>Disallow TRUNCATE on tables that are involved in referential constraints (Rod)</para></listitem> <listitem><para>Disallow TRUNCATE on tables that are involved in referential constraints (Rod)</para></listitem>
<listitem><para>Have TRUNCATE also auto-truncate the toast table of the relation (Tom)</para></listitem> <listitem><para>Have TRUNCATE also auto-truncate the toast table of the relation (Tom)</para></listitem>
<listitem><para>Add clusterdb utility that will auto-cluster an entire database based on previous CLUSTER operations (Alvaro Herrera)</para></listitem> <listitem><para>Add clusterdb utility that will auto-cluster an entire database based on previous CLUSTER operations (Alvaro Herrera)</para></listitem>
@@ -3260,7 +3374,7 @@ operations on bytea columns (Joe)</para></listitem>
<listitem><para>Add additional encodings: Korean (JOHAB), Thai (WIN874), Vietnamese (TCVN), Arabic (WIN1256), Simplified Chinese (GBK), Korean (UHC) (Eiji Tokuya)</para></listitem> <listitem><para>Add additional encodings: Korean (JOHAB), Thai (WIN874), Vietnamese (TCVN), Arabic (WIN1256), Simplified Chinese (GBK), Korean (UHC) (Eiji Tokuya)</para></listitem>
<listitem><para>Enable locale support by default (Peter)</para></listitem> <listitem><para>Enable locale support by default (Peter)</para></listitem>
<listitem><para>Add locale variables (Peter)</para></listitem> <listitem><para>Add locale variables (Peter)</para></listitem>
<listitem><para>Escape byes >= 0x7f for multibyte in PQescapeBytea/PQunescapeBytea (Tatsuo)</para></listitem> <listitem><para>Escape byes &gt;= 0x7f for multibyte in PQescapeBytea/PQunescapeBytea (Tatsuo)</para></listitem>
<listitem><para>Add locale awareness to regular expression character classes</para></listitem> <listitem><para>Add locale awareness to regular expression character classes</para></listitem>
<listitem><para>Enable multibyte support by default (Tatsuo)</para></listitem> <listitem><para>Enable multibyte support by default (Tatsuo)</para></listitem>
<listitem><para>Add GB18030 multibyte support (Bill Huang)</para></listitem> <listitem><para>Add GB18030 multibyte support (Bill Huang)</para></listitem>
@@ -3305,7 +3419,7 @@ operations on bytea columns (Joe)</para></listitem>
<sect3> <sect3>
<title>libpq</title> <title>libpq</title>
<itemizedlist> <itemizedlist>
<listitem><para>Add $HOME/.pgpass to store host/user password combinations (Alvaro Herrera)</para></listitem> <listitem><para>Add ~/.pgpass to store host/user password combinations (Alvaro Herrera)</para></listitem>
<listitem><para>Add PQunescapeBytea() function to libpq (Patrick Welche)</para></listitem> <listitem><para>Add PQunescapeBytea() function to libpq (Patrick Welche)</para></listitem>
<listitem><para>Fix for sending large queries over non-blocking connections (Bernhard Herzog)</para></listitem> <listitem><para>Fix for sending large queries over non-blocking connections (Bernhard Herzog)</para></listitem>
<listitem><para>Fix for libpq using timers on Win9X (David Ford)</para></listitem> <listitem><para>Fix for libpq using timers on Win9X (David Ford)</para></listitem>
@@ -3433,6 +3547,54 @@ operations on bytea columns (Joe)</para></listitem>
</sect2> </sect2>
</sect1> </sect1>
<sect1 id="release-7-2-7">
<title>Release 7.2.7</title>
<note>
<title>Release date</title>
<simpara>2005-01-31</simpara>
</note>
<para>
This release contains a variety of fixes from 7.2.6, including several
security-related issues.
</para>
<sect2>
<title>Migration to version 7.2.7</title>
<para>
A dump/restore is not required for those running 7.2.X.
</para>
</sect2>
<sect2>
<title>Changes</title>
<itemizedlist>
<listitem><para>Disallow <command>LOAD</> to non-superusers</para>
<para>
On platforms that will automatically execute initialization functions of a
shared library (this includes at least Windows and ELF-based Unixen),
<command>LOAD</> can be used to make the server execute arbitrary code.
Thanks to NGS Software for reporting this.</para></listitem>
<listitem><para>Add needed STRICT marking to some contrib functions (Kris
Jurka)</para></listitem>
<listitem><para>Avoid buffer overrun when plpgsql cursor declaration has too
many parameters (Neil)</para></listitem>
<listitem><para>Fix planning error for FULL and RIGHT outer joins</para>
<para>
The result of the join was mistakenly supposed to be sorted the same as the
left input. This could not only deliver mis-sorted output to the user, but
in case of nested merge joins could give outright wrong answers.
</para></listitem>
<listitem><para>Fix display of negative intervals in SQL and GERMAN
datestyles</para></listitem>
</itemizedlist>
</sect2>
</sect1>
<sect1 id="release-7-2-6"> <sect1 id="release-7-2-6">
<title>Release 7.2.6</title> <title>Release 7.2.6</title>
@@ -3630,7 +3792,7 @@ since <productname>PostgreSQL</productname> 7.1.
<itemizedlist> <itemizedlist>
<listitem><para>Allow EXECUTE of "CREATE TABLE AS ... SELECT" in PL/pgSQL (Tom)</para></listitem> <listitem><para>Allow EXECUTE of "CREATE TABLE AS ... SELECT" in PL/pgSQL (Tom)</para></listitem>
<listitem><para>Fix for compressed transaction log id wraparound (Tom)</para></listitem> <listitem><para>Fix for compressed transaction log id wraparound (Tom)</para></listitem>
<listitem><para>Fix PQescapeBytea/PQunescapeBytea so that they handle bytes > 0x7f (Tatsuo)</para></listitem> <listitem><para>Fix PQescapeBytea/PQunescapeBytea so that they handle bytes &gt; 0x7f (Tatsuo)</para></listitem>
<listitem><para>Fix for psql and <application>pg_dump</> crashing when invoked with non-existent long options (Tatsuo)</para></listitem> <listitem><para>Fix for psql and <application>pg_dump</> crashing when invoked with non-existent long options (Tatsuo)</para></listitem>
<listitem><para>Fix crash when invoking geometric operators (Tom)</para></listitem> <listitem><para>Fix crash when invoking geometric operators (Tom)</para></listitem>
<listitem><para>Allow OPEN cursor(args) (Tom)</para></listitem> <listitem><para>Allow OPEN cursor(args) (Tom)</para></listitem>
@@ -4801,7 +4963,7 @@ Added documentation to tarball.
<programlisting> <programlisting>
Fix many CLUSTER failures (Tom) Fix many CLUSTER failures (Tom)
Allow ALTER TABLE RENAME works on indexes (Tom) Allow ALTER TABLE RENAME works on indexes (Tom)
Fix plpgsql to handle datetime->timestamp and timespan->interval (Bruce) Fix plpgsql to handle datetime-&gt;timestamp and timespan-&gt;interval (Bruce)
New configure --with-setproctitle switch to use setproctitle() (Marc, Bruce) New configure --with-setproctitle switch to use setproctitle() (Marc, Bruce)
Fix the off by one errors in ResultSet from 6.5.3, and more. Fix the off by one errors in ResultSet from 6.5.3, and more.
jdbc ResultSet fixes (Joseph Shraibman) jdbc ResultSet fixes (Joseph Shraibman)
@@ -5049,7 +5211,7 @@ Fix mismatched types in CREATE TABLE ... DEFAULT
Fix SELECT * FROM pg_class where oid in (0,-1) Fix SELECT * FROM pg_class where oid in (0,-1)
Fix SELECT COUNT('asdf') FROM pg_class WHERE oid=12 Fix SELECT COUNT('asdf') FROM pg_class WHERE oid=12
Prevent user who can create databases can modifying pg_database table (Peter E) Prevent user who can create databases can modifying pg_database table (Peter E)
Fix btree to give a useful elog when key > 1/2 (page - overhead) (Tom) Fix btree to give a useful elog when key &gt; 1/2 (page - overhead) (Tom)
Fix INSERT of 0.0 into DECIMAL(4,4) field (Tom) Fix INSERT of 0.0 into DECIMAL(4,4) field (Tom)
Enhancements Enhancements
@@ -5258,7 +5420,7 @@ Fewer fsync writes when fsync is not disabled (Tom)
Improved LIKE optimizer estimates (Tom) Improved LIKE optimizer estimates (Tom)
Prevent fsync in SELECT-only queries (Vadim) Prevent fsync in SELECT-only queries (Vadim)
Make index creation use psort code, because it is now faster (Tom) Make index creation use psort code, because it is now faster (Tom)
Allow creation of sort temp tables > 1 Gig Allow creation of sort temp tables &gt; 1 Gig
Source Tree Changes Source Tree Changes
------------------- -------------------
@@ -5680,7 +5842,7 @@ Add Win1250 (Czech) support (Pavel Behal)
<programlisting> <programlisting>
Bug Fixes Bug Fixes
--------- ---------
Fix text<->float8 and text<->float4 conversion functions(Thomas) Fix text&lt;-&gt;float8 and text&lt;-&gt;float4 conversion functions(Thomas)
Fix for creating tables with mixed-case constraints(Billy) Fix for creating tables with mixed-case constraints(Billy)
Change exp()/pow() behavior to generate error on underflow/overflow(Jan) Change exp()/pow() behavior to generate error on underflow/overflow(Jan)
Fix bug in pg_dump -z Fix bug in pg_dump -z
@@ -6888,7 +7050,7 @@ Check explicitly for points and polygons contained within polygons
using an axis-crossing algorithm(Thomas) using an axis-crossing algorithm(Thomas)
Add routine to convert circle-box(Thomas) Add routine to convert circle-box(Thomas)
Merge conflicting operators for different geometric data types(Thomas) Merge conflicting operators for different geometric data types(Thomas)
Replace distance operator "<===>" with "<->"(Thomas) Replace distance operator "&lt;===&gt;" with "&lt;-&gt;"(Thomas)
Replace "above" operator "!^" with "&gt;^" and "below" operator "!|" with "&lt;^"(Thomas) Replace "above" operator "!^" with "&gt;^" and "below" operator "!|" with "&lt;^"(Thomas)
Add routines for text trimming on both ends, substring, and string position(Thomas) Add routines for text trimming on both ends, substring, and string position(Thomas)
Added conversion routines circle(box) and poly(circle)(Thomas) Added conversion routines circle(box) and poly(circle)(Thomas)
@@ -7440,31 +7602,31 @@ New Ports
</para> </para>
<!-- <!--
Contributors (appologies to any missed) Contributors (appologies to any missed)
* Kurt J. Lidl <lidl@va.pubnix.com> * Kurt J. Lidl &lt;lidl@va.pubnix.com&gt;
(missed in first run, but no less important) (missed in first run, but no less important)
* Erich Stamberger <eberger@gewi.kfunigraz.ac.at> * Erich Stamberger &lt;eberger@gewi.kfunigraz.ac.at&gt;
* Jason Wright <jason@shiloh.vnet.net> * Jason Wright &lt;jason@shiloh.vnet.net&gt;
* Cees de Groot <C.deGroot@inter.NL.net> * Cees de Groot &lt;C.deGroot@inter.NL.net&gt;
* ernst.molitor@uni-bonn.de * ernst.molitor@uni-bonn.de
* michael.siebenborn@ae3.Hypo.DE (Michael Siebenborn (6929)) * michael.siebenborn@ae3.Hypo.DE (Michael Siebenborn (6929))
* Brian E. Gallew <geek+@cmu.edu> * Brian E. Gallew &lt;geek+@cmu.edu&gt;
* Vadim B. Mikheev <vadim@sable.krasnoyarsk.su> * Vadim B. Mikheev &lt;vadim@sable.krasnoyarsk.su&gt;
* Adam Sussman <myddryn@vidya.com> * Adam Sussman &lt;myddryn@vidya.com&gt;
* Chris Dunlop <chris@onthe.net.au> * Chris Dunlop &lt;chris@onthe.net.au&gt;
* Marc G. Fournier <scrappy@ki.net> * Marc G. Fournier &lt;scrappy@ki.net&gt;
* Dan McGuirk <mcguirk@indirect.com> * Dan McGuirk &lt;mcguirk@indirect.com&gt;
* Dr_George_D_Detlefsen <drgeorge@ilt.com> * Dr_George_D_Detlefsen &lt;drgeorge@ilt.com&gt;
* Erich Stamberger <eberger@gewi.kfunigraz.ac.at> * Erich Stamberger &lt;eberger@gewi.kfunigraz.ac.at&gt;
* Massimo Dal Zotto <dz@cs.unitn.it> * Massimo Dal Zotto &lt;dz@cs.unitn.it&gt;
* Randy Kunkee <kunkee@Starbase.NeoSoft.COM> * Randy Kunkee &lt;kunkee@Starbase.NeoSoft.COM&gt;
* Rick Weldon <rick@wisetech.com> * Rick Weldon &lt;rick@wisetech.com&gt;
* Thomas van Reimersdahl <reimersd@dali.techinfo.rwth-aachen.de> * Thomas van Reimersdahl &lt;reimersd@dali.techinfo.rwth-aachen.de&gt;
* david bennett <dave@bensoft.com> * david bennett &lt;dave@bensoft.com&gt;
* ernst.molitor@uni-bonn.de * ernst.molitor@uni-bonn.de
* Julian Assange <proff@suburbia.net> * Julian Assange &lt;proff@suburbia.net&gt;
* Bruce Momjian <pgman@candle.pha.pa.us> * Bruce Momjian &lt;pgman@candle.pha.pa.us&gt;
* Paul "Shag" Walmsley <ccshag@cclabs.missouri.edu> * Paul "Shag" Walmsley &lt;ccshag@cclabs.missouri.edu&gt;
* "Alistair G. Crooks" <azcb0@sde.uts.amdahl.com> * "Alistair G. Crooks" &lt;azcb0@sde.uts.amdahl.com&gt;
--> -->
</sect2> </sect2>
</sect1> </sect1>
@@ -7756,9 +7918,9 @@ more compliant to the SQL-92 standard):
char(N), varchar(N), date and time. char(N), varchar(N), date and time.
The following are aliases to existing postgres types: The following are aliases to existing postgres types:
smallint -> int2 smallint -&gt; int2
integer, int -> int4 integer, int -&gt; int4
float, real -> float4 float, real -&gt; float4
char(N) and varchar(N) are implemented as truncated text types. In char(N) and varchar(N) are implemented as truncated text types. In
addition, char(N) does blank-padding. addition, char(N) does blank-padding.
* single-quote (') is used for quoting string literals; '' (in addition to * single-quote (') is used for quoting string literals; '' (in addition to

View File

@@ -3,8 +3,8 @@
/* /*
* Parts of pg_config.h that you get with autoconf on other systems * Parts of pg_config.h that you get with autoconf on other systems
*/ */
#define PG_VERSION "7.4.6" #define PG_VERSION "7.4.7"
#define PG_VERSION_STR "7.4.6 (win32)" #define PG_VERSION_STR "7.4.7 (win32)"
#define SYSCONFDIR "" #define SYSCONFDIR ""

View File

@@ -1,8 +1,8 @@
#include <winver.h> #include <winver.h>
VS_VERSION_INFO VERSIONINFO VS_VERSION_INFO VERSIONINFO
FILEVERSION 7,4,6,0 FILEVERSION 7,4,7,0
PRODUCTVERSION 7,4,6,0 PRODUCTVERSION 7,4,7,0
FILEFLAGSMASK 0x3fL FILEFLAGSMASK 0x3fL
FILEFLAGS 0 FILEFLAGS 0
FILEOS VOS__WINDOWS32 FILEOS VOS__WINDOWS32
@@ -15,13 +15,13 @@ BEGIN
BEGIN BEGIN
VALUE "CompanyName", "\0" VALUE "CompanyName", "\0"
VALUE "FileDescription", "PostgreSQL Access Library\0" VALUE "FileDescription", "PostgreSQL Access Library\0"
VALUE "FileVersion", "7, 4, 6, 0\0" VALUE "FileVersion", "7, 4, 7, 0\0"
VALUE "InternalName", "libpq\0" VALUE "InternalName", "libpq\0"
VALUE "LegalCopyright", "Copyright (C) 2003\0" VALUE "LegalCopyright", "Copyright (C) 2003\0"
VALUE "LegalTrademarks", "\0" VALUE "LegalTrademarks", "\0"
VALUE "OriginalFilename", "libpq.dll\0" VALUE "OriginalFilename", "libpq.dll\0"
VALUE "ProductName", "PostgreSQL\0" VALUE "ProductName", "PostgreSQL\0"
VALUE "ProductVersion", "7, 4, 6, 0\0" VALUE "ProductVersion", "7, 4, 7, 0\0"
END END
END END
BLOCK "VarFileInfo" BLOCK "VarFileInfo"