]> granicus.if.org Git - postgresql/blob - doc/src/sgml/release.sgml
Preliminary code review for domain CHECK constraints patch: add documentation,
[postgresql] / doc / src / sgml / release.sgml
1 <!--
2 $Header: /cvsroot/pgsql/doc/src/sgml/release.sgml,v 1.169 2002/12/12 20:35:07 tgl Exp $
3 -->
4
5 <appendix id="release">
6  <title>Release Notes</title>
7
8  <sect1 id="release-devel">
9   <title>7.4 Development Branch</title>
10
11   <para>
12    Below is a subset of the changes that have gone into the
13    development branch of PostgreSQL since version 7.3.  For a complete
14    list of changes, consult the CVS logs.
15   </para>
16
17 <!--
18 Developers: When you add a feature, mention it here.  This avoids
19 lossiness when digging out the information from the CVS logs, and
20 furthermore it advertises your feature to external parties at the
21 earliest possible moment.
22  
23 CDATA means the content is "SGML-free", so you can write without
24 worries about funny characters.
25 -->
26 <literallayout><![CDATA[
27 Domains now support CHECK constraints
28 ]]></literallayout>
29
30  </sect1>
31
32  <sect1 id="release-7-3">
33   <title>Release 7.3</title>
34
35   <note>
36    <title>Release date</title>
37    <simpara>2002-11-27</simpara>
38   </note>
39
40   <sect2>
41    <title>Overview</title>
42
43    <para>
44     Major changes in this release:
45
46     <variablelist>
47      <varlistentry>
48       <term>Schemas</term>
49       <listitem>
50        <para>
51         Schemas allow users to create objects in separate namespaces,
52         so two people or applications can have tables with the same
53         name. There is also a public schema for shared tables.
54         Table/index creation can be restricted by removing permissions
55         on the public schema.
56        </para>
57       </listitem>
58      </varlistentry>
59
60      <varlistentry>
61       <term>Drop Column</term>
62       <listitem>
63        <para>
64         PostgreSQL now supports the <literal>ALTER TABLE ... DROP
65         COLUMN</literal> functionality.
66        </para>
67       </listitem>
68      </varlistentry>
69
70      <varlistentry>
71       <term>Table Functions</term>
72       <listitem>
73        <para>
74         Functions returning multiple rows and/or multiple columns are
75         now much easier to use than before.  You can call such a
76         <quote>table function</quote> in the <literal>SELECT</literal>
77         <literal>FROM</literal> clause, treating its output like a
78         table. Also, <application>PL/pgSQL</application> functions can
79         now return sets.
80        </para>
81       </listitem>
82      </varlistentry>
83
84      <varlistentry>
85       <term>Prepared Queries</term>
86       <listitem>
87        <para>
88         PostgreSQL now supports prepared queries, for improved
89         performance.
90        </para>
91       </listitem>
92      </varlistentry>
93
94      <varlistentry>
95       <term>Dependency Tracking</term>
96       <listitem>
97        <para>
98         PostgreSQL now records object dependencies, which allows
99         improvements in many areas.  <command>DROP</command>
100         statements now take either <literal>CASCADE</> or
101         <literal>RESTRICT</> to control whether dependent objects are
102         also dropped.
103        </para>
104       </listitem>
105      </varlistentry>
106
107      <varlistentry>
108       <term>Privileges</term>
109       <listitem>
110        <para>
111         Functions and procedural languages now have privileges, and
112         functions can be defined to run with the privileges of their
113         creator.
114        </para>
115       </listitem>
116      </varlistentry>
117
118      <varlistentry>
119       <term>Internationalization</term>
120       <listitem>
121        <para>
122         Both multibyte and locale support are now always enabled.
123        </para>
124       </listitem>
125      </varlistentry>
126
127      <varlistentry>
128       <term>Logging</term>
129       <listitem>
130        <para>
131         A variety of logging options have been enhanced.
132        </para>
133       </listitem>
134      </varlistentry>
135
136      <varlistentry>
137       <term>Interfaces</term>
138       <listitem>
139        <para>
140         A large number of interfaces have been moved to <ulink
141         url="http://gborg.postgresql.org">http://gborg.postgresql.org</>
142         where they can be developed and released independently.
143        </para>
144       </listitem>
145      </varlistentry>
146
147      <varlistentry>
148       <term>Functions/Identifiers</term>
149       <listitem>
150        <para>
151         By default, functions can now take up to 32 parameters, and
152         identifiers can be up to 63 bytes long.  Also, <literal>OPAQUE</>
153         is now deprecated: there are specific <quote>pseudo-datatypes</>
154         to represent each of the former meanings of <literal>OPAQUE</>
155         in function argument and result types.
156        </para>
157       </listitem>
158      </varlistentry>
159
160     </variablelist>
161    </para>
162   </sect2>
163
164   <sect2>
165    <title>Migration to version 7.3</title>
166
167    <para>
168     A dump/restore using <application>pg_dump</> is required for those
169     wishing to migrate data from any previous release. If your
170     application examines the system catalogs, additional changes will
171     be required due to the introduction of schemas in 7.3; for more
172     information, see: <ulink
173     url="http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3">
174     http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3</>.
175    </para>
176
177    <para>
178     Observe the following incompatibilities:
179
180     <itemizedlist>
181      <listitem>
182       <para>
183        Pre-6.3 clients are no longer supported.
184       </para>
185      </listitem>
186
187      <listitem>
188       <para>
189        <filename>pg_hba.conf</filename> now has a column for the user
190        name and additional features.  Existing files need to be
191        adjusted.
192       </para>
193      </listitem>
194
195      <listitem>
196       <para>
197        Several <filename>postgresql.conf</filename> logging parameters
198        have been renamed.
199       </para>
200      </listitem>
201
202      <listitem>
203       <para>
204        <literal>LIMIT #,#</literal> has been disabled; use
205        <literal>LIMIT # OFFSET #</literal>.
206       </para>
207      </listitem>
208
209      <listitem>
210       <para>
211        <command>INSERT</command> statements with column lists must
212        specify a value for each specified column. For example,
213        <literal>INSERT INTO tab (col1, col2) VALUES ('val1')</literal>
214        is now invalid.  It's still allowed to supply fewer columns than
215        expected if the <command>INSERT</command> does not have a column list.
216       </para>
217      </listitem>
218
219      <listitem>
220       <para>
221        <type>serial</type> columns are no longer automatically
222        <literal>UNIQUE</>; thus, an index will not automatically be
223        created.
224       </para>
225      </listitem>
226
227      <listitem>
228       <para>
229        A <command>SET</command> command inside an aborted transaction
230        is now rolled back.
231       </para>
232      </listitem>
233
234      <listitem>
235       <para>
236        <command>COPY</command> no longer considers missing trailing
237        columns to be null.  All columns need to be specified.
238        (However, one may achieve a similar effect by specifying a
239        column list in the <command>COPY</command> command.)
240       </para>
241      </listitem>
242
243      <listitem>
244       <para>
245        The data type <type>timestamp</type> is now equivalent to
246        <type>timestamp without time zone</type>, instead of
247        <type>timestamp with time zone</type>.
248       </para>
249      </listitem>
250
251      <listitem>
252       <para>
253        Pre-7.3 databases loaded into 7.3 will not have the new object
254        dependencies for <type>serial</type> columns, unique
255        constraints, and foreign keys. See the directory
256        <filename>contrib/adddepend/</filename> for a detailed
257        description and a script that will add such dependencies.
258       </para>
259      </listitem>
260
261      <listitem>
262       <para>
263        An empty string (<literal>''</literal>) is no longer allowed as
264        the input into an integer field.  Formerly, it was silently
265        interpreted as 0.
266       </para>
267      </listitem>
268
269     </itemizedlist>
270    </para>
271
272   </sect2>
273
274   <sect2>
275    <title>Changes</title>
276
277    <sect3>
278     <title>Server Operation</title>
279 <literallayout>
280 Add pg_locks view to show locks (Neil)
281 Security fixes for password negotiation memory allocation (Neil)
282 Remove support for version 0 FE/BE protocol (PostgreSQL 6.2 and
283   earlier) (Tom)
284 Reserve the last few backend slots for superusers, add parameter
285   superuser_reserved_connections to control this (Nigel J. Andrews)
286 </literallayout>
287    </sect3>
288
289    <sect3>
290     <title>Performance</title>
291 <literallayout>
292 Improve startup by calling localtime() only once (Tom)
293 Cache system catalog information in flat files for faster startup
294   (Tom)
295 Improve caching of index information (Tom)
296 Optimizer improvements (Tom, Fernando Nasser)
297 Catalog caches now store failed lookups (Tom)
298 Hash function improvements (Neil)
299 Improve performance of query tokenization and network handling (Peter)
300 Speed improvement for large object restore (Mario Weilguni)
301 Mark expired index entries on first lookup, saving later heap fetches
302   (Tom)
303 Avoid excessive NULL bitmap padding (Manfred Koizar)
304 Add BSD-licensed qsort() for Solaris, for performance (Bruce)
305 Reduce per-row overhead by four bytes (Manfred Koizar)
306 Fix GEQO optimizer bug (Neil Conway)
307 Make WITHOUT OID actually save four bytes per row (Manfred Koizar)
308 Add default_statistics_target variable to specify ANALYZE buckets
309   (Neil)
310 Use local buffer cache for temporary tables so no WAL overhead (Tom)
311 Improve free space map performance on large tables (Stephen Marshall,
312   Tom)
313 Improved WAL write concurrency (Tom)
314 </literallayout>
315    </sect3>
316
317    <sect3>
318     <title>Privileges</title>
319 <literallayout>
320 Add privileges on functions and procedural languages (Peter)
321 Add OWNER to CREATE DATABASE so superusers can create databases
322   on behalf of unprivileged users.  (Gavin Sherry, Tom)
323 Add new object permission bits EXECUTE and USAGE (Tom)
324 Add SET SESSION AUTHORIZATION DEFAULT and RESET SESSION AUTHORIZATION
325   (Tom)
326 Allow functions to be executed with the privilege of the function
327   owner (Peter)
328 </literallayout>
329    </sect3>
330
331    <sect3>
332     <title>Server Configuration</title>
333 <literallayout>
334 Server log messages now tagged with LOG, not DEBUG (Bruce)
335 Add user column to pg_hba.conf (Bruce)
336 Have log_connections output two lines in log file (Tom)
337 Remove debug_level from postgresql.conf, now server_min_messages
338   (Bruce)
339 New ALTER DATABASE/USER ... SET command for per-user/database
340    initialization (Peter)
341 New parameters server_min_messages and client_min_messages to
342   control which messages are sent to the server logs or client
343   applications (Bruce)
344 Allow pg_hba.conf to specify lists of users/databases separated by
345   commas, group names prepended with +, and file names prepended
346   with @ (Bruce)
347 Remove secondary password file capability and pg_password utility
348   (Bruce)
349 Add variable db_user_namespace for database-local user names (Bruce)
350 SSL improvements (Bear Giles)
351 Make encryption of stored passwords the default (Bruce)
352 Allow pg_statistics to be reset by calling pg_stat_reset()
353   (Christopher)
354 Add log_duration parameter (Bruce)
355 Rename debug_print_query to log_statement (Bruce)
356 Rename show_query_stats to show_statement_stats (Bruce)
357 Add param log_min_error_statement to print commands to logs on error
358   (Gavin)
359 </literallayout>
360    </sect3>
361
362    <sect3>
363     <title>Queries</title>
364 <literallayout>
365 Make cursors insensitive, meaning their contents do not change (Tom)
366 Disable LIMIT #,# syntax; now only LIMIT # OFFSET # supported (Bruce)
367 Increase identifier length to 63 (Neil, Bruce)
368 UNION fixes for merging >= 3 columns of different lengths (Tom)
369 Add DEFAULT keyword to INSERT, e.g., INSERT ... (..., DEFAULT, ...)
370   (Rod)
371 Allow views to have default values using ALTER COLUMN ... SET DEFAULT
372   (Neil)
373 Fail on INSERTs with column lists that don't supply all column
374   values, e.g., INSERT INTO tab (col1, col2) VALUES ('val1');  (Rod)
375 Fix for join aliases (Tom)
376 Fix for FULL OUTER JOINs (Tom)
377 Improve reporting of invalid identifier and location (Tom, Gavin)
378 Fix OPEN cursor(args) (Tom)
379 Allow 'ctid' to be used in a view and currtid(viewname) (Hiroshi)
380 Fix for CREATE TABLE AS with UNION (Tom)
381 SQL99 syntax improvements (Thomas)
382 Add statement_timeout variable to cancel queries (Bruce)
383 Allow prepared queries with PREPARE/EXECUTE (Neil)
384 Allow FOR UPDATE to appear after LIMIT/OFFSET (Bruce)
385 Add variable autocommit (Tom, David Van Wie)
386 </literallayout>
387    </sect3>
388
389    <sect3>
390     <title>Object Manipulation</title>
391 <literallayout>
392 Make equals signs optional in CREATE DATABASE (Gavin Sherry)
393 Make ALTER TABLE OWNER change index ownership too (Neil)
394 New ALTER TABLE tabname ALTER COLUMN colname SET STORAGE controls
395   TOAST storage, compression (John Gray)
396 Add schema support, CREATE/DROP SCHEMA (Tom)
397 Create schema for temporary tables (Tom)
398 Add variable search_path for schema search (Tom)
399 Add ALTER TABLE SET/DROP NOT NULL (Christopher)
400 New CREATE FUNCTION volatility levels (Tom)
401 Make rule names unique only per table (Tom)
402 Add 'ON tablename' clause to DROP RULE and COMMENT ON RULE (Tom)
403 Add ALTER TRIGGER RENAME (Joe)
404 New current_schema() and current_schemas() inquiry functions (Tom)
405 Allow functions to return multiple rows (table functions) (Joe)
406 Make WITH optional in CREATE DATABASE, for consistency (Bruce)
407 Add object dependency tracking (Rod, Tom)
408 Add RESTRICT/CASCADE to DROP commands (Rod)
409 Add ALTER TABLE DROP for non-CHECK CONSTRAINT (Rod)
410 Autodestroy sequence on DROP of table with SERIAL (Rod)
411 Prevent column dropping if column is used by foreign key (Rod)
412 Automatically drop constraints/functions when object is dropped (Rod)
413 Add CREATE/DROP OPERATOR CLASS (Bill Studenmund, Tom)
414 Add ALTER TABLE DROP COLUMN (Christopher, Tom, Hiroshi)
415 Prevent inherited columns from being removed or renamed (Alvaro
416   Herrera)
417 Fix foreign key constraints to not error on intermediate database
418   states (Stephan)
419 Propagate column or table renaming to foreign key constraints
420 Add CREATE OR REPLACE VIEW (Gavin, Neil, Tom)
421 Add CREATE OR REPLACE RULE (Gavin, Neil, Tom)
422 Have rules execute alphabetically, returning more predictable values
423   (Tom)
424 Triggers are now fired in alphabetical order (Tom)
425 Add /contrib/adddepend to handle pre-7.3 object dependencies (Rod)
426 Allow better casting when inserting/updating values (Tom)
427 </literallayout>
428    </sect3>
429
430    <sect3>
431     <title>Utility Commands</title>
432 <literallayout>
433 Have COPY TO output embedded carriage returns and newlines as \r and
434   \n (Tom)
435 Allow DELIMITER in COPY FROM to be 8-bit clean (Tatsuo)
436 Make pg_dump use ALTER TABLE ADD PRIMARY KEY, for performance (Neil)
437 Disable brackets in multistatement rules (Bruce)
438 Disable VACUUM from being called inside a function (Bruce)
439 Allow dropdb and other scripts to use identifiers with spaces (Bruce)
440 Restrict database comment changes to the current database
441 Allow comments on operators, independent of the underlying function
442   (Rod)
443 Rollback SET commands in aborted transactions (Tom)
444 EXPLAIN now outputs as a query (Tom)
445 Display condition expressions and sort keys in EXPLAIN (Tom)
446 Add 'SET LOCAL var = value' to set configuration variables for a
447   single transaction (Tom)
448 Allow ANALYZE to run in a transaction (Bruce)
449 Improve COPY syntax using new WITH clauses, keep backward
450   compatibility (Bruce)
451 Fix pg_dump to consistently output tags in non-ASCII dumps (Bruce)
452 Make foreign key constraints clearer in dump file (Rod)
453 Add COMMENT ON CONSTRAINT (Rod)
454 Allow COPY TO/FROM to specify column names (Brent Verner)
455 Dump UNIQUE and PRIMARY KEY contraints as ALTER TABLE (Rod)
456 Have SHOW output a query result (Joe)
457 Generate failure on short COPY lines rather than pad NULLs (Neil)
458 Fix CLUSTER to preserve all table attributes (Alvaro Herrera)
459 New pg_settings table to view/modify GUC settings (Joe)
460 Add smart quoting, portability improvements to pg_dump output (Peter)
461 Dump serial columns out as SERIAL (Tom)
462 Enable large file support, >2G for pg_dump (Peter, Philip Warner,
463   Bruce)
464 Disallow TRUNCATE on tables that are involved in referential
465   constraints (Rod)
466 Have TRUNCATE also auto-truncate the toast table of the relation (Tom)
467 Add clusterdb utility that will auto-cluster an entire database
468   based on previous CLUSTER operations (Alvaro Herrera)
469 Overhaul pg_dumpall (Peter)
470 Allow REINDEX of TOAST tables (Tom)
471 Implemented START TRANSACTION, per SQL99 (Neil)
472 Fix rare index corruption when a page split affects bulk delete (Tom)
473 Fix ALTER TABLE ... ADD COLUMN for inheritance (Alvaro Herrera)
474 </literallayout>
475    </sect3>
476
477    <sect3>
478     <title>Data Types and Functions</title>
479 <literallayout>
480 Fix factorial(0) to return 1 (Bruce)
481 Date/time/timezone improvements (Thomas)
482 Fix for array slice extraction (Tom)
483 Fix extract/date_part to report proper microseconds for timestamp
484   (Tatsuo)
485 Allow text_substr() and bytea_substr() to read TOAST values more
486   efficiently (John Gray)
487 Add domain support (Rod)
488 Make WITHOUT TIME ZONE the default for TIMESTAMP and TIME data types
489   (Thomas)
490 Allow alternate storage scheme of 64-bit integers for date/time types
491   using --enable-integer-datetimes in configure (Thomas)
492 Make timezone(timestamptz) return timestamp rather than a string
493   (Thomas)
494 Allow fractional seconds in date/time types for dates prior to 1BC
495   (Thomas)
496 Limit timestamp data types to 6 decimal places of precision (Thomas)
497 Change timezone conversion functions from timetz() to timezone()
498   (Thomas)
499 Add configuration variables datestyle and timezone (Tom)
500 Add OVERLAY(), which allows substitution of a substring in a string
501   (Thomas)
502 Add SIMILAR TO (Thomas, Tom)
503 Add regular expression SUBSTRING(string FROM pat FOR escape) (Thomas)
504 Add LOCALTIME and LOCALTIMESTAMP functions (Thomas)
505 Add named composite types using CREATE TYPE typename AS (column)
506   (Joe)
507 Allow composite type definition in the table alias clause (Joe)
508 Add new API to simplify creation of C language table functions (Joe)
509 Remove ODBC-compatible empty parentheses from calls to SQL99
510   functions for which these parentheses do not match the standard
511   (Thomas)
512 Allow macaddr data type to accept 12 hex digits with no separators
513   (Mike Wyer)
514 Add CREATE/DROP CAST (Peter)
515 Add IS DISTINCT FROM operator (Thomas)
516 Add SQL99 TREAT() function, synonym for CAST() (Thomas)
517 Add pg_backend_pid() to output backend pid (Bruce)
518 Add IS OF / IS NOT OF type predicate (Thomas)
519 Allow bit string constants without fully-specified length (Thomas)
520 Allow conversion between 8-byte integers and bit strings (Thomas)
521 Implement hex literal conversion to bit string literal (Thomas)
522 Allow table functions to appear in the FROM clause (Joe)
523 Increase maximum number of function parameters to 32 (Bruce)
524 No longer automatically create index for SERIAL column (Tom)
525 Add current_database() (Rod)
526 Fix cash_words() to not overflow buffer (Tom)
527 Add functions replace(), split_part(), to_hex() (Joe)
528 Fix LIKE for bytea as a right-hand argument (Joe)
529 Prevent crashes caused by SELECT cash_out(2) (Tom)
530 Fix to_char(1,'FM999.99') to return a period (Karel)
531 Fix trigger/type/language functions returning OPAQUE to return
532   proper type (Tom)
533 </literallayout>
534    </sect3>
535
536    <sect3>
537     <title>Internationalization</title>
538 <literallayout>
539 Add additional encodings: Korean (JOHAB), Thai (WIN874), Vietnamese
540   (TCVN), Arabic (WIN1256), Simplified Chinese (GBK), Korean (UHC)
541   (Eiji Tokuya)
542 Enable locale support by default (Peter)
543 Add locale variables (Peter)
544 Escape byes >= 0x7f for multibyte in PQescapeBytea/PQunescapeBytea
545   (Tatsuo)
546 Add locale awareness to regular expression character classes
547 Enable multibyte support by default (Tatso)
548 Add GB18030 multibyte support (Bill Huang)
549 Add CREATE/DROP CONVERSION, allowing loadable encodings (Tatsuo,
550   Kaori)
551 Add pg_conversion table (Tatsuo)
552 Add SQL99 CONVERT() function (Tatsuo)
553 pg_dumpall, pg_controldata, and pg_resetxlog now national-language
554   aware (Peter)
555 New and updated translations
556 </literallayout>
557    </sect3>
558
559    <sect3>
560     <title>Server-side Languages</title>
561 <literallayout>
562 Allow recursive SQL function (Peter)
563 Change PL/Tcl build to use configured compiler and Makefile.shlib
564   (Peter)
565 Overhaul the PL/pgSQL FOUND variable to be more Oracle-compatible
566   (Neil, Tom)
567 Allow PL/pgSQL to handle quoted identifiers (Tom)
568 Allow set-returning PL/pgSQL functions (Neil)
569 Make PL/pgSQL schema-aware (Joe)
570 Remove some memory leaks (Nigel J. Andrews, Tom)
571 </literallayout>
572    </sect3>
573
574    <sect3>
575     <title>Psql</title>
576 <literallayout>
577 Don't lowercase psql \connect database name for 7.2.0 compatibility
578   (Tom)
579 Add psql \timing to time user queries (Greg Sabino Mullane)
580 Have psql \d show index information (Greg Sabino Mullane)
581 New psql \dD shows domains (Jonathan Eisler)
582 Allow psql to show rules on views (Paul ?)
583 Fix for psql variable substitution (Tom)
584 Allow psql \d to show temporary table structure (Tom)
585 Allow psql \d to show foreign keys (Rod)
586 Fix \? to honor \pset pager (Bruce)
587 Have psql reports its version number on startup (Tom)
588 Allow \copy to specify column names (Tom)
589 </literallayout>
590    </sect3>
591
592    <sect3>
593     <title>Libpq</title>
594 <literallayout>
595 Add $HOME/.pgpass to store host/user password combinations (Alvaro
596   Herrera)
597 Add PQunescapeBytea() function to libpq (Patrick Welche)
598 Fix for sending large queries over non-blocking connections
599   (Bernhard Herzog)
600 Fix for libpq using timers on Win9X (David Ford)
601 Allow libpq notify to handle servers with different-length
602   identifiers (Tom)
603 Add libpq PQescapeString() and PQescapeBytea() to Win32 (Bruce)
604 Fix for SSL with non-blocking connections (Jack Bates)
605 Add libpq connection timeout parameter (Denis A Ustimenko)
606 </literallayout>
607    </sect3>
608
609    <sect3>
610     <title>JDBC</title>
611 <literallayout>
612 Allow JDBC to compile with JDK 1.4 (Dave)
613 Add JDBC 3 support (Barry)
614 Allows JDBC to set loglevel by adding ?loglevel=X to the connection
615   URL (Barry)
616 Add Driver.info() message that prints out the version number (Barry)
617 Add updateable result sets (Raghu Nidagal, Dave)
618 Add support for callable statements (Paul Bethe)
619 Add query cancel capability
620 Add refresh row (Dave)
621 Fix MD5 encryption handling for multibyte servers (Jun Kawai)
622 Add support for prepared statements (Barry)
623 </literallayout>
624    </sect3>
625
626    <sect3>
627     <title>Miscellaneous Interfaces</title>
628 <literallayout>
629 Fixed ECPG bug concerning octal numbers in single quotes (Michael)
630 Move src/interfaces/libpgeasy to http://gborg.postgresql.org (Marc,
631   Bruce)
632 Improve Python interface (Elliot Lee, Andrew Johnson, Greg Copeland)
633 Add libpgtcl connection close event (Gerhard Hintermayer)
634 Move src/interfaces/libpq++ to http://gborg.postgresql.org (Marc,
635   Bruce)
636 Move src/interfaces/odbc to http://gborg.postgresql.org (Marc)
637 Move src/interfaces/libpgeasy to http://gborg.postgresql.org (Marc,
638   Bruce)
639 Move src/interfaces/perl5 to http://gborg.postgresql.org (Marc,
640   Bruce)
641 Remove src/bin/pgaccess from main tree, now at
642   http://www.pgaccess.org (Bruce)
643 Add pg_on_connection_loss command to libpgtcl (Gerhard Hintermayer,
644   Tom)
645 </literallayout>
646    </sect3>
647
648    <sect3>
649     <title>Source Code</title>
650 <literallayout>
651 Fix for parallel make (Peter)
652 AIX fixes for linking Tcl (Andreas Zeugswetter)
653 Allow PL/Perl to build under Cygwin (Jason Tishler)
654 Improve MIPS compiles (Peter, Oliver Elphick)
655 Require Autoconf version 2.53 (Peter)
656 Require readline and zlib by default in configure (Peter)
657 Allow Solaris to use Intimate Shared Memory (ISM), for performance
658   (Scott Brunza, P.J. Josh Rovero)
659 Always enable syslog in compile, remove --enable-syslog option
660   (Tatsuo)
661 Always enable multibyte in compile, remove --enable-multibyte option
662   (Tatsuo)
663 Always enable locale in compile, remove --enable-locale option
664   (Peter)
665 Fix for Win9x DLL creation (Magnus Naeslund)
666 Fix for link() usage by WAL code on Win32, BeOS (Jason Tishler)
667 Add sys/types.h to c.h, remove from main files (Peter, Bruce)
668 Fix AIX hang on SMP machines (Tomoyuki Niijima)
669 AIX SMP hang fix (Tomoyuki Niijima)
670 Fix pre-1970 date handling on newer glibc libraries (Tom)
671 Fix PowerPC SMP locking (Tom)
672 Prevent gcc -ffast-math from being used (Peter, Tom)
673 Bison &gt;= 1.50 now required for developer builds
674 Kerberos 5 support now builds with Heimdal (Peter)
675 Add appendix in the User's Guide which lists SQL features (Thomas)
676 Improve loadable module linking to use RTLD_NOW (Tom)
677 New error levels WARNING, INFO, LOG, DEBUG[1-5] (Bruce)
678 New src/port directory holds replaced libc functions (Peter, Bruce)
679 New pg_namespace system catalog for schemas (Tom)
680 Add pg_class.relnamespace for schemas (Tom)
681 Add pg_type.typnamespace for schemas (Tom)
682 Add pg_proc.pronamespace for schemas (Tom)
683 Restructure aggregates to have pg_proc entries (Tom)
684 System relations now have their own namespace, pg_* test not required
685   (Fernando Nasser)
686 Rename TOAST index names to be *_index rather than *_idx (Neil)
687 Add namespaces for operators, opclasses (Tom)
688 Add additional checks to server control file (Thomas)
689 New Polish FAQ (Marcin Mazurek)
690 Add Posix semaphore support (Tom)
691 Document need for reindex (Bruce)
692 Rename some internal identifiers to simplify Win32 compile (Jan,
693   Katherine Ward)
694 Add documentation on computing disk space (Bruce)
695 Remove KSQO from GUC (Bruce)
696 Fix memory leak in rtree (Kenneth Been)
697 Modify a few error messages for consistency (Bruce)
698 Remove unused system table columns (Peter)
699 Make system columns NOT NULL where appropriate (Tom)
700 Clean up use of sprintf in favor of snprintf() (Neil, Jukka Holappa)
701 Remove OPAQUE and create specific subtypes (Tom)
702 Cleanups in array internal handling (Joe, Tom)
703 Disallow pg_atoi('') (Bruce)
704 Remove parameter wal_files because WAL files are now recycled (Bruce)
705 Add version numbers to heap pages (Tom)
706 </literallayout>
707    </sect3>
708
709    <sect3>
710     <title>Contrib</title>
711 <literallayout>
712 Allow inet arrays in /contrib/array (Neil)
713 Gist fixes (Teodor Sigaev, Neil)
714 Upgrade /contrib/mysql
715 Add /contrib/dbsize which shows table sizes without vacuum (Peter)
716 Add /contrib/intagg, integer aggregator routines (mlw)
717 Improve /contrib/oid2name (Neil, Bruce)
718 Improve /contrib/tsearch (Oleg, Teodor Sigaev)
719 Cleanups of /contrib/rserver (Alexey V. Borzov)
720 Update /contrib/oracle conversion utility (Gilles Darold)
721 Update /contrib/dblink (Joe)
722 Improve options supported by /contrib/vacuumlo (Mario Weilguni)
723 Improvements to /contrib/intarray (Oleg, Teodor Sigaev, Andrey
724   Oktyabrski)
725 Add /contrib/reindexdb utility (Shaun Thomas)
726 Add indexing to /contrib/isbn_issn (Dan Weston)
727 Add /contrib/dbmirror (Steven Singer)
728 Improve /contrib/pgbench (Neil)
729 Add /contrib/tablefunc table function examples (Joe)
730 Add /contrib/ltree data type for tree structures (Teodor Sigaev,
731   Oleg Bartunov)
732 Move /contrib/pg_controldata, pg_resetxlog into main tree (Bruce)
733 Fixes to /contrib/cube (Bruno Wolff)
734 Improve /contrib/fulltextindex (Christopher)
735 </literallayout>
736    </sect3>
737
738   </sect2>
739  </sect1>
740
741
742   <sect1 id="release-7-2-3">
743    <title>Release 7.2.3</title>
744
745    <note>
746    <title>Release date</title>
747    <simpara>2002-10-01</simpara>
748    </note>
749
750    <para>
751     This has a variety of fixes from 7.2.2, including fixes to prevent
752     possible data loss.
753    </para>
754
755
756    <sect2>
757     <title>Migration to version 7.2.3</title>
758
759     <para>
760      A dump/restore is <emphasis>not</emphasis> required for those running
761      7.2.X.
762     </para>
763    </sect2>
764
765    <sect2>
766     <title>Changes</title>
767
768     <para>
769 <literallayout>
770 Prevent possible compressed transaction log loss (Tom)
771 Prevent non-superuser from increasing most recent vacuum info (Tom)
772 Handle pre-1970 date values in newer versions of glibc (Tom)
773 Fix possible hang during server shutdown
774 Prevent spinlock hangs on SMP PPC machines (Tomoyuki Niijima)
775 Fix pg_dump to properly dump FULL JOIN USING (Tom)
776 </literallayout>
777     </para>
778    </sect2>
779   </sect1>
780   
781   
782   <sect1 id="release-7-2-2">
783    <title>Release 7.2.2</title>
784
785    <note>
786    <title>Release date</title>
787    <simpara>2002-08-23</simpara>
788    </note>
789
790    <para>
791     This has a variety of fixes from 7.2.1.
792    </para>
793
794
795    <sect2>
796     <title>Migration to version 7.2.2</title>
797
798     <para>
799      A dump/restore is <emphasis>not</emphasis> required for those running
800      7.2.X.
801     </para>
802    </sect2>
803
804    <sect2>
805     <title>Changes</title>
806
807     <para>
808 <literallayout>
809 Allow EXECUTE of "CREATE TABLE AS ... SELECT" in PL/pgSQL (Tom)
810 Fix for compressed transaction log id wraparound (Tom)
811 Fix PQescapeBytea/PQunescapeBytea so that they handle bytes > 0x7f (Tatsuo)
812 Fix for psql and pg_dump crashing when invoked with non-existand long 
813   options (Tatsuo)
814 Fix crash when invoking geometric operators (Tom)
815 Allow OPEN cursor(args) (Tom)
816 Fix for rtree_gist index build (Teodor)
817 Fix for dumping user-defined aggregates (Tom)
818 Contrib/intarray fixes (Oleg)
819 Fix for complex UNION/EXCEPT/INTERSECT queries using parens (Tom)
820 Fix to pg_convert (Tatsuo)
821 Fix for crash with long DATA strings (Thomes, Neil)
822 Fix for repeat(), lpad(), rpad() and long strings (Neil)
823 </literallayout>
824     </para>
825    </sect2>
826   </sect1>
827   
828   
829   <sect1 id="release-7-2-1">
830    <title>Release 7.2.1</title>
831
832    <note>
833    <title>Release date</title>
834    <simpara>2002-03-21</simpara>
835    </note>
836
837    <para>
838     This has a variety of fixes from 7.2.
839    </para>
840
841
842    <sect2>
843     <title>Migration to version 7.2.1</title>
844
845     <para>
846      A dump/restore is <emphasis>not</emphasis> required for those running
847      7.2.
848     </para>
849    </sect2>
850
851    <sect2>
852     <title>Changes</title>
853
854     <para>
855 <literallayout>
856 Ensure that sequence counters do not go backwards after a crash (Tom)
857 Fix pgaccess kanji-coversion key binding (Tatsuo)
858 Optimizer improvements (Tom)
859 cash I/O improvements (Tom)
860 New Russian FAQ
861 Compile fix for missing AuthBlockSig (Heiko)
862 Additional time zones and time zone fixes (Thomas)
863 Allow psql \connect to handle mixed case database and user names (Tom)
864 Return proper OID on command completion even with ON INSERT rules (Tom)
865 Allow COPY FROM to use 8-bit DELIMITERS (Tatsuo)
866 Fix bug in extract/date_part for milliseconds/microseconds (Tatsuo)
867 Improve handling of multiple UNIONs with different lengths (Tom)
868 contrib/btree_gist improvements (Teodor Sigaev)
869 contrib/tsearch dictionary improvements, see README.tsearch for
870   an additional installation step (Thomas T. Thai, Teodor Sigaev)
871 Fix for array subscripts handling (Tom)
872 Allow EXECUTE of "CREATE TABLE AS ... SELECT" in PL/pgSQL (Tom)
873 </literallayout>
874     </para>
875    </sect2>
876   </sect1>
877
878
879  <sect1 id="release-7-2">
880   <title>Release 7.2</title>
881
882   <note>
883    <title>Release date</title>
884    <simpara>2002-02-04</simpara>
885   </note>
886
887   <sect2>
888    <title>Overview</title>
889
890    <para>
891     This release improves <productname>PostgreSQL</> for use in
892     high-volume applications.
893    </para>
894
895    <para>
896     Major changes in this release:
897
898     <variablelist>
899      <varlistentry>
900       <term>VACUUM</term>
901       <listitem>
902        <para>
903         Vacuuming no longer locks tables, thus allowing normal user
904         access during the vacuum.  A new <command>VACUUM FULL</>
905         command does old-style vacuum by locking the table and
906         shrinking the on-disk copy of the table.
907        </para>
908       </listitem>
909      </varlistentry>
910  
911      <varlistentry>
912       <term>Transactions</term>
913       <listitem>
914        <para>
915         There is no longer a problem with installations that exceed
916         four billion transactions.
917        </para>
918       </listitem>
919      </varlistentry>
920  
921      <varlistentry>
922       <term>OIDs</term>
923       <listitem>
924        <para>
925         OIDs are now optional.  Users can now create tables without
926         OIDs for cases where OID usage is excessive.
927        </para>
928       </listitem>
929      </varlistentry>
930  
931      <varlistentry>
932       <term>Optimizer</term>
933       <listitem>
934        <para>
935         The system now computes histogram column statistics during
936         <command>ANALYZE</>, allowing much better optimizer choices.
937        </para>
938       </listitem>
939      </varlistentry>
940  
941      <varlistentry>
942       <term>Security</term>
943       <listitem>
944        <para>
945         A new MD5 encryption option allows more secure storage and
946         transfer of passwords.  A new Unix-domain socket
947         authentication option is available on Linux and BSD systems.
948        </para>
949       </listitem>
950      </varlistentry>
951  
952      <varlistentry>
953       <term>Statistics</term>
954       <listitem>
955        <para>
956         Administrators can use the new table access statistics module
957         to get fine-grained information about table and index usage.
958        </para>
959       </listitem>
960      </varlistentry>
961
962      <varlistentry>
963       <term>Internationalization</term>
964       <listitem>
965        <para>
966         Program and library messages can now be displayed in several
967         languages.
968        </para>
969       </listitem>
970      </varlistentry>
971     </variablelist>
972    </para>
973   </sect2>
974
975   <sect2>
976    <title>Migration to version 7.2</title>
977
978    <para>
979     A dump/restore using <command>pg_dump</command> is required for
980     those wishing to migrate data from any previous release.
981    </para>
982
983    <para>
984     Observe the following incompatibilities:
985
986     <itemizedlist>
987      <listitem>
988       <para>
989        The semantics of the <command>VACUUM</command> command have
990        changed in this release.  You may wish to update your
991        maintenance procedures accordingly.
992       </para>
993      </listitem>
994
995      <listitem>
996       <para>
997        In this release, comparisons using <literal>= NULL</literal>
998        will always return false (or NULL, more precisely).  Previous
999        releases automatically transformed this syntax to <literal>IS
1000        NULL</literal>.  The old behavior can be re-enabled using a
1001        <filename>postgresql.conf</filename> parameter.
1002       </para>
1003      </listitem>
1004
1005      <listitem>
1006       <para>
1007        The <filename>pg_hba.conf</> and <filename>pg_ident.conf</>
1008        configuration is now only reloaded after receiving a
1009        <systemitem>SIGHUP</> signal, not with each connection.
1010       </para>
1011      </listitem>
1012
1013      <listitem>
1014       <para>
1015        The function <filename>octet_length()</> now returns the uncompressed data length.
1016       </para>
1017      </listitem>
1018
1019      <listitem>
1020       <para>
1021        The date/time value <literal>'current'</literal> is no longer
1022        available.  You will need to rewrite your applications.
1023       </para>
1024      </listitem>
1025
1026      <listitem>
1027       <para>
1028        The <literal>timestamp()</literal>, <literal>time()</literal>,
1029        and <literal>interval()</literal> functions are no longer
1030        available.  Instead of <literal>timestamp()</literal>, use 
1031        <literal>timestamp 'string'</literal> or <literal>CAST</literal>.
1032       </para>
1033      </listitem>
1034
1035
1036
1037     </itemizedlist>
1038    </para>
1039
1040    <para>
1041     The <literal>SELECT ... LIMIT #,#</literal> syntax will be removed
1042     in the next release. You should change your queries to use
1043     separate LIMIT and OFFSET clauses, e.g. <literal>LIMIT 10 OFFSET
1044     20</literal>.
1045    </para>
1046   </sect2>
1047
1048   <sect2>
1049    <title>Changes</title>
1050
1051    <sect3>
1052     <title>Server Operation</title>
1053 <literallayout>
1054 Create temporary files in a separate directory (Bruce)
1055 Delete orphaned temporary files on postmaster startup (Bruce)
1056 Added unique indexes to some system tables (Tom)
1057 System table operator reorganization (Oleg Bartunov, Teodor Sigaev, Tom)
1058 Renamed pg_log to pg_clog (Tom)
1059 Enable SIGTERM, SIGQUIT to kill backends (Jan)
1060 Removed compile-time limit on number of backends (Tom)
1061 Better cleanup for semaphore resource failure (Tatsuo, Tom)
1062 Allow safe transaction ID wraparound (Tom)
1063 Removed OIDs from some system tables (Tom)
1064 Removed "triggered data change violation" error check (Tom)
1065 SPI portal creation of prepared/saved plans (Jan)
1066 Allow SPI column functions to work for system columns (Tom)
1067 Long value compression improvement (Tom)
1068 Statistics collector for table, index access (Jan)
1069 Truncate extra-long sequence names to a reasonable value (Tom)
1070 Measure transaction times in milliseconds (Thomas)
1071 Fix TID sequential scans (Hiroshi)
1072 Superuser ID now fixed at 1 (Peter E)
1073 New pg_ctl "reload" option (Tom)
1074 </literallayout>
1075    </sect3>
1076
1077    <sect3>
1078     <title>Performance</title>
1079 <literallayout>
1080 Optimizer improvements (Tom)
1081 New histogram column statistics for optimizer (Tom)
1082 Reuse write-ahead log files rather than discarding them (Tom)
1083 Cache improvements (Tom)
1084 IS NULL, IS NOT NULL optimizer improvement (Tom)
1085 Improve lock manager to reduce lock contention (Tom)
1086 Keep relcache entries for index access support functions (Tom)
1087 Allow better selectivity with NaN and infinities in NUMERIC (Tom)
1088 R-tree performance improvements (Kenneth Been)
1089 B-tree splits more efficient (Tom)
1090 </literallayout>
1091    </sect3>
1092
1093    <sect3>
1094     <title>Privileges</title>
1095 <literallayout>
1096 Change UPDATE, DELETE permissions to be distinct (Peter E)
1097 New REFERENCES, TRIGGER privileges (Peter E)
1098 Allow GRANT/REVOKE to/from more than one user at a time (Peter E)
1099 New has_table_privilege() function (Joe Conway)
1100 Allow non-superuser to vacuum database (Tom)
1101 New SET SESSION AUTHORIZATION command (Peter E)
1102 Fix bug in privilege modifications on newly created tables (Tom)
1103 Disallow access to pg_statistic for non-superuser, add user-accessible views (Tom)
1104 </literallayout>
1105    </sect3>
1106
1107    <sect3>
1108     <title>Client Authentication</title>
1109 <literallayout>
1110 Fork postmaster before doing authentication to prevent hangs (Peter E)
1111 Add ident authentication over Unix domain sockets on Linux, *BSD (Helge Bahmann, Oliver Elphick, Teodor Sigaev, Bruce)
1112 Add a password authentication method that uses MD5 encryption (Bruce)
1113 Allow encryption of stored passwords using MD5 (Bruce)
1114 PAM authentication (Dominic J. Eidson)
1115 Load pg_hba.conf and pg_ident.conf only on startup and SIGHUP (Bruce)
1116 </literallayout>
1117    </sect3>
1118
1119    <sect3>
1120     <title>Server Configuration</title>
1121 <literallayout>
1122 Interpretation of some time zone abbreviations as Australian rather than North American now settable at run time (Bruce)
1123 New parameter to set default transaction isolation level (Peter E)
1124 New parameter to enable conversion of "expr = NULL" into "expr IS NULL", off by default (Peter E)
1125 New parameter to control memory usage by VACUUM (Tom)
1126 New parameter to set client authentication timeout (Tom)
1127 New parameter to set maximum number of open files (Tom)
1128 </literallayout>
1129    </sect3>
1130
1131    <sect3>
1132     <title>Queries</title>
1133 <literallayout>
1134 Statements added by INSERT rules now execute after the INSERT (Jan)
1135 Prevent unadorned relation names in target list (Bruce)
1136 NULLs now sort after all normal values in ORDER BY (Tom)
1137 New IS UNKNOWN, IS NOT UNKNOWN Boolean tests (Tom)
1138 New SHARE UPDATE EXCLUSIVE lock mode (Tom)
1139 New EXPLAIN ANALYZE command that shows run times and row counts (Martijn van Oosterhout)
1140 Fix problem with LIMIT and subqueries (Tom)
1141 Fix for LIMIT, DISTINCT ON pushed into subqueries (Tom)
1142 Fix nested EXCEPT/INTERSECT (Tom)
1143 </literallayout>
1144    </sect3>
1145
1146    <sect3>
1147     <title>Schema Manipulation</title>
1148 <literallayout>
1149 Fix SERIAL in temporary tables (Bruce)
1150 Allow temporary sequences (Bruce)
1151 Sequences now use int8 internally (Tom)
1152 New SERIAL8 creates int8 columns with sequences, default still SERIAL4 (Tom)
1153 Make OIDs optional using WITHOUT OIDS (Tom)
1154 Add %TYPE syntax to CREATE TYPE (Ian Lance Taylor)
1155 Add ALTER TABLE / DROP CONSTRAINT for CHECK constraints (Christopher Kings-Lynne)
1156 New CREATE OR REPLACE FUNCTION to alter existing function (preserving the function OID) (Gavin Sherry)
1157 Add ALTER TABLE / ADD [ UNIQUE | PRIMARY ] (Christopher Kings-Lynne)
1158 Allow column renaming in views
1159 Make ALTER TABLE / RENAME COLUMN update column names of indexes (Brent Verner)
1160 Fix for ALTER TABLE / ADD CONSTRAINT ... CHECK with inherited tables (Stephan Szabo)
1161 ALTER TABLE RENAME update foreign-key trigger arguments correctly (Brent Verner)
1162 DROP AGGREGATE and COMMENT ON AGGREGATE now accept an aggtype (Tom)
1163 Add automatic return type data casting for SQL functions (Tom)
1164 Allow GiST indexes to handle NULLs and multikey indexes (Oleg Bartunov, Teodor Sigaev, Tom)
1165 Enable partial indexes (Martijn van Oosterhout)
1166 </literallayout>
1167    </sect3>
1168
1169    <sect3>
1170     <title>Utility Commands</title>
1171 <literallayout>
1172 Add RESET ALL, SHOW ALL (Marko Kreen)
1173 CREATE/ALTER USER/GROUP now allow options in any order (Vince)
1174 Add LOCK A, B, C functionality (Neil Padgett)
1175 New ENCRYPTED/UNENCRYPTED option to CREATE/ALTER USER (Bruce)
1176 New light-weight VACUUM does not lock table; old semantics are available as VACUUM FULL (Tom)
1177 Disable COPY TO/FROM on views (Bruce)
1178 COPY DELIMITERS string must be exactly one character (Tom)
1179 VACUUM warning about index tuples fewer than heap now only appears when appropriate (Martijn van Oosterhout)
1180 Fix permission checks for CREATE INDEX (Tom)
1181 Disallow inappropriate use of CREATE/DROP INDEX/TRIGGER/VIEW (Tom)
1182 </literallayout>
1183    </sect3>
1184
1185    <sect3>
1186     <title>Data Types and Functions</title>
1187 <literallayout>
1188 SUM(), AVG(), COUNT() now uses int8 internally for speed (Tom)
1189 Add convert(), convert2() (Tatsuo)
1190 New function bit_length() (Peter E)
1191 Make the "n" in CHAR(n)/VARCHAR(n) represents letters, not bytes (Tatsuo)
1192 CHAR(), VARCHAR() now reject strings that are too long (Peter E)
1193 BIT VARYING now rejects bit strings that are too long (Peter E)
1194 BIT now rejects bit strings that do not match declared size (Peter E)
1195 INET, CIDR text conversion functions (Alex Pilosov)
1196 INET, CIDR operators << and <<= indexable (Alex Pilosov)
1197 Bytea \### now requires valid three digit octal number
1198 Bytea comparison improvements, now supports =, &lt;&gt;, >, >=, <, and <=
1199 Bytea now supports B-tree indexes
1200 Bytea now supports LIKE, LIKE...ESCAPE, NOT LIKE, NOT LIKE...ESCAPE
1201 Bytea now supports concatenation
1202 New bytea functions: position, substring, trim, btrim, and length
1203 New encode() function mode, "escaped", converts minimally escaped bytea to/from text
1204 Add pg_database_encoding_max_length() (Tatsuo)
1205 Add pg_client_encoding() function (Tatsuo)
1206 now() returns time with millisecond precision (Thomas)
1207 New TIMESTAMP WITHOUT TIMEZONE data type (Thomas)
1208 Add ISO date/time specification with "T", yyyy-mm-ddThh:mm:ss (Thomas)
1209 New xid/int comparison functions (Hiroshi)
1210 Add precision to TIME, TIMESTAMP, and INVERVAL data types (Thomas)
1211 Modify type coercion logic to attempt binary-compatible functions first (Tom)
1212 New encode() function installed by default (Marko Kreen)
1213 Improved to_*() conversion functions (Karel Zak)
1214 Optimize LIKE/ILIKE when using single-byte encodings (Tatsuo)
1215 New functions in contrib/pgcrypto: crypt(), hmac(), encrypt(), gen_salt() (Marko Kreen)
1216 Correct description of translate() function (Bruce)
1217 Add INTERVAL argument for SET TIME ZONE (Thomas)
1218 Add INTERVAL YEAR TO MONTH (etc.) syntax (Thomas)
1219 Optimize length functions when using single-byte encodings (Tatsuo)
1220 Fix path_inter, path_distance, path_length, dist_ppath to handle closed paths (Curtis Barrett, Tom)
1221 octet_length(text) now returns non-compressed length (Tatsuo, Bruce)
1222 Handle "July" full name in date/time literals (Greg Sabino Mullane)
1223 Some datatype() function calls now evaluated differently
1224 Add support for Julian and ISO time specifications (Thomas)
1225 </literallayout>
1226    </sect3>
1227
1228    <sect3>
1229     <title>Internationalization</title>
1230 <literallayout>
1231 National language support in psql, pg_dump, libpq, and server (Peter E)
1232 Message translations in Chinese (simplified, traditional), Czech, French, German, Hungarian, Russian, Swedish (Peter E, Serguei A. Mokhov, Karel Zak, Weiping He, Zhenbang Wei, Kovacs Zoltan)
1233 Make trim, ltrim, rtrim, btrim, lpad, rpad, translate multibyte aware (Tatsuo)
1234 Add LATIN5,6,7,8,9,10 support (Tatsuo)
1235 Add ISO 8859-5,6,7,8 support (Tatsuo)
1236 Correct LATIN5 to mean ISO-8859-9, not ISO-8859-5 (Tatsuo)
1237 Make mic2ascii() non-ASCII aware (Tatsuo)
1238 Reject invalid multibyte character sequences (Tatsuo)
1239 </literallayout>
1240    </sect3>
1241
1242    <sect3>
1243     <title><application>PL/pgSQL</></title>
1244 <literallayout>
1245 Now uses portals for SELECT loops, allowing huge result sets (Jan)
1246 CURSOR and REFCURSOR support (Jan)
1247 Can now return open cursors (Jan)
1248 Add ELSEIF (Klaus Reger)
1249 Improve PL/pgSQL error reporting, including location of error (Tom)
1250 Allow IS or FOR key words in cursor declaration, for compatibility (Bruce)
1251 Fix for SELECT ... FOR UPDATE (Tom)
1252 Fix for PERFORM returning multiple rows (Tom)
1253 Make PL/pgSQL use the server's type coercion code (Tom)
1254 Memory leak fix (Jan, Tom)
1255 Make trailing semicolon optional (Tom)
1256 </literallayout>
1257    </sect3>
1258
1259    <sect3>
1260     <title>PL/Perl</title>
1261 <literallayout>
1262 New untrusted PL/Perl (Alex Pilosov)
1263 PL/Perl is now built on some platforms even if libperl is not shared (Peter E)
1264 </literallayout>
1265     </sect3>
1266
1267    <sect3>
1268     <title>PL/Tcl</title>
1269 <literallayout>
1270 Now reports errorInfo (Vsevolod Lobko)
1271 Add spi_lastoid function (bob@redivi.com)
1272 </literallayout>
1273    </sect3>
1274
1275    <sect3>
1276     <title>PL/Python</title>
1277 <literallayout>
1278 ...is new (Andrew Bosma)
1279 </literallayout>
1280    </sect3>
1281
1282    <sect3>
1283     <title><application>Psql</></title>
1284 <literallayout>
1285 \d displays indexes in unique, primary groupings (Christopher Kings-Lynne)
1286 Allow trailing semicolons in backslash commands (Greg Sabino Mullane)
1287 Read password from /dev/tty if possible
1288 Force new password prompt when changing user and database (Tatsuo, Tom)
1289 Format the correct number of columns for Unicode (Patrice)
1290 </literallayout>
1291    </sect3>
1292
1293    <sect3>
1294     <title><application>Libpq</></title>
1295 <literallayout>
1296 New function PQescapeString() to escape quotes in command strings (Florian Weimer)
1297 New function PQescapeBytea() escapes binary strings for use as SQL string literals
1298 </literallayout>
1299    </sect3>
1300
1301    <sect3>
1302     <title>JDBC</title>
1303 <literallayout>
1304 Return OID of INSERT (Ken K)
1305 Handle more data types (Ken K)
1306 Handle single quotes and newlines in strings (Ken K)
1307 Handle NULL variables (Ken K)
1308 Fix for time zone handling (Barry Lind)
1309 Improved Druid support
1310 Allow eight-bit characters with non-multibyte server (Barry Lind)
1311 Support BIT, BINARY types (Ned Wolpert)
1312 Reduce memory usage (Michael Stephens, Dave Cramer)
1313 Update DatabaseMetaData (Peter E)
1314 Add DatabaseMetaData.getCatalogs() (Peter E)
1315 Encoding fixes (Anders Bengtsson)
1316 Get/setCatalog methods (Jason Davies)
1317 DatabaseMetaData.getColumns() now returns column defaults (Jason Davies)
1318 DatabaseMetaData.getColumns() performance improvement (Jeroen van Vianen)
1319 Some JDBC1 and JDBC2 merging (Anders Bengtsson)
1320 Transaction performance improvements (Barry Lind)
1321 Array fixes (Greg Zoller)
1322 Serialize addition 
1323 Fix batch processing (Rene Pijlman)
1324 ExecSQL method reorganization (Anders Bengtsson)
1325 GetColumn() fixes (Jeroen van Vianen)
1326 Fix isWriteable() function (Rene Pijlman)
1327 Improved passage of JDBC2 conformance tests (Rene Pijlman)
1328 Add bytea type capability (Barry Lind)
1329 Add isNullable() (Rene Pijlman)
1330 JDBC date/time test suite fixes (Liam Stewart)
1331 Fix for SELECT 'id' AS xxx FROM table (Dave Cramer)
1332 Fix DatabaseMetaData to show precision properly (Mark Lillywhite)
1333 New getImported/getExported keys (Jason Davies)
1334 MD5 password encryption support (Jeremy Wohl)
1335 Fix to actually use type cache (Ned Wolpert)
1336 </literallayout>
1337    </sect3>
1338
1339    <sect3>
1340     <title>ODBC</title>
1341 <literallayout>
1342 Remove query size limit (Hiroshi)
1343 Remove text field size limit (Hiroshi)
1344 Fix for SQLPrimaryKeys in multibyte mode (Hiroshi)
1345 Allow ODBC procedure calls (Hiroshi)
1346 Improve boolean handing (Aidan Mountford)
1347 Most configuration options on setable via DSN (Hiroshi)
1348 Multibyte, performance fixes (Hiroshi)
1349 Allow driver to be used with iODBC or unixODBC (Peter E)
1350 MD5 password encryption support (Bruce)
1351 Add more compatibility functions to odbc.sql (Peter E)
1352 </literallayout>
1353    </sect3>
1354
1355    <sect3>
1356     <title><application>ECPG</></title>
1357 <literallayout>
1358 EXECUTE ... INTO implemented (Christof Petig)
1359 Multiple row descriptor support (e.g. CARDINALITY) (Christof Petig)
1360 Fix for GRANT parameters (Lee Kindness)
1361 Fix INITIALLY DEFERRED bug
1362 Various bug fixes (Michael, Christof Petig)
1363 Auto allocation for indicator variable arrays (int *ind_p=NULL)
1364 Auto allocation for string arrays (char **foo_pp=NULL)
1365 ECPGfree_auto_mem fixed
1366 All function names with external linkage are now prefixed by ECPG
1367 Fixes for arrays of structures (Michael)
1368 </literallayout>
1369    </sect3>
1370
1371    <sect3>
1372     <title>Misc. Interfaces</title>
1373 <literallayout>
1374 Python fix fetchone() (Gerhard Haring)
1375 Use UTF, Unicode in Tcl where appropriate (Vsevolod Lobko, Reinhard Max)
1376 Add Tcl COPY TO/FROM (ljb)
1377 Prevent output of default index op class in pg_dump (Tom)
1378 Fix libpgeasy memory leak (Bruce)
1379 </literallayout>
1380    </sect3>
1381
1382    <sect3>
1383     <title>Build and Install</title>
1384 <literallayout>
1385 Configure, dynamic loader, and shared library fixes (Peter E)
1386 Fixes in QNX 4 port (Bernd Tegge)
1387 Fixes in Cygwin and Win32 ports (Jason Tishler, Gerhard Haring, Dmitry Yurtaev, Darko Prenosil, Mikhail Terekhov)
1388 Fix for Win32 socket communication failures (Magnus, Mikhail Terekhov)
1389 Hurd compile fix (Oliver Elphick)
1390 BeOS fixes (Cyril Velter)
1391 Remove configure --enable-unicode-conversion, now enabled by multibyte (Tatsuo)
1392 AIX fixes (Tatsuo, Andreas)
1393 Fix parallel make (Peter E)
1394 Install SQL language manual pages into OS-specific directories (Peter E)
1395 Rename config.h to pg_config.h (Peter E)
1396 Reorganize installation layout of header files (Peter E)
1397 </literallayout>
1398    </sect3>
1399
1400    <sect3>
1401     <title>Source Code</title>
1402 <literallayout>
1403 Remove SEP_CHAR (Bruce)
1404 New GUC hooks (Tom)
1405 Merge GUC and command line handling (Marko Kreen)
1406 Remove EXTEND INDEX (Martijn van Oosterhout, Tom)
1407 New pgjindent utility to indent java code (Bruce)
1408 Remove define of true/false when compiling under C++ (Leandro Fanzone, Tom)
1409 pgindent fixes (Bruce, Tom)
1410 Replace strcasecmp() with strcmp() where appropriate (Peter E)
1411 Dynahash portability improvements (Tom)
1412 Add 'volatile' usage in spinlock structures
1413 Improve signal handling logic (Tom)
1414 </literallayout>
1415    </sect3>
1416
1417    <sect3>
1418     <title>Contrib</title>
1419 <literallayout>
1420 New contrib/rtree_gist (Oleg Bartunov, Teodor Sigaev)
1421 New contrib/tsearch full-text indexing (Oleg, Teodor Sigaev)
1422 Add contrib/dblink for remote database access (Joe Conway)
1423 contrib/ora2pg Oracle conversion utility (Gilles Darold)
1424 contrib/xml XML conversion utility (John Gray)
1425 contrib/fulltextindex fixes (Christopher Kings-Lynne)
1426 New contrib/fuzzystrmatch with levenshtein and metaphone, soundex merged (Joe Conway)
1427 Add contrib/intarray boolean queries, binary search, fixes (Oleg Bartunov)
1428 New pg_upgrade utility (Bruce)
1429 Add new pg_resetxlog options (Bruce, Tom)
1430 </literallayout>
1431    </sect3>
1432   </sect2>
1433  </sect1>
1434
1435
1436   <sect1 id="release-7-1-3">
1437    <title>Release 7.1.3</title>
1438
1439    <note>
1440    <title>Release date</title>
1441    <simpara>2001-08-15</simpara>
1442    </note>
1443
1444    <sect2>
1445     <title>Migration to version 7.1.3</title>
1446
1447     <para>
1448      A dump/restore is <emphasis>not</emphasis> required for those running
1449      7.1.X.
1450     </para>
1451    </sect2>
1452
1453    <sect2>
1454     <title>Changes</title>
1455
1456     <para>
1457      <programlisting>
1458 Remove unused WAL segements of large transactions (Tom)
1459 Multiaction rule fix (Tom)
1460 PL/pgSQL memory allocation fix (Jan)
1461 VACUUM buffer fix (Tom)
1462 Regression test fixes (Tom)
1463 pg_dump fixes for GRANT/REVOKE/comments on views, user-defined types (Tom)
1464 Fix subselects with DISTINCT ON or LIMIT (Tom)
1465 BeOS fix
1466 Disable COPY TO/FROM a view (Tom)
1467 Cygwin build (Jason Tishler)
1468      </programlisting>
1469     </para>
1470    </sect2>
1471   </sect1>
1472
1473
1474   <sect1 id="release-7-1-2">
1475    <title>Release 7.1.2</title>
1476
1477    <note>
1478    <title>Release date</title>
1479    <simpara>2001-05-11</simpara>
1480    </note>
1481
1482    <para>
1483     This has one fix from 7.1.1.
1484    </para>
1485
1486
1487    <sect2>
1488     <title>Migration to version 7.1.2</title>
1489
1490     <para>
1491      A dump/restore is <emphasis>not</emphasis> required for those running
1492      7.1.X.
1493     </para>
1494    </sect2>
1495
1496    <sect2>
1497     <title>Changes</title>
1498
1499     <para>
1500      <programlisting>
1501 Fix PL/pgSQL SELECTs when returning no rows
1502 Fix for psql backslash core dump
1503 Referential integrity permission fix
1504 Optimizer fixes
1505 pg_dump cleanups 
1506      </programlisting>
1507     </para>
1508    </sect2>
1509   </sect1>
1510
1511
1512   <sect1 id="release-7-1-1">
1513    <title>Release 7.1.1</title>
1514
1515    <note>
1516    <title>Release date</title>
1517    <simpara>2001-05-05</simpara>
1518    </note>
1519
1520    <para>
1521     This has a variety of fixes from 7.1.
1522    </para>
1523
1524
1525    <sect2>
1526     <title>Migration to version 7.1.1</title>
1527
1528     <para>
1529      A dump/restore is <emphasis>not</emphasis> required for those running
1530      7.1.
1531     </para>
1532    </sect2>
1533
1534    <sect2>
1535     <title>Changes</title>
1536
1537     <para>
1538      <programlisting>
1539 Fix for numeric MODULO operator (Tom)
1540 pg_dump fixes (Philip)
1541 pg_dump can dump 7.0 databases (Philip)
1542 readline 4.2 fixes (Peter E)
1543 JOIN fixes (Tom)
1544 AIX, MSWIN, VAX, N32K fixes (Tom)
1545 Multibytes fixes (Tom)
1546 Unicode fixes (Tatsuo)
1547 Optimizer improvements (Tom)
1548 Fix for whole tuples in functions (Tom)
1549 Fix for pg_ctl and option strings with spaces (Peter E)
1550 ODBC fixes (Hiroshi)
1551 EXTRACT can now take string argument (Thomas)
1552 Python fixes (Darcy)
1553      </programlisting>
1554     </para>
1555    </sect2>
1556   </sect1>
1557
1558
1559   <sect1 id="release-7-1">
1560    <title>Release 7.1</title>
1561
1562    <note>
1563    <title>Release date</title>
1564    <simpara>2001-04-13</simpara>
1565    </note>
1566
1567    <para>
1568         This release focuses on removing limitations that have existed in the
1569         PostgreSQL code for many years.
1570    </para>
1571
1572    <para>
1573     Major changes in this release:
1574
1575     <variablelist>
1576      <varlistentry>
1577       <term>
1578         Write-ahead Log (WAL)
1579       </term>
1580       <listitem>
1581        <para>
1582 To maintain database consistency in case
1583 of an operating system crash, previous releases of PostgreSQL have
1584 forced all data modifications to disk before each transaction commit. 
1585 With WAL, only one log file must be flushed to disk, greatly improving
1586 performance.  If you have been using -F in previous releases to disable
1587 disk flushes, you may want to consider discontinuing its use.
1588        </para>
1589       </listitem>
1590      </varlistentry>
1591
1592      <varlistentry>
1593       <term>
1594         TOAST
1595       </term>
1596       <listitem>
1597        <para>
1598         TOAST - Previous releases had a compiled-in row length limit,
1599 typically 8k - 32k. This limit made storage of long text fields
1600 difficult.  With TOAST, long rows of any length can be stored with good
1601 performance.
1602        </para>
1603       </listitem>
1604      </varlistentry>
1605
1606      <varlistentry>
1607       <term>
1608         Outer Joins
1609       </term>
1610       <listitem>
1611        <para>
1612 We now support outer joins.  The UNION/NOT IN
1613 workaround for outer joins is no longer required.  We use the SQL92
1614 outer join syntax.
1615        </para>
1616       </listitem>
1617      </varlistentry>
1618
1619      <varlistentry>
1620       <term>
1621         Function Manager
1622       </term>
1623       <listitem>
1624        <para>
1625 The previous C function manager did not
1626 handle null values properly, nor did it support 64-bit <acronym>CPU</acronym>'s (Alpha).  The new
1627 function manager does.  You can continue using your old custom
1628 functions, but you may want to rewrite them in the future to use the new
1629 function manager call interface.
1630        </para>
1631       </listitem>
1632      </varlistentry>
1633
1634      <varlistentry>
1635       <term>
1636         Complex Queries
1637       </term>
1638       <listitem>
1639        <para>
1640 A large number of complex queries that were
1641 unsupported in previous releases now work.  Many combinations of views,
1642 aggregates, UNION, LIMIT, cursors, subqueries, and inherited tables
1643 now work properly. Inherited tables are now accessed by default. 
1644 Subqueries in FROM are now supported.
1645        </para>
1646       </listitem>
1647      </varlistentry>
1648
1649     </variablelist>
1650    </para>
1651
1652    <sect2>
1653     <title>Migration to version 7.1</title>
1654
1655     <para>
1656         A dump/restore using pg_dump is required for those wishing to migrate
1657         data from any previous release.
1658     </para>
1659    </sect2>
1660
1661    <sect2>
1662     <title>Changes</title>
1663
1664     <para>
1665      <programlisting>
1666 Bug Fixes
1667 ---------
1668 Many multibyte/Unicode/locale fixes (Tatsuo and others)
1669 More reliable ALTER TABLE RENAME (Tom)
1670 Kerberos V fixes (David Wragg)
1671 Fix for INSERT INTO...SELECT where targetlist has subqueries (Tom)
1672 Prompt username/password on standard error (Bruce)
1673 Large objects inv_read/inv_write fixes (Tom)
1674 Fixes for to_char(), to_date(), to_ascii(), and to_timestamp() (Karel, 
1675     Daniel Baldoni)
1676 Prevent query expressions from leaking memory (Tom)
1677 Allow UPDATE of arrays elements (Tom)
1678 Wake up lock waiters during cancel (Hiroshi)
1679 Fix rare cursor crash when using hash join (Tom)
1680 Fix for DROP TABLE/INDEX in rolled-back transaction (Hiroshi)
1681 Fix psql crash from \l+ if MULTIBYTE enabled (Peter E)
1682 Fix truncation of rule names during CREATE VIEW (Ross Reedstrom)
1683 Fix PL/perl (Alex Kapranoff)
1684 Disallow LOCK on views (Mark Hollomon)
1685 Disallow INSERT/UPDATE/DELETE on views (Mark Hollomon)
1686 Disallow DROP RULE, CREATE INDEX, TRUNCATE on views (Mark Hollomon)
1687 Allow PL/pgSQL accept non-ASCII identifiers (Tatsuo)
1688 Allow views to proper handle GROUP BY, aggregates, DISTINCT (Tom)
1689 Fix rare failure with TRUNCATE command (Tom)
1690 Allow UNION/INTERSECT/EXCEPT to be used with ALL, subqueries, views, 
1691     DISTINCT, ORDER BY, SELECT...INTO (Tom)
1692 Fix parser failures during aborted transactions (Tom)
1693 Allow temporary relations to properly clean up indexes (Bruce)
1694 Fix VACUUM problem with moving rows in same page (Tom)
1695 Modify pg_dump to better handle user-defined items in template1 (Philip)
1696 Allow LIMIT in VIEW (Tom)
1697 Require cursor FETCH to honor LIMIT (Tom)
1698 Allow PRIMARY/FOREIGN Key definitions on inherited columns (Stephan)
1699 Allow ORDER BY, LIMIT in sub-selects (Tom)
1700 Allow UNION in CREATE RULE (Tom)
1701 Make ALTER/DROP TABLE rollback-able (Vadim, Tom)
1702 Store initdb collation in pg_control so collation cannot be changed (Tom)
1703 Fix INSERT...SELECT with rules (Tom)
1704 Fix FOR UPDATE inside views and subselects (Tom)
1705 Fix OVERLAPS operators conform to SQL92 spec regarding NULLs (Tom)
1706 Fix lpad() and rpad() to handle length less than input string (Tom)
1707 Fix use of NOTIFY in some rules (Tom)
1708 Overhaul btree code (Tom)
1709 Fix NOT NULL use in Pl/pgSQL variables (Tom)
1710 Overhaul GIST code (Oleg)
1711 Fix CLUSTER to preserve constraints and column default (Tom)
1712 Improved deadlock detection handling (Tom)
1713 Allow multiple SERIAL columns in a table (Tom)
1714 Prevent occasional index corruption (Vadim)
1715
1716 Enhancements
1717 ------------
1718 Add OUTER JOINs (Tom)
1719 Function manager overhaul (Tom)
1720 Allow ALTER TABLE RENAME on indexes (Tom)
1721 Improve CLUSTER (Tom)
1722 Improve ps status display for more platforms (Peter E, Marc)
1723 Improve CREATE FUNCTION failure message (Ross)
1724 JDBC improvements (Peter, Travis Bauer, Christopher Cain, William Webber,
1725     Gunnar)
1726 Grand Unified Configuration scheme/GUC.  Many options can now be set in 
1727     data/postgresql.conf, postmaster/postgres flags, or SET commands (Peter E)
1728 Improved handling of file descriptor cache (Tom)
1729 New warning code about auto-created table alias entries (Bruce)
1730 Overhaul initdb process (Tom, Peter E)
1731 Overhaul of inherited tables; inherited tables now accessed by default;
1732    new ONLY keyword prevents it (Chris Bitmead, Tom)
1733 ODBC cleanups/improvements (Nick Gorham, Stephan Szabo, Zoltan Kovacs, 
1734     Michael Fork)
1735 Allow renaming of temp tables (Tom)
1736 Overhaul memory manager contexts (Tom)
1737 pg_dumpall uses CREATE USER or CREATE GROUP rather using COPY (Peter E)
1738 Overhaul pg_dump (Philip Warner)
1739 Allow pg_hba.conf secondary password file to specify only username (Peter E)
1740 Allow TEMPORARY or TEMP keyword when creating temporary tables (Bruce)
1741 New memory leak checker (Karel)
1742 New SET SESSION CHARACTERISTICS (Thomas)
1743 Allow nested block comments (Thomas)
1744 Add WITHOUT TIME ZONE type qualifier (Thomas)
1745 New ALTER TABLE ADD CONSTRAINT (Stephan)
1746 Use NUMERIC accumulators for INTEGER aggregates (Tom)
1747 Overhaul aggregate code (Tom)
1748 New VARIANCE and STDDEV() aggregates
1749 Improve dependency ordering of pg_dump (Philip)
1750 New pg_restore command (Philip)
1751 New pg_dump tar output option (Philip)
1752 New pg_dump of large objects  (Philip)
1753 New ESCAPE option to LIKE (Thomas)
1754 New case-insensitive LIKE - ILIKE (Thomas)
1755 Allow functional indexes to use binary-compatible type (Tom)
1756 Allow SQL functions to be used in more contexts (Tom)
1757 New pg_config utility (Peter E)
1758 New PL/pgSQL EXECUTE command which allows dynamic SQL and utility statements
1759     (Jan)
1760 New PL/pgSQL GET DIAGNOSTICS statement for SPI value access (Jan)
1761 New quote_identifiers() and quote_literal() functions (Jan)
1762 New ALTER TABLE table OWNER TO user command (Mark Hollomon)
1763 Allow subselects in FROM, i.e. FROM (SELECT ...) [AS] alias (Tom)
1764 Update PyGreSQL to version 3.1 (D'Arcy)
1765 Store tables as files named by OID (Vadim)
1766 New SQL function setval(seq,val,bool) for use in pg_dump (Philip)
1767 Require DROP VIEW to remove views, no DROP TABLE (Mark)
1768 Allow DROP VIEW view1, view2 (Mark)
1769 Allow multiple objects in DROP INDEX, DROP RULE, and DROP TYPE (Tom)
1770 Allow automatic conversion to/from Unicode (Tatsuo, Eiji)
1771 New /contrib/pgcrypto hashing functions (Marko Kreen)
1772 New pg_dumpall --globals-only option (Peter E)
1773 New CHECKPOINT command for WAL which creates new WAL log file (Vadim)
1774 New AT TIME ZONE syntax (Thomas)
1775 Allow location of Unix domain socket to be configurable (David J. MacKenzie)
1776 Allow postmaster to listen on a specific IP address (David J. MacKenzie)
1777 Allow socket path name to be specified in hostname by using leading slash
1778     (David J. MacKenzie)
1779 Allow CREATE DATABASE to specify template database (Tom)
1780 New utility to convert MySQL schema dumps to SQL92 and PostgreSQL (Thomas)
1781 New /contrib/rserv replication toolkit (Vadim)
1782 New file format for COPY BINARY (Tom)
1783 New /contrib/oid2name to map numeric files to table names (B Palmer)
1784 New "idle in transaction" ps status message (Marc)
1785 Update to pgaccess 0.98.7 (Constantin Teodorescu)
1786 pg_ctl now defaults to -w (wait) on shutdown, new -l (log) option
1787 Add rudimentary dependency checking to pg_dump (Philip)
1788
1789 Types
1790 -----
1791 Fix INET/CIDR type ordering and add new functions (Tom)
1792 Make OID behave as an unsigned type (Tom)
1793 Allow BIGINT as synonym for INT8 (Peter E)
1794 New int2 and int8 comparison operators (Tom)
1795 New BIT and BIT VARYING types (Adriaan Joubert, Tom, Peter E)
1796 CHAR() no longer faster than VARCHAR() because of TOAST (Tom)
1797 New GIST seg/cube examples (Gene Selkov)
1798 Improved round(numeric) handling (Tom)
1799 Fix CIDR output formatting (Tom)
1800 New CIDR abbrev() function (Tom)
1801
1802 Performance
1803 -----------
1804 Write-Ahead Log (WAL) to provide crash recovery with less performance 
1805     overhead (Vadim)
1806 ANALYZE stage of VACUUM no longer exclusively locks table (Bruce)
1807 Reduced file seeks (Denis Perchine)
1808 Improve BTREE code for duplicate keys (Tom)
1809 Store all large objects in a single table (Denis Perchine, Tom)
1810 Improve memory allocation performance (Karel, Tom)
1811
1812 Source Code
1813 -----------
1814 New function manager call conventions (Tom)
1815 SGI portability fixes (David Kaelbling)
1816 New configure --enable-syslog option (Peter E)
1817 New BSDI README (Bruce)
1818 configure script moved to top level, not /src (Peter E)
1819 Makefile/configuration/compilation overhaul (Peter E)
1820 New configure --with-python option (Peter E)
1821 Solaris cleanups (Peter E)
1822 Overhaul /contrib Makefiles (Karel)
1823 New OpenSSL configuration option (Magnus, Peter E)
1824 AIX fixes (Andreas)
1825 QNX fixes (Maurizio)
1826 New heap_open(), heap_openr() API (Tom)
1827 Remove colon and semi-colon operators (Thomas)
1828 New pg_class.relkind value for views (Mark Hollomon)
1829 Rename ichar() to chr() (Karel)
1830 New documentation for btrim(), ascii(), chr(), repeat() (Karel)
1831 Fixes for NT/Cygwin (Pete Forman)
1832 AIX port fixes (Andreas)
1833 New BeOS port (David Reid, Cyril Velter)
1834 Add proofreader's changes to docs (Addison-Wesley, Bruce)
1835 New Alpha spinlock code (Adriaan Joubert, Compaq)
1836 UnixWare port overhaul (Peter E)
1837 New Darwin/MacOS X port (Peter Bierman, Bruce Hartzler)
1838 New FreeBSD Alpha port (Alfred)
1839 Overhaul shared memory segments (Tom)
1840 Add IBM S/390 support (Neale Ferguson)
1841 Moved macmanuf to /contrib (Larry Rosenman)
1842 Syslog improvements (Larry Rosenman)
1843 New template0 database that contains no user additions (Tom)
1844 New /contrib/cube and /contrib/seg GIST sample code (Gene Selkov)
1845 Allow NetBSD's libedit instead of readline (Peter)
1846 Improved assembly language source code format (Bruce)
1847 New contrib/pg_logger
1848 New --template option to createdb
1849 New contrib/pg_control utility (Oliver)
1850 New FreeBSD tools ipc_check, start-scripts/freebsd
1851      </programlisting>
1852     </para>
1853    </sect2>
1854   </sect1>
1855
1856
1857   <sect1 id="release-7-0-3">
1858    <title>Release 7.0.3</title>
1859
1860    <note>
1861    <title>Release date</title>
1862    <simpara>2000-11-11</simpara>
1863    </note>
1864
1865    <para>
1866     This has a variety of fixes from 7.0.2.
1867    </para>
1868
1869
1870    <sect2>
1871     <title>Migration to version 7.0.3</title>
1872
1873     <para>
1874      A dump/restore is <emphasis>not</emphasis> required for those running
1875      7.0.*.
1876     </para>
1877    </sect2>
1878
1879    <sect2>
1880     <title>Changes</title>
1881
1882     <para>
1883      <programlisting>
1884 Jdbc fixes (Peter)
1885 Large object fix (Tom)
1886 Fix lean in COPY WITH OIDS leak (Tom)
1887 Fix backwards-index-scan (Tom)
1888 Fix SELECT ... FOR UPDATE so it checks for duplicate keys (Hiroshi)
1889 Add --enable-syslog to configure (Marc)
1890 Fix abort transaction at backend exit in rare cases (Tom)
1891 Fix for psql \l+ when multibyte enabled (Tatsuo)
1892 Allow PL/pgSQL to accept non ascii identifiers (Tatsuo)
1893 Make vacuum always flush buffers (Tom)
1894 Fix to allow cancel while waiting for a lock (Hiroshi)
1895 Fix for memory aloocation problem in user authentication code (Tom)
1896 Remove bogus use of int4out() (Tom)
1897 Fixes for multiple subqueries in COALESCE or BETWEEN (Tom)
1898 Fix for failure of triggers on heap open in certain cases (Jeroen van
1899     Vianen)
1900 Fix for erroneous selectivity of not-equals (Tom)
1901 Fix for erroneous use of strcmp() (Tom)
1902 Fix for bug where storage manager accesses items beyond end of file
1903     (Tom)
1904 Fix to include kernel errno message in all smgr elog messages (Tom)
1905 Fix for '.' not in PATH at build time (SL Baur)
1906 Fix for out-of-file-descriptors error (Tom)
1907 Fix to make pg_dump dump 'iscachable' flag for functions (Tom)
1908 Fix for subselect in targetlist of Append node (Tom)
1909 Fix for mergejoin plans (Tom)
1910 Fix TRUNCATE failure on relations with indexes (Tom)
1911 Avoid database-wide restart on write error (Hiroshi)
1912 Fix nodeMaterial to honor chgParam by recomputing its output (Tom)
1913 Fix VACUUM problem with moving chain of update tuples when source and
1914     destination of a tuple lie on the same page (Tom)
1915 Fix user.c CommandCounterIncrement (Tom)
1916 Fix for AM/PM boundary problem in to_char() (Karel Zak)
1917 Fix TIME aggregate handling (Tom)
1918 Fix to_char() to avoid coredump on NULL input (Tom)
1919 Buffer fix (Tom)
1920 Fix for inserting/copying longer multibyte strings into char() data
1921     types (Tatsuo)
1922 Fix for crash of backend, on abort (Tom)
1923      </programlisting>
1924     </para>
1925    </sect2>
1926   </sect1>
1927
1928
1929   <sect1 id="release-7-0-2">
1930    <title>Release 7.0.2</title>
1931
1932    <note>
1933    <title>Release date</title>
1934    <simpara>2000-06-05</simpara>
1935    </note>
1936
1937    <para>
1938     This is a repackaging of 7.0.1 with added documentation.
1939    </para>
1940
1941
1942    <sect2>
1943     <title>Migration to version 7.0.2</title>
1944
1945     <para>
1946      A dump/restore is <emphasis>not</emphasis> required for those running
1947      7.*.
1948     </para>
1949    </sect2>
1950
1951    <sect2>
1952     <title>Changes</title>
1953
1954     <para>
1955      <programlisting>
1956 Added documentation to tarball.
1957      </programlisting>
1958     </para>
1959    </sect2>
1960   </sect1>
1961
1962
1963   <sect1 id="release-7-0-1">
1964    <title>Release 7.0.1</title>
1965
1966    <note>
1967    <title>Release date</title>
1968    <simpara>2000-06-01</simpara>
1969    </note>
1970
1971    <para>
1972     This is a cleanup release for 7.0.
1973    </para>
1974
1975    <sect2>
1976     <title>Migration to version 7.0.1</title>
1977
1978     <para>
1979      A dump/restore is <emphasis>not</emphasis> required for those running
1980      7.0.
1981     </para>
1982    </sect2>
1983
1984    <sect2>
1985     <title>Changes</title>
1986
1987     <para>
1988      <programlisting>
1989 Fix many CLUSTER failures (Tom)
1990 Allow ALTER TABLE RENAME works on indexes (Tom)
1991 Fix plpgsql to handle datetime->timestamp and timespan->interval (Bruce)
1992 New configure --with-setproctitle switch to use setproctitle() (Marc, Bruce)
1993 Fix the off by one errors in ResultSet from 6.5.3, and more.
1994 jdbc ResultSet fixes (Joseph Shraibman)
1995 optimizer tunings (Tom)
1996 Fix create user for pgaccess
1997 Fix for UNLISTEN failure
1998 IRIX fixes (David Kaelbling)
1999 QNX fixes (Andreas Kardos)
2000 Reduce COPY IN lock level (Tom)
2001 Change libpqeasy to use PQconnectdb() style parameters (Bruce)
2002 Fix pg_dump to handle OID indexes (Tom)
2003 Fix small memory leak (Tom)
2004 Solaris fix for createdb/dropdb (Tatsuo)
2005 Fix for non-blocking connections (Alfred Perlstein)
2006 Fix improper recovery after RENAME TABLE failures (Tom)
2007 Copy pg_ident.conf.sample into /lib directory in install (Bruce)
2008 Add SJIS UDC (NEC selection IBM kanji) support (Eiji Tokuya)
2009 Fix too long syslog message (Tatsuo)
2010 Fix problem with quoted indexes that are too long (Tom)
2011 JDBC ResultSet.getTimestamp() fix (Gregory Krasnow & Floyd Marinescu)
2012 ecpg changes (Michael)
2013      </programlisting>
2014     </para>
2015    </sect2>
2016   </sect1>
2017
2018   <sect1 id="release-7-0">
2019    <title>Release 7.0</title>
2020
2021    <note>
2022    <title>Release date</title>
2023    <simpara>2000-05-08</simpara>
2024    </note>
2025
2026    <para> 
2027     This release contains improvements in many areas, demonstrating
2028     the continued growth of <productname>PostgreSQL</productname>.
2029     There are more improvements and fixes in 7.0 than in any previous
2030     release. The developers have confidence that this is the best
2031     release yet; we do our best to put out only solid releases, and
2032     this one is no exception.
2033    </para>
2034
2035    <para>
2036     Major changes in this release:
2037
2038     <variablelist>
2039      <varlistentry>
2040       <term>
2041        Foreign Keys
2042       </term>
2043       <listitem>
2044        <para>
2045         Foreign keys are now implemented, with the exception of PARTIAL MATCH
2046         foreign keys. Many users have been asking for this feature, and we are
2047         pleased to offer it.
2048        </para>
2049       </listitem>
2050      </varlistentry>
2051
2052      <varlistentry>
2053       <term>
2054        Optimizer Overhaul
2055       </term>
2056       <listitem>
2057        <para>
2058         Continuing on work started a year ago, the optimizer has been
2059         improved, allowing better query plan selection and faster performance
2060         with less memory usage.
2061        </para>
2062       </listitem>
2063      </varlistentry>
2064
2065      <varlistentry>
2066       <term>
2067        Updated <application>psql</application>
2068       </term>
2069       <listitem>
2070        <para>
2071         <application>psql</application>, our interactive terminal monitor, has been
2072         updated with a variety of new features. See the <application>psql</application> manual page for details.
2073        </para>
2074       </listitem>
2075      </varlistentry>
2076
2077      <varlistentry>
2078       <term>
2079        Join Syntax
2080       </term>
2081       <listitem>
2082        <para>
2083         SQL92 join syntax is now supported, though only as
2084         <literal>INNER JOIN</> for this release. <literal>JOIN</>,
2085         <literal>NATURAL JOIN</>, <literal>JOIN</>/<literal>USING</>,
2086         and <literal>JOIN</>/<literal>ON</> are available, as are
2087         column correlation names.
2088        </para>
2089       </listitem>
2090      </varlistentry>
2091
2092 <!--
2093      <varlistentry>
2094       <term>
2095        Upcoming Features
2096       </term>
2097       <listitem>
2098        <para>
2099         In 7.1 or 7.2, we plan to have outer joins, storage for very long rows, and a
2100         write-ahead logging system.
2101        </para>
2102       </listitem>
2103      </varlistentry>
2104 -->
2105     </variablelist>
2106    </para>
2107
2108    <sect2>
2109     <title>Migration to version 7.0</title>
2110
2111     <para>
2112      A dump/restore using <application>pg_dump</application>
2113      is required for those wishing to migrate data from any
2114      previous release of <productname>PostgreSQL</productname>.
2115      For those upgrading from 6.5.*, you may instead use 
2116      <application>pg_upgrade</application> to upgrade to this
2117      release; however, a full dump/reload installation is always the
2118      most robust method for upgrades.
2119     </para>
2120
2121     <para>
2122      Interface and compatibility issues to consider for the new
2123      release include:
2124
2125      <itemizedlist>
2126       <listitem>
2127        <para>
2128         The date/time types <type>datetime</type> and
2129         <type>timespan</type> have been superseded by the
2130         SQL92-defined types <type>timestamp</type> and
2131         <type>interval</type>. Although there has been some effort to
2132         ease the transition by allowing
2133         <productname>PostgreSQL</productname> to recognize
2134         the deprecated type names and translate them to the new type
2135         names, this mechanism may not be completely transparent to
2136         your existing application.
2137        </para>
2138       </listitem>
2139
2140       <listitem>
2141        <para>
2142         The optimizer has been substantially improved in the area of
2143         query cost estimation. In some cases, this will result in
2144         decreased query times as the optimizer makes a better choice
2145         for the preferred plan. However, in a small number of cases,
2146         usually involving pathological distributions of data, your
2147         query times may go up. If you are dealing with large amounts
2148         of data, you may want to check your queries to verify
2149         performance.
2150        </para>
2151       </listitem>
2152
2153       <listitem>
2154        <para>
2155         The <acronym>JDBC</acronym> and <acronym>ODBC</acronym>
2156         interfaces have been upgraded and extended.
2157        </para>
2158       </listitem>
2159
2160       <listitem>
2161        <para>
2162         The string function <function>CHAR_LENGTH</function> is now a
2163         native function. Previous versions translated this into a call
2164         to <function>LENGTH</function>, which could result in
2165         ambiguity with other types implementing
2166         <function>LENGTH</function> such as the geometric types.
2167        </para>
2168       </listitem>
2169      </itemizedlist>
2170     </para>
2171
2172    </sect2>
2173
2174    <sect2>
2175     <title>Changes</title>
2176
2177     <para>
2178      <programlisting>
2179 Bug Fixes
2180 ---------
2181 Prevent function calls exceeding maximum number of arguments (Tom)
2182 Improve CASE construct (Tom)
2183 Fix SELECT coalesce(f1,0) FROM int4_tbl GROUP BY f1 (Tom)
2184 Fix SELECT sentence.words[0] FROM sentence GROUP BY sentence.words[0] (Tom)
2185 Fix GROUP BY scan bug (Tom)
2186 Improvements in SQL grammar processing (Tom)
2187 Fix for views involved in INSERT ... SELECT ... (Tom)
2188 Fix for SELECT a/2, a/2 FROM test_missing_target GROUP BY a/2 (Tom)
2189 Fix for subselects in INSERT ... SELECT (Tom)
2190 Prevent INSERT ... SELECT ... ORDER BY (Tom)
2191 Fixes for relations greater than 2GB, including vacuum
2192 Improve propagating system table changes to other backends (Tom)
2193 Improve propagating user table changes to other backends (Tom)
2194 Fix handling of temp tables in complex situations (Bruce, Tom)
2195 Allow table locking at table open, improving concurrent reliability (Tom)
2196 Properly quote sequence names in pg_dump (Ross J. Reedstrom)
2197 Prevent DROP DATABASE while others accessing
2198 Prevent any rows from being returned by GROUP BY if no rows processed (Tom)
2199 Fix SELECT COUNT(1) FROM table WHERE ...' if no rows matching WHERE (Tom)
2200 Fix pg_upgrade so it works for MVCC (Tom)
2201 Fix for SELECT ... WHERE x IN (SELECT ... HAVING SUM(x) &gt; 1) (Tom)
2202 Fix for "f1 datetime DEFAULT 'now'"  (Tom)
2203 Fix problems with CURRENT_DATE used in DEFAULT (Tom)
2204 Allow comment-only lines, and ;;; lines too. (Tom)
2205 Improve recovery after failed disk writes, disk full (Hiroshi)
2206 Fix cases where table is mentioned in FROM but not joined (Tom)
2207 Allow HAVING clause without aggregate functions (Tom)
2208 Fix for "--" comment and no trailing newline, as seen in perl interface
2209 Improve pg_dump failure error reports (Bruce)
2210 Allow sorts and hashes to exceed 2GB file sizes (Tom)
2211 Fix for pg_dump dumping of inherited rules (Tom)
2212 Fix for NULL handling comparisons (Tom)
2213 Fix inconsistent state caused by failed CREATE/DROP commands (Hiroshi)
2214 Fix for dbname with dash
2215 Prevent DROP INDEX from interfering with other backends (Tom)
2216 Fix file descriptor leak in verify_password()
2217 Fix for "Unable to identify an operator =$" problem
2218 Fix ODBC so no segfault if CommLog and Debug enabled (Dirk Niggemann)
2219 Fix for recursive exit call (Massimo)
2220 Fix for extra-long timezones (Jeroen van Vianen)
2221 Make pg_dump preserve primary key information (Peter E)
2222 Prevent databases with single quotes (Peter E)
2223 Prevent DROP DATABASE inside  transaction (Peter E)
2224 ecpg memory leak fixes (Stephen Birch)
2225 Fix for SELECT null::text, SELECT int4fac(null) and SELECT 2 + (null) (Tom)
2226 Y2K timestamp fix (Massimo)
2227 Fix for VACUUM 'HEAP_MOVED_IN was not expected' errors (Tom)
2228 Fix for views with tables/columns containing spaces  (Tom)
2229 Prevent permissions on indexes (Peter E)
2230 Fix for spinlock stuck problem when error is generated (Hiroshi)
2231 Fix ipcclean on Linux
2232 Fix handling of NULL constraint conditions (Tom)
2233 Fix memory leak in odbc driver (Nick Gorham)
2234 Fix for permission check on UNION tables (Tom)
2235 Fix to allow SELECT 'a' LIKE 'a' (Tom)
2236 Fix for SELECT 1 + NULL (Tom)
2237 Fixes to CHAR
2238 Fix log() on numeric type (Tom)
2239 Deprecate ':' and ';' operators
2240 Allow vacuum of temporary tables
2241 Disallow inherited columns with the same name as new columns
2242 Recover or force failure when disk space is exhausted (Hiroshi)
2243 Fix INSERT INTO ... SELECT with AS columns matching result columns
2244 Fix INSERT ... SELECT ... GROUP BY groups by target columns not source columns (Tom)
2245 Fix CREATE TABLE test (a char(5) DEFAULT text '', b int4) with INSERT (Tom)
2246 Fix UNION with LIMIT
2247 Fix CREATE TABLE x AS SELECT 1 UNION SELECT 2
2248 Fix CREATE TABLE test(col char(2) DEFAULT user)
2249 Fix mismatched types in CREATE TABLE ... DEFAULT
2250 Fix SELECT * FROM pg_class where oid in (0,-1)
2251 Fix SELECT COUNT('asdf') FROM pg_class WHERE oid=12
2252 Prevent user who can create databases can modifying pg_database table (Peter E)
2253 Fix btree to give a useful elog when key > 1/2 (page - overhead) (Tom)
2254 Fix INSERT of 0.0 into DECIMAL(4,4) field (Tom)
2255
2256 Enhancements
2257 ------------
2258 New CLI interface include file sqlcli.h, based on SQL3/SQL98
2259 Remove all limits on query length, row length limit still exists (Tom)
2260 Update jdbc protocol to 2.0 (Jens Glaser <email>jens@jens.de</email>)
2261 Add TRUNCATE command to quickly truncate relation (Mike Mascari)
2262 Fix to give super user and createdb user proper update catalog rights (Peter E)
2263 Allow ecpg bool variables to have NULL values (Christof)
2264 Issue ecpg error if NULL value for variable with no NULL indicator (Christof)
2265 Allow ^C to cancel COPY command (Massimo)
2266 Add SET FSYNC and SHOW PG_OPTIONS commands(Massimo)
2267 Function name overloading for dynamically-loaded C functions (Frankpitt)
2268 Add CmdTuples() to libpq++(Vince)
2269 New CREATE CONSTRAINT TRIGGER and SET CONSTRAINTS commands(Jan)
2270 Allow CREATE FUNCTION/WITH clause to be used for all language types
2271 configure --enable-debug adds -g (Peter E)
2272 configure --disable-debug removes -g (Peter E)
2273 Allow more complex default expressions (Tom)
2274 First real FOREIGN KEY constraint trigger functionality (Jan)
2275 Add FOREIGN KEY ... MATCH FULL ... ON DELETE CASCADE (Jan)
2276 Add FOREIGN KEY ... MATCH &lt;unspecified&gt; referential actions (Don Baccus)
2277 Allow WHERE restriction on ctid (physical heap location) (Hiroshi)
2278 Move pginterface from contrib to interface directory, rename to pgeasy (Bruce)
2279 Change pgeasy connectdb() parameter ordering (Bruce)
2280 Require SELECT DISTINCT target list to have all ORDER BY columns (Tom)
2281 Add Oracle's COMMENT ON command (Mike Mascari <email>mascarim@yahoo.com</email>)
2282 libpq's PQsetNoticeProcessor function now returns previous hook(Peter E)
2283 Prevent PQsetNoticeProcessor from being set to NULL (Peter E)
2284 Make USING in COPY optional (Bruce)
2285 Allow subselects in the target list (Tom)
2286 Allow subselects on the left side of comparison operators (Tom)
2287 New parallel regression test (Jan)
2288 Change backend-side COPY to write files with permissions 644 not 666 (Tom)
2289 Force permissions on PGDATA directory to be secure, even if it exists (Tom)
2290 Added psql LASTOID variable to return last inserted oid (Peter E)
2291 Allow concurrent vacuum and remove pg_vlock vacuum lock file (Tom)
2292 Add permissions check for vacuum (Peter E)
2293 New libpq functions to allow asynchronous connections: PQconnectStart(), 
2294    PQconnectPoll(), PQresetStart(), PQresetPoll(), PQsetenvStart(), 
2295    PQsetenvPoll(), PQsetenvAbort (Ewan Mellor)
2296 New libpq PQsetenv() function (Ewan Mellor)
2297 create/alter user extension (Peter E)
2298 New postmaster.pid and postmaster.opts under $PGDATA (Tatsuo)
2299 New scripts for create/drop user/db (Peter E)
2300 Major psql overhaul (Peter E)
2301 Add const to libpq interface (Peter E)
2302 New libpq function PQoidValue (Peter E)
2303 Show specific non-aggregate causing problem with GROUP BY (Tom)
2304 Make changes to pg_shadow recreate pg_pwd file (Peter E)
2305 Add aggregate(DISTINCT ...) (Tom)
2306 Allow flag to control COPY input/output of NULLs (Peter E)
2307 Make postgres user have a password by default (Peter E)
2308 Add CREATE/ALTER/DROP GROUP (Peter E)
2309 All administration scripts now support --long options (Peter E, Karel)
2310 Vacuumdb script now supports --all option (Peter E)
2311 ecpg new portable FETCH syntax
2312 Add ecpg EXEC SQL IFDEF, EXEC SQL IFNDEF, EXEC SQL ELSE, EXEC SQL ELIF 
2313         and EXEC SQL ENDIF directives
2314 Add pg_ctl script to control backend start-up (Tatsuo)
2315 Add postmaster.opts.default file to store start-up flags (Tatsuo)
2316 Allow --with-mb=SQL_ASCII
2317 Increase maximum number of index keys to 16 (Bruce)
2318 Increase maximum number of function arguments to 16 (Bruce)
2319 Allow configuration of maximum number of index keys and arguments (Bruce)
2320 Allow unprivileged users to change their passwords (Peter E)
2321 Password authentication enabled; required for new users (Peter E)
2322 Disallow dropping a user who owns a database (Peter E)
2323 Change initdb option --with-mb to --enable-multibyte
2324 Add option for initdb to prompts for superuser password (Peter E)
2325 Allow complex type casts like col::numeric(9,2) and col::int2::float8 (Tom)
2326 Updated user interfaces on initdb, initlocation, pg_dump, ipcclean (Peter E)
2327 New pg_char_to_encoding() and pg_encoding_to_char() functions (Tatsuo)
2328 Libpq non-blocking mode (Alfred Perlstein)
2329 Improve conversion of types in casts that don't specify a length
2330 New plperl internal programming language (Mark Hollomon)
2331 Allow COPY IN to read file that do not end with a newline (Tom)
2332 Indicate when long identifiers are truncated (Tom)
2333 Allow aggregates to use type equivalency (Peter E)
2334 Add Oracle's to_char(), to_date(), to_datetime(), to_timestamp(), to_number()
2335         conversion functions (Karel Zak &lt;zakkr@zf.jcu.cz&gt;)
2336 Add SELECT DISTINCT ON (expr [, expr ...]) targetlist ... (Tom)
2337 Check to be sure ORDER BY is compatible with the DISTINCT operation (Tom)
2338 Add NUMERIC and int8 types to ODBC
2339 Improve EXPLAIN results for Append, Group, Agg, Unique (Tom)
2340 Add ALTER TABLE ... ADD FOREIGN KEY (Stephan Szabo)
2341 Allow SELECT .. FOR UPDATE in PL/pgSQL (Hiroshi)
2342 Enable backward sequential scan even after reaching EOF (Hiroshi)
2343 Add btree indexing of boolean values, &gt;= and &lt;= (Don Baccus)
2344 Print current line number when COPY FROM fails (Massimo)
2345 Recognize POSIX time zone e.g. "PST+8" and "GMT-8" (Thomas)
2346 Add DEC as synonym for DECIMAL (Thomas)
2347 Add SESSION_USER as SQL92 keyword, same as CURRENT_USER (Thomas)
2348 Implement SQL92 column aliases (aka correlation names) (Thomas)
2349 Implement SQL92 join syntax (Thomas)
2350 Make INTERVAL reserved word allowed as a column identifier (Thomas)
2351 Implement REINDEX command (Hiroshi)
2352 Accept ALL in aggregate function SUM(ALL col) (Tom)
2353 Prevent GROUP BY from using column aliases (Tom)
2354 New psql \encoding option (Tatsuo)
2355 Allow PQrequestCancel() to terminate when in waiting-for-lock state (Hiroshi)
2356 Allow negation of a negative number in all cases
2357 Add ecpg descriptors (Christof, Michael)
2358 Allow CREATE VIEW v AS SELECT f1::char(8) FROM tbl
2359 Allow casts with length, like foo::char(8)
2360 New libpq functions PQsetClientEncoding(), PQclientEncoding() (Tatsuo)
2361 Add support for SJIS user defined characters (Tatsuo)
2362 Larger views/rules supported
2363 Make libpq's PQconndefaults() thread-safe (Tom)
2364 Disable // as comment to be ANSI conforming, should use -- (Tom)
2365 Allow column aliases on views CREATE VIEW name (collist)
2366 Fixes for views with subqueries (Tom)
2367 Allow UPDATE table SET fld = (SELECT ...) (Tom)
2368 SET command options no longer require quotes
2369 Update pgaccess to 0.98.6
2370 New SET SEED command
2371 New pg_options.sample file
2372 New SET FSYNC command (Massimo)
2373 Allow pg_descriptions when creating tables
2374 Allow pg_descriptions when creating types, columns, and functions
2375 Allow psql \copy to allow delimiters (Peter E)
2376 Allow psql to print nulls as distinct from "" [null] (Peter E)
2377
2378 Types
2379 -----
2380 Many array fixes (Tom)
2381 Allow bare column names to be subscripted as arrays (Tom)
2382 Improve type casting of int and float constants (Tom)
2383 Cleanups for int8 inputs, range checking, and type conversion (Tom)
2384 Fix for SELECT timespan('21:11:26'::time) (Tom)
2385 netmask('x.x.x.x/0') is 255.255.255.255 instead of 0.0.0.0 (Oleg Sharoiko)
2386 Add btree index on NUMERIC (Jan)
2387 Perl fix for large objects containing NUL characters (Douglas Thomson) 
2388 ODBC fix for for large objects (free)
2389 Fix indexing of cidr data type
2390 Fix for Ethernet MAC addresses (macaddr type) comparisons
2391 Fix for date/time types when overflows happened in computations (Tom)
2392 Allow array on int8 (Peter E)
2393 Fix for rounding/overflow of NUMERIC type, like NUMERIC(4,4) (Tom)
2394 Allow NUMERIC arrays
2395 Fix bugs in NUMERIC ceil() and floor() functions (Tom)
2396 Make char_length()/octet_length including trailing blanks (Tom)
2397 Made abstime/reltime use int4 instead of time_t (Peter E)
2398 New lztext data type for compressed text fields
2399 Revise code to handle coercion of int and float constants (Tom)
2400 Start at new code to implement a BIT and BIT VARYING type (Adriaan Joubert)
2401 NUMERIC now accepts scientific notation (Tom)
2402 NUMERIC to int4 rounds (Tom)
2403 Convert float4/8 to NUMERIC properly (Tom)
2404 Allow type conversion with NUMERIC (Thomas)
2405 Make ISO date style (2000-02-16 09:33) the default (Thomas)
2406 Add NATIONAL CHAR [ VARYING ] (Thomas)
2407 Allow NUMERIC round and trunc to accept negative scales (Tom)
2408 New TIME WITH TIME ZONE type (Thomas)
2409 Add MAX()/MIN() on time type (Thomas)
2410 Add abs(), mod(), fac() for int8 (Thomas)
2411 Rename functions to round(), sqrt(), cbrt(), pow() for float8 (Thomas)
2412 Add transcendental math functions (e.g. sin(), acos()) for float8 (Thomas)
2413 Add exp() and ln() for NUMERIC type
2414 Rename NUMERIC power() to pow() (Thomas)
2415 Improved TRANSLATE() function (Edwin Ramirez, Tom)
2416 Allow X=-Y operators  (Tom)
2417 Allow SELECT float8(COUNT(*))/(SELECT COUNT(*) FROM t) FROM t GROUP BY f1; (Tom)
2418 Allow LOCALE to use indexes in regular expression searches (Tom)
2419 Allow creation of functional indexes to use default types
2420
2421 Performance
2422 -----------
2423 Prevent exponential space consumption with many AND's and OR's (Tom)
2424 Collect attribute selectivity values for system columns (Tom)
2425 Reduce memory usage of aggregates (Tom)
2426 Fix for LIKE optimization to use indexes with multibyte encodings (Tom)
2427 Fix r-tree index optimizer selectivity (Thomas)
2428 Improve optimizer selectivity computations and functions (Tom)
2429 Optimize btree searching for cases where many equal keys exist (Tom)
2430 Enable fast LIKE index processing only if index present (Tom)
2431 Re-use free space on index pages with duplicates (Tom)
2432 Improve hash join processing (Tom)
2433 Prevent descending sort if result is already sorted(Hiroshi)
2434 Allow commuting of index scan query qualifications (Tom)
2435 Prefer index scans in cases where ORDER BY/GROUP BY is required (Tom)
2436 Allocate large memory requests in fix-sized chunks for performance (Tom)
2437 Fix vacuum's performance by reducing memory allocation requests (Tom)
2438 Implement constant-expression simplification (Bernard Frankpitt, Tom)
2439 Use secondary columns to be used to determine start of index scan (Hiroshi)
2440 Prevent quadruple use of disk space when doing internal sorting (Tom)
2441 Faster sorting by calling fewer functions (Tom)
2442 Create system indexes to match all system caches (Bruce, Hiroshi)
2443 Make system caches use system indexes (Bruce)
2444 Make all system indexes unique (Bruce)
2445 Improve pg_statistics management for VACUUM speed improvement (Tom)
2446 Flush backend cache less frequently (Tom, Hiroshi)
2447 COPY now reuses previous memory allocation, improving performance (Tom)
2448 Improve optimization cost estimation (Tom)
2449 Improve optimizer estimate of range queries x &gt; lowbound AND x &lt; highbound (Tom)
2450 Use DNF instead of CNF where appropriate (Tom, Taral)
2451 Further cleanup for OR-of-AND WHERE-clauses (Tom)
2452 Make use of index in OR clauses (x = 1 AND y = 2) OR (x = 2 AND y = 4) (Tom)
2453 Smarter optimizer computations for random index page access (Tom)
2454 New SET variable to control optimizer costs (Tom)
2455 Optimizer queries based on LIMIT, OFFSET, and EXISTS qualifications (Tom)
2456 Reduce optimizer internal housekeeping of join paths for speedup (Tom)
2457 Major subquery speedup (Tom)
2458 Fewer fsync writes when fsync is not disabled (Tom)
2459 Improved LIKE optimizer estimates (Tom)
2460 Prevent fsync in SELECT-only queries (Vadim)
2461 Make index creation use psort code, because it is now faster (Tom)
2462 Allow creation of sort temp tables > 1 Gig
2463
2464 Source Tree Changes
2465 -------------------
2466 Fix for linux PPC compile
2467 New generic expression-tree-walker subroutine (Tom)
2468 Change form() to varargform() to prevent portability problems
2469 Improved range checking for large integers on Alphas
2470 Clean up #include in /include directory (Bruce)
2471 Add scripts for checking includes (Bruce)
2472 Remove un-needed #include's from *.c files (Bruce)
2473 Change #include's to use &lt;&gt; and "" as appropriate (Bruce)
2474 Enable WIN32 compilation of libpq
2475 Alpha spinlock fix from Uncle George <email>gatgul@voicenet.com</email>
2476 Overhaul of optimizer data structures (Tom)
2477 Fix to cygipc library (Yutaka Tanida)
2478 Allow pgsql to work on newer Cygwin snapshots (Dan)
2479 New catalog version number (Tom)
2480 Add Linux ARM
2481 Rename heap_replace to heap_update
2482 Update for QNX (Dr. Andreas Kardos)
2483 New platform-specific regression handling (Tom)
2484 Rename oid8 -&gt; oidvector and int28 -&gt; int2vector (Bruce)
2485 Included all yacc and lex files into the distribution (Peter E.)
2486 Remove lextest, no longer needed (Peter E)
2487 Fix for libpq and psql on Win32 (Magnus)
2488 Internally change datetime and timespan into timestamp and interval (Thomas)
2489 Fix for plpgsql on BSD/OS
2490 Add SQL_ASCII test case to the regression test (Tatsuo)
2491 configure --with-mb now deprecated (Tatsuo)
2492 NT fixes
2493 NetBSD fixes (Johnny C. Lam <email>lamj@stat.cmu.edu</email>)
2494 Fixes for Alpha compiles
2495 New multibyte encodings
2496      </programlisting>
2497     </para>
2498    </sect2>
2499   </sect1>
2500
2501   <sect1 id="release-6-5-3">
2502    <title>Release 6.5.3</title>
2503
2504    <note>
2505    <title>Release date</title>
2506    <simpara>1999-10-13</simpara>
2507    </note>
2508
2509    <para>
2510     This is basically a cleanup release for 6.5.2.  We have added a new
2511     <application>PgAccess</> that was missing in 6.5.2, and installed an NT-specific fix.
2512    </para>
2513
2514
2515    <sect2>
2516     <title>Migration to version 6.5.3</title>
2517
2518     <para>
2519      A dump/restore is <emphasis>not</emphasis> required for those running
2520      6.5.*.
2521     </para>
2522    </sect2>
2523    <sect2>
2524     <title>Changes</title>
2525
2526     <para>
2527      <programlisting>
2528 Updated version of pgaccess 0.98
2529 NT-specific patch
2530 Fix dumping rules on inherited tables
2531      </programlisting>
2532     </para>
2533    </sect2>
2534   </sect1>
2535
2536
2537   <sect1 id="release-6-5-2">
2538    <title>Release 6.5.2</title>
2539
2540    <note>
2541    <title>Release date</title>
2542    <simpara>1999-09-15</simpara>
2543    </note>
2544
2545    <para>
2546     This is basically a cleanup release for 6.5.1.  We have fixed a variety of
2547     problems reported by 6.5.1 users.
2548    </para>
2549
2550
2551    <sect2>
2552     <title>Migration to version 6.5.2</title>
2553
2554     <para>
2555      A dump/restore is <emphasis>not</emphasis> required for those running
2556      6.5.*.
2557     </para>
2558    </sect2>
2559
2560    <sect2>
2561     <title>Changes</title>
2562
2563     <para>
2564      <programlisting>
2565 subselect+CASE fixes(Tom)
2566 Add SHLIB_LINK setting for solaris_i386 and solaris_sparc ports(Daren Sefcik)
2567 Fixes for CASE in WHERE join clauses(Tom)
2568 Fix BTScan abort(Tom)
2569 Repair the check for redundant UNIQUE and PRIMARY KEY indexes(Thomas)
2570 Improve it so that it checks for multicolumn constraints(Thomas)
2571 Fix for Win32 making problem with MB enabled(Hiroki Kataoka)
2572 Allow BSD yacc and bison to compile pl code(Bruce)
2573 Fix SET NAMES working
2574 int8 fixes(Thomas)
2575 Fix vacuum's memory consumption(Hiroshi,Tatsuo)
2576 Reduce the total memory consumption of vacuum(Tom)
2577 Fix for timestamp(datetime)
2578 Rule deparsing bugfixes(Tom)
2579 Fix quoting problems in mkMakefile.tcldefs.sh.in and mkMakefile.tkdefs.sh.in(Tom)
2580 This is to re-use space on index pages freed by vacuum(Vadim)
2581 document -x for pg_dump(Bruce)
2582 Fix for unary operators in rule deparser(Tom)
2583 Comment out FileUnlink of excess segments during mdtruncate()(Tom)
2584 IRIX linking fix from Yu Cao &gt;yucao@falcon.kla-tencor.com&lt;
2585 Repair logic error in LIKE: should not return LIKE_ABORT
2586    when reach end of pattern before end of text(Tom)
2587 Repair incorrect cleanup of heap memory allocation during transaction abort(Tom)
2588 Updated version of pgaccess 0.98
2589      </programlisting>
2590     </para>
2591    </sect2>
2592   </sect1>
2593
2594   <sect1 id="release-6-5-1">
2595    <title>Release 6.5.1</title>
2596
2597    <note>
2598    <title>Release date</title>
2599    <simpara>1999-07-15</simpara>
2600    </note>
2601
2602    <para>
2603     This is basically a cleanup release for 6.5.  We have fixed a variety of
2604     problems reported by 6.5 users.
2605    </para>
2606
2607    <sect2>
2608     <title>Migration to version 6.5.1</title>
2609
2610     <para>
2611      A dump/restore is <emphasis>not</emphasis> required for those running
2612      6.5.
2613     </para>
2614    </sect2>
2615
2616    <sect2>
2617     <title>Changes</title>
2618
2619     <para>
2620      <programlisting>
2621 Add NT README file
2622 Portability fixes for linux_ppc, IRIX, linux_alpha, OpenBSD, alpha
2623 Remove QUERY_LIMIT, use SELECT...LIMIT
2624 Fix for EXPLAIN on inheritance(Tom)
2625 Patch to allow vacuum on multisegment tables(Hiroshi)
2626 R-Tree optimizer selectivity fix(Tom)
2627 ACL file descriptor leak fix(Atsushi Ogawa)
2628 New expresssion subtree code(Tom)
2629 Avoid disk writes for read-only transactions(Vadim)
2630 Fix for removal of temp tables if last transaction was aborted(Bruce)
2631 Fix to prevent too large tuple from being created(Bruce)
2632 plpgsql fixes
2633 Allow port numbers 32k - 64k(Bruce)
2634 Add ^ precidence(Bruce)
2635 Rename sort files called pg_temp to pg_sorttemp(Bruce)
2636 Fix for microseconds in time values(Tom)
2637 Tutorial source cleanup
2638 New linux_m68k port
2639 Fix for sorting of NULL's in some cases(Tom)
2640 Shared library dependencies fixed (Tom)
2641 Fixed glitches affecting GROUP BY in subselects(Tom)
2642 Fix some compiler warnings (Tomoaki Nishiyama)
2643 Add Win1250 (Czech) support (Pavel Behal)
2644      </programlisting>
2645     </para>
2646    </sect2>
2647   </sect1>
2648
2649   <sect1 id="release-6-5">
2650    <title>Release 6.5</title>
2651
2652    <note>
2653    <title>Release date</title>
2654    <simpara>1999-06-09</simpara>
2655    </note>
2656
2657    <para>
2658     This release marks a major step in the development team's mastery of the source
2659     code we inherited from Berkeley.  You will see we are now easily adding
2660     major features, thanks to the increasing size and experience of our
2661     world-wide development team.
2662    </para>
2663
2664    <para>
2665     Here is a brief summary of the more notable changes:
2666
2667     <variablelist>
2668      <varlistentry>
2669       <term>
2670        Multiversion concurrency control(MVCC)
2671       </term>
2672       <listitem>
2673        <para>
2674         This removes our old
2675         table-level locking, and replaces it with a locking system that is
2676         superior to most commercial database systems.  In a traditional system,
2677         each row that is modified is locked until committed, preventing reads by
2678         other users.  MVCC uses the natural multiversion nature of PostgreSQL
2679         to allow readers to continue reading consistent data during writer
2680         activity.  Writers continue to use the compact pg_log transaction
2681         system.  This is all performed without having to allocate a lock for
2682         every row like traditional database systems.  So, basically, we no
2683         longer are restricted by simple table-level locking;
2684         we have something better than row-level locking.
2685        </para>
2686       </listitem>
2687      </varlistentry>
2688
2689      <varlistentry>
2690       <term>
2691        Hot backups from <application>pg_dump</application>
2692       </term>
2693       <listitem>
2694        <para>
2695         <application>pg_dump</application> takes advantage of the new
2696         MVCC features to give a consistent database dump/backup while
2697         the database stays online and available for queries.
2698        </para>
2699       </listitem>
2700      </varlistentry>
2701
2702      <varlistentry>
2703       <term>
2704        Numeric data type
2705       </term>
2706       <listitem>
2707        <para>
2708         We now have a true numeric data type, with
2709         user-specified precision.
2710        </para>
2711       </listitem>
2712      </varlistentry>
2713
2714      <varlistentry>
2715       <term>
2716        Temporary tables
2717       </term>
2718       <listitem>
2719        <para>
2720         Temporary tables are guaranteed to have unique names
2721         within a database session, and are destroyed on session exit.
2722        </para>
2723       </listitem>
2724      </varlistentry>
2725
2726      <varlistentry>
2727       <term>
2728        New SQL features
2729       </term>
2730       <listitem>
2731        <para>
2732         We now have CASE, INTERSECT, and EXCEPT statement
2733         support.  We have new LIMIT/OFFSET, SET TRANSACTION ISOLATION LEVEL,
2734         SELECT ... FOR UPDATE, and an improved LOCK TABLE command.
2735        </para>
2736       </listitem>
2737      </varlistentry>
2738
2739      <varlistentry>
2740       <term>
2741        Speedups
2742       </term>
2743       <listitem>
2744        <para>
2745         We continue to speed up PostgreSQL, thanks to the variety of
2746         talents within our team.  We have sped up memory allocation,
2747         optimization, table joins, and row transfer routines.
2748        </para>
2749       </listitem>
2750      </varlistentry>
2751
2752      <varlistentry>
2753       <term>
2754        Ports
2755       </term>
2756       <listitem>
2757        <para>
2758         We continue to expand our port list, this time including
2759         <systemitem class="osname">Windows NT</>/<systemitem>ix86</> and <systemitem class="osname">NetBSD</>/<systemitem>arm32</>.
2760        </para>
2761       </listitem>
2762      </varlistentry>
2763
2764      <varlistentry>
2765       <term>
2766        Interfaces
2767       </term>
2768       <listitem>
2769        <para>
2770         Most interfaces have new versions, and existing functionality
2771         has been improved.
2772        </para>
2773       </listitem>
2774      </varlistentry>
2775
2776      <varlistentry>
2777       <term>
2778        Documentation
2779       </term>
2780       <listitem>
2781        <para>
2782         New and updated material is present throughout the
2783         documentation. New <acronym>FAQ</acronym>s have been
2784         contributed for <systemitem class="osname">SGI</> and <systemitem class="osname">AIX</> platforms.
2785         The <citetitle>Tutorial</citetitle> has introductory information
2786         on <acronym>SQL</acronym> from Stefan Simkovics.
2787         For the <citetitle>User's Guide</citetitle>, there are
2788         reference pages covering the postmaster and more utility
2789         programs, and a new appendix
2790         contains details on date/time behavior.
2791         The <citetitle>Administrator's Guide</citetitle> has a new
2792         chapter on troubleshooting from Tom Lane.
2793         And the <citetitle>Programmer's Guide</citetitle> has a
2794         description of query processing, also from Stefan, and details 
2795         on obtaining the <productname>PostgreSQL</productname> source
2796         tree via anonymous <productname>CVS</productname> and
2797         <productname>CVSup</productname>. 
2798        </para>
2799       </listitem>
2800      </varlistentry>
2801     </variablelist>
2802    </para>
2803
2804    <sect2>
2805     <title>Migration to version 6.5</title>
2806
2807     <para>
2808      A dump/restore using <application>pg_dump</application>
2809      is required for those wishing to migrate data from any
2810      previous release of <productname>PostgreSQL</productname>.
2811      <application>pg_upgrade</application> can <emphasis>not</emphasis>
2812      be used to upgrade to this release because the on-disk structure
2813      of the tables has changed compared to previous releases.
2814     </para>
2815
2816     <para>
2817      The new Multiversion Concurrency Control (MVCC) features can
2818      give somewhat different behaviors in multiuser
2819      environments. <emphasis>Read and understand the following section 
2820       to ensure that your existing applications will give you the
2821       behavior you need.</emphasis>
2822     </para>
2823
2824     <sect3>
2825      <title>Multiversion Concurrency Control</title>
2826
2827      <para>
2828       Because readers in 6.5 don't lock data, regardless of transaction
2829       isolation level, data read by one transaction can be overwritten by
2830       another. In other words, if a row is returned by
2831       <command>SELECT</command> it doesn't mean that this row really exists
2832       at the time it is returned (i.e. sometime after the statement or
2833       transaction began) nor that the row is protected from being deleted or
2834       updated by concurrent transactions before the current transaction does
2835       a commit or rollback.
2836      </para>
2837
2838      <para>
2839       To ensure the actual existence of a row and protect it against
2840       concurrent updates one must use <command>SELECT FOR UPDATE</command> or
2841       an appropriate <command>LOCK TABLE</command> statement. This should be
2842       taken into account when porting applications from previous releases of
2843       <productname>PostgreSQL</productname> and other environments.
2844      </para>
2845
2846      <para>
2847       Keep the above in mind if you are using
2848       <filename>contrib/refint.*</filename> triggers for
2849       referential integrity. Additional techniques are required now. One way is
2850       to use <command>LOCK parent_table IN SHARE ROW EXCLUSIVE MODE</command>
2851       command if a transaction is going to update/delete a primary key and
2852       use <command>LOCK parent_table IN SHARE MODE</command> command if a
2853       transaction is going to update/insert a foreign key.
2854
2855       <note>
2856        <para>
2857         Note that if you run a transaction in SERIALIZABLE mode then you must
2858         execute the <command>LOCK</command> commands above before execution of any
2859         <acronym>DML</acronym> statement
2860         (<command>SELECT/INSERT/DELETE/UPDATE/FETCH/COPY_TO</command>) in the
2861         transaction.
2862        </para>
2863       </note>
2864      </para>
2865
2866      <para>
2867       These inconveniences will disappear in the future
2868       when the ability to read dirty
2869       (uncommitted) data (regardless of isolation level) and true referential
2870       integrity will be implemented.
2871      </para>
2872     </sect3>
2873     </sect2>
2874
2875    <sect2>
2876     <title>Changes</title>
2877
2878     <para>
2879      <programlisting>
2880 Bug Fixes
2881 ---------
2882 Fix text<->float8 and text<->float4 conversion functions(Thomas)
2883 Fix for creating tables with mixed-case constraints(Billy)
2884 Change exp()/pow() behavior to generate error on underflow/overflow(Jan)
2885 Fix bug in pg_dump -z
2886 Memory overrun cleanups(Tatsuo)
2887 Fix for lo_import crash(Tatsuo)
2888 Adjust handling of data type names to suppress double quotes(Thomas)
2889 Use type coercion for matching columns and DEFAULT(Thomas)
2890 Fix deadlock so it only checks once after one second of sleep(Bruce)
2891 Fixes for aggregates and PL/pgsql(Hiroshi)
2892 Fix for subquery crash(Vadim)
2893 Fix for libpq function PQfnumber and case-insensitive names(Bahman Rafatjoo)
2894 Fix for large object write-in-middle, no extra block, memory consumption(Tatsuo)
2895 Fix for pg_dump -d or -D and  quote special characters in INSERT
2896 Repair serious problems with dynahash(Tom)
2897 Fix INET/CIDR portability problems
2898 Fix problem with selectivity error in ALTER TABLE ADD COLUMN(Bruce)
2899 Fix executor so mergejoin of different column types works(Tom)
2900 Fix for Alpha OR selectivity bug
2901 Fix OR index selectivity problem(Bruce)
2902 Fix so \d shows proper length for char()/varchar()(Ryan)
2903 Fix tutorial code(Clark)
2904 Improve destroyuser checking(Oliver)
2905 Fix for Kerberos(Rodney McDuff)
2906 Fix for dropping database while dirty buffers(Bruce)
2907 Fix so sequence nextval() can be case-sensitive(Bruce)
2908 Fix !!= operator
2909 Drop buffers before destroying database files(Bruce)
2910 Fix case where executor evaluates functions twice(Tatsuo)
2911 Allow sequence nextval actions to be case-sensitive(Bruce)
2912 Fix optimizer indexing not working for negative numbers(Bruce)
2913 Fix for memory leak in executor with fjIsNull
2914 Fix for aggregate memory leaks(Erik Riedel)
2915 Allow username containing a dash GRANT permissions
2916 Cleanup of NULL in inet types
2917 Clean up system table bugs(Tom)
2918 Fix problems of PAGER and \? command(Masaaki Sakaida)
2919 Reduce default multisegment file size limit to 1GB(Peter)
2920 Fix for dumping of CREATE OPERATOR(Tom)
2921 Fix for backward scanning of cursors(Hiroshi Inoue)
2922 Fix for COPY FROM STDIN when using \i(Tom)
2923 Fix for subselect is compared inside an expression(Jan)
2924 Fix handling of error reporting while returning rows(Tom)
2925 Fix problems with reference to array types(Tom,Jan)
2926 Prevent UPDATE SET oid(Jan)
2927 Fix pg_dump so -t option can handle case-sensitive tablenames
2928 Fixes for GROUP BY in special cases(Tom, Jan)
2929 Fix for memory leak in failed queries(Tom)
2930 DEFAULT now supports mixed-case identifiers(Tom)
2931 Fix for multisegment uses of DROP/RENAME table, indexes(Ole Gjerde)
2932 Disable use of pg_dump with both -o and -d options(Bruce)
2933 Allow pg_dump to properly dump GROUP permissions(Bruce)
2934 Fix GROUP BY in INSERT INTO table SELECT * FROM table2(Jan)
2935 Fix for computations in views(Jan)
2936 Fix for aggregates on array indexes(Tom)
2937 Fix for DEFAULT handles single quotes in value requiring too many quotes
2938 Fix security problem with non-super users importing/exporting large objects(Tom)
2939 Rollback of transaction that creates table cleaned up properly(Tom)
2940 Fix to allow long table and column names to generate proper serial names(Tom)
2941
2942 Enhancements
2943 ------------
2944 Add "vacuumdb" utility
2945 Speed up libpq by allocating memory better(Tom)
2946 EXPLAIN all indexes used(Tom)
2947 Implement CASE, COALESCE, NULLIF  expression(Thomas)
2948 New pg_dump table output format(Constantin)
2949 Add string min()/max() functions(Thomas)
2950 Extend new type coercion techniques to aggregates(Thomas)
2951 New moddatetime contrib(Terry)
2952 Update to pgaccess 0.96(Constantin)
2953 Add routines for single-byte "char" type(Thomas)
2954 Improved substr() function(Thomas)
2955 Improved multibyte handling(Tatsuo)
2956 Multiversion concurrency control/MVCC(Vadim)
2957 New Serialized mode(Vadim)
2958 Fix for tables over 2gigs(Peter)
2959 New SET TRANSACTION ISOLATION LEVEL(Vadim)
2960 New LOCK TABLE IN ... MODE(Vadim)
2961 Update ODBC driver(Byron)
2962 New NUMERIC data type(Jan)
2963 New SELECT FOR UPDATE(Vadim)
2964 Handle "NaN" and "Infinity" for input values(Jan)
2965 Improved date/year handling(Thomas)
2966 Improved handling of backend connections(Magnus)
2967 New options ELOG_TIMESTAMPS and USE_SYSLOG options for log files(Massimo)
2968 New TCL_ARRAYS option(Massimo)
2969 New INTERSECT and EXCEPT(Stefan)
2970 New pg_index.indisprimary for primary key tracking(D'Arcy)
2971 New pg_dump option to allow dropping of tables before creation(Brook)
2972 Speedup of row output routines(Tom)
2973 New READ COMMITTED isolation level(Vadim)
2974 New TEMP tables/indexes(Bruce)
2975 Prevent sorting if result is already sorted(Jan)
2976 New memory allocation optimization(Jan)
2977 Allow psql to do \p\g(Bruce)
2978 Allow multiple rule actions(Jan)
2979 Added LIMIT/OFFSET functionality(Jan)
2980 Improve optimizer when joining a large number of tables(Bruce)
2981 New intro to SQL from S. Simkovics' Master's Thesis (Stefan, Thomas)
2982 New intro to backend processing from S. Simkovics' Master's Thesis (Stefan)
2983 Improved int8 support(Ryan Bradetich, Thomas, Tom)
2984 New routines to convert between int8 and text/varchar types(Thomas)
2985 New bushy plans, where meta-tables are joined(Bruce)
2986 Enable right-hand queries by default(Bruce)
2987 Allow reliable maximum number of backends to be set at configure time
2988       (--with-maxbackends and postmaster switch (-N backends))(Tom)
2989 GEQO default now 10 tables because of optimizer speedups(Tom)
2990 Allow NULL=Var for MS-SQL portability(Michael, Bruce)
2991 Modify contrib check_primary_key() so either "automatic" or "dependent"(Anand)
2992 Allow psql \d on a view show query(Ryan)
2993 Speedup for LIKE(Bruce)
2994 Ecpg fixes/features, see src/interfaces/ecpg/ChangeLog file(Michael)
2995 JDBC fixes/features, see src/interfaces/jdbc/CHANGELOG(Peter)
2996 Make % operator have precedence like /(Bruce)
2997 Add new postgres -O option to allow system table structure changes(Bruce)
2998 Update contrib/pginterface/findoidjoins script(Tom)
2999 Major speedup in vacuum of deleted rows with indexes(Vadim) 
3000 Allow non-SQL functions to run different versions based on arguments(Tom)
3001 Add -E option that shows actual queries sent by \dt and friends(Masaaki Sakaida)
3002 Add version number in start-up banners for psql(Masaaki Sakaida)
3003 New contrib/vacuumlo removes large objects not referenced(Peter)
3004 New initialization for table sizes so non-vacuumed tables perform better(Tom)
3005 Improve error messages when a connection is rejected(Tom)
3006 Support for arrays of char() and varchar() fields(Massimo)
3007 Overhaul of hash code to increase reliability and performance(Tom)
3008 Update to PyGreSQL 2.4(D'Arcy)
3009 Changed debug options so -d4 and -d5 produce different node displays(Jan)
3010 New pg_options: pretty_plan, pretty_parse, pretty_rewritten(Jan)
3011 Better optimization statistics for system table access(Tom)
3012 Better handling of non-default block sizes(Massimo)
3013 Improve GEQO optimizer memory consumption(Tom)
3014 UNION now suppports ORDER BY of columns not in target list(Jan)
3015 Major libpq++ improvements(Vince Vielhaber)
3016 pg_dump now uses -z(ACL's) as default(Bruce)
3017 backend cache, memory speedups(Tom)
3018 have pg_dump do everything in one snapshot transaction(Vadim)
3019 fix for large object memory leakage, fix for pg_dumping(Tom)
3020 INET type now respects netmask for comparisons
3021 Make VACUUM ANALYZE only use a readlock(Vadim)
3022 Allow VIEWs on UNIONS(Jan)
3023 pg_dump now can generate consistent snapshots on active databases(Vadim)
3024
3025 Source Tree Changes
3026 -------------------
3027 Improve port matching(Tom)
3028 Portability fixes for SunOS
3029 Add NT/Win32 backend port and enable dynamic loading(Magnus and Daniel Horak)
3030 New port to Cobalt Qube(Mips) running Linux(Tatsuo)
3031 Port to NetBSD/m68k(Mr. Mutsuki Nakajima)
3032 Port to NetBSD/sun3(Mr. Mutsuki Nakajima)
3033 Port to NetBSD/macppc(Toshimi Aoki)
3034 Fix for tcl/tk configuration(Vince)
3035 Removed CURRENT keyword for rule queries(Jan)
3036 NT dynamic loading now works(Daniel Horak)
3037 Add ARM32 support(Andrew McMurry)
3038 Better support for HP-UX 11 and UnixWare
3039 Improve file handling to be more uniform, prevent file descriptor leak(Tom)
3040 New install commands for plpgsql(Jan)
3041      </programlisting>
3042     </para>
3043    </sect2>
3044   </sect1>
3045
3046
3047 <sect1 id="release-6-4-2">
3048 <title>Release 6.4.2</title>
3049
3050    <note>
3051    <title>Release date</title>
3052    <simpara>1998-12-20</simpara>
3053    </note>
3054
3055 <para>
3056 The 6.4.1 release was improperly packaged.  This also has one additional
3057 bug fix.
3058 </para>
3059
3060
3061 <sect2>
3062 <title>Migration to version 6.4.2</title>
3063
3064 <para>
3065 A dump/restore is <emphasis>not</emphasis> required for those running
3066 6.4.*.
3067 </para>
3068 </sect2>
3069 <sect2>
3070 <title>Changes</title>
3071
3072 <para>
3073 <programlisting>
3074 Fix for datetime constant problem on some platforms(Thomas)
3075 </programlisting>
3076 </para>
3077 </sect2>
3078 </sect1>
3079
3080
3081
3082 <sect1 id="release-6-4-1">
3083 <title>Release 6.4.1</title>
3084
3085    <note>
3086    <title>Release date</title>
3087    <simpara>1998-12-18</simpara>
3088    </note>
3089
3090 <para>
3091 This is basically a cleanup release for 6.4.  We have fixed a variety of
3092 problems reported by 6.4 users.
3093 </para>
3094
3095
3096 <sect2>
3097 <title>Migration to version 6.4.1</title>
3098
3099 <para>
3100 A dump/restore is <emphasis>not</emphasis> required for those running
3101 6.4.
3102 </para>
3103 </sect2>
3104 <sect2>
3105 <title>Changes</title>
3106
3107 <para>
3108 <programlisting>
3109 Add pg_dump -N flag to force double quotes around identifiers.  This is
3110         the default(Thomas)
3111 Fix for NOT in where clause causing crash(Bruce)
3112 EXPLAIN VERBOSE coredump fix(Vadim)
3113 Fix shared-library problems on Linux
3114 Fix test for table existance to allow mixed-case and whitespace in
3115         the table name(Thomas)
3116 Fix a couple of pg_dump bugs
3117 Configure matches template/.similar entries better(Tom)
3118 Change builtin function names from SPI_* to spi_*
3119 OR WHERE clause fix(Vadim)
3120 Fixes for mixed-case table names(Billy)
3121 contrib/linux/postgres.init.csh/sh fix(Thomas)
3122 libpq memory overrun fix
3123 SunOS fixes(Tom)
3124 Change exp() behavior to generate error on underflow(Thomas)
3125 pg_dump fixes for memory leak, inheritance constraints, layout change
3126 update pgaccess to 0.93
3127 Fix prototype for 64-bit platforms
3128 Multibyte fixes(Tatsuo)
3129 New ecpg man page
3130 Fix memory overruns(Tatsuo)
3131 Fix for lo_import() crash(Bruce)
3132 Better search for install program(Tom)
3133 Timezone fixes(Tom)
3134 HP-UX fixes(Tom)
3135 Use implicit type coercion for matching DEFAULT values(Thomas)
3136 Add routines to help with single-byte (internal) character type(Thomas)
3137 Compilation of libpq for Win32 fixes(Magnus)
3138 Upgrade to PyGreSQL 2.2(D'Arcy)
3139 </programlisting>
3140 </para>
3141 </sect2>
3142 </sect1>
3143
3144
3145
3146 <sect1 id="release-6-4">
3147 <title>Release 6.4</title>
3148
3149    <note>
3150    <title>Release date</title>
3151    <simpara>1998-10-30</simpara>
3152    </note>
3153
3154 <para>
3155 There are <emphasis>many</emphasis> new features and improvements in this release.
3156 Thanks to our developers and maintainers, nearly every aspect of the system
3157 has received some attention since the previous release.
3158 Here is a brief, incomplete summary:
3159
3160 <itemizedlist>
3161 <listitem>
3162 <para>
3163 Views and rules are now functional thanks to extensive new code in the 
3164 rewrite rules system from Jan Wieck. He also wrote a chapter on it
3165 for the <citetitle>Programmer's Guide</citetitle>.
3166 </para>
3167 </listitem>
3168 <listitem>
3169 <para>
3170 Jan also contributed a second procedural language, <application>PL/pgSQL</application>, to go with the
3171 original <application>PL/pgTCL</application> procedural language he contributed last release.
3172 </para>
3173 </listitem>
3174
3175 <listitem>
3176 <para>
3177 We have optional multiple-byte character set support from Tatsuo Ishii
3178 to complement our existing locale support.
3179 </para>
3180 </listitem>
3181
3182 <listitem>
3183 <para>
3184 Client/server communications has been cleaned up, with better support for
3185 asynchronous messages and interrupts thanks to Tom Lane.
3186 </para>
3187 </listitem>
3188
3189 <listitem>
3190 <para>
3191 The parser will now perform automatic type coercion to match arguments
3192 to available operators and functions, and to match columns and expressions
3193 with target columns. This uses a generic mechanism which supports
3194 the type extensibility features of <productname>PostgreSQL</productname>.
3195 There is a new chapter in the <citetitle>User's Guide</citetitle>
3196 which covers this topic.
3197 </para>
3198 </listitem>
3199
3200 <listitem>
3201 <para>
3202 Three new data types have been added. 
3203 Two types, <type>inet</type> and <type>cidr</type>, support various forms
3204 of IP network, subnet, and machine addressing. There is now an 8-byte integer
3205 type available on some platforms. See the chapter on data types
3206 in the <citetitle>User's Guide</citetitle> for details.
3207 A fourth type, <type>serial</type>, is now supported by the parser as an
3208 amalgam of the <type>int4</type> type, a sequence, and a unique index.
3209 </para>
3210 </listitem>
3211
3212 <listitem>
3213 <para>
3214 Several more <acronym>SQL92</acronym>-compatible syntax features have been
3215 added, including <command>INSERT DEFAULT VALUES</command>
3216 </para>
3217 </listitem>
3218
3219 <listitem>
3220 <para>
3221 The automatic configuration and installation system has received some
3222 attention, and should be more robust for more platforms than it has ever
3223 been.
3224 </para>
3225 </listitem>
3226
3227 </itemizedlist>
3228 </para>
3229
3230 <sect2>
3231 <title>Migration to version 6.4</title>
3232
3233 <para>
3234 A dump/restore using <application>pg_dump</application> 
3235 or <application>pg_dumpall</application>
3236 is required for those wishing to migrate data from any
3237 previous release of <productname>PostgreSQL</productname>.
3238 </para>
3239 </sect2>
3240
3241    <sect2>
3242 <title>Changes</title>
3243
3244     <para>
3245      <programlisting>
3246 Bug Fixes
3247 ---------
3248 Fix for a tiny memory leak in PQsetdb/PQfinish(Bryan)
3249 Remove char2-16 data types, use char/varchar(Darren)
3250 Pqfn not handles a NOTICE message(Anders)
3251 Reduced busywaiting overhead for spinlocks with many backends (dg)
3252 Stuck spinlock detection (dg)
3253 Fix up "ISO-style" timespan decoding and encoding(Thomas)
3254 Fix problem with table drop after rollback of transaction(Vadim)
3255 Change error message and remove non-functional update message(Vadim)
3256 Fix for COPY array checking
3257 Fix for SELECT 1 UNION SELECT NULL
3258 Fix for buffer leaks in large object calls(Pascal)
3259 Change owner from oid to int4 type(Bruce)
3260 Fix a bug in the oracle compatibility functions btrim() ltrim() and rtrim()
3261 Fix for shared invalidation cache overflow(Massimo)
3262 Prevent file descriptor leaks in failed COPY's(Bruce)
3263 Fix memory leak in libpgtcl's pg_select(Constantin)
3264 Fix problems with username/passwords over 8 characters(Tom)
3265 Fix problems with handling of asynchronous NOTIFY in backend(Tom)
3266 Fix of many bad system table entries(Tom)
3267
3268 Enhancements
3269 ------------
3270 Upgrade ecpg and ecpglib,see src/interfaces/ecpc/ChangeLog(Michael)
3271 Show the index used in an EXPLAIN(Zeugswetter)
3272 EXPLAIN  invokes  rule system and shows plan(s) for rewritten queries(Jan)
3273 Multibyte awareness of many data types and functions, via configure(Tatsuo)
3274 New configure --with-mb option(Tatsuo)
3275 New initdb --pgencoding option(Tatsuo)
3276 New createdb -E multibyte option(Tatsuo)
3277 Select version(); now returns PostgreSQL version(Jeroen)
3278 Libpq now allows asynchronous clients(Tom)
3279 Allow cancel from client of backend query(Tom)
3280 Psql now cancels query with Control-C(Tom)
3281 Libpq users need not issue dummy queries to get NOTIFY messages(Tom)
3282 NOTIFY now sends sender's PID, so you can tell whether it was your own(Tom)
3283 PGresult struct now includes associated error message, if any(Tom)
3284 Define "tz_hour" and "tz_minute" arguments to date_part()(Thomas)
3285 Add routines to convert between varchar and bpchar(Thomas)
3286 Add routines to allow sizing of varchar and bpchar into target columns(Thomas)
3287 Add bit flags to support timezonehour and minute in data retrieval(Thomas)
3288 Allow more variations on valid floating point numbers (e.g. ".1", "1e6")(Thomas)
3289 Fixes for unary minus parsing with leading spaces(Thomas)
3290 Implement TIMEZONE_HOUR, TIMEZONE_MINUTE per SQL92 specs(Thomas)
3291 Check for and properly ignore FOREIGN KEY column constraints(Thomas)
3292 Define USER as synonym for CURRENT_USER per SQL92 specs(Thomas)
3293 Enable HAVING clause but no fixes elsewhere yet.
3294 Make "char" type a synonym for "char(1)" (actually implemented as bpchar)(Thomas)
3295 Save string type if specified for DEFAULT clause handling(Thomas)
3296 Coerce operations involving different data types(Thomas)
3297 Allow some index use for columns of different types(Thomas)
3298 Add capabilities for automatic type conversion(Thomas)
3299 Cleanups for large objects, so file is truncated on open(Peter)
3300 Readline cleanups(Tom)
3301 Allow psql  \f \ to make spaces as delimiter(Bruce)
3302 Pass pg_attribute.atttypmod to the frontend for column field lengths(Tom,Bruce)
3303 Msql compatibility library in /contrib(Aldrin)
3304 Remove the requirement that ORDER/GROUP BY clause identifiers be 
3305 included in the target list(David)
3306 Convert columns to match columns in UNION clauses(Thomas)
3307 Remove fork()/exec() and only do fork()(Bruce)
3308 Jdbc cleanups(Peter)
3309 Show backend status on ps command line(only works on some platforms)(Bruce)
3310 Pg_hba.conf now has a sameuser option in the database field
3311 Make lo_unlink take oid param, not int4
3312 New DISABLE_COMPLEX_MACRO for compilers that can't handle our macros(Bruce)
3313 Libpgtcl now handles NOTIFY as a Tcl event, need not send dummy queries(Tom)
3314 libpgtcl cleanups(Tom)
3315 Add -error option to libpgtcl's pg_result command(Tom)
3316 New locale patch, see docs/README/locale(Oleg)
3317 Fix for pg_dump so CONSTRAINT and CHECK syntax is correct(ccb)
3318 New contrib/lo code for large object orphan removal(Peter)
3319 New psql command "SET CLIENT_ENCODING TO 'encoding'" for multibytes
3320 feature, see /doc/README.mb(Tatsuo)
3321 /contrib/noupdate code to revoke update permission on a column
3322 Libpq can now be compiled on win32(Magnus)
3323 Add PQsetdbLogin() in libpq
3324 New 8-byte integer type, checked by configure for OS support(Thomas)
3325 Better support for quoted table/column names(Thomas)
3326 Surround table and column names with double-quotes in pg_dump(Thomas)
3327 PQreset() now works with passwords(Tom)
3328 Handle case of GROUP BY target list column number out of range(David)
3329 Allow UNION in subselects
3330 Add auto-size to screen to \d? commands(Bruce)
3331 Use UNION to show all \d? results in one query(Bruce)
3332 Add \d? field search feature(Bruce)
3333 Pg_dump issues fewer \connect requests(Tom)
3334 Make pg_dump -z flag work better, document it in manual page(Tom)
3335 Add HAVING clause with full support for subselects and unions(Stephan)
3336 Full text indexing routines in contrib/fulltextindex(Maarten)
3337 Transaction ids now stored in shared memory(Vadim)
3338 New PGCLIENTENCODING when issuing COPY command(Tatsuo)
3339 Support for SQL92 syntax "SET NAMES"(Tatsuo)
3340 Support for LATIN2-5(Tatsuo)
3341 Add UNICODE regression test case(Tatsuo)
3342 Lock manager cleanup, new locking modes for LLL(Vadim)
3343 Allow index use with OR clauses(Bruce)
3344 Allows "SELECT NULL ORDER BY 1;"
3345 Explain VERBOSE prints the plan, and now pretty-prints the plan to
3346 the postmaster log file(Bruce)
3347 Add indexes display to \d command(Bruce)
3348 Allow GROUP BY on functions(David)
3349 New pg_class.relkind for large objects(Bruce)
3350 New way to send libpq NOTICE messages to a different location(Tom)
3351 New \w write command to psql(Bruce)
3352 New /contrib/findoidjoins scans oid columns to find join relationships(Bruce)
3353 Allow binary-compatible indexes to be considered when checking for valid
3354 Indexes for restriction clauses containing a constant(Thomas)
3355 New ISBN/ISSN code in /contrib/isbn_issn
3356 Allow NOT LIKE, IN, NOT IN, BETWEEN, and NOT BETWEEN constraint(Thomas)
3357 New rewrite system fixes many problems with rules and views(Jan)
3358         * Rules on relations work
3359         * Event qualifications on insert/update/delete work
3360         * New OLD variable to reference CURRENT, CURRENT will be remove in future
3361         * Update rules can reference NEW and OLD in rule qualifications/actions
3362         * Insert/update/delete rules on views work
3363         * Multiple rule actions are now supported, surrounded by parentheses
3364         * Regular users can create views/rules on tables they have RULE permits
3365         * Rules and views inherit the permissions on the creator
3366         * No rules at the column level
3367         * No UPDATE NEW/OLD rules
3368         * New pg_tables, pg_indexes, pg_rules and pg_views system views
3369         * Only a single action on SELECT rules
3370         * Total rewrite overhaul, perhaps for 6.5
3371         * handle subselects
3372         * handle aggregates on views
3373         * handle insert into select from view works
3374 System indexes are now multikey(Bruce)
3375 Oidint2, oidint4, and oidname types are removed(Bruce)
3376 Use system cache for more system table lookups(Bruce)
3377 New backend programming language PL/pgSQL in backend/pl(Jan)
3378 New SERIAL data type, auto-creates sequence/index(Thomas)
3379 Enable assert checking without a recompile(Massimo)
3380 User lock enhancements(Massimo)
3381 New setval() command to set sequence value(Massimo)
3382 Auto-remove unix socket file on start-up if no postmaster running(Massimo)
3383 Conditional trace package(Massimo)
3384 New UNLISTEN command(Massimo)
3385 Psql and libpq now compile under win32 using win32.mak(Magnus)
3386 Lo_read no longer stores trailing NULL(Bruce)
3387 Identifiers are now truncated to 31 characters internally(Bruce)
3388 Createuser options now availble on the command line
3389 Code for 64-bit integer supported added, configure tested, int8 type(Thomas)
3390 Prevent file descriptor leaf from failed COPY(Bruce)
3391 New pg_upgrade command(Bruce)
3392 Updated /contrib directories(Massimo)
3393 New CREATE TABLE DEFAULT VALUES statement available(Thomas)
3394 New INSERT INTO TABLE DEFAULT VALUES statement available(Thomas)
3395 New DECLARE and FETCH feature(Thomas)
3396 libpq's internal structures now not exported(Tom)
3397 Allow up to 8 key indexes(Bruce)
3398 Remove ARCHIVE keyword, that is no longer used(Thomas)
3399 pg_dump -n flag to supress quotes around indentifiers
3400 disable system columns for views(Jan)
3401 new INET and CIDR types for network addresses(TomH, Paul)
3402 no more double quotes in psql output
3403 pg_dump now dumps views(Terry)
3404 new SET QUERY_LIMIT(Tatsuo,Jan)
3405
3406 Source Tree Changes
3407 -------------------
3408 /contrib cleanup(Jun)
3409 Inline some small functions called for every row(Bruce)
3410 Alpha/linux fixes
3411 HP-UX cleanups(Tom)
3412 Multibyte regression tests(Soonmyung.)
3413 Remove --disabled options from configure
3414 Define PGDOC to use POSTGRESDIR by default
3415 Make regression optional
3416 Remove extra braces code to pgindent(Bruce)
3417 Add bsdi shared library support(Bruce)
3418 New --without-CXX support configure option(Brook)
3419 New FAQ_CVS
3420 Update backend flowchart in tools/backend(Bruce)
3421 Change atttypmod from int16 to int32(Bruce, Tom)
3422 Getrusage() fix for platforms that do not have it(Tom)
3423 Add PQconnectdb, PGUSER, PGPASSWORD to libpq man page
3424 NS32K platform fixes(Phil Nelson, John Buller)
3425 SCO 7/UnixWare 2.x fixes(Billy,others)
3426 Sparc/Solaris 2.5 fixes(Ryan)
3427 Pgbuiltin.3 is obsolete, move to doc files(Thomas)
3428 Even more documention(Thomas)
3429 Nextstep support(Jacek)
3430 Aix support(David)
3431 pginterface manual page(Bruce)
3432 shared libraries all have version numbers
3433 merged all OS-specific shared library defines into one file
3434 smarter TCL/TK configuration checking(Billy)
3435 smarter perl configuration(Brook)
3436 configure uses supplied install-sh if no install script found(Tom)
3437 new Makefile.shlib for shared library configuration(Tom)
3438 </programlisting>
3439 </para>
3440 </sect2>
3441 </sect1>
3442
3443 <sect1 id="release-6-3-2">
3444 <title>Release 6.3.2</title>
3445
3446    <note>
3447    <title>Release date</title>
3448    <simpara>1998-04-07</simpara>
3449    </note>
3450
3451 <para>
3452 This is a bug-fix release for 6.3.x.
3453 Refer to the release notes for version 6.3 for a more complete summary of new features.
3454 </para>
3455 <para>
3456 Summary:
3457
3458 <itemizedlist>
3459 <listitem>
3460 <para>
3461 Repairs automatic configuration support for some platforms, including Linux,
3462 from breakage inadvertently introduced in version 6.3.1.
3463 </para>
3464 </listitem>
3465
3466 <listitem>
3467 <para>
3468 Correctly handles function calls on the left side of BETWEEN and LIKE clauses.
3469 </para>
3470 </listitem>
3471
3472 </itemizedlist>
3473 </para>
3474 <para>
3475 A dump/restore is NOT required for those running 6.3 or 6.3.1.  A 
3476 <literal>make distclean</>, <literal>make</>, and <literal>make install</> is all that is required.
3477 This last step should be performed while the postmaster is not running.
3478 You should re-link any custom applications that use <productname>PostgreSQL</productname> libraries.
3479 </para>
3480 <para>
3481 For upgrades from pre-6.3 installations,
3482 refer to the installation and migration instructions for version 6.3.
3483 </para>
3484
3485    <sect2>
3486     <title>Changes</title>
3487
3488     <para>
3489      <programlisting>
3490 Configure detection improvements for tcl/tk(Brook Milligan, Alvin)
3491 Manual page improvements(Bruce)
3492 BETWEEN and LIKE fix(Thomas)
3493 fix for psql \connect used by pg_dump(Oliver Elphick)
3494 New odbc driver
3495 pgaccess, version 0.86
3496 qsort removed, now uses libc version, cleanups(Jeroen)
3497 fix for buffer over-runs detected(Maurice Gittens)
3498 fix for buffer overrun in libpgtcl(Randy Kunkee)
3499 fix for UNION with DISTINCT or ORDER BY(Bruce)
3500 gettimeofday configure check(Doug Winterburn)
3501 Fix "indexes not used" bug(Vadim)
3502 docs additions(Thomas)
3503 Fix for backend memory leak(Bruce)
3504 libreadline cleanup(Erwan MAS)
3505 Remove DISTDIR(Bruce)
3506 Makefile dependency cleanup(Jeroen van Vianen)
3507 ASSERT fixes(Bruce)
3508      </programlisting>
3509     </para>
3510    </sect2>
3511   </sect1>
3512
3513   <sect1 id="release-6-3-1">
3514    <title>Release 6.3.1</title>
3515
3516    <note>
3517    <title>Release date</title>
3518    <simpara>1998-03-23</simpara>
3519    </note>
3520
3521    <para>
3522     Summary:
3523
3524 <itemizedlist>
3525 <listitem>
3526 <para>
3527 Additional support for multibyte character sets.
3528 </para>
3529 </listitem>
3530
3531 <listitem>
3532 <para>
3533 Repair byte ordering for mixed-endian clients and servers.
3534 </para>
3535 </listitem>
3536
3537 <listitem>
3538 <para>
3539 Minor updates to allowed SQL syntax.
3540 </para>
3541 </listitem>
3542
3543 <listitem>
3544 <para>
3545 Improvements to the configuration autodetection for installation.
3546 </para>
3547 </listitem>
3548
3549 </itemizedlist>
3550 </para>
3551 <para>
3552 A dump/restore is NOT required for those running 6.3.  A 
3553 <literal>make distclean</>, <literal>make</>, and <literal>make install</> is all that is required.
3554 This last step should be performed while the postmaster is not running.
3555 You should re-link any custom applications that use <productname>PostgreSQL</productname> libraries.
3556 </para>
3557 <para>
3558 For upgrades from pre-6.3 installations,
3559 refer to the installation and migration instructions for version 6.3.
3560 </para>
3561
3562    <sect2>
3563     <title>Changes</title>
3564
3565     <para>
3566      <programlisting>
3567 ecpg cleanup/fixes, now version 1.1(Michael Meskes)
3568 pg_user cleanup(Bruce)
3569 large object fix for pg_dump and tclsh (alvin)
3570 LIKE fix for multiple adjacent underscores
3571 fix for redefining builtin functions(Thomas)
3572 ultrix4 cleanup
3573 upgrade to pg_access 0.83
3574 updated CLUSTER manual page
3575 multibyte character set support, see doc/README.mb(Tatsuo)
3576 configure --with-pgport fix
3577 pg_ident fix
3578 big-endian fix for backend communications(Kataoka)
3579 SUBSTR() and substring() fix(Jan)
3580 several jdbc fixes(Peter)
3581 libpgtcl improvements, see libptcl/README(Randy Kunkee)
3582 Fix for "Datasize = 0" error(Vadim)
3583 Prevent \do from wrapping(Bruce)
3584 Remove duplicate Russian character set entries
3585 Sunos4 cleanup
3586 Allow optional TABLE keyword in LOCK and SELECT INTO(Thomas)
3587 CREATE SEQUENCE options to allow a negative integer(Thomas)
3588 Add "PASSWORD" as an allowed column identifier(Thomas)
3589 Add checks for UNION target fields(Bruce)
3590 Fix Alpha port(Dwayne Bailey)
3591 Fix for text arrays containing quotes(Doug Gibson)
3592 Solaris compile fix(Albert Chin-A-Young)
3593 Better identify tcl and tk libs and includes(Bruce)
3594      </programlisting>
3595     </para>
3596    </sect2>
3597   </sect1>
3598
3599   <sect1 id="release-6-3">
3600    <title>Release 6.3</title>
3601
3602    <note>
3603    <title>Release date</title>
3604    <simpara>1998-03-01</simpara>
3605    </note>
3606
3607    <para>
3608     There are <emphasis>many</emphasis> new features and improvements in this release.
3609     Here is a brief, incomplete summary:
3610
3611     <itemizedlist>
3612      <listitem>
3613       <para>
3614        Many new SQL features, including
3615        full <acronym>SQL92</acronym> subselect capability
3616        (everything is here but target-list subselects).
3617       </para>
3618      </listitem>
3619
3620      <listitem>
3621       <para>
3622        Support for client-side environment variables to specify time zone and date style.
3623       </para>
3624      </listitem>
3625
3626      <listitem>
3627       <para>
3628        Socket interface for client/server connection. This is the default now
3629        so you may need to start <application>postmaster</application> with the
3630        <option>-i</option> flag.
3631       </para>
3632      </listitem>
3633
3634      <listitem>
3635       <para>
3636        Better password authorization mechanisms. Default table permissions have changed.
3637       </para>
3638      </listitem>
3639
3640      <listitem>
3641       <para>
3642        Old-style <firstterm>time travel</firstterm>
3643        has been removed. Performance has been improved.
3644       </para>
3645      </listitem>
3646     </itemizedlist>
3647    </para>
3648
3649    <note>
3650     <para>
3651      Bruce Momjian wrote the following notes to introduce the new release.
3652     </para>
3653    </note>
3654
3655    <para>
3656     There are some general 6.3 issues that I want to mention.  These are
3657     only the big items that can not be described in one sentence.  A review
3658     of the detailed changes list is still needed.
3659    </para>
3660    <para>
3661     First, we now have subselects.  Now that we have them, I would like to
3662     mention that without subselects, SQL is a very limited language.
3663     Subselects are a major feature, and you should review your code for
3664     places where subselects provide a better solution for your queries.  I
3665     think you will find that there are more uses for subselects than you may
3666     think.  Vadim has put us on the big SQL map with subselects, and fully
3667     functional ones too.  The only thing you can't do with subselects is to
3668     use them in the target list.
3669    </para>
3670    <para>
3671     Second, 6.3 uses Unix domain sockets rather than TCP/IP by default.  To
3672     enable connections from other machines, you have to use the new
3673     postmaster -i option, and of course edit <filename>pg_hba.conf</filename>.  Also, for this
3674     reason, the format of <filename>pg_hba.conf</filename> has changed.
3675    </para>
3676    <para>
3677     Third, <type>char()</type> fields will now allow faster access than <type>varchar()</type> or
3678     <type>text</type>. Specifically, the <type>text</> and <type>varchar()</type> have a penalty for access to
3679     any columns after the first column of this type.  <type>char()</type> used to also
3680     have this access penalty, but it no longer does.  This may suggest that
3681     you redesign some of your tables, especially if you have short character
3682     columns that you have defined as <type>varchar()</type> or <type>text</type>.  This and other
3683     changes make 6.3 even faster than earlier releases.
3684    </para>
3685    <para>
3686     We now have passwords definable independent of any Unix file.  There are
3687     new SQL USER commands.
3688     See the <citetitle>Administrator's Guide</citetitle> for more
3689     information.  There is a new table, pg_shadow, which is used to store
3690     user information and user passwords, and it by default only SELECT-able
3691     by the <systemitem>postgres</systemitem> super-user.  pg_user is now a view of pg_shadow, and is
3692     SELECT-able by PUBLIC.  You should keep using pg_user in your
3693     application without changes.
3694    </para>
3695    <para>
3696     User-created tables now no longer have SELECT permission to PUBLIC by
3697     default.  This was done because the ANSI standard requires it.  You can
3698     of course GRANT any permissions you want after the table is created. 
3699     System tables continue to be SELECT-able by PUBLIC.
3700    </para>
3701    <para>
3702     We also have real deadlock detection code.  No more sixty-second
3703     timeouts.  And the new locking code implements a <acronym>FIFO</acronym> better, so there
3704     should be less resource starvation during heavy use.
3705    </para>
3706    <para>
3707     Many complaints have been made about inadequate documentation in previous
3708     releases.  Thomas has put much effort into many new manuals for this
3709     release.  Check out the doc/ directory.
3710    </para>
3711    <para>
3712     For performance reasons, time travel is gone, but can be implemented
3713     using triggers (see <filename>pgsql/contrib/spi/README</filename>).  Please check out the new
3714     \d command for types, operators, etc.  Also, views have their own
3715     permissions now, not based on the underlying tables, so permissions on
3716     them have to be set separately.  Check <filename>/pgsql/interfaces</filename> for some new
3717     ways to talk to <productname>PostgreSQL</productname>.
3718    </para>
3719    <para>
3720     This is the first release that really required an explanation for
3721     existing users.  In many ways, this was necessary because the new
3722     release removes many limitations, and the work-arounds people were using
3723     are no longer needed.
3724    </para>
3725
3726    <sect2>
3727     <title>Migration to version 6.3</title>
3728
3729     <para>
3730      A dump/restore using <application>pg_dump</application> 
3731      or <application>pg_dumpall</application>
3732      is required for those wishing to migrate data from any
3733      previous release of <productname>PostgreSQL</productname>.
3734     </para>
3735    </sect2>
3736
3737    <sect2>
3738     <title>Changes</title>
3739
3740     <para>
3741      <programlisting>
3742 Bug Fixes
3743 ---------
3744 Fix binary cursors broken by MOVE implementation(Vadim)
3745 Fix for tcl library crash(Jan)
3746 Fix for array handling, from Gerhard Hintermayer
3747 Fix acl error, and remove duplicate pqtrace(Bruce)
3748 Fix psql \e for empty file(Bruce)
3749 Fix for textcat on varchar() fields(Bruce)
3750 Fix for DBT Sendproc (Zeugswetter Andres)
3751 Fix vacuum analyze syntax problem(Bruce)
3752 Fix for international identifiers(Tatsuo)
3753 Fix aggregates on inherited tables(Bruce)
3754 Fix substr() for out-of-bounds data
3755 Fix for select 1=1 or 2=2, select 1=1 and 2=2, and select sum(2+2)(Bruce)
3756 Fix notty output to show status result.  -q option still turns it off(Bruce)
3757 Fix for count(*), aggs with views and multiple tables and sum(3)(Bruce)
3758 Fix cluster(Bruce)
3759 Fix for PQtrace start/stop several times(Bruce)
3760 Fix a variety of locking problems like newer lock waiters getting
3761         lock before older waiters, and having readlock people not share
3762         locks if a writer is waiting for a lock, and waiting writers not
3763         getting priority over waiting readers(Bruce)
3764 Fix crashes in psql when executing queries from external files(James)
3765 Fix problem with multiple order by columns, with the first one having
3766         NULL values(Jeroen)
3767 Use correct hash table support functions for float8 and int4(Thomas)
3768 Re-enable JOIN= option in CREATE OPERATOR statement (Thomas)
3769 Change precedence for boolean operators to match expected behavior(Thomas)
3770 Generate elog(ERROR) on over-large integer(Bruce)
3771 Allow multiple-argument functions in constraint clauses(Thomas)
3772 Check boolean input literals for 'true','false','yes','no','1','0'
3773         and throw elog(ERROR) if unrecognized(Thomas)
3774 Major large objects fix
3775 Fix for GROUP BY showing duplicates(Vadim)
3776 Fix for index scans in MergeJion(Vadim)
3777
3778 Enhancements
3779 ------------
3780 Subselects with EXISTS, IN, ALL, ANY keywords (Vadim, Bruce, Thomas)
3781 New User Manual(Thomas, others)
3782 Speedup by inlining some frequently-called functions
3783 Real deadlock detection, no more timeouts(Bruce)
3784 Add SQL92 "constants" CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP, 
3785         CURRENT_USER(Thomas)
3786 Modify constraint syntax to be SQL92-compliant(Thomas)
3787 Implement SQL92 PRIMARY KEY and UNIQUE clauses using indexes(Thomas)
3788 Recognize SQL92 syntax for FOREIGN KEY. Throw elog notice(Thomas)
3789 Allow NOT NULL UNIQUE constraint clause (each allowed separately before)(Thomas)
3790 Allow PostgreSQL-style casting ("::") of non-constants(Thomas)
3791 Add support for SQL3 TRUE and FALSE boolean constants(Thomas)
3792 Support SQL92 syntax for IS TRUE/IS FALSE/IS NOT TRUE/IS NOT FALSE(Thomas)
3793 Allow shorter strings for boolean literals (e.g. "t", "tr", "tru")(Thomas)
3794 Allow SQL92 delimited identifiers(Thomas)
3795 Implement SQL92 binary and hexadecimal string decoding (b'10' and x'1F')(Thomas)
3796 Support SQL92 syntax for type coercion of literal strings
3797         (e.g. "DATETIME 'now'")(Thomas)
3798 Add conversions for int2, int4, and OID types to and from text(Thomas)
3799 Use shared lock when building indexes(Vadim)
3800 Free memory allocated for an user query inside transaction block after
3801         this query is done, was turned off in <= 6.2.1(Vadim)
3802 New SQL statement CREATE PROCEDURAL LANGUAGE(Jan)
3803 New <productname>PostgreSQL</productname> Procedural Language (PL) backend interface(Jan)
3804 Rename pg_dump -H option to -h(Bruce)
3805 Add Java support for passwords, European dates(Peter)
3806 Use indexes for LIKE and ~, !~ operations(Bruce)
3807 Add hash functions for datetime and timespan(Thomas)
3808 Time Travel removed(Vadim, Bruce)
3809 Add paging for \d and \z, and fix \i(Bruce)
3810 Add Unix domain socket support to backend and to frontend library(Goran)
3811 Implement CREATE DATABASE/WITH LOCATION and initlocation utility(Thomas)
3812 Allow more SQL92 and/or <productname>PostgreSQL</productname> reserved words as column identifiers(Thomas)
3813 Augment support for SQL92 SET TIME ZONE...(Thomas)
3814 SET/SHOW/RESET TIME ZONE uses TZ backend environment variable(Thomas)
3815 Implement SET keyword = DEFAULT and SET TIME ZONE DEFAULT(Thomas)
3816 Enable SET TIME ZONE using TZ environment variable(Thomas)
3817 Add PGDATESTYLE environment variable to frontend and backend initialization(Thomas)
3818 Add PGTZ, PGCOSTHEAP, PGCOSTINDEX, PGRPLANS, PGGEQO
3819         frontend library initialization environment variables(Thomas)
3820 Regression tests time zone automatically set with "setenv PGTZ PST8PDT"(Thomas)
3821 Add pg_description table for info on tables, columns, operators, types, and
3822         aggregates(Bruce)
3823 Increase 16 char limit on system table/index names to 32 characters(Bruce)
3824 Rename system indexes(Bruce)
3825 Add 'GERMAN' option to SET DATESTYLE(Thomas)
3826 Define an "ISO-style" timespan output format with "hh:mm:ss" fields(Thomas)
3827 Allow fractional values for delta times (e.g. '2.5 days')(Thomas)
3828 Validate numeric input more carefully for delta times(Thomas)
3829 Implement day of year as possible input to date_part()(Thomas)
3830 Define timespan_finite() and text_timespan() functions(Thomas)
3831 Remove archive stuff(Bruce)
3832 Allow for a pg_password authentication database that is separate from
3833         the system password file(Todd)
3834 Dump ACLs, GRANT, REVOKE permissions(Matt)
3835 Define text, varchar, and bpchar string length functions(Thomas)
3836 Fix Query handling for inheritance, and cost computations(Bruce)
3837 Implement CREATE TABLE/AS SELECT (alternative to SELECT/INTO)(Thomas)
3838 Allow NOT, IS NULL, IS NOT NULL in constraints(Thomas)
3839 Implement UNIONs for SELECT(Bruce)
3840 Add UNION, GROUP, DISTINCT to INSERT(Bruce)
3841 varchar() stores only necessary bytes on disk(Bruce)
3842 Fix for BLOBs(Peter)
3843 Mega-Patch for JDBC...see README_6.3 for list of changes(Peter)
3844 Remove unused "option" from PQconnectdb()
3845 New LOCK command and lock manual page describing deadlocks(Bruce)
3846 Add new psql \da, \dd, \df, \do, \dS, and \dT commands(Bruce)
3847 Enhance psql \z to show sequences(Bruce)
3848 Show NOT NULL and DEFAULT in psql \d table(Bruce)
3849 New psql .psqlrc file start-up(Andrew)
3850 Modify sample start-up script in contrib/linux to show syslog(Thomas)
3851 New types for IP and MAC addresses in contrib/ip_and_mac(TomH)
3852 Unix system time conversions with date/time types in contrib/unixdate(Thomas)
3853 Update of contrib stuff(Massimo)
3854 Add Unix socket support to DBD::Pg(Goran)
3855 New python interface (PyGreSQL 2.0)(D'Arcy)
3856 New frontend/backend protocol has a version number, network byte order(Phil)
3857 Security features in pg_hba.conf enhanced and documented, many cleanups(Phil)
3858 CHAR() now faster access than VARCHAR() or TEXT
3859 ecpg embedded SQL preprocessor
3860 Reduce system column overhead(Vadmin)
3861 Remove pg_time table(Vadim)
3862 Add pg_type attribute to identify types that need length (bpchar, varchar)
3863 Add report of offending line when COPY command fails
3864 Allow VIEW permissions to be set separately from the underlying tables. 
3865         For security, use GRANT/REVOKE on views as appropriate(Jan)
3866 Tables now have no default GRANT SELECT TO PUBLIC.  You must
3867         explicitly grant such permissions.
3868 Clean up tutorial examples(Darren)
3869
3870 Source Tree Changes
3871 -------------------
3872 Add new html development tools, and flow chart in /tools/backend
3873 Fix for SCO compiles
3874 Stratus computer port Robert Gillies
3875 Added support for shlib for BSD44_derived & i386_solaris
3876 Make configure more automated(Brook)
3877 Add script to check regression test results
3878 Break parser functions into smaller files, group together(Bruce)
3879 Rename heap_create to heap_create_and_catalog, rename heap_creatr
3880         to heap_create()(Bruce)
3881 Sparc/Linux patch for locking(TomS)
3882 Remove PORTNAME and reorganize port-specific stuff(Marc)
3883 Add optimizer README file(Bruce)
3884 Remove some recursion in optimizer and clean up some code there(Bruce)
3885 Fix for NetBSD locking(Henry)
3886 Fix for libptcl make(Tatsuo)
3887 AIX patch(Darren)
3888 Change IS TRUE, IS FALSE, ... to expressions using "=" rather than
3889         function calls to istrue() or isfalse() to allow optimization(Thomas)
3890 Various fixes NetBSD/Sparc related(TomH)
3891 Alpha linux locking(Travis,Ryan)
3892 Change elog(WARN) to elog(ERROR)(Bruce)
3893 FAQ for FreeBSD(Marc)
3894 Bring in the PostODBC source tree as part of our standard distribution(Marc)
3895 A minor patch for HP/UX 10 vs 9(Stan)
3896 New pg_attribute.atttypmod for type-specific info like varchar length(Bruce)
3897 UnixWare patches(Billy)
3898 New i386 'lock' for spin lock asm(Billy)
3899 Support for multiplexed backends is removed
3900 Start an OpenBSD port
3901 Start an AUX port
3902 Start a Cygnus port
3903 Add string functions to regression suite(Thomas)
3904 Expand a few function names formerly truncated to 16 characters(Thomas)
3905 Remove un-needed malloc() calls and replace with palloc()(Bruce)
3906 </programlisting>
3907 </para>
3908 </sect2>
3909 </sect1>
3910
3911 <sect1 id="release-6-2-1">
3912 <title>Release 6.2.1</title>
3913
3914    <note>
3915    <title>Release date</title>
3916    <simpara>1997-10-17</simpara>
3917    </note>
3918
3919 <para>
3920 6.2.1 is a bug-fix and usability release on 6.2.
3921 </para>
3922 <para>
3923 Summary:
3924
3925 <itemizedlist>
3926 <listitem>
3927 <para>
3928 Allow strings to span lines, per <acronym>SQL92</acronym>.
3929 </para>
3930 </listitem>
3931
3932 <listitem>
3933 <para>
3934 Include example trigger function for inserting user names on table updates.
3935 </para>
3936 </listitem>
3937
3938 </itemizedlist>
3939 </para>
3940 <para>
3941 This is a minor bug-fix release on 6.2. 
3942 For upgrades from pre-6.2 systems, a full dump/reload is required. 
3943 Refer to the 6.2 release notes for instructions.
3944 </para>
3945
3946 <sect2>
3947 <title>Migration from version 6.2 to version 6.2.1</title>
3948
3949 <para>
3950 This is a minor bug-fix release. A dump/reload is not required from version 6.2,
3951 but is required from any release prior to 6.2.
3952 </para>
3953 <para>
3954 In upgrading from version 6.2, if you choose to dump/reload you will find that
3955 avg(money) is now calculated correctly. All other bug fixes take effect
3956 upon updating the executables.
3957 </para>
3958 <para>
3959 Another way to avoid dump/reload is to use the following SQL command
3960 from <command>psql</command> to update the existing system table:
3961
3962 <programlisting>
3963   update pg_aggregate set aggfinalfn = 'cash_div_flt8'
3964    where aggname = 'avg' and aggbasetype = 790;
3965 </programlisting>
3966 </para>
3967 <para>
3968 This will need to be done to every existing database, including template1.
3969 </para>
3970 </sect2>
3971
3972    <sect2>
3973     <title>Changes</title>
3974
3975     <para>
3976      <programlisting>
3977 Allow TIME and TYPE column names(Thomas)
3978 Allow larger range of true/false as boolean values(Thomas)
3979 Support output of "now" and "current"(Thomas)
3980 Handle DEFAULT with INSERT of NULL properly(Vadim)
3981 Fix for relation reference counts problem in buffer manager(Vadim)
3982 Allow strings to span lines, like ANSI(Thomas)
3983 Fix for backward cursor with ORDER BY(Vadim)
3984 Fix avg(cash) computation(Thomas)
3985 Fix for specifying a column twice in ORDER/GROUP BY(Vadim)
3986 Documented new libpq function to return affected rows, PQcmdTuples(Bruce)
3987 Trigger function for inserting user names for INSERT/UPDATE(Brook Milligan)
3988      </programlisting>
3989     </para>
3990    </sect2>
3991   </sect1>
3992
3993 <sect1 id="release-6-2">
3994 <title>Release 6.2</title>
3995
3996    <note>
3997    <title>Release date</title>
3998    <simpara>1997-10-02</simpara>
3999    </note>
4000
4001 <para>
4002 A dump/restore is required for those wishing to migrate data from
4003 previous releases of <productname>PostgreSQL</productname>.
4004 </para>
4005
4006 <sect2>
4007 <title>Migration from version 6.1 to version 6.2</title>
4008
4009 <para>
4010 This migration requires a complete dump of the 6.1 database and a
4011 restore of the database in 6.2.
4012 </para>
4013 <para>
4014 Note that the <command>pg_dump</command> and <command>pg_dumpall</command> utility from 6.2 should be used
4015 to dump the 6.1 database.
4016 </para>
4017 </sect2>
4018
4019 <sect2>
4020 <title>Migration from version 1.<replaceable>x</> to version 6.2</title>
4021
4022 <para>
4023 Those migrating from earlier 1.* releases should first upgrade to 1.09
4024 because the COPY output format was improved from the 1.02 release.
4025 </para>
4026 </sect2>
4027
4028    <sect2>
4029     <title>Changes</title>
4030
4031     <para>
4032      <programlisting>
4033 Bug Fixes
4034 ---------
4035 Fix problems with pg_dump for inheritance, sequences, archive tables(Bruce)
4036 Fix compile errors on overflow due to shifts, unsigned, and bad prototypes
4037          from Solaris(Diab Jerius)
4038 Fix bugs in geometric line arithmetic (bad intersection calculations)(Thomas)
4039 Check for geometric intersections at endpoints to avoid rounding ugliness(Thomas)
4040 Catch non-functional delete attempts(Vadim)
4041 Change time function names to be more consistent(Michael Reifenberg)
4042 Check for zero divides(Michael Reifenberg)
4043 Fix very old bug which made tuples changed/inserted by a commnd
4044         visible to the command itself (so we had multiple update of 
4045         updated tuples, etc)(Vadim)
4046 Fix for SELECT null, 'fail' FROM pg_am (Patrick)
4047 SELECT NULL as EMPTY_FIELD now allowed(Patrick)
4048 Remove un-needed signal stuff from contrib/pginterface
4049 Fix OR (where x != 1 or x isnull didn't return tuples with x NULL) (Vadim)
4050 Fix time_cmp function (Vadim)
4051 Fix handling of functions with non-attribute first argument in 
4052         WHERE clauses (Vadim)
4053 Fix GROUP BY when order of entries is different from order
4054         in target list (Vadim)
4055 Fix pg_dump for aggregates without sfunc1 (Vadim)
4056
4057 Enhancements
4058 ------------
4059 Default genetic optimizer GEQO parameter is now 8(Bruce)
4060 Allow use parameters in target list having aggregates in functions(Vadim)
4061 Added JDBC driver as an interface(Adrian & Peter)
4062 pg_password utility
4063 Return number of tuples inserted/affected by INSERT/UPDATE/DELETE etc.(Vadim)
4064 Triggers implemented with CREATE TRIGGER (SQL3)(Vadim)
4065 SPI (Server Programming Interface) allows execution of queries inside 
4066         C-functions (Vadim)
4067 NOT NULL implemented (SQL92)(Robson Paniago de Miranda)
4068 Include reserved words for string handling, outer joins, and unions(Thomas)
4069 Implement extended comments ("/* ... */") using exclusive states(Thomas)
4070 Add "//" single-line comments(Bruce)
4071 Remove some restrictions on characters in operator names(Thomas)
4072 DEFAULT and CONSTRAINT for tables implemented (SQL92)(Vadim & Thomas)
4073 Add text concatenation operator and function (SQL92)(Thomas)
4074 Support WITH TIME ZONE syntax (SQL92)(Thomas)
4075 Support INTERVAL unit TO unit syntax (SQL92)(Thomas)
4076 Define types DOUBLE PRECISION, INTERVAL, CHARACTER,
4077         and CHARACTER VARYING (SQL92)(Thomas)
4078 Define type FLOAT(p) and rudimentary DECIMAL(p,s), NUMERIC(p,s) (SQL92)(Thomas)
4079 Define EXTRACT(), POSITION(), SUBSTRING(), and TRIM() (SQL92)(Thomas)
4080 Define CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP (SQL92)(Thomas)
4081 Add syntax and warnings for UNION, HAVING, INNER and OUTER JOIN (SQL92)(Thomas)
4082 Add more reserved words, mostly for SQL92 compliance(Thomas)
4083 Allow hh:mm:ss time entry for timespan/reltime types(Thomas)
4084 Add center() routines for lseg, path, polygon(Thomas)
4085 Add distance() routines for circle-polygon, polygon-polygon(Thomas)
4086 Check explicitly for points and polygons contained within polygons
4087         using an axis-crossing algorithm(Thomas)
4088 Add routine to convert circle-box(Thomas)
4089 Merge conflicting operators for different geometric data types(Thomas)
4090 Replace distance operator "<===>" with "<->"(Thomas)
4091 Replace "above" operator "!^" with ">^" and "below" operator "!|" with "<^"(Thomas)
4092 Add routines for text trimming on both ends, substring, and string position(Thomas)
4093 Added conversion routines circle(box) and poly(circle)(Thomas)
4094 Allow internal sorts to be stored in memory rather than in files(Bruce & Vadim)
4095 Allow functions and operators on internally-identical types to succeed(Bruce)
4096 Speed up backend start-up after profiling analysis(Bruce)
4097 Inline frequently called functions for performance(Bruce)
4098 Reduce open() calls(Bruce)
4099 psql:  Add PAGER for \h and \?,\C fix
4100 Fix for psql pager when no tty(Bruce)
4101 New entab utility(Bruce)
4102 General trigger functions for referential integrity (Vadim)
4103 General trigger functions for time travel (Vadim)
4104 General trigger functions for AUTOINCREMENT/IDENTITY feature (Vadim)
4105 MOVE implementation (Vadim)
4106
4107 Source Tree Changes
4108 -------------------
4109 HP-UX 10 patches (Vladimir Turin)
4110 Added SCO support, (Daniel Harris)
4111 MkLinux patches (Tatsuo Ishii)
4112 Change geometric box terminology from "length" to "width"(Thomas)
4113 Deprecate temporary unstored slope fields in geometric code(Thomas)
4114 Remove restart instructions from INSTALL(Bruce)
4115 Look in /usr/ucb first for install(Bruce)
4116 Fix c++ copy example code(Thomas)
4117 Add -o to psql manual page(Bruce)
4118 Prevent relname unallocated string length from being copied into database(Bruce)
4119 Cleanup for NAMEDATALEN use(Bruce)
4120 Fix pg_proc names over 15 chars in output(Bruce)
4121 Add strNcpy() function(Bruce)
4122 remove some (void) casts that are unnecessary(Bruce)
4123 new interfaces directory(Marc)
4124 Replace fopen() calls with calls to fd.c functions(Bruce)
4125 Make functions static where possible(Bruce)
4126 enclose unused functions in #ifdef NOT_USED(Bruce)
4127 Remove call to difftime() in timestamp support to fix SunOS(Bruce & Thomas)
4128 Changes for Digital Unix
4129 Portability fix for pg_dumpall(Bruce)
4130 Rename pg_attribute.attnvals to attdispersion(Bruce)
4131 "intro/unix" manual page now "pgintro"(Bruce)
4132 "built-in" manual page now "pgbuiltin"(Bruce)
4133 "drop" manual page now "drop_table"(Bruce)
4134 Add "create_trigger", "drop_trigger" manual pages(Thomas)
4135 Add constraints regression test(Vadim & Thomas)
4136 Add comments syntax regression test(Thomas)
4137 Add PGINDENT and support program(Bruce)
4138 Massive commit to run PGINDENT on all *.c and *.h files(Bruce)
4139 Files moved to /src/tools directory(Bruce)
4140 SPI and Trigger programming guides (Vadim & D'Arcy)
4141 </programlisting>
4142 </para>
4143 </sect2>
4144 </sect1>
4145
4146 <sect1 id="release-6-1-1">
4147 <title>Release 6.1.1</title>
4148
4149    <note>
4150    <title>Release date</title>
4151    <simpara>1997-07-22</simpara>
4152    </note>
4153
4154 <sect2>
4155 <title>Migration from version 6.1 to version 6.1.1</title>
4156
4157 <para>
4158 This is a minor bug-fix release. A dump/reload is not required from version 6.1,
4159 but is required from any release prior to 6.1.
4160 Refer to the release notes for 6.1 for more details.
4161 </para>
4162 </sect2>
4163
4164    <sect2>
4165     <title>Changes</title>
4166
4167     <para>
4168      <programlisting>
4169 fix for SET with options (Thomas)
4170 allow pg_dump/pg_dumpall to preserve ownership of all tables/objects(Bruce)
4171 new psql \connect option allows changing usernames without changing databases
4172 fix for initdb --debug option(Yoshihiko Ichikawa))
4173 lextest cleanup(Bruce)
4174 hash fixes(Vadim)
4175 fix date/time month boundary arithmetic(Thomas)
4176 fix timezone daylight handling for some ports(Thomas, Bruce, Tatsuo)
4177 timestamp overhauled to use standard functions(Thomas)
4178 other code cleanup in date/time routines(Thomas)
4179 psql's \d now case-insensitive(Bruce)
4180 psql's backslash commands can now have trailing semicolon(Bruce)
4181 fix memory leak in psql when using \g(Bruce)
4182 major fix for endian handling of communication to server(Thomas, Tatsuo)
4183 Fix for Solaris assembler and include files(Yoshihiko Ichikawa)
4184 allow underscores in usernames(Bruce)
4185 pg_dumpall now returns proper status, portability fix(Bruce)
4186      </programlisting>
4187     </para>
4188    </sect2>
4189   </sect1>
4190
4191 <sect1 id="release-6-1">
4192 <title>Release 6.1</title>
4193
4194    <note>
4195    <title>Release date</title>
4196    <simpara>1997-06-08</simpara>
4197    </note>
4198
4199 <para>
4200   The regression tests have been adapted and extensively modified for the
4201   6.1 release of <productname>PostgreSQL</productname>.
4202 </para>
4203
4204 <para>
4205   Three new data types (<type>datetime</type>, <type>timespan</type>, and <type>circle</type>) have been added to
4206   the native set of <productname>PostgreSQL</productname> types. Points, boxes, paths, and polygons
4207   have had their output formats made consistent across the data types.
4208   The polygon output in misc.out has only been spot-checked for correctness
4209   relative to the original regression output.
4210 </para>
4211
4212 <para>
4213   <productname>PostgreSQL</productname> 6.1 introduces a new, alternate
4214 optimizer which uses <firstterm>genetic</firstterm>
4215   algorithms. These algorithms introduce a random behavior in the ordering
4216   of query results when the query contains multiple qualifiers or multiple
4217   tables (giving the optimizer a choice on order of evaluation). Several
4218   regression tests have been modified to explicitly order the results, and
4219   hence are insensitive to optimizer choices. A few regression tests are
4220   for data types which are inherently unordered (e.g. points and time
4221   intervals) and tests involving those types are explicitly bracketed with
4222   <command>set geqo to 'off'</command> and <command>reset geqo</command>.
4223 </para>
4224
4225 <para>
4226   The interpretation of array specifiers (the curly braces around atomic
4227   values) appears to have changed sometime after the original regression
4228   tests were generated. The current <filename>./expected/*.out</filename> files reflect this
4229   new interpretation, which may not be correct!
4230 </para>
4231
4232 <para>
4233   The float8 regression test fails on at least some platforms. This is due
4234   to differences in implementations of <function>pow()</function> and <function>exp()</function> and the signaling
4235   mechanisms used for overflow and underflow conditions.
4236 </para>
4237
4238 <para>
4239   The <quote>random</> results in the random test should cause the
4240   <quote>random</quote> test to be <quote>failed</quote>, since the
4241   regression tests are evaluated using a simple diff. However,
4242   <quote>random</> does not seem to produce random results on my test
4243   machine (Linux/<application>gcc</>/i686).
4244 </para>
4245
4246 <sect2>
4247 <title>Migration to version 6.1</title>
4248
4249 <para>
4250 This migration requires a complete dump of the 6.0 database and a
4251 restore of the database in 6.1.
4252 </para>
4253 <para>
4254 Those migrating from earlier 1.* releases should first upgrade to 1.09
4255 because the COPY output format was improved from the 1.02 release.
4256 </para>
4257 </sect2>
4258
4259    <sect2>
4260     <title>Changes</title>
4261
4262     <para>
4263      <programlisting>
4264 Bug Fixes
4265 ---------
4266 packet length checking in library routines
4267 lock manager priority patch
4268 check for under/over flow of float8(Bruce)
4269 multitable join fix(Vadim)
4270 SIGPIPE crash fix(Darren)
4271 large object fixes(Sven)
4272 allow btree indexes to handle NULLs(Vadim)
4273 timezone fixes(D'Arcy)
4274 select SUM(x) can return NULL on no rows(Thomas)
4275 internal optimizer, executor bug fixes(Vadim)
4276 fix problem where inner loop in < or <= has no rows(Vadim)
4277 prevent re-commuting join index clauses(Vadim)
4278 fix join clauses for multiple tables(Vadim)
4279 fix hash, hashjoin for arrays(Vadim)
4280 fix btree for abstime type(Vadim)
4281 large object fixes(Raymond)
4282 fix buffer leak in hash indexes (Vadim)
4283 fix rtree for use in inner scan (Vadim)
4284 fix gist for use in inner scan, cleanups (Vadim, Andrea)
4285 avoid unnecessary local buffers allocation (Vadim, Massimo)
4286 fix local buffers leak in transaction aborts (Vadim)
4287 fix file manager memmory leaks, cleanups (Vadim, Massimo)
4288 fix storage manager memmory leaks (Vadim)
4289 fix btree duplicates handling (Vadim)
4290 fix deleted tuples re-incarnation caused by vacuum (Vadim)
4291 fix SELECT varchar()/char() INTO TABLE made zero-length fields(Bruce)
4292 many psql, pg_dump, and libpq memory leaks fixed using Purify (Igor)
4293
4294 Enhancements
4295 ------------
4296 attribute optimization statistics(Bruce)
4297 much faster new btree bulk load code(Paul)
4298 BTREE UNIQUE added to bulk load code(Vadim) 
4299 new lock debug code(Massimo)
4300 massive changes to libpg++(Leo)
4301 new GEQO optimizer speeds table multitable optimization(Martin)
4302 new WARN message for non-unique insert into unique key(Marc)
4303 update x=-3, no spaces, now valid(Bruce)
4304 remove case-sensitive identifier handling(Bruce,Thomas,Dan)
4305 debug backend now pretty-prints tree(Darren)
4306 new Oracle character functions(Edmund)
4307 new plaintext password functions(Dan)
4308 no such class or insufficient privilege changed to distinct messages(Dan)
4309 new ANSI timestamp function(Dan)
4310 new ANSI Time and Date types (Thomas)
4311 move large chunks of data in backend(Martin)
4312 multicolumn btree indexes(Vadim)
4313 new SET var TO value command(Martin)
4314 update transaction status on reads(Dan)
4315 new locale settings for character types(Oleg)
4316 new SEQUENCE serial number generator(Vadim)
4317 GROUP BY function now possible(Vadim)
4318 re-organize regression test(Thomas,Marc)
4319 new optimizer operation weights(Vadim)
4320 new psql \z grant/permit option(Marc)
4321 new MONEY data type(D'Arcy,Thomas)
4322 tcp socket communication speed improved(Vadim)
4323 new VACUUM option for attribute statistics, and for certain columns (Vadim)
4324 many geometric type improvements(Thomas,Keith)
4325 additional regression tests(Thomas)
4326 new datestyle variable(Thomas,Vadim,Martin)
4327 more comparison operators for sorting types(Thomas)
4328 new conversion functions(Thomas)
4329 new more compact btree format(Vadim)
4330 allow pg_dumpall to preserve database ownership(Bruce)
4331 new SET GEQO=# and R_PLANS variable(Vadim)
4332 old (!GEQO) optimizer can use right-sided plans (Vadim)
4333 typechecking improvement in SQL parser(Bruce)
4334 new SET, SHOW, RESET commands(Thomas,Vadim)
4335 new \connect database USER option
4336 new destroydb -i option (Igor)
4337 new \dt and \di psql commands (Darren)
4338 SELECT "\n" now escapes newline (A. Duursma)
4339 new geometry conversion functions from old format (Thomas)
4340
4341 Source tree changes
4342 -------------------
4343 new configuration script(Marc)
4344 readline configuration option added(Marc)
4345 OS-specific configuration options removed(Marc)
4346 new OS-specific template files(Marc)
4347 no more need to edit Makefile.global(Marc)
4348 re-arrange include files(Marc)
4349 nextstep patches (Gregor Hoffleit)
4350 removed WIN32-specific code(Bruce)
4351 removed postmaster -e option, now only postgres -e option (Bruce)
4352 merge duplicate library code in front/backends(Martin)
4353 now works with eBones, international Kerberos(Jun)
4354 more shared library support
4355 c++ include file cleanup(Bruce)
4356 warn about buggy flex(Bruce)
4357 DG/UX, Ultrix, IRIX, AIX portability fixes
4358 </programlisting>
4359 </para>
4360 </sect2>
4361 </sect1>
4362
4363 <sect1 id="release-6-0">
4364 <title>Release 6.0</title>
4365
4366    <note>
4367    <title>Release date</title>
4368    <simpara>1997-01-29</simpara>
4369    </note>
4370
4371 <para>
4372 A dump/restore is required for those wishing to migrate data from
4373 previous releases of <productname>PostgreSQL</productname>.
4374 </para>
4375
4376 <sect2>
4377 <title>Migration from version 1.09 to version 6.0</title>
4378
4379 <para>
4380 This migration requires a complete dump of the 1.09 database and a
4381 restore of the database in 6.0.
4382 </para>
4383 </sect2>
4384
4385 <sect2>
4386 <title>Migration from pre-1.09 to version 6.0</title>
4387
4388 <para>
4389 Those migrating from earlier 1.* releases should first upgrade to 1.09
4390 because the COPY output format was improved from the 1.02 release.
4391 </para>
4392 </sect2>
4393
4394    <sect2>
4395     <title>Changes</title>
4396
4397     <para>
4398      <programlisting>
4399 Bug Fixes
4400 ---------
4401 ALTER TABLE bug - running postgress process needs to re-read table definition
4402 Allow vacuum to be run on one table or entire database(Bruce)
4403 Array fixes
4404 Fix array over-runs of memory writes(Kurt)
4405 Fix elusive btree range/non-range bug(Dan)
4406 Fix for hash indexes on some types like time and date
4407 Fix for pg_log size explosion
4408 Fix permissions on lo_export()(Bruce)
4409 Fix unitialized reads of memory(Kurt)
4410 Fixed ALTER TABLE ... char(3) bug(Bruce)
4411 Fixed a few small memory leaks
4412 Fixed EXPLAIN handling of options and changed full_path option name
4413 Fixed output of group acl permissions
4414 Memory leaks (hunt and destroy with tools like Purify(Kurt)
4415 Minor improvements to rules system
4416 NOTIFY fixes
4417 New asserts for run-checking
4418 Overhauled parser/analyze code to properly report errors and increase speed
4419 Pg_dump -d now handles NULL's properly(Bruce)
4420 Prevent SELECT NULL from crashing server (Bruce)
4421 Properly report errors when INSERT ... SELECT columns did not match
4422 Properly report errors when insert column names were not correct
4423 Psql \g filename now works(Bruce)
4424 Psql fixed problem with multiple statements on one line with multiple outputs
4425 Removed duplicate system OIDs
4426 SELECT * INTO TABLE . GROUP/ORDER BY gives unlink error if table exists(Bruce)
4427 Several fixes for queries that crashed the backend
4428 Starting quote in insert string errors(Bruce)
4429 Submitting an empty query now returns empty status, not just " " query(Bruce)
4430
4431 Enhancements
4432 ------------
4433 Add EXPLAIN manual page(Bruce)
4434 Add UNIQUE index capability(Dan)
4435 Add hostname/user level access control rather than just hostname and user
4436 Add synonym of != for &lt;&gt;(Bruce)
4437 Allow "select oid,* from table"
4438 Allow BY,ORDER BY to specify columns by number, or by non-alias table.column(Bruce)
4439 Allow COPY from the frontend(Bryan)
4440 Allow GROUP BY to use alias column name(Bruce)
4441 Allow actual compression, not just reuse on the same page(Vadim)
4442 Allow installation-configuration option to auto-add all local users(Bryan)
4443 Allow libpq to distinguish between text value '' and null(Bruce)
4444 Allow non-postgres users with createdb privs to destroydb's
4445 Allow restriction on who can create C functions(Bryan)
4446 Allow restriction on who can do backend COPY(Bryan)
4447 Can shrink tables, pg_time and pg_log(Vadim & Erich)
4448 Change debug level 2 to print queries only, changed debug heading layout(Bruce)
4449 Change default decimal constant representation from float4 to float8(Bruce)
4450 European date format now set when postmaster is started
4451 Execute lowercase function names if not found with exact case
4452 Fixes for aggregate/GROUP processing, allow 'select sum(func(x),sum(x+y) from z'
4453 Gist now included in the distrubution(Marc)
4454 Idend authentication of local users(Bryan)
4455 Implement BETWEEN qualifier(Bruce)
4456 Implement IN qualifier(Bruce)
4457 Libpq has PQgetisnull()(Bruce)
4458 Libpq++ improvements
4459 New options to initdb(Bryan)
4460 Pg_dump allow dump of OIDs(Bruce)
4461 Pg_dump create indexes after tables are loaded for speed(Bruce)
4462 Pg_dumpall dumps all databases, and the user table
4463 Pginterface additions for NULL values(Bruce)
4464 Prevent postmaster from being run as root
4465 Psql \h and \? is now readable(Bruce)
4466 Psql allow backslashed, semicolons anywhere on the line(Bruce)
4467 Psql changed command prompt for lines in query or in quotes(Bruce)
4468 Psql char(3) now displays as (bp)char in \d output(Bruce)
4469 Psql return code now more accurate(Bryan?)
4470 Psql updated help syntax(Bruce)
4471 Re-visit and fix vacuum(Vadim)
4472 Reduce size of regression diffs, remove timezone name difference(Bruce)
4473 Remove compile-time parameters to enable binary distributions(Bryan)
4474 Reverse meaning of HBA masks(Bryan)
4475 Secure Authentication of local users(Bryan)
4476 Speed up vacuum(Vadim)
4477 Vacuum now had VERBOSE option(Bruce)
4478
4479 Source tree changes
4480 -------------------
4481 All functions now have prototypes that are compared against the calls
4482 Allow asserts to be disabled easly from Makefile.global(Bruce)
4483 Change oid constants used in code to #define names
4484 Decoupled sparc and solaris defines(Kurt)
4485 Gcc -Wall compiles cleanly with warnings only from unfixable constructs
4486 Major include file reorganization/reduction(Marc)
4487 Make now stops on compile failure(Bryan)
4488 Makefile restructuring(Bryan, Marc)
4489 Merge bsdi_2_1 to bsdi(Bruce)
4490 Monitor program removed
4491 Name change from Postgres95 to PostgreSQL
4492 New config.h file(Marc, Bryan)
4493 PG_VERSION now set to 6.0 and used by postmaster
4494 Portability additions, including Ultrix, DG/UX, AIX, and Solaris
4495 Reduced the number of #define's, centeralized #define's
4496 Remove duplicate OIDS in system tables(Dan)
4497 Remove duplicate system catalog info or report mismatches(Dan)
4498 Removed many os-specific #define's
4499 Restructured object file generation/location(Bryan, Marc)
4500 Restructured port-specific file locations(Bryan, Marc)
4501 Unused/uninialized variables corrected
4502 </programlisting>
4503 </para>
4504 </sect2>
4505 </sect1>
4506
4507 <sect1 id="release-1-09">
4508 <title>Release 1.09</title>
4509
4510    <note>
4511    <title>Release date</title>
4512    <simpara>1996-11-04</simpara>
4513    </note>
4514
4515 <para>
4516 Sorry, we didn't keep track of changes from 1.02 to 1.09.  Some of
4517 the changes listed in 6.0 were actually included in the 1.02.1 to 1.09
4518 releases.
4519 </para>
4520 </sect1>
4521
4522 <sect1 id="release-1-02">
4523 <title>Release 1.02</title>
4524
4525    <note>
4526    <title>Release date</title>
4527    <simpara>1996-08-01</simpara>
4528    </note>
4529
4530 <sect2>
4531 <title>Migration from version 1.02 to version 1.02.1</title>
4532
4533 <para>
4534 Here is a new migration file for 1.02.1.  It includes the 'copy' change
4535 and a script to convert old <acronym>ASCII</acronym> files.
4536 </para>
4537 <note>
4538 <para>
4539 The following notes are for the benefit of users who want to migrate
4540 databases from <productname>Postgres95</> 1.01 and 1.02 to <productname>Postgres95</> 1.02.1.
4541 </para>
4542 <para>
4543 If you are starting afresh with <productname>Postgres95</> 1.02.1 and do not need
4544 to migrate old databases, you do not need to read any further.
4545 </para>
4546 </note>
4547
4548 <para>
4549 In order to upgrade older <productname>Postgres95</> version 1.01 or 1.02 databases to
4550 version 1.02.1, the following steps are required:
4551 </para>
4552 <procedure>
4553 <step>
4554 <para>
4555 Start up a new 1.02.1 postmaster
4556 </para>
4557 </step>
4558 <step>
4559 <para>
4560 Add the new built-in functions and operators of 1.02.1 to 1.01 or 1.02
4561    databases.  This is done by running the new 1.02.1 server against
4562    your own 1.01 or 1.02 database and applying the queries attached at
4563    the end of the file.   This can be done easily through <command>psql</>.  If your
4564    1.01 or 1.02 database is named <literal>testdb</literal> and you have cut the commands
4565    from the end of this file and saved them in <filename>addfunc.sql</filename>:
4566 <programlisting>
4567         % psql testdb -f addfunc.sql
4568 </programlisting>
4569
4570 Those upgrading 1.02 databases will get a warning when executing the
4571 last two statements in the file because they are already present in 1.02.  This is
4572 not a cause for concern.
4573 </para>
4574 </step>
4575 </procedure>
4576 </sect2>
4577
4578 <sect2>
4579 <title>Dump/Reload Procedure</title>
4580
4581 <para>
4582 If you are trying to reload a pg_dump or text-mode, <literal>copy tablename to
4583 stdout</literal> generated with a previous version, you will need to run the
4584 attached <command>sed</command> script on the ASCII file before loading it into the
4585 database.  The old format used '.' as end-of-data, while '\.' is now the
4586 end-of-data marker.  Also, empty strings are now loaded in as '' rather
4587 than NULL. See the copy manual page for full details.
4588
4589 <programlisting>
4590         sed 's/^\.$/\\./g' &lt;in_file &gt;out_file
4591 </programlisting>
4592 </para>
4593 <para>
4594 If you are loading an older binary copy or non-<systemitem>stdout</> copy, there is no
4595 end-of-data character, and hence no conversion necessary.
4596
4597 <programlisting>
4598 -- following lines added by agc to reflect the case-insensitive
4599 -- regexp searching for varchar (in 1.02), and bpchar (in 1.02.1)
4600 create operator ~* (leftarg = bpchar, rightarg = text, procedure = texticregexeq);
4601 create operator !~* (leftarg = bpchar, rightarg = text, procedure = texticregexne);
4602 create operator ~* (leftarg = varchar, rightarg = text, procedure = texticregexeq);
4603 create operator !~* (leftarg = varchar, rightarg = text, procedure = texticregexne);
4604 </programlisting>
4605 </para>
4606 </sect2>
4607
4608 <sect2>
4609 <title>Changes</title>
4610
4611 <para>
4612 <programlisting>
4613 Source code maintenance and development
4614  * worldwide team of volunteers
4615  * the source tree now in CVS at ftp.ki.net
4616
4617 Enhancements
4618  * psql (and underlying libpq library) now has many more options for
4619    formatting output, including HTML
4620  * pg_dump now output the schema and/or the data, with many fixes to
4621    enhance completeness.
4622  * psql used in place of monitor in administration shell scripts.
4623    monitor to be deprecated in next release.
4624  * date/time functions enhanced
4625  * NULL insert/update/comparison fixed/enhanced
4626  * TCL/TK lib and shell fixed to work with both tck7.4/tk4.0 and tcl7.5/tk4.1
4627
4628 Bug Fixes (almost too numerous to mention)
4629  * indexes
4630  * storage management
4631  * check for NULL pointer before dereferencing
4632  * Makefile fixes
4633
4634 New Ports
4635  * added SolarisX86 port
4636  * added BSD/OS 2.1 port
4637  * added DG/UX port
4638 </programlisting>
4639 </para>
4640 <!--
4641 Contributors (appologies to any missed)
4642  * Kurt J. Lidl <lidl@va.pubnix.com> 
4643         (missed in first run, but no less important)
4644  * Erich Stamberger <eberger@gewi.kfunigraz.ac.at>
4645  * Jason Wright <jason@shiloh.vnet.net>
4646  * Cees de Groot <C.deGroot@inter.NL.net>
4647  * ernst.molitor@uni-bonn.de
4648  * michael.siebenborn@ae3.Hypo.DE (Michael Siebenborn (6929))
4649  * Brian E. Gallew <geek+@cmu.edu>
4650  * Vadim B. Mikheev <vadim@sable.krasnoyarsk.su>
4651  * Adam Sussman <myddryn@vidya.com>
4652  * Chris Dunlop <chris@onthe.net.au>
4653  * Marc G. Fournier <scrappy@ki.net>
4654  * Dan McGuirk <mcguirk@indirect.com>
4655  * Dr_George_D_Detlefsen <drgeorge@ilt.com>
4656  * Erich Stamberger <eberger@gewi.kfunigraz.ac.at>
4657  * Massimo Dal Zotto <dz@cs.unitn.it>
4658  * Randy Kunkee <kunkee@Starbase.NeoSoft.COM>
4659  * Rick Weldon <rick@wisetech.com>
4660  * Thomas van Reimersdahl <reimersd@dali.techinfo.rwth-aachen.de>
4661  * david bennett <dave@bensoft.com>
4662  * ernst.molitor@uni-bonn.de
4663  * Julian Assange <proff@suburbia.net>
4664  * Bruce Momjian <maillist@candle.pha.pa.us>
4665  * Paul "Shag" Walmsley <ccshag@cclabs.missouri.edu>
4666  * "Alistair G. Crooks" <azcb0@sde.uts.amdahl.com>
4667 -->
4668 </sect2>
4669 </sect1>
4670
4671 <sect1 id="release-1-01">
4672 <title>Release 1.01</title>
4673
4674    <note>
4675    <title>Release date</title>
4676    <simpara>1996-02-23</simpara>
4677    </note>
4678
4679
4680 <sect2>
4681 <title>Migration from version 1.0 to version 1.01</title>
4682
4683 <para>
4684 The following notes are for the benefit of users who want to migrate
4685 databases from <productname>Postgres95</> 1.0 to <productname>Postgres95</> 1.01.  
4686 </para>
4687 <para>
4688 If you are starting afresh with <productname>Postgres95</> 1.01 and do not need
4689 to migrate old databases, you do not need to read any further.
4690 </para>
4691 <para>
4692 In order to <productname>Postgres95</> version 1.01 with databases created with
4693 <productname>Postgres95</> version 1.0, the following steps are required:  
4694 </para>
4695 <procedure>
4696 <step>
4697 <para>
4698 Set the definition of <symbol>NAMEDATALEN</symbol> in <filename>src/Makefile.global</filename> to 16
4699    and <symbol>OIDNAMELEN</symbol> to 20.
4700 </para>
4701 </step>
4702 <step>
4703 <para>
4704 Decide whether you want to use Host based authentication.  
4705 </para>
4706 <substeps>
4707 <step>
4708 <para>
4709 If you do, you must create a file name <literal>pg_hba</literal> in your top-level data
4710    directory (typically the value of your <envar>$PGDATA</envar>).  <filename>src/libpq/pg_hba</filename>
4711    shows an example syntax.
4712 </para>
4713 </step>
4714 <step>
4715 <para>
4716 If you do not want host-based authentication, you can comment out
4717    the line
4718 <programlisting>
4719         HBA = 1
4720 </programlisting>
4721    in <filename>src/Makefile.global</filename>
4722 </para>
4723 <para>
4724    Note that host-based authentication is turned on by default, and if
4725    you do not take steps A or B above, the out-of-the-box 1.01 will
4726    not allow you to connect to 1.0 databases.
4727 </para>
4728 </step>
4729 </substeps>
4730 </step>
4731
4732 <step>
4733 <para>
4734 Compile and install 1.01, but DO NOT do the <command>initdb</command> step.
4735 </para>
4736 </step>
4737 <step>
4738 <para>
4739 Before doing anything else, terminate your 1.0 postmaster, and
4740    backup your existing <envar>$PGDATA</envar> directory.   
4741 </para>
4742 </step>
4743 <step>
4744 <para>
4745 Set your <envar>PGDATA</envar> environment variable to your 1.0 databases, but set up
4746    path up so that 1.01 binaries are being used.
4747 </para>
4748 </step>
4749 <step>
4750 <para>
4751 Modify the file <filename><envar>$PGDATA</envar>/PG_VERSION</filename> from 5.0 to 5.1
4752 </para>
4753 </step>
4754 <step>
4755 <para>
4756 Start up a new 1.01 postmaster
4757 </para>
4758 </step>
4759 <step>
4760 <para>
4761 Add the new built-in functions and operators of 1.01 to 1.0
4762    databases.  This is done by running the new 1.01 server against
4763    your own 1.0 database and applying the queries attached and saving 
4764    in the file 1.0_to_1.01.sql.   This can be done easily through <command>psql</command>.
4765    If your 1.0 database is name <literal>testdb</literal>:
4766
4767 <programlisting>
4768         % psql testdb -f 1.0_to_1.01.sql
4769 </programlisting>
4770
4771 and then execute the following commands (cut and paste from here):
4772
4773 <programlisting>
4774 -- add builtin functions that are new to 1.01
4775
4776 create function int4eqoid (int4, oid) returns bool as 'foo'
4777 language 'internal';
4778 create function oideqint4 (oid, int4) returns bool as 'foo'
4779 language 'internal';
4780 create function char2icregexeq (char2, text) returns bool as 'foo'
4781 language 'internal';
4782 create function char2icregexne (char2, text) returns bool as 'foo'
4783 language 'internal';
4784 create function char4icregexeq (char4, text) returns bool as 'foo'
4785 language 'internal';
4786 create function char4icregexne (char4, text) returns bool as 'foo'
4787 language 'internal';
4788 create function char8icregexeq (char8, text) returns bool as 'foo'
4789 language 'internal';
4790 create function char8icregexne (char8, text) returns bool as 'foo'
4791 language 'internal';
4792 create function char16icregexeq (char16, text) returns bool as 'foo'
4793 language 'internal';
4794 create function char16icregexne (char16, text) returns bool as 'foo'
4795 language 'internal';
4796 create function texticregexeq (text, text) returns bool as 'foo'
4797 language 'internal';
4798 create function texticregexne (text, text) returns bool as 'foo'
4799 language 'internal';
4800
4801 -- add builtin functions that are new to 1.01
4802
4803 create operator = (leftarg = int4, rightarg = oid, procedure = int4eqoid);
4804 create operator = (leftarg = oid, rightarg = int4, procedure = oideqint4);
4805 create operator ~* (leftarg = char2, rightarg = text, procedure = char2icregexeq);
4806 create operator !~* (leftarg = char2, rightarg = text, procedure = char2icregexne);
4807 create operator ~* (leftarg = char4, rightarg = text, procedure = char4icregexeq);
4808 create operator !~* (leftarg = char4, rightarg = text, procedure = char4icregexne);
4809 create operator ~* (leftarg = char8, rightarg = text, procedure = char8icregexeq);
4810 create operator !~* (leftarg = char8, rightarg = text, procedure = char8icregexne);
4811 create operator ~* (leftarg = char16, rightarg = text, procedure = char16icregexeq);
4812 create operator !~* (leftarg = char16, rightarg = text, procedure = char16icregexne);
4813 create operator ~* (leftarg = text, rightarg = text, procedure = texticregexeq);
4814 create operator !~* (leftarg = text, rightarg = text, procedure = texticregexne);
4815 </programlisting>
4816 </para>
4817 </step>
4818 </procedure>
4819 </sect2>
4820
4821 <sect2>
4822 <title>Changes</title>
4823
4824 <para>
4825 <programlisting>
4826 Incompatibilities:
4827  * 1.01 is backwards compatible with 1.0 database provided the user
4828    follow the steps outlined in the MIGRATION_from_1.0_to_1.01 file.
4829    If those steps are not taken, 1.01 is not compatible with 1.0 database.
4830
4831 Enhancements:
4832  * added PQdisplayTuples() to libpq and changed monitor and psql to use it
4833  * added NeXT port (requires SysVIPC implementation)
4834  * added CAST .. AS ... syntax
4835  * added ASC and DESC keywords
4836  * added 'internal' as a possible language for CREATE FUNCTION
4837    internal functions are C functions which have been statically linked
4838    into the postgres backend.
4839  * a new type "name" has been added for system identifiers (table names,
4840    attribute names, etc.)  This replaces the old char16 type.   The
4841    of name is set by the NAMEDATALEN #define in src/Makefile.global
4842  * a readable reference manual that describes the query language.
4843  * added host-based access control.  A configuration file ($PGDATA/pg_hba)
4844    is used to hold the configuration data.  If host-based access control
4845    is not desired, comment out HBA=1 in src/Makefile.global.
4846  * changed regex handling to be uniform use of Henry Spencer's regex code
4847    regardless of platform.  The regex code is included in the distribution
4848  * added functions and operators for case-insensitive regular expressions. 
4849    The operators are ~* and !~*.
4850  * pg_dump uses COPY instead of SELECT loop for better performance
4851
4852 Bug fixes:
4853  * fixed an optimizer bug that was causing core dumps when 
4854    functions calls were used in comparisons in the WHERE clause
4855  * changed all uses of getuid to geteuid so that effective uids are used
4856  * psql now returns non-zero status on errors when using -c
4857  * applied public patches 1-14
4858 </programlisting>
4859 </para>
4860 </sect2>
4861 </sect1>
4862
4863 <sect1 id="release-1-0">
4864 <title>Release 1.0</title>
4865
4866    <note>
4867    <title>Release date</title>
4868    <simpara>1995-09-05</simpara>
4869    </note>
4870
4871 <sect2>
4872 <title>Changes</title>
4873
4874 <para>
4875 <programlisting>
4876 Copyright change:
4877  * The copyright of <productname>Postgres</productname> 1.0 has been loosened to be freely modifiable
4878    and modifiable for any purpose.  Please read the COPYRIGHT file.
4879    Thanks to Professor Michael Stonebraker for making this possible.
4880
4881 Incompatibilities:
4882  *  date formats have to be MM-DD-YYYY (or DD-MM-YYYY if you're using
4883    EUROPEAN STYLE).  This follows SQL-92 specs.
4884  *  "delimiters" is now a keyword
4885
4886 Enhancements:
4887  *  sql LIKE syntax has been added
4888  *  copy command now takes an optional USING DELIMITER specification.
4889    delimiters can be any single-character string. 
4890  *  IRIX 5.3 port has been added.
4891    Thanks to Paul Walmsley and others.
4892  *  updated pg_dump to work with new libpq
4893  *  \d has been added psql 
4894    Thanks to Keith Parks
4895  *  regexp performance for architectures that use POSIX regex has been
4896    improved due to caching of precompiled patterns.
4897    Thanks to Alistair Crooks
4898  *  a new version of libpq++
4899    Thanks to William Wanders
4900
4901 Bug fixes:
4902  *  arbitrary userids can be specified in the createuser script
4903  *  \c to connect to other databases in psql now works.
4904  *  bad pg_proc entry for float4inc() is fixed
4905  *  users with usecreatedb field set can now create databases without
4906    having to be usesuper
4907  *  remove access control entries when the entry no longer has any
4908    permissions
4909  *  fixed non-portable datetimes implementation
4910  *  added kerberos flags to the src/backend/Makefile
4911  *  libpq now works with kerberos
4912  *  typographic errors in the user manual have been corrected.
4913  *  btrees with multiple index never worked, now we tell you they don't
4914    work when you try to use them
4915 </programlisting>
4916 </para>
4917 </sect2>
4918 </sect1>
4919
4920 <sect1 id="release-0-03">
4921 <title><productname>Postgres95</productname> Release 0.03</title>
4922
4923    <note>
4924    <title>Release date</title>
4925    <simpara>1995-07-21</simpara>
4926    </note>
4927
4928 <sect2>
4929 <title>Changes</title>
4930 <para>
4931 <programlisting>
4932 Incompatible changes:
4933  * BETA-0.3 IS INCOMPATIBLE WITH DATABASES CREATED WITH PREVIOUS VERSIONS
4934    (due to system catalog changes and indexing structure changes).
4935  * double-quote (") is deprecated as a quoting character for string literals;
4936    you need to convert them to single quotes ('). <!-- " -->
4937  * name of aggregates (eg. int4sum) are renamed in accordance with the
4938    SQL standard (eg. sum).
4939  * CHANGE ACL syntax is replaced by GRANT/REVOKE syntax.
4940  * float literals (eg. 3.14) are now of type float4 (instead of float8 in
4941    previous releases); you might have to do typecasting if you depend on it
4942    being of type float8.  If you neglect to do the typecasting and you assign
4943    a float literal to a field of type float8, you may get incorrect values
4944    stored!
4945  * LIBPQ has been totally revamped so that frontend applications
4946    can connect to multiple backends
4947  * the usesysid field in pg_user has been changed from int2 to int4 to
4948    allow wider range of Unix user ids.
4949  * the netbsd/freebsd/bsd o/s ports have been consolidated into a
4950    single BSD44_derived port.  (thanks to Alistair Crooks)
4951
4952 SQL standard-compliance (the following details changes that makes postgres95
4953 more compliant to the SQL-92 standard):
4954  * the following SQL types are now built-in: smallint, int(eger), float, real,
4955    char(N), varchar(N), date and time.
4956
4957    The following are aliases to existing postgres types:
4958                 smallint -> int2
4959                 integer, int -> int4
4960                 float, real  -> float4
4961    char(N) and varchar(N) are implemented as truncated text types. In
4962    addition, char(N) does blank-padding. 
4963  * single-quote (') is used for quoting string literals; '' (in addition to
4964    \') is supported as means of inserting a single quote in a string
4965  * SQL standard aggregate names (MAX, MIN, AVG, SUM, COUNT) are used
4966    (Also, aggregates can now be overloaded, i.e. you can define your
4967    own MAX aggregate to take in a user-defined type.)
4968  * CHANGE ACL removed. GRANT/REVOKE syntax added.  
4969    - Privileges can be given to a group using the "GROUP" keyword.
4970         For example:
4971                 GRANT SELECT ON foobar TO GROUP my_group;
4972         The keyword 'PUBLIC' is also supported to mean all users.       
4973
4974         Privileges can only be granted or revoked to one user or group
4975         at a time.  
4976
4977         "WITH GRANT OPTION" is not supported.  Only class owners can change
4978         access control
4979    - The default access control is to to grant users readonly access.
4980      You must explicitly grant insert/update access to users.  To change
4981      this, modify the line in 
4982                 src/backend/utils/acl.h 
4983      that defines ACL_WORLD_DEFAULT 
4984
4985 Bug fixes:
4986  * the bug where aggregates of empty tables were not run has been fixed. Now,
4987    aggregates run on empty tables will return the initial conditions of the
4988    aggregates. Thus, COUNT of an empty  table will now properly return 0.
4989    MAX/MIN of an empty table will return a tuple of value NULL. 
4990  * allow the use of \; inside the monitor
4991  * the LISTEN/NOTIFY asynchronous notification mechanism now work
4992  * NOTIFY in rule action bodies now work
4993  * hash indexes work, and access methods in general should perform better.
4994    creation of large btree indexes should be much faster.  (thanks to Paul
4995    Aoki)
4996
4997 Other changes and enhancements:
4998  * addition of an EXPLAIN statement used for explaining the query execution
4999    plan (eg. "EXPLAIN SELECT * FROM EMP" prints out the execution plan for
5000    the query).
5001  * WARN and NOTICE messages no longer have timestamps on them. To turn on
5002    timestamps of error messages, uncomment the line in
5003    src/backend/utils/elog.h:
5004         /* define ELOG_TIMESTAMPS */ 
5005  * On an access control violation, the message
5006         "Either no such class or insufficient privilege"
5007    will be given.  This is the same message that is returned when
5008    a class is not found.  This dissuades non-privileged users from
5009    guessing the existence of privileged classes.
5010  * some additional system catalog changes have been made that are not
5011    visible to the user.
5012
5013 libpgtcl changes:
5014  * The -oid option has been added to the "pg_result" tcl command.
5015    pg_result -oid returns oid of the last tuple inserted.   If the
5016    last command was not an INSERT, then pg_result -oid returns "".
5017  * the large object interface is available as pg_lo* tcl commands:
5018    pg_lo_open, pg_lo_close, pg_lo_creat, etc.
5019
5020 Portability enhancements and New Ports:
5021  * flex/lex problems have been cleared up.  Now, you should be able to use
5022    flex instead of lex on any platforms.  We no longer make assumptions of
5023    what lexer you use based on the platform you use. 
5024  * The Linux-ELF port is now supported.  Various configuration have been 
5025    tested:  The following configuration is known to work:
5026         kernel 1.2.10, gcc 2.6.3, libc 4.7.2, flex 2.5.2, bison 1.24
5027    with everything in ELF format,
5028
5029 New utilities:
5030  * ipcclean added to the distribution
5031    ipcclean usually does not need to be run, but if your backend crashes
5032    and leaves shared memory segments hanging around, ipcclean will
5033    clean them up for you.
5034
5035 New documentation:
5036  * the user manual has been revised and libpq documentation added.
5037 </programlisting>
5038 </para>
5039 </sect2>
5040 </sect1>
5041
5042 <sect1 id="release-0-02">
5043 <title><productname>Postgres95</productname> Release 0.02</title>
5044
5045    <note>
5046    <title>Release date</title>
5047    <simpara>1995-05-25</simpara>
5048    </note>
5049
5050 <sect2>
5051 <title>Changes</title>
5052
5053 <para>
5054 <programlisting>
5055 Incompatible changes:
5056  * The SQL statement for creating a database is 'CREATE DATABASE' instead
5057    of 'CREATEDB'. Similarly, dropping a database is 'DROP DATABASE' instead
5058    of 'DESTROYDB'. However, the names of the executables 'createdb' and 
5059    'destroydb' remain the same.
5060  
5061 New tools:
5062  * pgperl - a Perl (4.036) interface to Postgres95
5063  * pg_dump - a utility for dumping out a postgres database into a
5064         script file containing query commands. The script files are in a ASCII
5065         format and can be used to reconstruct the database, even on other
5066         machines and other architectures. (Also good for converting
5067         a Postgres 4.2 database to Postgres95 database.)
5068
5069 The following ports have been incorporated into postgres95-beta-0.02:
5070  * the NetBSD port by Alistair Crooks
5071  * the AIX port by Mike Tung
5072  * the Windows NT port by Jon Forrest (more stuff but not done yet)
5073  * the Linux ELF port by Brian Gallew
5074
5075 The following bugs have been fixed in postgres95-beta-0.02:
5076  * new lines not escaped in COPY OUT and problem with COPY OUT when first
5077    attribute is a '.' 
5078  * cannot type return to use the default user id in createuser
5079  * SELECT DISTINCT on big tables crashes
5080  * Linux installation problems
5081  * monitor doesn't allow use of 'localhost' as PGHOST
5082  * psql core dumps when doing \c or \l
5083  * the "pgtclsh" target missing from src/bin/pgtclsh/Makefile
5084  * libpgtcl has a hard-wired default port number
5085  * SELECT DISTINCT INTO TABLE hangs
5086  * CREATE TYPE doesn't accept 'variable' as the internallength
5087  * wrong result using more than 1 aggregate in a SELECT
5088 </programlisting>
5089 </para>
5090 </sect2>
5091 </sect1>
5092
5093 <sect1 id="release-0-01">
5094 <title><productname>Postgres95</productname> Release 0.01</title>
5095
5096    <note>
5097    <title>Release date</title>
5098    <simpara>1995-05-01</simpara>
5099    </note>
5100
5101 <para>
5102 Initial release.
5103 </para>
5104 </sect1>
5105
5106 <![IGNORE[
5107   <sect1 id="timing-results">
5108    <title>Timing Results</title>
5109
5110    <para>
5111     These timing results are from running the regression test with the commands
5112
5113     <programlisting>
5114 % cd src/test/regress
5115 % make all
5116 % time make runtest
5117     </programlisting>
5118    </para>
5119    <para>
5120     Timing under Linux 2.0.27 seems to have a roughly 5% variation from run
5121     to run, presumably due to the scheduling vagaries of multitasking systems.
5122    </para>
5123
5124    <sect2>
5125     <title>Version 6.5</title>
5126
5127     <para>
5128      As has been the case for previous releases, timing between
5129      releases is not directly comparable since new regression tests
5130      have been added. In general, 6.5 is faster than previous
5131      releases.
5132     </para>
5133
5134     <para>
5135      Timing with <function>fsync()</function> disabled:
5136
5137      <programlisting>
5138   Time   System
5139   02:00  Dual Pentium Pro 180, 224MB, UW-SCSI, Linux 2.0.36, gcc 2.7.2.3 -O2 -m486
5140   04:38  Sparc Ultra 1 143MHz, 64MB, Solaris 2.6
5141      </programlisting>
5142     </para>
5143
5144     <para>
5145      Timing with <function>fsync()</function> enabled:
5146
5147      <programlisting>
5148   Time   System
5149   04:21  Dual Pentium Pro 180, 224MB, UW-SCSI, Linux 2.0.36, gcc 2.7.2.3 -O2 -m486
5150      </programlisting>
5151
5152      For the <systemitem class="osname">Linux</systemitem> system above, using <acronym>UW-SCSI</acronym> disks rather than (older) <acronym>IDE</acronym>
5153      disks leads to a 50% improvement in speed on the regression test.
5154     </para>
5155    </sect2>
5156
5157 <sect2>
5158 <title>Version 6.4beta</title>
5159
5160 <para>
5161 The times for this release are not directly comparable to those for previous releases
5162 since some additional regression tests have been included.
5163 In general, however, 6.4 should be slightly faster than the previous release (thanks, Bruce!).
5164 </para>
5165 <para>
5166 <programlisting>
5167   Time   System
5168   02:26  Dual Pentium Pro 180, 96MB, UW-SCSI, Linux 2.0.30, gcc 2.7.2.1 -O2 -m486
5169 </programlisting>
5170 </para>
5171 </sect2>
5172
5173 <sect2>
5174 <title>Version 6.3</title>
5175
5176 <para>
5177 The times for this release are not directly comparable to those for previous releases
5178 since some additional regression tests have been included and some obsolete tests involving
5179 time travel have been removed.
5180 In general, however, 6.3 is substantially faster than previous releases (thanks, Bruce!).
5181 </para>
5182 <para>
5183 <programlisting>
5184   Time   System
5185   02:30  Dual Pentium Pro 180, 96MB, UW-SCSI, Linux 2.0.30, gcc 2.7.2.1 -O2 -m486
5186   04:12  Dual Pentium Pro 180, 96MB, EIDE, Linux 2.0.30, gcc 2.7.2.1 -O2 -m486
5187 </programlisting>
5188 </para>
5189 </sect2>
5190
5191 <sect2>
5192 <title>Version 6.1</title>
5193
5194 <para>
5195 <programlisting>
5196   Time   System
5197   06:12  Pentium Pro 180, 32MB, EIDE, Linux 2.0.30, gcc 2.7.2 -O2 -m486
5198   12:06  P-100, 48MB, Linux 2.0.29, gcc
5199   39:58  Sparc IPC 32MB, Solaris 2.5, gcc 2.7.2.1 -O -g
5200 </programlisting>
5201 </para>
5202 </sect2>
5203 </sect1>
5204 ]]>
5205 </appendix>
5206
5207 <!-- Keep this comment at the end of the file
5208 Local variables:
5209 mode:sgml
5210 sgml-omittag:nil
5211 sgml-shorttag:t
5212 sgml-minimize-attributes:nil
5213 sgml-always-quote-attributes:t
5214 sgml-indent-step:1
5215 sgml-indent-data:t
5216 sgml-parent-document:nil
5217 sgml-default-dtd-file:"./reference.ced"
5218 sgml-exposed-tags:nil
5219 sgml-local-catalogs:("/usr/lib/sgml/catalog")
5220 sgml-local-ecat-files:nil
5221 End:
5222 -->