Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit26f831a

Browse files
committed
Update and copy-edit release notes for 8.0.2.
1 parent988dec0 commit26f831a

File tree

1 file changed

+105
-72
lines changed

1 file changed

+105
-72
lines changed

‎doc/src/sgml/release.sgml

Lines changed: 105 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.332 2005/04/0504:47:19 tgl Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.333 2005/04/07 19:04:13 tgl Exp $
33
-->
44

55
<appendix id="release">
@@ -22,8 +22,8 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.332 2005/04/05 04:47:19 tgl Exp
2222

2323
<para>
2424
A dump/restore is not required for those running 8.0.*.
25-
This releasedoes update the major version number of the
26-
<productname>PostgreSQL</productname> libraries so it might be
25+
This releaseupdates the major version number of the
26+
<productname>PostgreSQL</productname> libraries, so it might be
2727
necessary to re-link some user applications if they cannot
2828
find the properly-numbered shared library.
2929
</para>
@@ -33,42 +33,6 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.332 2005/04/05 04:47:19 tgl Exp
3333
<title>Changes</title>
3434

3535
<itemizedlist>
36-
<listitem><para>Use the proper default mask length for <type>INET</> data types with class
37-
<literal>D</> addresses (Tom)</para></listitem>
38-
<listitem><para>Allow plpgsql to assign a value to an array that is initially
39-
<literal>NULL</> (Tom)</para></listitem>
40-
<listitem><para>Fix <command>CLUSTER</> failure after <command>ALTER TABLE
41-
SET WITHOUT OIDS</> (Tom)</para></listitem>
42-
<listitem><para>Fix ecpg bugs in parsing of <command>CREATE</> statement
43-
(Michael)</para></listitem>
44-
<listitem><para>Reduce memory usage of <command>ALTER TABLE ADD COLUMN</>
45-
(Neil)</para></listitem>
46-
<listitem><para>Allow SPI to handle utility commands like <command>EXPLAIN</>
47-
that return rows (Tom)</para></listitem>
48-
<listitem><para>Fix <command>ALTER LANGUAGE RENAME</> (Tom)</para></listitem>
49-
<listitem><para>Document the Win32 <literal>register</> and <literal>
50-
unregister</>
51-
<application>pg_ctl</> options (Magnus)</para></listitem>
52-
<listitem><para>Several <filename>/contrib/btree_gist</> fixes (Teodor)
53-
</para></listitem>
54-
<listitem><para>New cache replacement policy <acronym>2Q</> replaces
55-
<acronym>ARC</> (Tom)</para>
56-
<para>
57-
This was done to void a pending US patent on <acronym>ARC</>. The
58-
<acronym>2Q</> code might be a few percentage points slower than
59-
<acronym>ARC</> for busy sites. Another new cache replacement
60-
policy will appear in 8.1.
61-
</para></listitem>
62-
<listitem><para>Change the Win32 default for config variable
63-
<varname>log_destination</> to <option>eventlog</> (Magnus)</para>
64-
<para>
65-
This, by default, will send all Win32 server log output to the Win32 event
66-
logger rather than standard error.
67-
</para></listitem>
68-
<listitem><para>Fix crash of some <filename>/contrib/pgcrypto</>
69-
functions on some platforms (Neil)</para></listitem>
70-
<listitem><para>Allow <command>ALTER DATABASE RENAME</> by superusers
71-
who can't create databases (Tom)</para></listitem>
7236
<listitem><para>Increment the major version number of all interface
7337
libraries (Bruce)</para>
7438
<para>
@@ -77,51 +41,120 @@ $PostgreSQL: pgsql/doc/src/sgml/release.sgml,v 1.332 2005/04/05 04:47:19 tgl Exp
7741
can be used on the same machine as 8.0.X applications. This might require
7842
re-linking user applications that use these libraries.
7943
</para></listitem>
80-
<listitem><para>Do not use locale-aware versions of <function>upper()</>,
81-
<function>lower()</>, and <function>initcap()</> when the locale is <literal>C</>.
82-
(Bruce)</para>
44+
<listitem><para>Add Windows-only <varname>wal_sync_method</> setting of
45+
<option>fsync_writethrough</> (Magnus, Bruce)</para>
46+
<para>
47+
This setting causes <productname>PostgreSQL</productname> to write through
48+
any disk-drive write cache when writing to WAL.
49+
This behavior was formerly called <option>fsync</>, but was
50+
renamed because it acts quite differently from <option>fsync</> on other
51+
platforms.
52+
</para>
53+
</listitem>
54+
<listitem><para>Enable the <varname>wal_sync_method</> setting of
55+
<option>open_datasync</> on Windows, and make it the default for that
56+
platform (Magnus, Bruce)</para>
57+
<para>
58+
Because the default is no longer <option>fsync_writethrough</>,
59+
data loss is possible during a power failure if the disk drive has
60+
write caching enabled. To turn off the write cache on Windows,
61+
from the <application>Device Manager</>, choose the drive properties,
62+
then <literal>Policies</>.
63+
</para>
64+
</listitem>
65+
<listitem><para>New cache management algorithm <acronym>2Q</> replaces
66+
<acronym>ARC</> (Tom)</para>
67+
<para>
68+
This was done to avoid a pending US patent on <acronym>ARC</>. The
69+
<acronym>2Q</> code might be a few percentage points slower than
70+
<acronym>ARC</> for some work loads. A better cache management algorithm
71+
will appear in 8.1.
72+
</para></listitem>
73+
<listitem><para>Planner adjustments to improve behavior on freshly-created
74+
tables (Tom)</para></listitem>
75+
<listitem><para>Allow plpgsql to assign to an element of an array that is
76+
initially <literal>NULL</> (Tom)</para>
77+
<para>
78+
Formerly the array would remain <literal>NULL</>, but now it becomes a
79+
single-element array. The main SQL engine was changed to handle
80+
<command>UPDATE</> of a null array value this way in 8.0, but the similar
81+
case in plpgsql was overlooked.
82+
</para>
83+
</listitem>
84+
<listitem><para>Convert <literal>\r\n</> and <literal>\r</> to <literal>\n</>
85+
in plpython function bodies (Michael Fuhr)</para>
8386
<para>
84-
This allows these functions to work on platforms that sometimes
85-
generate errors with a locale of <literal>C</> and a non-<literal>SQL_ASCII</>
86-
encoding.
87+
This prevents syntax errors when plpython code is written on a Windows or
88+
Mac client.
89+
</para>
90+
</listitem>
91+
<listitem><para>Allow SPI cursors to handle utility commands that return rows,
92+
such as <command>EXPLAIN</> (Tom)</para></listitem>
93+
<listitem><para>Fix <command>CLUSTER</> failure after <command>ALTER TABLE
94+
SET WITHOUT OIDS</> (Tom)</para></listitem>
95+
<listitem><para>Reduce memory usage of <command>ALTER TABLE ADD COLUMN</>
96+
(Neil)</para></listitem>
97+
<listitem><para>Fix <command>ALTER LANGUAGE RENAME</> (Tom)</para></listitem>
98+
<listitem><para>Document the Windows-only <literal>register</> and
99+
<literal>unregister</> options of <application>pg_ctl</> (Magnus)</para></listitem>
100+
<listitem><para>Ensure operations done during backend shutdown are counted by
101+
statistics collector</para>
102+
<para>
103+
This is expected to resolve reports of <application>pg_autovacuum</>
104+
not vacuuming the system catalogs often enough &mdash; it was not being
105+
told about catalog deletions caused by temporary table removal during
106+
backend exit.
87107
</para></listitem>
88-
<listitem><para>Enable the <varname>wal_sync_method</> variable value of
89-
<option>open_datasync</> on Win32, and make it the default for that
90-
platform. (Magnus, Bruce)</para>
91-
<para>
92-
This makes Win32 behave like other supported platforms that require the
93-
administrator to make sure that data is guaranteed to be written to permanent
94-
storage after a sync operation. To turn off the write cache on Win32,
95-
from the <application>Device Manager</>, chose the drive properties,
96-
then <literal>Policies</>.
108+
<listitem><para>Change the Windows default for configuration parameter
109+
<varname>log_destination</> to <option>eventlog</> (Magnus)</para>
110+
<para>
111+
By default, a server running on Windows will now send log output to the
112+
Windows event logger rather than standard error.
113+
</para></listitem>
114+
<listitem><para>Make Kerberos authentication work on Windows (Magnus)</para></listitem>
115+
<listitem><para>Allow <command>ALTER DATABASE RENAME</> by superusers
116+
who aren't flagged as having CREATEDB privilege (Tom)</para></listitem>
117+
<listitem><para>Modify WAL log entries for <command>CREATE</> and
118+
<command>DROP DATABASE</> to not specify absolute paths (Tom)</para>
119+
<para>This allows point-in-time recovery on a different machine with possibly
120+
different database location. Note that <command>CREATE TABLESPACE</> still
121+
poses a hazard in such situations.
97122
</para></listitem>
98-
<listitem><para>Add Win32-only <varname>wal_sync_method</> value of <option>
99-
fsync_writethrough</> to write through any write cache between the
100-
operating system and the drive when doing a sync.
101-
(Magnus, Bruce)</para></listitem>
102-
<listitem><para>Fix crash from a backend exiting an open transaction
103-
with a <command>CREATE</> and a <command>FETCH</> (Tom)</para></listitem>
123+
<listitem><para>Fix crash from a backend exiting with an open transaction
124+
that created a table and opened a cursor on it (Tom)</para></listitem>
125+
<listitem><para>Fix <function>array_map()</> so it can call PL functions
126+
(Tom)</para></listitem>
127+
<listitem><para>Several <filename>contrib/tsearch2</> and
128+
<filename>contrib/btree_gist</> fixes (Teodor)
129+
</para></listitem>
130+
<listitem><para>Fix crash of some <filename>contrib/pgcrypto</>
131+
functions on some platforms (Marko Kreen)</para></listitem>
132+
<listitem><para>Fix <filename>contrib/intagg</> for 64-bit platforms
133+
(Tom)</para></listitem>
134+
<listitem><para>Fix ecpg bugs in parsing of <command>CREATE</> statement
135+
(Michael)</para></listitem>
104136
<listitem><para>Work around gcc bug on powerpc and amd64 causing problems in
105137
ecpg (Christof Petig)</para></listitem>
106-
<listitem><para>Modify WAL log entries for <command>CREATE</> and <command>
107-
DROP DATABASE</> to not specify absolute paths</para>
108-
<para>This allows point-in-time recovery on a different machine. (Tom)
138+
<listitem><para>Do not use locale-aware versions of <function>upper()</>,
139+
<function>lower()</>, and <function>initcap()</> when the locale is
140+
<literal>C</> (Bruce)</para>
141+
<para>
142+
This allows these functions to work on platforms that generate errors
143+
for non-7-bit data when the locale is <literal>C</>.
109144
</para></listitem>
110-
<listitem><para>Fix <filename>/contrib/intagg</> for 64-bit platforms
111-
(Tom)</para></listitem>
112-
<listitem><para>Convert plpython function bodies containing <literal>\r\n</>
113-
and <literal>\r</> to <literal>\n</> (Michael Fuhr)</para></listitem>
114-
<listitem><para>Allow Kerberos to work on Win32 (Magnus)</para></listitem>
145+
<listitem><para>Fix <function>quote_ident()</> to quote names that match keywords (Tom)</para></listitem>
115146
<listitem><para>Fix <function>to_date()</> to behave reasonably when
116147
<literal>CC</> and <literal>YY</> fields are both used (Karel)</para></listitem>
117148
<listitem><para>Prevent <function>to_char(interval)</> from failing
118149
when given a zero-month interval (Tom)</para></listitem>
119-
<listitem><para>Fix wrong week returned by <function>date_trunc</>('week')</para>
150+
<listitem><para>Fix wrong week returned by <function>date_trunc('week')</>
151+
(Bruce)</para>
120152
<para>
121-
This was a problem for early January dates. <function>date_trunc('week')</>
122-
returned the wrong year for <literal> 2005-01-01</> and <literal>2006-01-01</>
123-
(Bruce)
153+
<function>date_trunc('week')</>
154+
returned the wrong year for the first few days of January in some years.
124155
</para></listitem>
156+
<listitem><para>Use the correct default mask length for class <literal>D</>
157+
addresses in <type>INET</> data types (Tom)</para></listitem>
125158
</itemizedlist>
126159

127160
</sect2>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp