Commit 45ecebc4 authored by Bruce Momjian's avatar Bruce Momjian

Add SGML markup to 8.0 release notes.

parent 67e1ae9b
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian Exp $ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.307 2004/11/10 21:43:50 momjian Exp $
--> -->
<appendix id="release"> <appendix id="release">
...@@ -27,28 +27,32 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -27,28 +27,32 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
This is the first <productname>PostgreSQL</productname> This is the first <productname>PostgreSQL</productname> release
release to natively run on Microsoft Windows as a server. It to natively run on <productname>Microsoft Windows</> as a
can run as a Windows service. This release supports NT-based server. It can run as a <productname>Windows</> service. This
Windows releases like Win2000, XP, Win2003. Older releases release supports NT-based Windows releases like
like Windows 95, 98, and ME are not supported because these <productname>Win2000</>, <productname>XP</>,
operating systems do not have the infrastructure to support <productname>Win2003</>. Older releases like
<productname>Windows 95</>, <productname>98</>, and
<productname>ME</> are not supported because these operating
systems do not have the infrastructure to support
<productname>PostgreSQL</productname>. A separate installer <productname>PostgreSQL</productname>. A separate installer
project has been created to ease installation on Windows: project has been created to ease installation on
<ulink url="http://pgfoundry.org/projects/pginstaller"> <productname>Windows</>: <ulink
url="http://pgfoundry.org/projects/pginstaller">
http://pgfoundry.org/projects/pginstaller</ulink>. http://pgfoundry.org/projects/pginstaller</ulink>.
</para> </para>
<para> <para>
Although tested throughout our release cycle, the Windows port Although tested throughout our release cycle, the Windows port
does not have the benefit of years of use in production does not have the benefit of years of use in production
environments that PostgreSQL has on Unix platforms and environments that <productname>PostgreSQL</productname> has on
therefore should be treated with the same level of caution as Unix platforms and therefore should be treated with the same
you would a new product. level of caution as you would a new product.
</para> </para>
<para> <para> Previous releases required the Unix emulation toolkit
Previous releases required the Unix emulation toolkit Cygwin for <productname>Cygwin</> for Win32 server support.
Win32 server support. <productname>PostgreSQL</productname> <productname>PostgreSQL</productname> has always supported
has always supported clients on Win32. clients on Win32.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
...@@ -149,13 +153,13 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -149,13 +153,13 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<varlistentry> <varlistentry>
<term> <term>
CSV support in <command>COPY</command> Comma-separated-value (CSV) support in <command>COPY</command>
</term> </term>
<listitem> <listitem>
<para> <para>
<command>COPY</command> can now read and write <command>COPY</command> can now read and write
comma-separated-value (CSV) files. It has the flexibility to comma-separated-value files. It has the flexibility to
interpret non-standard quoting and separation characters too. interpret non-standard quoting and separation characters too.
</para> </para>
</listitem> </listitem>
...@@ -238,21 +242,21 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -238,21 +242,21 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
The length() function no longer counts trailing spaces in The <function>length()</> function no longer counts trailing spaces in
CHAR(n) values. <type>CHAR(n)</> values.
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Casting an integer to BIT(N) selects the rightmost N bits of the Casting an integer to <type>BIT(N)</> selects the rightmost N bits of the
integer, not the leftmost N bits as before. integer, not the leftmost N bits as before.
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
UPDATE-ing an element or slice of a NULL array value now produces Updating an element or slice of a NULL array value now produces
a non-NULL array result, namely an array containing a non-NULL array result, namely an array containing
just the assigned-to positions. just the assigned-to positions.
</para> </para>
...@@ -267,8 +271,8 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -267,8 +271,8 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
The arithmetic operators associated with the <quote>char</> data type The arithmetic operators associated with the single-byte
have been removed. <type>"char"</> data type has been removed.
</para> </para>
</listitem> </listitem>
...@@ -283,18 +287,21 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -283,18 +287,21 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
The extract() function (also called date_part) now returns the proper The <function>extract()</> function (also called
year for BC dates. It previously returned one less than the current <function>date_part</>) now returns the proper year for BC dates.
year. The function now also returns the proper values for millennium It previously returned one less than the current year. The
and century. function now also returns the proper values for millennium and
century.
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
psql's \copy command now reads or writes the query stdin/stdout, rather <application>psql</>'s <command>\copy</> command now reads or
than psql's stdin/stdout. The previous behavior can be accessed via new writes to the query's <literal>stdin/stdout</>, rather than
pstdin/pstdout parameters. <application>psql</>'s <literal>stdin/stdout</>. The previous
behavior can be accessed via new
><option>pstdin</>/<option>pstdout</> parameters.
</para> </para>
</listitem> </listitem>
...@@ -328,9 +335,9 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -328,9 +335,9 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
configure's threading option no longer requires users to run <application>Configure</>'s threading option no longer requires
tests or edit configuration files; threading options are now detected users to run tests or edit configuration files; threading options
automatically. are now detected automatically.
</para> </para>
</listitem> </listitem>
...@@ -345,17 +352,17 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -345,17 +352,17 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<para> <para>
Syntax checking of array input values has been tightened up Syntax checking of array input values has been tightened up
considerably. Junk that was previously allowed in odd places with considerably. Junk that was previously allowed in odd places with
odd results now causes an ERROR. Empty-string element values must odd results now causes an <literal>ERROR. Empty-string element
now be written as <literal>""</>, rather than writing nothing. values must now be written as ""</>, rather than writing nothing.
Also changed behavior with respect to whitespace surrounding array Also changed behavior with respect to whitespace surrounding
elements: trailing whitespace is now ignored, for symmetry with leading array elements: trailing whitespace is now ignored, for symmetry
whitespace (which has always been ignored). with leading whitespace (which has always been ignored).
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
In <literal>READ COMMITTED</> serialization mode, volatile functions In <option>READ COMMITTED</> serialization mode, volatile functions
now see the results of concurrent transactions committed up to the now see the results of concurrent transactions committed up to the
beginning of each statement within the function, rather than up to the beginning of each statement within the function, rather than up to the
beginning of the interactive command that called the function. beginning of the interactive command that called the function.
...@@ -364,7 +371,7 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -364,7 +371,7 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
Functions declared <literal>STABLE</> or <literal>IMMUTABLE</> always Functions declared <option>STABLE</> or <option>IMMUTABLE</> always
use the snapshot of the calling query, and therefore do not see the use the snapshot of the calling query, and therefore do not see the
effects of actions taken after the calling query starts, whether in effects of actions taken after the calling query starts, whether in
their own transaction or other transactions. Such a function must be their own transaction or other transactions. Such a function must be
...@@ -375,20 +382,22 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -375,20 +382,22 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
Non-deferred AFTER triggers are now fired immediately after completion Non-deferred <option>AFTER</> triggers are now fired immediately
of the triggering query, rather than upon finishing the current after completion of the triggering query, rather than upon
interactive command. This makes a difference when the triggering query finishing the current interactive command. This makes a
occurred within a function: the trigger is invoked before the function difference when the triggering query occurred within a function:
proceeds to its next operation. the trigger is invoked before the function proceeds to its next
operation.
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
CIDR values now must have their non-masked bits be zero. For example, <type>CIDR</> values now must have their non-masked bits be zero.
no longer allow <literal>204.248.199.1/31</literal> as a CIDR value. For example, we no longer allow
Such values should have never been accepted by PostgreSQL and will now be <literal>204.248.199.1/31</literal> as a <type>CIDR>/> value. Such
rejected. values should never have been accepted by
<productname>PostgreSQL</productname> and will now be rejected.
</para> </para>
</listitem> </listitem>
...@@ -412,19 +421,19 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -412,19 +421,19 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
The 8.1 release will remove the function The 8.1 release will remove the function
<literal>to_char(interval)</literal>. <function>to_char(interval)</>.
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
By default, tables in <productname>PostgreSQL</productname> 8.0 By default, tables in <productname>PostgreSQL</productname> 8.0
and earlier are created with OIDs. In the next release, this and earlier are created with <type>OID</>s. In the next release,
will <emphasis>not</emphasis> be the case: to create a table this will <emphasis>not</emphasis> be the case: to create a table
that contains OIDs, the <literal>WITH OIDS</literal> clause must that contains <type>OID</>s, the <option>WITH OIDS</> clause must
be specified or the <varname>default_with_oids</varname> be specified or the <varname>default_with_oids</varname>
configuration parameter must be enabled. Users are encouraged to configuration parameter must be enabled. Users are encouraged to
explicitly specify <literal>WITH OIDS</literal> if their tables explicitly specify <option>WITH OIDS</> if their tables
require OIDs for compatibility with future releases of require OIDs for compatibility with future releases of
<productname>PostgreSQL</productname>. <productname>PostgreSQL</productname>.
</para> </para>
...@@ -475,7 +484,8 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -475,7 +484,8 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
Add subprocess to write dirty buffers periodically to reduce checkpoint writes (Jan) Add subprocess to write dirty buffers periodically to reduce
checkpoint writes (Jan)
</para> </para>
<para> <para>
In previous releases, the checkpoint process, which runs every few In previous releases, the checkpoint process, which runs every few
...@@ -485,9 +495,9 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -485,9 +495,9 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
hurt performance. The new code uses a background writer to trickle hurt performance. The new code uses a background writer to trickle
disk writes at a steady pace so checkpoints have far fewer dirty disk writes at a steady pace so checkpoints have far fewer dirty
pages to write to disk. Also, the new code does not issue a global pages to write to disk. Also, the new code does not issue a global
sync() call, but instead fsync()s just the files written since the <function>sync()</> call, but instead <function>fsync()</>s just
last checkpoint. This should improve performance and the files written since the last checkpoint. This should improve
minimize degradation during checkpoints. performance and minimize degradation during checkpoints.
</para> </para>
</listitem> </listitem>
...@@ -516,13 +526,13 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -516,13 +526,13 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
Improved index usage with OR clauses (Tom) Improved index usage with <literal>OR</> clauses (Tom)
</para> </para>
<para> <para>
This allows the optimizer to use indexes in statements with many OR This allows the optimizer to use indexes in statements with many OR
clauses that would not have been indexed in the past. It can also use clauses that would not have been indexed in the past. It can also use
multi-column indexes where the first column is specified and the second multi-column indexes where the first column is specified and the second
column is part of an OR clause. column is part of an <literal>OR</> clause.
</para> </para>
</listitem> </listitem>
...@@ -532,7 +542,7 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -532,7 +542,7 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
</para> </para>
<para> <para>
The server is now smarter about using partial indexes in queries The server is now smarter about using partial indexes in queries
involving complex WHERE clauses. involving complex <option>WHERE</> clauses.
</para> </para>
</listitem> </listitem>
...@@ -640,7 +650,8 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -640,7 +650,8 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
</para> </para>
<para> <para>
It is now possible to log server messages conveniently without It is now possible to log server messages conveniently without
relying on either syslog or an external log rotation program. relying on either <application>syslog</> or an external log
rotation program.
</para> </para>
</listitem> </listitem>
...@@ -655,21 +666,22 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -655,21 +666,22 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
Make quoting of "sameuser", "samegroup", and "all" remove Make quoting of <literal>sameuser</>, <literal>samegroup</>, and
special meaning of these terms in pg_hba.conf (Andrew) <literal>all</> remove special meaning of these terms in
<filename>pg_hba.conf</> (Andrew)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Use clearer IPv6 name <literal>::1/128</> for localhost in default Use clearer IPv6 name <literal>::1/128</> for
pg_hba.conf (Andrew) <literal>localhost</> in default <filename>pg_hba.conf</> (Andrew)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Use CIDR format in pg_hba.conf examples (Andrew) Use CIDR format in <filename>pg_hba.conf</> examples (Andrew)
</para> </para>
</listitem> </listitem>
...@@ -723,12 +735,13 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -723,12 +735,13 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
Listen on localhost by default, which eliminates the need for the Listen on localhost by default, which eliminates the need for the
<literal>-i</> postmaster switch in many scenarios (Andrew) <option>-i</> postmaster switch in many scenarios (Andrew)
</para> </para>
<para> <para>
Listening on localhost (127.0.0.1) opens no new security holes but Listening on localhost (<literal>127.0.0.1</>) opens no new
allows configurations like Win32 and JDBC, which do not support security holes but allows configurations like Win32 and JDBC,
local sockets, to work without special adjustments. which do not support local sockets, to work without special
adjustments.
</para> </para>
</listitem> </listitem>
...@@ -786,9 +799,9 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -786,9 +799,9 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
</para> </para>
<para> <para>
It is now useful to issue <command>DECLARE CURSOR</command> in a It is now useful to issue <command>DECLARE CURSOR</command> in a
Parse message with parameters. The parameter values sent at <function>Parse</> message with parameters. The parameter values
Bind time will be substituted into the execution of the cursor's sent at <function>Bind</> time will be substituted into the
query. execution of the cursor's query.
</para> </para>
</listitem> </listitem>
...@@ -801,7 +814,7 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -801,7 +814,7 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
Release 7.4 handled hashing of mixed <type>inet</type> and Release 7.4 handled hashing of mixed <type>inet</type> and
<type>cidr</type> values incorrectly. (This bug did not exist <type>cidr</type> values incorrectly. (This bug did not exist
in prior releases because they wouldn't try to hash either in prior releases because they wouldn't try to hash either
datatype.) data type.)
</para> </para>
</listitem> </listitem>
...@@ -875,7 +888,7 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -875,7 +888,7 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
Make <literal>CASE val WHEN compval1 THEN ...</> evaluate <literal>val</> only once (Tom) Make <literal>CASE val WHEN compval1 THEN ...</> evaluate <literal>val</> only once (Tom)
</para> </para>
<para> <para>
CASE no longer evaluates the test expression multiple <option>CASE</> no longer evaluates the test expression multiple
times. This has benefits when the expression is complex or is times. This has benefits when the expression is complex or is
volatile. volatile.
</para> </para>
...@@ -883,11 +896,12 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -883,11 +896,12 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
Test HAVING before computing target list of an aggregate query (Tom) Test <option>HAVING</> before computing target list of an
aggregate query (Tom)
</para> </para>
<para> <para>
Fixes improper failure of cases such as SELECT SUM(win)/SUM(lose) Fixes improper failure of cases such as <literal>SELECT SUM(win)/SUM(lose)
... GROUP BY ... HAVING SUM(lose) > 0. This should work but formerly ... GROUP BY ... HAVING SUM(lose) > 0</>. This should work but formerly
could fail with divide-by-zero. could fail with divide-by-zero.
</para> </para>
</listitem> </listitem>
...@@ -918,8 +932,8 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -918,8 +932,8 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
Allow LIKE/ILIKE to be used as the operator in row and subselect Allow <option>LIKE</>/<option>ILIKE</> to be used as the operator
comparisons (Fabien Coelho) in row and subselect comparisons (Fabien Coelho)
</para> </para>
</listitem> </listitem>
...@@ -958,7 +972,7 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -958,7 +972,7 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
Avoid emitting NATURAL CROSS JOIN in rule listings (Tom) Avoid emitting <option>NATURAL CROSS JOIN</> in rule listings (Tom)
</para> </para>
<para> <para>
Such a clause makes no logical sense, but in some cases the rule Such a clause makes no logical sense, but in some cases the rule
...@@ -976,33 +990,35 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -976,33 +990,35 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
Add COMMENT ON casts, conversions, languages, operator classes, and Add <command>COMMENT ON</> for casts, conversions, languages,
large objects (Christopher) operator classes, and large objects (Christopher)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Add new server configuration parameter <varname>default_with_oids</> to Add new server configuration parameter <varname>default_with_oids</> to
control whether tables are created with OIDs by default (Neil) control whether tables are created with <type>OID</>s by default (Neil)
</para> </para>
<para> <para>
This allows administrators to default all <command>CREATE This allows administrators to default all <command>CREATE
TABLE</command> commands to create tables without OID columns. TABLE</command> commands to create tables without <type>OID</>
columns.
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Add WITH / WITHOUT OIDS clause to <command>CREATE TABLE Add <option>WITH</> / <option>WITHOUT OIDS</> clause to
AS</command> (Neil) <command>CREATE TABLE AS</command> (Neil)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Allow ALTER TABLE DROP COLUMN to drop an OID column Allow <command>ALTER TABLE DROP COLUMN</> to drop an <type>OID</>
(ALTER TABLE SET WITHOUT OIDS still works) (Tom) column (<command>ALTER TABLE SET WITHOUT OIDS</> still works)
(Tom)
</para> </para>
</listitem> </listitem>
...@@ -1014,41 +1030,43 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -1014,41 +1030,43 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
Allow ALTER ... ADD COLUMN with defaults and NOT NULL constraints; Allow <command>ALTER ... ADD COLUMN</> with defaults and
works per SQL spec (Rod) <option>NOT NULL</> constraints; works per SQL spec (Rod)
</para> </para>
<para> <para>
It is now possible for ADD COLUMN to create a column that is not It is now possible for <option>ADD COLUMN</> to create a column
initially filled with NULLs, but with a specified default value. that is not initially filled with NULLs, but with a specified
default value.
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Add ALTER COLUMN TYPE to change column's type (Rod) Add <command>ALTER COLUMN TYPE</> to change column's type (Rod)
</para> </para>
<para> <para>
It is now possible to alter a column's datatype without dropping It is now possible to alter a column's data type without dropping
and re-adding the column. and re-adding the column.
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Allow multiple ALTER actions in a single <command>ALTER Allow multiple <command>ALTER</> actions in a single <command>ALTER
TABLE</command> command (Rod) TABLE</command> command (Rod)
</para> </para>
<para> <para>
This is particularly useful for ALTER commands that rewrite the This is particularly useful for <command>ALTER</> commands that
table (which include ALTER COLUMN TYPE and ADD COLUMN with a default). rewrite the table (which include <option>ALTER COLUMN TYPE</> and
By grouping ALTER commands together, the table need be <option>ADD COLUMN</> with a default). By grouping
rewritten only once. <command>ALTER</> commands together, the table need be rewritten
only once.
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Allow <command>ALTER TABLE</command> to add <type>serial</type> Allow <command>ALTER TABLE</command> to add <type>SERIAL</type>
columns (Tom) columns (Tom)
</para> </para>
<para> <para>
...@@ -1070,14 +1088,14 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -1070,14 +1088,14 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
Allow temporary object creation to be limited to SECURITY DEFINER Allow temporary object creation to be limited to <option>SECURITY
functions (Sean Chittenden) DEFINER</> functions (Sean Chittenden)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Add ALTER TABLE ... SET WITHOUT CLUSTER (Christopher) Add <option>ALTER TABLE ... SET WITHOUT CLUSTER</> (Christopher)
</para> </para>
<para> <para>
Prior to this release, there was no way to clear an auto-cluster Prior to this release, there was no way to clear an auto-cluster
...@@ -1087,8 +1105,9 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -1087,8 +1105,9 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
Constraint/Index/SERIAL names are now table_column_type with numbers Constraint/Index/<type>SERIAL</> names are now table_column_type
appended to guarantee uniqueness within the schema (Tom) with numbers appended to guarantee uniqueness within the schema
(Tom)
</para> </para>
<para> <para>
The SQL specification states that such names should be unique The SQL specification states that such names should be unique
...@@ -1098,32 +1117,32 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -1098,32 +1117,32 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
Add pg_get_serial_sequence() to return a serial column's Add <function>pg_get_serial_sequence()</> to return a
sequence name (Christopher) <type>SERIAL</> column's sequence name (Christopher)
</para> </para>
<para> <para>
This allows automated scripts to reliabily find the serial This allows automated scripts to reliably find the <type>SERIAL</>
sequence name. sequence name.
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Warn when primary/foreign key datatype mismatch requires costly lookup Warn when primary/foreign key data type mismatch requires costly lookup
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
New ALTER INDEX command to allow moving of indexes between tablespaces New <command>ALTER INDEX</> command to allow moving of indexes
(Gavin) between tablespaces (Gavin)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Have ALTER TABLE OWNER change dependent sequence ownership too (Alvaro) Have <command>ALTER TABLE OWNER</> change dependent sequence
(Gavin) ownership too (Alvaro)
</para> </para>
</listitem> </listitem>
...@@ -1145,18 +1164,18 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -1145,18 +1164,18 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
Add ALSO keyword to <command>CREATE RULE</command> (Fabien Add <option>ALSO</> keyword to <command>CREATE RULE</command> (Fabien
Coelho) Coelho)
</para> </para>
<para> <para>
This allows ALSO to be added to rule creation to contrast it with This allows <option>ALSO</> to be added to rule creation to contrast it with
INSTEAD rules. <option>INSTEAD</> rules.
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Add NOWAIT option to <command>LOCK</command> (Tatsuo) Add <option>NOWAIT</> option to <command>LOCK</command> (Tatsuo)
</para> </para>
<para> <para>
This allows the <command>LOCK</command> command to fail if it This allows the <command>LOCK</command> command to fail if it
...@@ -1192,7 +1211,7 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -1192,7 +1211,7 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
</para> </para>
<para> <para>
In 7.3 and 7.4, a long-running btree index build could block concurrent In 7.3 and 7.4, a long-running btree index build could block concurrent
CHECKPOINTs from completing, thereby causing WAL bloat because the <command>CHECKPOINT</>s from completing, thereby causing WAL bloat because the
WAL log could not be recycled. WAL log could not be recycled.
</para> </para>
</listitem> </listitem>
...@@ -1240,11 +1259,11 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -1240,11 +1259,11 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
New pg_ctl <literal>kill</> option for Win32 (Andrew) New <application>pg_ctl</> <option>kill</> option for Win32 (Andrew)
</para> </para>
<para> <para>
Win32 does not have a <literal>kill</> command to send signals to Win32 does not have a <literal>kill</> command to send signals to
backends so this capability was added to pg_ctl. backends so this capability was added to <application>pg_ctl</>.
</para> </para>
</listitem> </listitem>
...@@ -1256,8 +1275,9 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -1256,8 +1275,9 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
Add --pwfile option to <application>initdb</application> so the Add <option>--pwfile</> option to
initial password can be set by GUI tools (Magnus) <application>initdb</application> so the initial password can be
set by GUI tools (Magnus)
</para> </para>
</listitem> </listitem>
...@@ -1270,7 +1290,8 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -1270,7 +1290,8 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
Add Win32 service "register" command to pg_ctl (Dave Page) Add Win32 service <option>register</> command to
<application>pg_ctl</> (Dave Page)
</para> </para>
</listitem> </listitem>
...@@ -1297,7 +1318,7 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -1297,7 +1318,7 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
Reject non-rectangular array values as erroneous (Joe) Reject non-rectangular array values as erroneous (Joe)
</para> </para>
<para> <para>
Formerly, <literal>array_in</literal> would silently build a Formerly, <function>array_in</> would silently build a
surprising result. surprising result.
</para> </para>
</listitem> </listitem>
...@@ -1310,14 +1331,14 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -1310,14 +1331,14 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
The arithmetic operators associated with the <quote>char</> data type The arithmetic operators associated with the single-byte
have been removed. <type>"char"</> data type have been removed.
</para> </para>
<para> <para>
Formerly, the parser would select these operators in many situations Formerly, the parser would select these operators in many situations
where an <quote>unable to select an operator</> error would be more where an <quote>unable to select an operator</> error would be more
appropriate, such as <literal>null * null</>. If you actually want appropriate, such as <literal>null * null</>. If you actually want
to do arithmetic on a <quote>char</> column, you can cast it to integer. to do arithmetic on a <type>"char"</> column, you can cast it to integer.
</para> </para>
</listitem> </listitem>
...@@ -1326,9 +1347,9 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -1326,9 +1347,9 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
Syntax checking of array input values considerably tightened up (Joe) Syntax checking of array input values considerably tightened up (Joe)
</para> </para>
<para> <para>
Junk that was previously allowed in odd places with odd results now Junk that was previously allowed in odd places with odd results
causes an ERROR: for example, non-whitespace after the closing now causes an <literal>ERROR</>, for example, non-whitespace
right brace. after the closing right brace.
</para> </para>
</listitem> </listitem>
...@@ -1340,7 +1361,7 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -1340,7 +1361,7 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<para> <para>
Formerly, both ways of writing an empty-string element value were Formerly, both ways of writing an empty-string element value were
allowed, but now a quoted empty string is required. The case where allowed, but now a quoted empty string is required. The case where
nothing at all appears will probably be taken over to mean a NULL nothing at all appears will probably be considered to be a NULL
element value in some future release. element value in some future release.
</para> </para>
</listitem> </listitem>
...@@ -1365,14 +1386,14 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -1365,14 +1386,14 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
Accept YYYY-monthname-DD as a date string (Tom) Accept <literal>YYYY-monthname-DD</> as a date string (Tom)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Make netmask() and hostmask() functions return maximum-length Make <function>netmask()</> and <function>hostmask()</> functions
masklen (Tom) return maximum-length masklen (Tom)
</para> </para>
</listitem> </listitem>
...@@ -1388,24 +1409,27 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -1388,24 +1409,27 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
to_char/to_date date conversion improvements (Kurt Roeckx, Fabien Coelho) <function>>to_char>/>/<function>to_date()</> date conversion
improvements (Kurt Roeckx, Fabien Coelho)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Make length() disregard trailing spaces in CHAR(n) (Gavin) Make <function>length()</> disregard trailing spaces in
<type>CHAR(n)</> (Gavin)
</para> </para>
<para> <para>
This change was made to improve consistency: trailing spaces are This change was made to improve consistency: trailing spaces are
semantically insignificant in CHAR(n) data, so they should not be semantically insignificant in <type>CHAR(n)</> data, so they
counted by length(). should not be counted by <function>length()</>.
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Warn of empty string being passed to oid/float4/float8 data types (Neil) Warn of empty string being passed to
<type>OID</>/<type>float4</>/<type>float8</> data types (Neil)
</para> </para>
<para> <para>
8.1 will throw an error instead. 8.1 will throw an error instead.
...@@ -1414,15 +1438,17 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -1414,15 +1438,17 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
Allow int2/int4/int8/float4/float8 input routines to have leading Allow
or trailing whitespace (Neil) <type>int2</>/<type>int4</>/<type>int8</>/<type>float4</>/<type>float8>/>
input routines to have leading or trailing whitespace
(Neil)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Better support for IEEE Infinity and NaN values in Better support for IEEE <literal>Infinity</> and <literal>NaN</>
<type>float4</type>, <type>float8</type> (Neil) values in <type>float4</type>/<type>float8</type> (Neil)
</para> </para>
<para> <para>
These should now work on all platforms that support IEEE-compliant These should now work on all platforms that support IEEE-compliant
...@@ -1432,27 +1458,28 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -1432,27 +1458,28 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
Add "week" to date_trunc options (Robert Creager) Add <option>week</> option to <function>date_trunc()</> (Robert Creager)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Fix to_char for 1 BC (previously it returned 1 AD) (Bruce) Fix to_char for <literal>1 BC</> (previously it returned
<literal>1 AD</>) (Bruce)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Fix to_char(year) for BC dates (previously it returned one less than Fix <function>to_char(year)</> for BC dates (previously it
the correct year) (Bruce) returned one less than the correct year) (Bruce)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Fix date_part() to return the proper millennium and century (Fabien Fix <function>date_part()</> to return the proper millennium and
Coelho) century (Fabien Coelho)
</para> </para>
<para> <para>
In previous versions, the century and millennium results had a wrong In previous versions, the century and millennium results had a wrong
...@@ -1463,40 +1490,45 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -1463,40 +1490,45 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
Add ceiling() as an alias for ceil(), and power() as an alias for pow() Add <function>ceiling()</> as an alias for <function>ceil()</>,
for standards compliance (Neil) and <function>power()</> as an alias for <function>pow()</> for
standards compliance (Neil)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Change ln(), log(), power(), and sqrt() to emit the correct SQLSTATE Change <function>ln()</>, <function>log()</>,
error codes for certain error conditions, as specified by SQL2003 <function>power()</>, and <function>sqrt()</> to emit the correct
(Neil) <literal>SQLSTATE</> error codes for certain error conditions, as
specified by SQL2003 (Neil)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Add width_bucket() function as defined by SQL2003 (Neil) Add <function>width_bucket()</> function as defined by SQL2003 (Neil)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Add generate_series() functions to simplify working with numeric sets (Joe) Add <function>generate_series()</> functions to simplify working
with numeric sets (Joe)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Fix upper/lower/initcap functions to work with multibyte encodings (Tom) Fix <function>upper/lower/initcap()</> functions to work with
multibyte encodings (Tom)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Add boolean and bitwise integer AND/OR aggregates (Fabien Coelho) Add boolean and bitwise integer <option>AND</>/<option>OR</>
aggregates (Fabien Coelho)
</para> </para>
</listitem> </listitem>
...@@ -1521,17 +1553,18 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -1521,17 +1553,18 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
Add interval plus datetime operators (Tom) Add <type>interval</> plus <type>datetime</> operators (Tom)
</para> </para>
<para> <para>
The reverse ordering, datetime plus interval, was already supported, The reverse ordering, <type>datetime</> plus <type>interval</>,
but both are required by the SQL standard. was already supported, but both are required by the SQL standard.
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Casting an integer to BIT(N) selects the rightmost N bits of the integer Casting an integer to <type>BIT(N)</> selects the rightmost N bits
of the integer
(Tom) (Tom)
</para> </para>
<para> <para>
...@@ -1543,22 +1576,8 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -1543,22 +1576,8 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
Detect overflow of integer arithmetic (Tom) Require <type>CIDR</> values to have all non-masked bits be zero
</para> (Kevin Brintnall)
</listitem>
<listitem>
<para>
Remove arithmetic operators for one-byte character type/"char" (Tom)
</para>
<para>
The data type can be cast to 'int' to perform such operations.
</para>
</listitem>
<listitem>
<para>
Require CIDR values to have all non-masked bits be zero (Kevin Brintnall)
</para> </para>
</listitem> </listitem>
...@@ -1592,13 +1611,14 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -1592,13 +1611,14 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
Non-deferred AFTER triggers are now fired immediately after completion Non-deferred <option>AFTER</> triggers are now fired immediately
of the triggering query, rather than upon finishing the current after completion of the triggering query, rather than upon
interactive command. This makes a difference when the triggering query finishing the current interactive command. This makes a difference
occurred within a function: the trigger is invoked before the function when the triggering query occurred within a function: the trigger
proceeds to its next operation. For example, if a function inserts is invoked before the function proceeds to its next operation. For
a new row into a table, any non-deferred foreign key checks occur example, if a function inserts a new row into a table, any
before proceeding with the function. non-deferred foreign key checks occur before proceeding with the
function.
</para> </para>
</listitem> </listitem>
...@@ -1653,9 +1673,10 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -1653,9 +1673,10 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
Improve parsing of PL/pgSQL FOR loops (Tom) Improve parsing of PL/pgSQL FOR loops (Tom)
</para> </para>
<para> <para>
Parsing is now driven by presence of ".." rather than datatype of FOR Parsing is now driven by presence of <literal>".."</> rather than
variable. This makes no difference for correct functions, but should data type of <option>FOR</> variable. This makes no difference for
result in more understandable error messages when a mistake is made. correct functions, but should result in more understandable error
messages when a mistake is made.
</para> </para>
</listitem> </listitem>
...@@ -1670,43 +1691,47 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -1670,43 +1691,47 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<sect3> <sect3>
<title>psql Changes</title> <title><application>psql</> Changes</title>
<itemizedlist> <itemizedlist>
<listitem> <listitem>
<para> <para>
Improve psql information display about database objects (Christopher) Improve <application>psql</> information display about database
objects (Christopher)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Allow psql to display group membership in \du and \dg (Markus Bertheau) Allow <application>psql</> to display group membership in
<command>\du</> and <command>\dg</> (Markus Bertheau)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Prevent psql \dn from showing temporary schemas (Bruce) Prevent <application>psql</> <command>\dn</command> from showing
temporary schemas (Bruce)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Allow psql to handle tilde user expansion for file names (Zach Irmen) Allow <application>psql</> to handle tilde user expansion for file
names (Zach Irmen)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Allow psql to display fancy prompts, including color, via readline Allow <application>psql</> to display fancy prompts, including
(Reece Hart, Chet Ramey) color, via <application>readline</> (Reece Hart, Chet Ramey)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Make psql \copy match <command>COPY</command> command syntax Make <application>psql</> <command>\copy</> match <command>COPY</command> command syntax
fully (Tom) fully (Tom)
</para> </para>
</listitem> </listitem>
...@@ -1719,50 +1744,55 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -1719,50 +1744,55 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
Add <command>CLUSTER</command> information to psql \d display Add <command>CLUSTER</command> information to <application>psql</>
<command>\d</> display
(Bruce) (Bruce)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Change psql \copy stdin/stdout to read from command input/output (Bruce) Change <application>psql</> <command>\copy stdin/stdout</> to read
from command input/output (Bruce)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Add pstdin/pstdout to read from psql's stdin/stdout (Mark Feit) Add <option>pstdin</>/<option>pstdout</> to read from
<application>psql</>'s <literal>stdin</>/<literal>stdout</> (Mark
Feit)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Add global psql config file, <filename>psqlrc.sample</filename> Add global <application>psql</> config file, <filename>psqlrc.sample</filename>
(Bruce) (Bruce)
</para> </para>
<para> <para>
This allows a central file where global psql startup commands can This allows a central file where global <application>psql</> startup commands can
be stored. be stored.
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Have psql \d+ indicate if the table has an OID column (Neil) Have <application>psql</> <command>\d+</> indicate if the table
has an <type>OID</> column (Neil)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
On Windows, use binary mode in psql when reading files so control-Z On Windows, use binary mode in <application>psql</> when reading files so control-Z
is not seen as end-of-file is not seen as end-of-file
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Have \dn+ show permissions and description for schemas (Dennis Have <command>\dn+</> show permissions and description for schemas (Dennis
Bjorklund) Bjorklund)
</para> </para>
</listitem> </listitem>
...@@ -1784,18 +1814,19 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -1784,18 +1814,19 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<sect3> <sect3>
<title>pg_dump Changes</title> <title><application>pg_dump</> Changes</title>
<itemizedlist> <itemizedlist>
<listitem> <listitem>
<para> <para>
Use dependency information to improve the reliability of pg_dump (Tom) Use dependency information to improve the reliability of
<application>pg_dump</> (Tom)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Have pg_dump output objects in alphabetical order if possible (Tom) Have <application>pg_dump</> output objects in alphabetical order if possible (Tom)
</para> </para>
<para> <para>
This should make it easier to identify changes between This should make it easier to identify changes between
...@@ -1805,44 +1836,50 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -1805,44 +1836,50 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
Allow pg_restore to ignore some SQL errors (Fabien Coelho) Allow <application>g_restore</> to ignore some SQL errors (Fabien Coelho)
</para> </para>
<para> <para>
This makes pg_restore's behavior similar to the results of feeding This makes <application>pg_restore</>'s behavior similar to the
a pg_dump output script to psql. In most cases, ignoring errors and results of feeding a <application>pg_dump</> output script to
plowing ahead is the most useful thing to do. Also added was a <application>psql</>. In most cases, ignoring errors and plowing
pg_restore option to give the old behavior of exiting on an error. ahead is the most useful thing to do. Also added was a pg_restore
option to give the old behavior of exiting on an error.
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
pg_restore -l display now includes objects' schema names <application>pg_restore</> <option>-l</> display now includes
objects' schema names
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
New begin/end markers in pg_dump text output (Bruce) New begin/end markers in <application>pg_dump</> text output (Bruce)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Add start/stop times for pg_dump/pg_dumpall in verbose mode (Bruce) Add start/stop times for
<application>pg_dump</>/<application>pg_dumpall</> in verbose mode
(Bruce)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Allow most pg_dump options in pg_dumpall (Christopher) Allow most <application>pg_dump</> options in
<application>pg_dumpall</> (Christopher)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Have pg_dump use ALTER OWNER rather than SET SESSION Have <application>pg_dump</> use <command>ALTER OWNER</> rather
AUTHORIZATION by default (Christopher) than <command>SET SESSION AUTHORIZATION</> by default
(Christopher)
</para> </para>
</listitem> </listitem>
...@@ -1856,47 +1893,50 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -1856,47 +1893,50 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
Make libpq SIGPIPE thread-safe (Bruce) Make libpq <option>SIGPIPE</> thread-safe (Bruce)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Add PQmbdsplen() which returns the "display length" of a character (Tatsuo) Add <function>PQmbdsplen()</> which returns the display length
of a character (Tatsuo)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Add thread locking to SSL and Kerberos connections (Manfred Spraul) Add thread locking to <application>SSL</> and
<application>Kerberos</> connections (Manfred Spraul)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Allow PQoidValue(), PQcmdTuples(), and PQoidStatus() to work on Allow <function>PQoidValue()</>, <function>PQcmdTuples()</>, and
<command>EXECUTE</command> commands (Neil) <function>PQoidStatus()</> to work on <command>EXECUTE</command>
commands (Neil)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Add PQserverVersion() to provide more convenient access to Add <function>PQserverVersion()</> to provide more convenient
the server version number (Greg Sabino Mullane) access to the server version number (Greg Sabino Mullane)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Many ecpg fixes, including SET DESCRIPTOR (Michael) Many ecpg improvements, including <command>SET DESCRIPTOR</> (Michael)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Add PQprepare()/PQsendPrepared() functions to support preparing Add <function>PQprepare/PQsendPrepared()</> functions to support
statements without necessarily specifying the datatypes of their parameters preparing statements without necessarily specifying the data types
(Abhijit Menon-Sen) of their parameters (Abhijit Menon-Sen)
</para> </para>
</listitem> </listitem>
...@@ -1935,41 +1975,42 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -1935,41 +1975,42 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
Support relocatable installations (Bruce) Support relocatable installations (Bruce)
</para> </para>
<para> <para>
Directory paths for installed files (such as the /share directory) Directory paths for installed files (such as the
are now computed relative to the actual location of the executables, <filename>/share</> directory) are now computed relative to the
so that an installation tree can be moved to another place without actual location of the executables, so that an installation tree
reconfiguring and rebuilding. can be moved to another place without reconfiguring and
rebuilding.
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Use --with-docdir to choose installation location of documentation; also Use <option>--with-docdir</> to choose installation location of documentation; also
allow --infodir (Peter) allow <option>--infodir</> (Peter)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Add --without-docdir to prevent installation of documentation (Peter) Add <option>--without-docdir</> to prevent installation of documentation (Peter)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Upgrade to DocBook V4.2 SGML (Peter) Upgrade to <application>DocBook</> V4.2 SGML (Peter)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
New "PostgreSQL" CVS tag (Marc) New <literal>PostgreSQL</> <application>CVS</> tag (Marc)
</para> </para>
<para> <para>
This was done to make it easier for organizations to manage This was done to make it easier for organizations to manage their
their own copies of the <productname>PostgreSQL</productname> own copies of the <productname>PostgreSQL</productname>
CVS repository. File version stamps from the master repository <application>CVS</> repository. File version stamps from the master
will not get munged by checking into or out of a copied repository will not get munged by checking into or out of a copied
repository. repository.
</para> </para>
</listitem> </listitem>
...@@ -1994,7 +2035,8 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -1994,7 +2035,8 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
Add inlined test-and-set code on PA-RISC for gcc (ViSolve, Tom) Add inlined test-and-set code on PA-RISC for <application>gcc</>
(ViSolve, Tom)
</para> </para>
</listitem> </listitem>
...@@ -2006,8 +2048,8 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -2006,8 +2048,8 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
Clean up spinlock assembly code to avoid warnings from newer gcc Clean up spinlock assembly code to avoid warnings from newer
releases (Tom) <application>gcc</> releases (Tom)
</para> </para>
</listitem> </listitem>
...@@ -2023,7 +2065,6 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -2023,7 +2065,6 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
More accurately estimate memory and file descriptor usage (Tom) More accurately estimate memory and file descriptor usage (Tom)
...@@ -2038,7 +2079,7 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -2038,7 +2079,7 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
New fsync test program (Bruce) New <function>fsync()</> test program (Bruce)
</para> </para>
</listitem> </listitem>
...@@ -2048,12 +2089,6 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -2048,12 +2089,6 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
</para> </para>
</listitem> </listitem>
<listitem>
<para>
Remove contrib/rserv: obsoleted by various separate projects
</para>
</listitem>
<listitem> <listitem>
<para> <para>
Remove <application>pg_encoding</application>; not needed Remove <application>pg_encoding</application>; not needed
...@@ -2076,13 +2111,13 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -2076,13 +2111,13 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
Auto detect thread flags (no more manual testing) (Bruce) Auto-detect thread flags (no more manual testing) (Bruce)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Use Olson's public domain timezone library (Magnus) Use Olson's public domain <application>timezone</> library (Magnus)
</para> </para>
</listitem> </listitem>
...@@ -2099,7 +2134,8 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -2099,7 +2134,8 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
psql now uses a flex-generated lexical analyzer to process command strings <application>psql</> now uses a <application>flex</>-generated
lexical analyzer to process command strings
</para> </para>
</listitem> </listitem>
...@@ -2135,7 +2171,7 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -2135,7 +2171,7 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
New pgevent for Win32 logging New <application>pgevent</> for Win32 logging
</para> </para>
</listitem> </listitem>
...@@ -2204,25 +2240,25 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian ...@@ -2204,25 +2240,25 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.306 2004/11/10 06:13:12 momjian
<listitem> <listitem>
<para> <para>
Remove /contrib/rserv Allow /contrib/pg_autovacuum to run as a Win32 service (Dave Page)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Allow /contrib/pg_autovacuum to run as a Win32 service (Dave Page) Add functions to /contrib/dbsize (Andreas Pflug)
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Add functions to /contrib/dbsize (Andreas Pflug) Remove contrib/pg_logger
</para> </para>
</listitem> </listitem>
<listitem> <listitem>
<para> <para>
Remove contrib/pg_logger Remove contrib/rserv: obsoleted by various separate projects
</para> </para>
</listitem> </listitem>
...@@ -2268,7 +2304,7 @@ it as a potential-data-loss bug. ...@@ -2268,7 +2304,7 @@ 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>
...@@ -2378,7 +2414,7 @@ aggregate plan</para></listitem> ...@@ -2378,7 +2414,7 @@ aggregate plan</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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment