mirror of
https://github.com/postgres/postgres.git
synced 2025-06-11 20:28:21 +03:00
Update release notes from community comments.
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
$PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.338 2005/08/23 02:57:07 momjian Exp $
|
$PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.339 2005/08/23 11:32:33 momjian Exp $
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<appendix id="release">
|
<appendix id="release">
|
||||||
@ -36,7 +36,7 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.338 2005/08/23 02:57:07 momjian
|
|||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
<sect2>
|
<sect2>
|
||||||
<title>Migration to version 8.0</title>
|
<title>Migration to version 8.1</title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
A dump/restore using <application>pg_dump</application> is
|
A dump/restore using <application>pg_dump</application> is
|
||||||
@ -56,6 +56,16 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.338 2005/08/23 02:57:07 momjian
|
|||||||
|
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
Change add_missing_from to 'false'
|
||||||
|
</para>
|
||||||
|
<para>
|
||||||
|
Generate an error if a table used in a query without a FROM reference (Neil)
|
||||||
|
No more SELECT pg_class.*;
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Cause input of a zero-length string ('') for float4/float8/oid to throw
|
Cause input of a zero-length string ('') for float4/float8/oid to throw
|
||||||
@ -67,6 +77,21 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.338 2005/08/23 02:57:07 momjian
|
|||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
Make default_with_oids default to false (Neil)
|
||||||
|
</para>
|
||||||
|
<para>
|
||||||
|
With this option set to false, user-created tables no
|
||||||
|
have an the usually-invisible OID column unless WITH OIDS
|
||||||
|
is specified in CREATE TABLE. Though OIDs have existed in all previous
|
||||||
|
releases of PostgreSQL, their use is limited because they are only four
|
||||||
|
bytes long and the counter is unique across all installed databases.
|
||||||
|
The preferred way of uniquely identifying rows is via sequences and
|
||||||
|
SERIAL, which has been supported since PostgreSQL 6.4.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
In psql, treat unquoted \{digit}+ sequences as octal (Bruce)
|
In psql, treat unquoted \{digit}+ sequences as octal (Bruce)
|
||||||
@ -146,7 +171,7 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.338 2005/08/23 02:57:07 momjian
|
|||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
In previous releases, the only way to use index for MIN/MAX was to rewrite
|
In previous releases, the only way to use index for MIN/MAX was to rewrite
|
||||||
the query as SELECT col FROM tab ORDER BY col LIMIT 1. This not happens
|
the query as SELECT col FROM tab ORDER BY col LIMIT 1. This now happens
|
||||||
automatically.
|
automatically.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
@ -157,7 +182,8 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.338 2005/08/23 02:57:07 momjian
|
|||||||
single query (Tom)
|
single query (Tom)
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
Multiple AND and ORs
|
This allows multiple indexes to be combined to access a single
|
||||||
|
table.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
@ -165,7 +191,17 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.338 2005/08/23 02:57:07 momjian
|
|||||||
<para>
|
<para>
|
||||||
Change WAL CRC records from 64bit to 32bit to improve performance
|
Change WAL CRC records from 64bit to 32bit to improve performance
|
||||||
(Tom)
|
(Tom)
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
Prevent writing large empty gaps in WAL pages (Tom)
|
Prevent writing large empty gaps in WAL pages (Tom)
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
Allow non-consecutive index columns to be used in a multi-column index
|
Allow non-consecutive index columns to be used in a multi-column index
|
||||||
(Tom)
|
(Tom)
|
||||||
</para>
|
</para>
|
||||||
@ -188,13 +224,18 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.338 2005/08/23 02:57:07 momjian
|
|||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Allow concurrent GIST index access, greatly improving performance
|
Allow concurrent GIST index access, greatly improving performance
|
||||||
(Teodor)
|
(Teodor, Oleg)
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
Add GUC full_page_writes to control writing full pages to WAL (Bruce)
|
Add GUC full_page_writes to control writing full pages to WAL (Bruce)
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
To prevent partial disk writes from corrupting the database,
|
To prevent partial disk writes from corrupting the database,
|
||||||
PostgreSQL writes a complete copy of each database disk page to WAL
|
PostgreSQL writes a complete copy of each database disk page to WAL
|
||||||
the first time it is modified after a checkpoint. This turns of that
|
the first time it is modified after a checkpoint. This turns off that
|
||||||
functionality for users with battery-backed disk caches where partial
|
functionality for users with battery-backed disk caches where partial
|
||||||
page writes can not happen.
|
page writes can not happen.
|
||||||
</para>
|
</para>
|
||||||
@ -221,7 +262,11 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.338 2005/08/23 02:57:07 momjian
|
|||||||
<para>
|
<para>
|
||||||
O_DIRECT causes disk writes to bypass the kernel cache, and for WAL
|
O_DIRECT causes disk writes to bypass the kernel cache, and for WAL
|
||||||
writes, this improves performance.
|
writes, this improves performance.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
Improve COPY FROM performance (Alon Goldshuv)
|
Improve COPY FROM performance (Alon Goldshuv)
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
@ -267,6 +312,11 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.338 2005/08/23 02:57:07 momjian
|
|||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Add session start time and client IP address to pg_stat_activity (Magnus)
|
Add session start time and client IP address to pg_stat_activity (Magnus)
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
Enhance pg_locks display (Tom)
|
Enhance pg_locks display (Tom)
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
@ -293,7 +343,7 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.338 2005/08/23 02:57:07 momjian
|
|||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Add WAL logging for GIST indexes (Teodor)
|
Add WAL logging for GIST indexes (Teodor, Oleg)
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
GIST indexes now work for online backup and crash recovery
|
GIST indexes now work for online backup and crash recovery
|
||||||
@ -315,9 +365,6 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.338 2005/08/23 02:57:07 momjian
|
|||||||
<para>
|
<para>
|
||||||
Remove old *.backup files when we do pg_stop_backup() (Bruce)
|
Remove old *.backup files when we do pg_stop_backup() (Bruce)
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
|
||||||
|
|
||||||
<listitem>
|
|
||||||
<para>
|
<para>
|
||||||
This prevents a large number of *.backup files from existing in
|
This prevents a large number of *.backup files from existing in
|
||||||
pg_xlog/.
|
pg_xlog/.
|
||||||
@ -391,16 +438,6 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.338 2005/08/23 02:57:07 momjian
|
|||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
Change add_missing_from to 'false'
|
|
||||||
</para>
|
|
||||||
<para>
|
|
||||||
Generate an error if a table used in a query without a FROM reference (Neil)
|
|
||||||
No more SELECT pg_class.*;
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Add support for \x hex escapes in backend and ecpg strings (Bruce)
|
Add support for \x hex escapes in backend and ecpg strings (Bruce)
|
||||||
@ -488,21 +525,6 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.338 2005/08/23 02:57:07 momjian
|
|||||||
<title>Object Manipulation Changes</title>
|
<title>Object Manipulation Changes</title>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
Make default_with_oids default to false (Neil)
|
|
||||||
</para>
|
|
||||||
<para>
|
|
||||||
With this option set to false, user-created tables no
|
|
||||||
have an the usually-invisible OID column unless WITH OIDS
|
|
||||||
is specified in CREATE TABLE. Though OIDs have existed in all previous
|
|
||||||
releases of PostgreSQL, their use is limited because they are only four
|
|
||||||
bytes long and the counter is unique across all installed databases.
|
|
||||||
The preferred way of uniquely identifying rows is via sequences and
|
|
||||||
SERIAL, which has been supported since PostgreSQL 6.4.
|
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Track dependencies of shared objects (Alvaro)
|
Track dependencies of shared objects (Alvaro)
|
||||||
@ -567,7 +589,7 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.338 2005/08/23 02:57:07 momjian
|
|||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
In release 8.0, carriage returns and line feeds in CSV COPY TO were
|
In release 8.0, carriage returns and line feeds in CSV COPY TO were
|
||||||
not processed in a inconsitent manner. (This was documented on the TODO
|
processed in an inconsistent manner. (This was documented on the TODO
|
||||||
list.)
|
list.)
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
@ -641,13 +663,13 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.338 2005/08/23 02:57:07 momjian
|
|||||||
to use "postgres" rather than "template1" for standard lookups (Dave)
|
to use "postgres" rather than "template1" for standard lookups (Dave)
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
In prior releases, template1 was used both as a default connection for
|
In prior releases, template1 was used both as a default
|
||||||
things like createuser, and as a template for new databases. This
|
connection for utilities like createuser, and as a template for
|
||||||
caused CREATE DATABASE to sometimes fail because a new database can
|
new databases. This caused CREATE DATABASE to sometimes fail
|
||||||
not be created if anyone else is in the template database. With this
|
because a new database cannot be created if anyone else is in
|
||||||
change, the default connection database is now 'postgres', meaning is
|
the template database. With this change, the default connection
|
||||||
is much less likely someone will be using template1 during CREATE
|
database is now 'postgres', meaning it is much less likely
|
||||||
DATABASE.
|
someone will be using template1 during CREATE DATABASE.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
@ -812,7 +834,11 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.338 2005/08/23 02:57:07 momjian
|
|||||||
This allows regular expression replacement, like sed. A four-argument
|
This allows regular expression replacement, like sed. A four-argument
|
||||||
version also allows for global (replace all) and case-insensitive
|
version also allows for global (replace all) and case-insensitive
|
||||||
modes.
|
modes.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
Fix interval division and multiplication (Bruce)
|
Fix interval division and multiplication (Bruce)
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
@ -851,15 +877,10 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.338 2005/08/23 02:57:07 momjian
|
|||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Move /contrib/dbsize into the backend, and rename some of the functions
|
Move /contrib/dbsize into the backend, and rename some of the functions
|
||||||
(Dave Page)
|
(Dave Page, Andreas Pflug)
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
The new functions are:
|
The new functions are:
|
||||||
</para>
|
|
||||||
</listitem>
|
|
||||||
|
|
||||||
<listitem>
|
|
||||||
<para>
|
|
||||||
pg_tablespace_size()
|
pg_tablespace_size()
|
||||||
pg_database_size()
|
pg_database_size()
|
||||||
pg_relation_size()
|
pg_relation_size()
|
||||||
@ -1090,14 +1111,24 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.338 2005/08/23 02:57:07 momjian
|
|||||||
<sect3>
|
<sect3>
|
||||||
<title>PL/Perl Server-Side Language Changes</title>
|
<title>PL/Perl Server-Side Language Changes</title>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
Allow the return large result sets (Abhijit Menon-Sen)
|
Allow large result sets to be returned efficiently (Abhijit Menon-Sen)
|
||||||
</para>
|
</para>
|
||||||
<para>
|
<para>
|
||||||
This allows PL/Perl to use spi_query(), spi_fetchrow(), and
|
This allows functions to use return_next() to avoid building
|
||||||
return_next() to return one row at a time from the function.
|
the entire result set in memory.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
Allow one-row-at-a-time retrieval of query results (Abhijit)
|
||||||
|
</para>
|
||||||
|
<para>
|
||||||
|
This allows functions to use spi_query() and spi_fetchrow() to
|
||||||
|
avoid accumulating the entire result set in memory.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user