Re: [HACKERS] Re: Release notes - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] Re: Release notes
Date
Msg-id 199804100240.WAA02900@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] Re: Release notes  ("Thomas G. Lockhart" <lockhart@alumni.caltech.edu>)
List pgsql-hackers
> Well, yes, eventually...
>
> Where I'm hoping to go with this is to have the release notes in sgml,
> so that they become a part of the main docs. They are appropriate for
> that for several reasons:
>
> 1) they document the evolution of capabilities
> 2) they highlight new capabilities
> 3) releases are snapshots which match these notes exactly
> 4) lots of people upgrade from old versions, jumping forward several
> releases.
> 5) at least a few items deserve longer descriptions and explanations in
> the release notes. These could be expanded from the "one-liner" items,
> just like you did for the last release on a few of them.
>
> Anyway, I think it would be a great addition to the "formal docs". Also,
> we should (soon) be able to generate html docs on the fly on
> postgresql.org, so it would be feasible to use this as a working
> document between releases also.

OK, here is HTML generated by txt2html from the actual HISTORY file.
How is it?


---------------------------------------------------------------------------

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META NAME="generator" CONTENT="txt2html v1.24">
</HEAD>
<BODY>
<A NAME="section-1"><H1>PostgreSQL 6.3.2             Tue Apr  7 16:53:16 EDT 1998</H1></A>

<P>
A dump/restore is NOT required for those running 6.3.1.  A
'make distclean', 'make', and 'make install' is all that is required.
This last step should be performed while the postmaster is not running.
You should re-link any custom applications that use PostgreSQL libraries.

<A NAME="section-1.1"><H2>Changes</H2></A>
configure detection improvements for tcl/tk(Brook Milligan, Alvin)
Manual page improvements(Bruce)<BR>
BETWEEN and LIKE fix(Thomas)<BR>
fix for psql \connect used by pg_dump(Oliver Elphick)
Cleanup of postodbc source code indentation
pgaccess, version 0.86<BR>
HAVING clause now supported in SELECT(Stefan)
qsort removed, now uses libc version, cleanups(Jeroen)
fix for buffer over-runs detected(Maurice Gittens)
fix for buffer overrun in libpgtcl(Randy Kunkee)
fix for UNION with DISTINCT or ORDER BY(Bruce)
gettimeofday configure check(Doug Winterburn)
Fix "indexes not used" bug(Vadim)<BR>
docs additions(Thomas)<BR>
Fix for backend memory leak(Bruce)<BR>
libreadline cleanup(Erwan MAS)<BR>
Remove DISTDIR(Bruce)<BR>
Makefile dependency cleanup(Jeroen van Vianen)
ASSERT fixes(Bruce)



<A NAME="section-2"><H1>PostgreSQL 6.3.1             Mon Mar 23 10:21:52 EST 1998</H1></A>

<P>
A dump/restore is NOT required for those running 6.3.  A
'make distclean', 'make', and 'make install' is all that is required.
This last step should be performed while the postmaster is not running.
You should re-link any custom applications that use PostgreSQL libraries.

<A NAME="section-2.1"><H2>Changes</H2></A>
ecpg cleanup/fixes, now version 1.1(Michael Meskes)
pg_user cleanup(Bruce)<BR>
large object fix for pg_dump and tclsh(alvin@camberlo.demon.co.uk)
LIKE fix for multiple adjacent underscores
LIKE/BETWEEN fix for having function call as target(Thomas)
fix for redefining builtin functions(Thomas)
ultrix4 cleanup<BR>
upgrade to pg_access 0.83<BR>
updated CLUSTER manual page<BR>
multi-byte character set support, see doc/README.mb(Tatsuo)
configure --with-pgport fix<BR>
pg_ident fix<BR>
big-endian fix for backend communications(Kataoka)
SUBSTR() and substring() fix(Jan)<BR>
several jdbc fixes(Peter)<BR>
libpgtcl improvements, see libptcl/README(Randy Kunkee)
Fix for "Datasize = 0" error(Vadim)<BR>
Prevent \do from wrapping(Bruce)<BR>
Remove duplicate Russian character set entries
Sunos4 cleanup<BR>
Allow optional TABLE keyword in LOCK and SELECT INTO(Thomas)
CREATE SEQUENCE options to allow a negative integer(Thomas)
Add "PASSWORD" as an allowed column identifier(Thomas)
Add checks for UNION target fields(Bruce)
Fix Alpha port(Dwayne Bailey)<BR>
Fix for text arrays containing quotes(Doug Gibson)
Solaris compile fix(Albert Chin-A-Young)
Better identify tcl and tk libs and includes(Bruce)



<A NAME="section-3"><H1>PostgreSQL 6.3               Sun Mar  1 14:57:30 EST 1998</H1></A>

<P>
A dump/restore is required for those wishing to migrate data from
previous releases of PostgreSQL.

<UL>
  <LI> The migration/6.2.1_to_6.3 file contains a detailed description
  <LI> of the feature changes in this release, and is recommended reading.

</UL>
<A NAME="section-3.1"><H2>Bug Fixes</H2></A>
Fix binary cursors broken by MOVE implementation(Vadim)
Fix for tcl library crash(Jan)<BR>
Fix for array handling, from Gerhard Hintermayer
Fix acl error, and remove duplicate pqtrace(Bruce)
Fix psql \e for empty file(Bruce)<BR>
Fix for textcat on varchar() fields(Bruce)
Fix for DBT Sendproc (Zeugswetter Andres)
Fix vacuum analyze syntax problem(Bruce)
Fix for international identifiers(Tatsuo)
Fix aggregates on inherited tables(Bruce)
Fix substr() for out-of-bounds data<BR>
Fix for select 1=1 or 2=2, select 1=1 and 2=2, and select sum(2+2)(Bruce)
Fix notty output to show status result.  -q option still turns it off(Bruce)
Fix for count(*), aggs with views and multiple tables and sum(3)(Bruce)
Fix cluster(Bruce)<BR>
Fix for PQtrace start/stop several times(Bruce)
Fix a variety of locking problems like newer lock waiters getting
<PRE>
        lock before older waiters, and having readlock people not share
        locks if a writer is waiting for a lock, and waiting writers not
        getting priority over waiting readers(Bruce)
</PRE>
<P>
Fix crashes in psql when executing queries from external files(James)
Fix problem with multiple order by columns, with the first one having
<P>
        NULL values(Jeroen)<BR>
Use correct hash table support functions for float8 and int4(Thomas)
Re-enable JOIN= option in CREATE OPERATOR statement (Thomas)
Change precedence for boolean operators to match expected behavior(Thomas)
Generate elog(ERROR) on over-large integer(Bruce)
Allow multiple-argument functions in constraint clauses(Thomas)
Check boolean input literals for 'true','false','yes','no','1','0'
<P>
        and throw elog(ERROR) if unrecognized(Thomas)
Major large objects fix<BR>
Fix for GROUP BY showing duplicates(Vadim)
Fix for index scans in MergeJion(Vadim)

<A NAME="section-3.2"><H2>Enhancements</H2></A>
Subselects with EXISTS, IN, ALL, ANY keywords (Vadim, Bruce, Thomas)
New User Manual(Thomas, others)<BR>
Speedup by inlining some frequently-called functions
Real deadlock detection, no more timeouts(Bruce)
Add SQL92 "constants" CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP,
<P>
        CURRENT_USER(Thomas)<BR>
Modify constraint syntax to be SQL92-compliant(Thomas)
Implement SQL92 PRIMARY KEY and UNIQUE clauses using indices(Thomas)
Recognize SQL92 syntax for FOREIGN KEY. Throw elog notice(Thomas)
Allow NOT NULL UNIQUE constraint clause (each allowed separately before)(Thomas)
Allow Postgres-style casting ("::") of non-constants(Thomas)
Add support for SQL3 TRUE and FALSE boolean constants(Thomas)
Support SQL92 syntax for IS TRUE/IS FALSE/IS NOT TRUE/IS NOT FALSE(Thomas)
Allow shorter strings for boolean literals (e.g. "t", "tr", "tru")(Thomas)
Allow SQL92 delimited identifiers(Thomas)
Implement SQL92 binary and hexadecimal string decoding (b'10' and x'1F')(Thomas)
Support SQL92 syntax for type coercion of literal strings
<P>
        (e.g. "DATETIME 'now'")(Thomas)
Add conversions for int2, int4, and OID types to and from text(Thomas)
Use shared lock when building indices(Vadim)
Free memory allocated for an user query inside transaction block after
<P>
        this query is done, was turned off in <= 6.2.1(Vadim)
New SQL statement CREATE PROCEDURAL LANGUAGE(Jan)
New PostgreSQL Procedural Language (PL) backend interface(Jan)
Rename pg_dump -H option to -h(Bruce)<BR>
Add Java support for passwords, European dates(Peter)
Use indices for LIKE and ~, !~ operations(Bruce)
Add hash functions for datetime and timespan(Thomas)
Time Travel removed(Vadim, Bruce)<BR>
Add paging for \d and \z, and fix \i(Bruce)
Add Unix domain socket support to backend and to frontend library(Goran)
Implement CREATE DATABASE/WITH LOCATION and initlocation utility(Thomas)
Allow more SQL92 and/or Postgres reserved words as column identifiers(Thomas)
Augment support for SQL92 SET TIME ZONE...(Thomas)
SET/SHOW/RESET TIME ZONE uses TZ backend environment variable(Thomas)
Implement SET keyword = DEFAULT and SET TIME ZONE DEFAULT(Thomas)
Enable SET TIME ZONE using TZ environment variable(Thomas)
Add PGDATESTYLE environment variable to frontend and backend initialization(Thomas)
Add PGTZ, PGCOSTHEAP, PGCOSTINDEX, PGRPLANS, PGGEQO
<P>
        frontend library initialization environment variables(Thomas)
Regression tests time zone automatically set with "setenv PGTZ PST8PDT"(Thomas)
Add pg_description table for info on tables, columns, operators, types, and
<P>
        aggregates(Bruce)<BR>
Increase 16 char limit on system table/index names to 32 characters(Bruce)
Rename system indices(Bruce)<BR>
Add 'GERMAN' option to SET DATESTYLE(Thomas)
Define an "ISO-style" timespan output format with "hh:mm:ss" fields(Thomas)
Allow fractional values for delta times (e.g. '2.5 days')(Thomas)
Validate numeric input more carefully for delta times(Thomas)
Implement day of year as possible input to date_part()(Thomas)
Define timespan_finite() and text_timespan() functions(Thomas)
Remove archive stuff(Bruce)<BR>
Allow for a pg_password authentication database that is separate from
<P>
        the system password file(Todd)<BR>
Dump ACLs, GRANT, REVOKE permissions(Matt)
Define text, varchar, and bpchar string length functions(Thomas)
Fix Query handling for inheritance, and cost computations(Bruce)
Implement CREATE TABLE/AS SELECT (alternative to SELECT/INTO)(Thomas)
Allow NOT, IS NULL, IS NOT NULL in constraints(Thomas)
Implement UNIONs for SELECT(Bruce)<BR>
Add UNION, GROUP, DISTINCT to INSERT(Bruce)
varchar() stores only necessary bytes on disk(Bruce)
Fix for BLOBs(Peter)<BR>
Mega-Patch for JDBC...see README_6.3 for list of changes(Peter)
Remove unused "option" from PQconnectdb()
New LOCK command and lock manual page describing deadlocks(Bruce)
Add new psql \da, \dd, \df, \do, \dS, and \dT commands(Bruce)
Enhance psql \z to show sequences(Bruce)
Show NOT NULL and DEFAULT in psql \d table(Bruce)
New psql .psqlrc file startup(Andrew)<BR>
Modify sample startup script in contrib/linux to show syslog(Thomas)
New types for IP and MAC addresses in contrib/ip_and_mac(TomH)
Unix system time conversions with date/time types in contrib/unixdate(Thomas)
Update of contrib stuff(Massimo)<BR>
Add Unix socket support to DBD::Pg(Goran)
New python interface (PyGreSQL 2.0)(D'Arcy)
New frontend/backend protocol has a version number, network byte order(Phil)
Security features in pg_hba.conf enhanced and documented, many cleanups(Phil)
CHAR() now faster access than VARCHAR() or TEXT
ecpg embedded SQL preprocessor<BR>
Reduce system column overhead(Vadmin)<BR>
Remove pg_time table(Vadim)<BR>
Add pg_type attribute to identify types that need length (bpchar, varchar)
Add report of offending line when COPY command fails
Allow VIEW permissions to be set separately from the underlying tables.
<P>
        For security, use GRANT/REVOKE on views as appropriate(Jan)
Tables now have no default GRANT SELECT TO PUBLIC.  You must
<P>
        explicitly grant such permissions.
Clean up tutorial examples(Darren)

<A NAME="section-3.3"><H2>Source Tree Changes</H2></A>
Add new html development tools, and flow chart in /tools/backend
Fix for SCO compiles<BR>
Stratus computer port "Gillies, Robert" <GilliesR@Nichols.com>
Added support for shlib for BSD44_derived & i386_solaris
Make configure more automated(Brook)<BR>
Add script to check regression test results
Break parser functions into smaller files, group together(Bruce)
Rename heap_create to heap_create_and_catalog, rename heap_creatr
<P>
        to heap_create()(Bruce)<BR>
Sparc/Linux patch for locking(TomS)<BR>
Remove PORTNAME and reorganize port-specific stuff(Marc)
Add optimizer README file(Bruce)<BR>
Remove some recursion in optimizer and clean up some code there(Bruce)
Fix for NetBSD locking(Henry)<BR>
Fix for libptcl make(Tatsuo)<BR>
AIX patch(Darren)<BR>
Change IS TRUE, IS FALSE, ... to expressions using "=" rather than
<P>
        function calls to istrue() or isfalse() to allow optimization(Thomas)
Various fixes NetBSD/Sparc related(TomH)
Alpha linux locking(Travis,Ryan)<BR>
Change elog(WARN) to elog(ERROR)(Bruce)
FAQ for FreeBSD(Marc)<BR>
Bring in the PostODBC source tree as part of our standard distribution(Marc)
A minor patch for HP/UX 10 vs 9(Stan)<BR>
New pg_attribute.atttypmod for type-specific info like varchar length(Bruce)
Unixware patches(Billy)<BR>
New i386 'lock' for spin lock asm(Billy)
Support for multiplexed backends is removed
Start an OpenBSD port<BR>
Start an AUX port<BR>
Start a Cygnus port<BR>
Add string functions to regression suite(Thomas)
Expand a few function names formerly truncated to 16 characters(Thomas)
Remove un-needed malloc() calls and replace with palloc()(Bruce)



<P>
PostgreSQL 6.2.1                 Fri Oct 17 00:01:27 EDT 1997
<HR>

<P>
This release does NOT require a dump/restore for those running 6.2, but
there is an SQL query in /migration/6.2_to_6.2.1 that should be run. See
that file for more information.

<A NAME="section-3.4"><H2>Changes in this release</H2></A>
Allow TIME and TYPE column names(Thomas)
Allow larger range of true/false as boolean values(Thomas)
Support output of "now" and "current"(Thomas)
Handle DEFAULT with INSERT of NULL properly(Vadim)
Fix for relation reference counts problem in buffer manager(Vadim)
Allow strings to span lines, like ANSI(Thomas)
Fix for backward cursor with ORDER BY(Vadim)
Fix avg(cash) computation(Thomas)<BR>
Fix for specifying a column twice in ORDER/GROUP BY(Vadim)
Documented new libpq function to return affected rows, PQcmdTuples(Bruce)
Trigger function for inserting user names for INSERT/UPDATE(Brook Milligan)



<A NAME="section-4"><H1>PostgreSQL 6.2               Thu Oct 02 12:53:46 EDT 1997</H1></A>

<P>
A dump/restore is required for those wishing to migrate data from
previous releases of PostgreSQL.

<A NAME="section-4.1"><H2>Bug Fixes</H2></A>
Fix problems with pg_dump for inheritance, sequences, archive tables(Bruce)
Fix compile errors on overflow due to shifts, unsigned, and bad prototypes
<P>
         from Solaris(Diab Jerius)<BR>
Fix bugs in geometric line arithmetic (bad intersection calculations)(Thomas)
Check for geometric intersections at endpoints to avoid rounding ugliness(Thomas)
Catch non-functional delete attempts(Vadim)
Change time function names to be more consistent(Michael Reifenberg)
Check for zero divides(Michael Reifenberg)
Fix very old bug which made tuples changed/inserted by a commnd
<PRE>
        visible to the command itself (so we had multiple update of
        updated tuples, etc)(Vadim)
</PRE>
<P>
Fix for SELECT null, 'fail' FROM pg_am (Patrick)
SELECT NULL as EMPTY_FIELD now allowed(Patrick)
Remove un-needed signal stuff from contrib/pginterface
Fix OR (where x <> 1 or x isnull didn't return tuples with x NULL) (Vadim)
Fix time_cmp function (Vadim)<BR>
Fix handling of functions with non-attribute first argument in
<P>
        WHERE clauses (Vadim)<BR>
Fix GROUP BY when order of entries is different from order
<P>
        in target list (Vadim)<BR>
Fix pg_dump for aggregates without sfunc1 (Vadim)

<A NAME="section-4.2"><H2>Enhancements</H2></A>
Default genetic optimizer GEQO parameter is now 8(Bruce)
Allow use parameters in target list having aggregates in functions(Vadim)
Added JDBC driver as an interface(Adrian & Peter)
pg_password utility<BR>
Return number of tuples inserted/affected by INSERT/UPDATE/DELETE etc.(Vadim)
Triggers implemented with CREATE TRIGGER (SQL3)(Vadim)
SPI (Server Programming Interface) allows execution of queries inside
<P>
        C-functions (Vadim)<BR>
NOT NULL implemented (SQL92)(Robson Paniago de Miranda)
Include reserved words for string handling, outer joins, and unions(Thomas)
Implement extended comments ("/* ... */") using exclusive states(Thomas)
Add "//" single-line comments(Bruce)<BR>
Remove some restrictions on characters in operator names(Thomas)
DEFAULT and CONSTRAINT for tables implemented (SQL92)(Vadim & Thomas)
Add text concatenation operator and function (SQL92)(Thomas)
Support WITH TIME ZONE syntax (SQL92)(Thomas)
Support INTERVAL <unit> TO <unit> syntax (SQL92)(Thomas)
Define types DOUBLE PRECISION, INTERVAL, CHARACTER,
<P>
        and CHARACTER VARYING (SQL92)(Thomas)
Define type FLOAT(p) and rudimentary DECIMAL(p,s), NUMERIC(p,s) (SQL92)(Thomas)
Define EXTRACT(), POSITION(), SUBSTRING(), and TRIM() (SQL92)(Thomas)
Define CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP (SQL92)(Thomas)
Add syntax and warnings for UNION, HAVING, INNER and OUTER JOIN (SQL92)(Thomas)
Add more reserved words, mostly for SQL92 compliance(Thomas)
Allow hh:mm:ss time entry for timespan/reltime types(Thomas)
Add center() routines for lseg, path, polygon(Thomas)
Add distance() routines for circle-polygon, polygon-polygon(Thomas)
Check explicitly for points and polygons contained within polygons
<P>
        using an axis-crossing algorithm(Thomas)
Add routine to convert circle-box(Thomas)
Merge conflicting operators for different geometric data types(Thomas)
Replace distance operator "<===>" with "<->"(Thomas)
Replace "above" operator "!^" with ">^" and "below" operator "!|" with "<^"(Thomas)
Add routines for text trimming on both ends, substring, and string position(Thomas)
Added conversion routines circle(box) and poly(circle)(Thomas)
Allow internal sorts to be stored in memory rather than in files(Bruce & Vadim)
Allow functions and operators on internally-identical types to succeed(Bruce)
Speed up backend startup after profiling analysis(Bruce)
Inline frequently called functions for performance(Bruce)
Reduce open() calls(Bruce)<BR>
psql:  Add PAGER for \h and \?,\C fix<BR>
Fix for psql pager when no tty(Bruce)<BR>
New entab utility(Bruce)<BR>
General trigger functions for referential integrity (Vadim)
General trigger functions for time travel (Vadim)
General trigger functions for AUTOINCREMENT/IDENTITY feature (Vadim)
MOVE implementation (Vadim)

<A NAME="section-4.3"><H2>Source Tree Changes</H2></A>
HPUX 10 patches (Vladimir Turin)<BR>
Added SCO support, (Daniel Harris)<BR>
mkLinux patches (Tatsuo Ishii)<BR>
Change geometric box terminology from "length" to "width"(Thomas)
Deprecate temporary unstored slope fields in geometric code(Thomas)
Remove restart instructions from INSTALL(Bruce)
Look in /usr/ucb first for install(Bruce)
Fix c++ copy example code(Thomas)<BR>
Add -o to psql manual page(Bruce)<BR>
Prevent relname unallocated string length from being copied into database(Bruce)
Cleanup for NAMEDATALEN use(Bruce)<BR>
Fix pg_proc names over 15 chars in output(Bruce)
Add strNcpy() function(Bruce)<BR>
remove some (void) casts that are unnecessary(Bruce)
new interfaces directory(Marc)<BR>
Replace fopen() calls with calls to fd.c functions(Bruce)
Make functions static where possible(Bruce)
enclose unused functions in #ifdef NOT_USED(Bruce)
Remove call to difftime() in timestamp support to fix SunOS(Bruce & Thomas)
Changes for Digital Unix<BR>
Portability fix for pg_dumpall(Bruce)<BR>
Rename pg_attribute.attnvals to attdisbursion(Bruce)
"intro/unix" manual page now "pgintro"(Bruce)
"built-in" manual page now "pgbuiltin"(Bruce)
"drop" manual page now "drop_table"(Bruce)
Add "create_trigger", "drop_trigger" manual pages(Thomas)
Add constraints regression test(Vadim & Thomas)
Add comments syntax regression test(Thomas)
Add PGINDENT and support program(Bruce)
Massive commit to run PGINDENT on all *.c and *.h files(Bruce)
Files moved to /src/tools directory(Bruce)
SPI and Trigger programming guides (Vadim & D'Arcy)



<A NAME="section-5"><H1>PostgreSQL 6.1.1             Mon Jul 22 18:04:49 EDT 1997</H1></A>

<P>
This release does NOT require a dump/restore for those running 6.1.

<A NAME="section-5.1"><H2>Changes in this release</H2></A>
fix for SET with options (Thomas)<BR>
allow pg_dump/pg_dumpall to preserve ownership of all tables/objects(Bruce)
new psql \connect option allows changing usernames without chaning databases
fix for initdb --debug option(Yoshihiko Ichikawa))
lextest cleanup(Bruce)<BR>
hash fixes(Vadim)<BR>
fix date/time month boundary arithmetic(Thomas)
fix timezone daylight handling for some ports(Thomas, Bruce, Tatsuo)
timestamp overhauled to use standard functions(Thomas)
other code cleanup in date/time routines(Thomas)
psql's \d now case-insensitive(Bruce)<BR>
psql's backslash commands can now have trailing semicolon(Bruce)
fix memory leak in psql when using \g(Bruce)
major fix for endian handling of communication to server(Thomas, Tatsuo)
Fix for Solaris assembler and include files(Yoshihiko Ichikawa)
allow underscores in usernames(Bruce)<BR>
pg_dumpall now returns proper status, portability fix(Bruce)



<A NAME="section-6"><H1>PostgreSQL 6.1               Sun Jun  8 14:41:13 EDT 1997</H1></A>

<P>
A dump/restore is required for those wishing to migrate data from
previous releases of PostgreSQL.

<A NAME="section-6.1"><H2>Bug Fixes</H2></A>
packet length checking in library routines
lock manager priority patch<BR>
check for under/over flow of float8(Bruce)
multi-table join fix(Vadim)<BR>
SIGPIPE crash fix(Darren)<BR>
large object fixes(Sven)<BR>
allow btree indexes to handle NULLs(Vadim)
timezone fixes(D'Arcy)<BR>
select SUM(x) can return NULL on no rows(Thomas)
internal optimizer, executor bug fixes(Vadim)
fix problem where inner loop in < or <= has no rows(Vadim)
prevent re-commuting join index clauses(Vadim)
fix join clauses for multiple tables(Vadim)
fix hash, hashjoin for arrays(Vadim)<BR>
fix btree for abstime type(Vadim)<BR>
large object fixes(Raymond)<BR>
fix buffer leak in hash indices (Vadim)
fix rtree for use in inner scan (Vadim)
fix gist for use in inner scan, cleanups (Vadim, Andrea)
avoid unnecessary local buffers allocation (Vadim, Massimo)
fix local buffers leak in transaction aborts (Vadim)
fix file manager memmory leaks, cleanups (Vadim, Massimo)
fix storage manager memmory leaks (Vadim)
fix btree duplicates handling (Vadim)<BR>
fix deleted tuples re-incarnation caused by vacuum (Vadim)
fix SELECT varchar()/char() INTO TABLE made zero-length fields(Bruce)
many psql, pg_dump, and libpq memory leaks fixed using Purify (Igor)

<A NAME="section-6.2"><H2>Enhancements</H2></A>
attribute optimization statistics(Bruce)
much faster new btree bulk load code(Paul)
BTREE UNIQUE added to bulk load code(Vadim)
new lock debug code(Massimo)<BR>
massive changes to libpg++(Leo)<BR>
new GEQO optimizer speeds table multi-table optimization(Martin)
new WARN message for non-unique insert into unique key(Marc)
update x=-3, no spaces, now valid(Bruce)
remove case-sensitive identifier handling(Bruce,Thomas,Dan)
debug backend now pretty-prints tree(Darren)
new Oracle character functions(Edmund)<BR>
new plaintext password functions(Dan)<BR>
no such class or insufficient privilege changed to distinct messages(Dan)
new ANSI timestamp function(Dan)<BR>
new ANSI Time and Date types (Thomas)<BR>
move large chunks of data in backend(Martin)
multi-column btree indexes(Vadim)<BR>
new SET var TO value command(Martin)<BR>
update transaction status on reads(Dan)
new locale settings for character types(Oleg)
new SEQUENCE serial number generator(Vadim)
GROUP BY function now possible(Vadim)<BR>
re-organize regression test(Thomas,Marc)
new optimizer operation weights(Vadim)<BR>
new psql \z grant/permit option(Marc)<BR>
new MONEY data type(D'Arcy,Thomas)<BR>
tcp socket communication speed improved(Vadim)
new VACUUM option for attribute statistics, and for certain columns (Vadim)
many geometric type improvements(Thomas,Keith)
additional regression tests(Thomas)<BR>
new datestyle variable(Thomas,Vadim,Martin)
more comparison operators for sorting types(Thomas)
new conversion functions(Thomas)<BR>
new more compact btree format(Vadim)<BR>
allow pg_dumpall to preserve database ownership(Bruce)
new SET GEQO=# and R_PLANS variable(Vadim)
old (!GEQO) optimizer can use right-sided plans (Vadim)
typechecking improvement in SQL parser(Bruce)
new SET, SHOW, RESET commands(Thomas,Vadim)
new \connect database USER option<BR>
new destroydb -i option (Igor)<BR>
new \dt and \di psql commands (Darren)<BR>
SELECT "\n" now escapes newline (A. Duursma)
new geometry conversion functions from old format (Thomas)

<A NAME="section-6.3"><H2>Source tree changes</H2></A>
new configuration script(Marc)<BR>
readline configuration option added(Marc)
OS-specific configuration options removed(Marc)
new OS-specific template files(Marc)<BR>
no more need to edit Makefile.global(Marc)
re-arrange include files(Marc)<BR>
nextstep patches (Gregor Hoffleit)<BR>
removed WIN32-specific code(Bruce)<BR>
removed postmaster -e option, now only postgres -e option (Bruce)
merge duplicate library code in front/backends(Martin)
now works with eBones, international Kerberos(Jun)
more shared library support<BR>
c++ include file cleanup(Bruce)<BR>
warn about buggy flex(Bruce)<BR>
DG-UX, Ultrix, Irix, AIX portability fixes



<A NAME="section-7"><H1>PostgreSQL 6.0               Wed Jan 29 00:19:54 EST 1997</H1></A>

<P>
A dump/restore is required for those wishing to migrate data from
previous releases of PostgreSQL.

<A NAME="section-7.1"><H2>Bug Fixes</H2></A>
ALTER TABLE bug - running postgress process needs to re-read table definition
Allow vacuum to be run on one table or entire database(Bruce)
Array fixes<BR>
Fix array over-runs of memory writes(Kurt)
Fix elusive btree range/non-range bug(Dan)
Fix for hash indexes on some types like time and date
Fix for pg_log size explosion<BR>
Fix permissions on lo_export()(Bruce)<BR>
Fix unitialized reads of memory(Kurt)<BR>
Fixed ALTER TABLE ... char(3) bug(Bruce)
Fixed a few small memory leaks<BR>
Fixed EXPLAIN handling of options and changed full_path option name
Fixed output of group acl permissions<BR>
Memory leaks (hunt and destroy with tools like Purify(Kurt)
Minor improvements to rules system<BR>
NOTIFY fixes<BR>
New asserts for run-checking<BR>
Overhauled parser/analyze code to properly report errors and increase speed
Pg_dump -d now handles NULL's properly(Bruce)
Prevent SELECT NULL from crashing server (Bruce)
Properly report errors when INSERT ... SELECT columns did not match
Properly report errors when insert column names were not correct
Psql \g filename now works(Bruce)<BR>
Psql fixed problem with multiple statements on one line with multiple outputs
Removed duplicate system oid's<BR>
SELECT * INTO TABLE . GROUP/ORDER BY gives unlink error if table exists(Bruce)
Several fixes for queries that crashed the backend
Starting quote in insert string errors(Bruce)
Submiting an empty query now returns empty status, not just " " query(Bruce)

<A NAME="section-7.2"><H2>Enhancements</H2></A>
Add EXPLAIN manual page(Bruce)<BR>
Add UNIQUE index capability(Dan)<BR>
Add hostname/user level access control rather than just hostname and user
Add synonym of != for <>(Bruce)<BR>
Allow "select oid,* from table"<BR>
Allow BY,ORDER BY to specify columns by number, or by non-alias table.column(Bruce)
Allow COPY from the frontend(Bryan)<BR>
Allow GROUP BY to use alias column name(Bruce)
Allow actual compression, not just reuse on the same page(Vadim)
Allow installation-configuration option to auto-add all local users(Bryan)
Allow libpq to distinguish between text value '' and null(Bruce)
Allow non-postgres users with createdb privs to destroydb's
Allow restriction on who can create C functions(Bryan)
Allow restriction on who can do backend COPY(Bryan)
Can shrink tables, pg_time and pg_log(Vadim & Erich)
Change debug level 2 to print queries only, changed debug heading layout(Bruce)
Change default decimal constant representation from float4 to float8(Bruce)
European date format now set when postmaster is started
Execute lowercase function names if not found with exact case
Fixes for aggregate/GROUP processing, allow 'select sum(func(x),sum(x+y) from z'
Gist now included in the distrubution(Marc)
Idend authentication of local users(Bryan)
Implement BETWEEN qualifier(Bruce)<BR>
Implement IN qualifier(Bruce)<BR>
Libpq has PQgetisnull()(Bruce)<BR>
Libpq++ improvements<BR>
New options to initdb(Bryan)<BR>
Pg_dump allow dump of oid's(Bruce)<BR>
Pg_dump create indexes after tables are loaded for speed(Bruce)
Pg_dumpall dumps all databases, and the user table
Pginterface additions for NULL values(Bruce)
Prevent postmaster from being run as root
Psql \h and \? is now readable(Bruce)<BR>
Psql allow backslashed, semicolons anywhere on the line(Bruce)
Psql changed command prompt for lines in query or in quotes(Bruce)
Psql char(3) now displays as (bp)char in \d output(Bruce)
Psql return code now more accurate(Bryan?)
Psql updated help syntax(Bruce)<BR>
Re-visit and fix vacuum(Vadim)<BR>
Reduce size of regression diffs, remove timezone name difference(Bruce)
Remove compile-time parameters to enable binary distributions(Bryan)
Reverse meaning of HBA masks(Bryan)<BR>
Secure Authentication of local users(Bryan)
Speed up vacuum(Vadim)<BR>
Vacuum now had VERBOSE option(Bruce)

<A NAME="section-7.3"><H2>Source tree changes</H2></A>
All functions now have prototypes that are compared against the calls
Allow asserts to be disabled easly from Makefile.global(Bruce)
Change oid constants used in code to #define names
Decoupled sparc and solaris defines(Kurt)
Gcc -Wall compiles cleanly with warnings only from unfixable constructs
Major include file reorganization/reduction(Marc)
Make now stops on compile failure(Bryan)
Makefile restructuring(Bryan, Marc)<BR>
Merge bsdi_2_1 to bsdi(Bruce)<BR>
Monitor program removed<BR>
Name change from Postgres95 to PostgreSQL
New config.h file(Marc, Bryan)<BR>
PG_VERSION now set to 6.0 and used by postmaster
Portability additions, including Ultrix, DG/UX, AIX, and Solaris
Reduced the number of #define's, centeralized #define's
Remove duplicate OIDS in system tables(Dan)
Remove duplicate system catalog info or report mismatches(Dan)
Removed many os-specific #define's<BR>
Restructured object file generation/location(Bryan, Marc)
Restructured port-specific file locations(Bryan, Marc)
Unused/uninialized variables corrected



<P>
PostgreSQL 1.09                 ???
<HR>

<P>
Sorry, we stopped keeping track of changes from 1.02 to 1.09.  Some of
the changes listed in 6.0 were actually included in the 1.02.1 to 1.09
releases.



<A NAME="section-8"><H1>Postgres95 1.02              Thu Aug  1 18:00:00 EDT 1996</H1></A>

<P>
Source code maintainenance and development
<UL>
  <LI> worldwide team of volunteers
  <LI> the source tree now in CVS at ftp.ki.net
  <LI> developers mailing list - pg95-dev@ki.net

</UL>
<P>
Enhancements
<UL>
  <LI> psql (and underlying libpq library) now has many more options for
   formatting output, including HTML
  <LI> pg_dump now output the schema and/or the data, with many fixes to
   enhance completeness.
  <LI> psql used in place of monitor in administration shell scripts.
   monitor to be depreciated in next release.
  <LI> date/time functions enhanced
  <LI> NULL insert/update/comparison fixed/enhanced
  <LI> TCL/TK lib and shell fixed to work with both tck7.4/tk4.0 and tcl7.5/tk4.1

</UL>
<P>
Bug Fixes (almost too numerous to mention)
<UL>
  <LI> indexes
  <LI> storage management
  <LI> check for NULL pointer before dereferencing
  <LI> Makefile fixes

</UL>
<P>
New Ports
<UL>
  <LI> added SolarisX86 port
  <LI> added BSDI 2.1 port
  <LI> added DGUX port

</UL>
<P>
Contributors (appologies to any missed)
<UL>
  <LI> Kurt J. Lidl <lidl@va.pubnix.com>
<P>
        (missed in first run, but no less important)
  <LI> Erich Stamberger <eberger@gewi.kfunigraz.ac.at>
  <LI> Jason Wright <jason@shiloh.vnet.net>
  <LI> Cees de Groot <C.deGroot@inter.NL.net>
  <LI> ernst.molitor@uni-bonn.de
  <LI> michael.siebenborn@ae3.Hypo.DE (Michael Siebenborn (6929))
  <LI> Brian E. Gallew <geek+@cmu.edu>
  <LI> Vadim B. Mikheev <vadim@sable.krasnoyarsk.su>
  <LI> Adam Sussman <myddryn@vidya.com>
  <LI> Chris Dunlop <chris@onthe.net.au>
  <LI> Marc G. Fournier <scrappy@ki.net>
  <LI> Dan McGuirk <mcguirk@indirect.com>
  <LI> Dr_George_D_Detlefsen <drgeorge@ilt.com>
  <LI> Erich Stamberger <eberger@gewi.kfunigraz.ac.at>
  <LI> Massimo Dal Zotto <dz@cs.unitn.it>
  <LI> Randy Kunkee <kunkee@Starbase.NeoSoft.COM>
  <LI> Rick Weldon <rick@wisetech.com>
  <LI> Thomas van Reimersdahl <reimersd@dali.techinfo.rwth-aachen.de>
  <LI> david bennett <dave@bensoft.com>
  <LI> ernst.molitor@uni-bonn.de
  <LI> Julian Assange <proff@suburbia.net>
  <LI> Bruce Momjian <maillist@candle.pha.pa.us>
  <LI> Paul "Shag" Walmsley <ccshag@cclabs.missouri.edu>
  <LI> "Alistair G. Crooks" <azcb0@sde.uts.amdahl.com>



</UL>
<A NAME="section-9"><H1>Postgres95 1.01              Fri Feb 23 18:20:36 PST 1996</H1></A>
Incompatibilities:
<UL>
  <LI> 1.01 is backwards compatible with 1.0 database provided the user
   follow the steps outlined in the MIGRATION_from_1.0_to_1.01 file.
   If those steps are not taken, 1.01 is not compatible with 1.0 database.

</UL>
<P>
Enhancements:
<UL>
  <LI> added PQdisplayTuples() to libpq and changed monitor and psql to use it
  <LI> added NeXT port (requires SysVIPC implementation)
  <LI> added CAST .. AS ... syntax
  <LI> added ASC and DESC keywords
  <LI> added 'internal' as a possible language for CREATE FUNCTION
   internal functions are C functions which have been statically linked
   into the postgres backend.
  <LI> a new type "name" has been added for system identifiers (table names,
   attribute names, etc.)  This replaces the old char16 type.   The
   of name is set by the NAMEDATALEN #define in src/Makefile.global
  <LI> a readable reference manual that describes the query language.
  <LI> added host-based access control.  A configuration file ($PGDATA/pg_hba)
   is used to hold the configuration data.  If host-based access control
   is not desired, comment out HBA=1 in src/Makefile.global.
  <LI> changed regex handling to be uniform use of Henry Spencer's regex code
   regardless of platform.  The regex code is included in the distribution
  <LI> added functions and operators for case-insensitive regular expressions.
   The operators are ~* and !~*.
  <LI> pg_dump uses COPY instead of SELECT loop for better performance

</UL>
<P>
Bug fixes:
<UL>
  <LI> fixed an optimizer bug that was causing core dumps when
   functions calls were used in comparisons in the WHERE clause
  <LI> changed all uses of getuid to geteuid so that effective uids are used
  <LI> psql now returns non-zero status on errors when using -c
  <LI> applied public patches 1-14



</UL>
<A NAME="section-10"><H1>Postgres95 1.0               Tue Sep  5 11:24:11 PDT 1995</H1></A>

<P>
Copyright change:
<UL>
  <LI> The copyright of Postgres 1.0 has been loosened to be freely modifiable
   and modifiable for any purpose.  Please read the COPYRIGHT file.
   Thanks to Professor Michael Stonebraker for making this possible.

</UL>
<P>
Incompatibilities:
<UL>
  <LI> date formats have to be MM-DD-YYYY (or DD-MM-YYYY if you're using
   EUROPEAN STYLE).  This follows SQL-92 specs.
  <LI> "delimiters" is now a keyword

</UL>
<P>
Enhancements:
<UL>
  <LI> sql LIKE syntax has been added
  <LI> copy command now takes an optional USING DELIMITER specification.
   delimiters can be any single-character string.
  <LI> IRIX 5.3 port has been added.
   Thanks to Paul Walmsley (ccshag@everest.cclabs.missouri.edu) and others.
  <LI> updated pg_dump to work with new libpq
  <LI> \d has been added psql
   Thanks to Keith Parks (emkxp01@mtcc.demon.co.uk)
  <LI> regexp performance for architectures that use POSIX regex has been
   improved due to caching of precompiled patterns.
   Thanks to Alistair Crooks (agc@uts.amdahl.com)
  <LI> a new version of libpq++
   Thanks to William Wanders (wwanders@sci.kun.nl)

</UL>
<P>
Bug fixes:
<UL>
  <LI> arbitrary userids can be specified in the createuser script
  <LI> \c to connect to other databases in psql now works.
  <LI> bad pg_proc entry for float4inc() is fixed
  <LI> users with usecreatedb field set can now create databases without
   having to be usesuper
  <LI> remove access control entries when the entry no longer has any
   permissions
  <LI> fixed non-portable datetimes implementation
  <LI> added kerberos flags to the src/backend/Makefile
  <LI> libpq now works with kerberos
  <LI> typographic errors in the user manual have been corrected.
  <LI> btrees with multiple index never worked, now we tell you they don't
   work when you try to use them



</UL>
<A NAME="section-11"><H1>Postgres95 Beta 0.03         Fri Jul 21 14:49:31 PDT 1995</H1></A>
Incompatible changes:
<UL>
  <LI> BETA-0.3 IS INCOMPATIBLE WITH DATABASES CREATED WITH PREVIOUS VERSIONS
   (due to system catalog changes and indexing structure changes).
  <LI> double-quote (") is deprecated as a quoting character for string literals;
   you need to convert them to single quotes (').
  <LI> name of aggregates (eg. int4sum) are renamed in accordance with the
   SQL standard (eg. sum).
  <LI> CHANGE ACL syntax is replaced by GRANT/REVOKE syntax.
  <LI> float literals (eg. 3.14) are now of type float4 (instead of float8 in
   previous releases); you might have to do typecasting if you depend on it
   being of type float8.  If you neglect to do the typecasting and you assign
   a float literal to a field of type float8, you may get incorrect values
   stored!
  <LI> LIBPQ has been totally revamped so that frontend applications
   can connect to multiple backends
  <LI> the usesysid field in pg_user has been changed from int2 to int4 to
   allow wider range of Unix user ids.
  <LI> the netbsd/freebsd/bsd o/s ports have been consolidated into a
   single BSD44_derived port.  (thanks to Alistair Crooks)

</UL>
<P>
SQL standard-compliance (the following details changes that makes postgres95
more compliant to the SQL-92 standard):
<UL>
  <LI> the following SQL types are now built-in: smallint, int(eger), float, real,
   char(N), varchar(N), date and time.

</UL>
<P>
   The following are aliases to existing postgres types:
<PRE>
                smallint -> int2
                integer, int -> int4
                float, real  -> float4
</PRE>
<P>
   char(N) and varchar(N) are implemented as truncated text types. In
   addition, char(N) does blank-padding.
<UL>
  <LI> single-quote (') is used for quoting string literals; '' (in addition to
   \') is supported as means of inserting a single quote in a string
  <LI> SQL standard aggregate names (MAX, MIN, AVG, SUM, COUNT) are used
   (Also, aggregates can now be overloaded, i.e. you can define your
   own MAX aggregate to take in a user-defined type.)
  <LI> CHANGE ACL removed. GRANT/REVOKE syntax added.
  <UL>
    <LI> Privileges can be given to a group using the "GROUP" keyword.
<P>
        For example:
<P>
                GRANT SELECT ON foobar TO GROUP my_group;
        The keyword 'PUBLIC' is also supported to mean all users.

  </UL>
</UL>
<PRE>
        Privileges can only be granted or revoked to one user or group
        at a time.

        "WITH GRANT OPTION" is not supported.  Only class owners can change
        access control
   - The default access control is to to grant users readonly access.
     You must explicitly grant insert/update access to users.  To change
     this, modify the line in
                src/backend/utils/acl.h
     that defines ACL_WORLD_DEFAULT
</PRE>

<P>
Bug fixes:
<UL>
  <LI> the bug where aggregates of empty tables were not run has been fixed. Now,
   aggregates run on empty tables will return the initial conditions of the
   aggregates. Thus, COUNT of an empty  table will now properly return 0.
   MAX/MIN of an empty table will return a tuple of value NULL.
  <LI> allow the use of \; inside the monitor
  <LI> the LISTEN/NOTIFY asynchronous notification mechanism now work
  <LI> NOTIFY in rule action bodies now work
  <LI> hash indices work, and access methods in general should perform better.
   creation of large btree indices should be much faster.  (thanks to Paul
   Aoki)

</UL>
<P>
Other changes and enhancements:
<UL>
  <LI> addition of an EXPLAIN statement used for explaining the query execution
   plan (eg. "EXPLAIN SELECT * FROM EMP" prints out the execution plan for
   the query).
  <LI> WARN and NOTICE messages no longer have timestamps on them. To turn on
   timestamps of error messages, uncomment the line in
   src/backend/utils/elog.h:
<P>
        /* define ELOG_TIMESTAMPS */
  <LI> On an access control violation, the message
<P>
        "Either no such class or insufficient privilege"
   will be given.  This is the same message that is returned when
   a class is not found.  This dissuades non-privileged users from
   guessing the existence of privileged classes.
  <LI> some additional system catalog changes have been made that are not
   visible to the user.

</UL>
<P>
libpgtcl changes:
<UL>
  <LI> The -oid option has been added to the "pg_result" tcl command.
   pg_result -oid returns oid of the last tuple inserted.   If the
   last command was not an INSERT, then pg_result -oid returns "".
  <LI> the large object interface is available as pg_lo* tcl commands:
   pg_lo_open, pg_lo_close, pg_lo_creat, etc.

</UL>
<P>
Portability enhancements and New Ports:
<UL>
  <LI> flex/lex problems have been cleared up.  Now, you should be able to use
   flex instead of lex on any platforms.  We no longer make assumptions of
   what lexer you use based on the platform you use.
  <LI> The Linux-ELF port is now supported.  Various configuration have been
   tested:  The following configuration is known to work:
<P>
        kernel 1.2.10, gcc 2.6.3, libc 4.7.2, flex 2.5.2, bison 1.24
   with everything in ELF format,

</UL>
<P>
New utilities:
<UL>
  <LI> ipcclean added to the distribution
   ipcclean usually does not need to be run, but if your backend crashes
   and leaves shared memory segments hanging around, ipcclean will
   clean them up for you.

</UL>
<P>
New documentation:
<UL>
  <LI> the user manual has been revised and libpq documentation added.



</UL>
<A NAME="section-12"><H1>Postgres95 Beta 0.02         Thu May 25 16:54:46 PDT 1995</H1></A>
Incompatible changes:
<UL>
  <LI> The SQL statement for creating a database is 'CREATE DATABASE' instead
   of 'CREATEDB'. Similarly, dropping a database is 'DROP DATABASE' instead
   of 'DESTROYDB'. However, the names of the executables 'createdb' and
   'destroydb' remain the same.

</UL>
<P>
New tools:
<UL>
  <LI> pgperl - a Perl (4.036) interface to Postgres95
  <LI> pg_dump - a utility for dumping out a postgres database into a
<P>
        script file containing query commands. The script files are in a ASCII
        format and can be used to reconstruct the database, even on other
        machines and other architectures. (Also good for converting
        a Postgres 4.2 database to Postgres95 database.)

</UL>
<P>
The following ports have been incorporated into postgres95-beta-0.02:
<UL>
  <LI> the NetBSD port by Alistair Crooks
  <LI> the AIX port by Mike Tung
  <LI> the Windows NT port by Jon Forrest (more stuff but not done yet)
  <LI> the Linux ELF port by Brian Gallew

</UL>
<P>
The following bugs have been fixed in postgres95-beta-0.02:
<UL>
  <LI> new lines not escaped in COPY OUT and problem with COPY OUT when first
   attribute is a '.'
  <LI> cannot type return to use the default user id in createuser
  <LI> SELECT DISTINCT on big tables crashes
  <LI> Linux installation problems
  <LI> monitor doesn't allow use of 'localhost' as PGHOST
  <LI> psql core dumps when doing \c or \l
  <LI> the "pgtclsh" target missing from src/bin/pgtclsh/Makefile
  <LI> libpgtcl has a hard-wired default port number
  <LI> SELECT DISTINCT INTO TABLE hangs
  <LI> CREATE TYPE doesn't accept 'variable' as the internallength
  <LI> wrong result using more than 1 aggregate in a SELECT



</UL>
<A NAME="section-13"><H1>Postgres95 Beta 0.01          Mon May 1 19:03:10 PDT 1995</H1></A>
Initial release.

</BODY>
</HTML>

--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

pgsql-hackers by date:

Previous
From: darrenk@insightdist.com (Darren King)
Date:
Subject: Re: [HACKERS] New pg_type for large object
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] subselect and optimizer