diff --git a/HISTORY b/HISTORY index 090b9f6206..01708418c8 100644 --- a/HISTORY +++ b/HISTORY @@ -1,13 +1,7 @@ Release Notes - 7.4 Development Branch - - -Valid as of 2003-09-28. Update release.sgml later. - - - Release date: 2003-??-?? + Release 7.4 _________________________________________________________________ Overview @@ -15,44 +9,51 @@ Valid as of 2003-09-28. Update release.sgml later. Major changes in this release: IPv6 - Full support for IPv6 connections and IPv6 address data types - + Full support for IPv6 connections and IPv6 address data types + SSL - Major improvements in SSL performance and reliability - + Major improvements in SSL performance and reliability + Index Growth Prevention - Allow free space map to efficiently reuse empty index pages, - and other free space management improvements. - + Allow free space map to efficiently reuse empty index pages, + and other free space management improvements. + Standards Compliance - Implement information schema - Support for read-only transactions - Make cursors comply more closely with the SQL standard - + Implement information schema Support for read-only transactions + + Make cursors comply more closely with the SQL standard + New Client/Server Communication Protocol - New protocol improves connection speed/reliability, and adds - error codes, status information, a binary protocol, error - reporting verbosity, and cleaner startup packets. - + New protocol improves connection speed/reliability, and adds + error codes, status information, a binary protocol, error + reporting verbosity, and cleaner startup packets. + Performance - IN/NOT IN subqueries now perform as efficiently as joins - Improved GROUP BY processing by using hash buckets - New multi-key hash join capability - ANSI joins are now better optimized - Faster and more powerful regular expression code - Function-inlining for simple SQL functions + IN/NOT IN subqueries now perform as efficiently as joins + + Improved GROUP BY processing by using hash buckets + + New multi-key hash join capability + + ANSI joins are now better optimized + + Faster and more powerful regular expression code + + Function-inlining for simple SQL functions Holdable Cursors - Allow cursors to exist outside transactions - + Allow cursors to exist outside transactions + Threads - libpq and ecpg are now fully thread-safe with --enable-thread-safety - + libpq and ecpg are now fully thread-safe with + --enable-thread-safety + Contrib - New version of full text indexing (tsearch2) - New autovacuum tool - Array handling has been improved and moved into the main server - + New version of full text indexing (tsearch2) + + New autovacuum tool + + Array handling has been improved and moved into the main server _________________________________________________________________ Migration to version 7.4 @@ -61,558 +62,738 @@ Valid as of 2003-09-28. Update release.sgml later. data from any previous release. Observe the following incompatibilities: + * The server-side autocommit setting was removed and reimplemented in client applications and languages. * Error message wording has changed substantially in this release, and error codes have been added. - * ANSI joins may behave differently because they are now better optimized + * ANSI joins may behave differently because they are now better + optimized * A number of server variables have been renamed for clarity * MOVE/FETCH 0 now does nothing; return value of MOVE/FETCH 1/0 varies based on the current offset in the cursor * COPY now can process carriage-return/line-feed and carriage-return - terminated files. Literal carriage-returns and line-feeds are no - longer accepted as data values; use \r and \n instead. + terminated files. Literal carriage-returns and line-feeds are no + longer accepted as data values; use \r and \n instead. * Trailing spaces are now trimmed when converting from CHAR(n) to - VARCHAR(n)/TEXT + VARCHAR(n) / TEXT * FLOAT(p) now measures 'p' in bits, not digits - * Ambiguous date values now must match the ordering specified by DateStyle + * Ambiguous date values now must match the ordering specified by + DateStyle * The oidrand(), oidsrand(), and userfntest() functions have been removed. - + * 'now' will no longer work as a column default; now() should be + used instead _________________________________________________________________ Changes Server Operation -Allow IPv6 server connections (Nigel Kukard, Johan Jordaan, Bruce, Tom, Kurt - Roeckx, Andrew Dunstan) -Fix SSL to handle errors cleanly (Nathan Mueller) -SSL protocol security and performance improvements (Sean Chittenden) -Print lock information when a deadlock is detected (Tom) -Update /tmp socket mod. times regularly to avoid their removal (Tom) -Enable PAM for MAC OS X (Aaron Hillegass) -Make btree indexes fully WAL-safe (Tom) -Allow btree index compaction and empty page reuse (Tom) -Fix inconsistent index lookups during split of first root page (Tom) -Improve free space map allocation logic (Tom) -Preserve free space information between postmaster restarts (Tom) -Set proper schema permissions in initdb (Peter) -Add start time to pg_stat_activity (Neil) -New code to detect corrupt disk pages; erase with zero_damaged_pages (Tom) -New client/server protocol: faster, no username length limit, allow - clean exit from COPY (Tom) -Add transaction status, tableid, columnid to backend protocol (Tom) -Add new binary I/O protocol (Tom) -Remove autocommit server setting; move to client applications (Tom) -New error message wording, error codes, and three levels of error detail (Tom) - + * Allow IPv6 server connections (Nigel Kukard, Johan Jordaan, Bruce, + Tom, Kurt Roeckx, Andrew Dunstan) + * Fix SSL to handle errors cleanly (Nathan Mueller) + * SSL protocol security and performance improvements (Sean + Chittenden) + * Print lock information when a deadlock is detected (Tom) + * Update "/tmp" socket mod. times regularly to avoid their removal + (Tom) + * Enable PAM for MAC OS X (Aaron Hillegass) + * Make btree indexes fully WAL-safe (Tom) + * Allow btree index compaction and empty page reuse (Tom) + * Fix inconsistent index lookups during split of first root page + (Tom) + * Improve free space map allocation logic (Tom) + * Preserve free space information between postmaster restarts (Tom) + * Set proper schema permissions in initdb (Peter) + * Add start time to pg_stat_activity (Neil) + * New code to detect corrupt disk pages; erase with + zero_damaged_pages (Tom) + * New client/server protocol: faster, no username length limit, + allow clean exit from COPY (Tom) + * Add transaction status, tableid, columnid to backend protocol + (Tom) + * Add new binary I/O protocol (Tom) + * Remove autocommit server setting; move to client applications + (Tom) + * New error message wording, error codes, and three levels of error + detail (Tom) _________________________________________________________________ - + Performance -Add hashing for GROUP BY aggregates (Tom) -Allow nested loops to be smarter about multicolumn indexes (Tom) -Allow multi-key hash joins (Tom) -Improve constant folding (Tom) -Add ability to inline simple SQL functions (Tom) -Reduce memory usage for queries using complex functions (Tom) -Improve GEQO optimizer performance (Tom) -Allow IN/NOT IN to be handled via hash tables (Tom) -Improve NOT IN (subquery) performance (Tom) -Allow most IN subqueries to be processed as joins (Tom) -Allow the postmaster to preload libraries using preload_libraries (Joe) -Improve optimizer cost computations, particularly for subqueries (Tom) -Avoid sort when subquery ORDER BY matches upper query (Tom) -Assume WHERE a.x = b.y and b.y = 42 also means a.x = 42 (Tom) -Allow hash/merge joins on complex joins (Tom) -Allow hash joins for more data types (Tom) -Allow join optimization of ANSI joins, disable with join_collapse_limit (Tom) -Add from_collapse_limit to control conversion of subqueries to joins (Tom) -Use faster regular expression code from TCL (Henry Spencer, Tom) -Use bit-mapped relation sets in the optimizer (Tom) -Improve backend startup time (Tom) -Improve trigger/constraint performance (Stephan) -Improve speed of col IN (const, const, const, ...) (Tom) -Fix hash indexes which were broken in rare cases (Tom) -Improve hash index concurrency and speed (Tom) -Align shared buffers on 32-byte boundary for copy speed improvement - + * Add hashing for GROUP BY aggregates (Tom) + * Allow nested loops to be smarter about multicolumn indexes (Tom) + * Allow multi-key hash joins (Tom) + * Improve constant folding (Tom) + * Add ability to inline simple SQL functions (Tom) + * Reduce memory usage for queries using complex functions (Tom) + * Improve GEQO optimizer performance (Tom) + * Allow IN/NOT IN to be handled via hash tables (Tom) + * Improve NOT IN (subquery) performance (Tom) + * Allow most IN subqueries to be processed as joins (Tom) + * Allow the postmaster to preload libraries using preload_libraries + (Joe) + * Improve optimizer cost computations, particularly for subqueries + (Tom) + * Avoid sort when subquery ORDER BY matches upper query (Tom) + * Assume WHERE a.x = b.y and b.y = 42 also means a.x = 42 (Tom) + * Allow hash/merge joins on complex joins (Tom) + * Allow hash joins for more data types (Tom) + * Allow join optimization of ANSI joins, disable with + join_collapse_limit (Tom) + * Add from_collapse_limit to control conversion of subqueries to + joins (Tom) + * Use faster regular expression code from TCL (Henry Spencer, Tom) + * Use bit-mapped relation sets in the optimizer (Tom) + * Improve backend startup time (Tom) + * Improve trigger/constraint performance (Stephan) + * Improve speed of col IN (const, const, const, ...) (Tom) + * Fix hash indexes which were broken in rare cases (Tom) + * Improve hash index concurrency and speed (Tom) + * Align shared buffers on 32-byte boundary for copy speed + improvement (Manfred Spraul) _________________________________________________________________ - + Server Configuration -Rename server parameter server_min_messages to log_min_messages (Bruce) -Rename show_*_stats to log_*_stats (Bruce) -Rename show_source_port to log_source_port (Bruce) -Rename hostname_lookup to log_hostname (Bruce) -Add checkpoint_warning to warn of excessive checkpointing (Bruce) -New read-only server parameters for localization (Tom) -Change debug server log messages to output as DEBUG rather than LOG (Bruce) -Prevent server log variables from being turned off by non-super users (Bruce) -log_min_messages/client_min_messages now controls debug_* output (Bruce) -Add Rendezvous server support (Chris Campbell) -Add ability to print only slow statements using log_min_duration_statement - (Christopher) -Allow pg_hba.conf to accept netmasks in CIDR format (Andrew Dunstan) -New is_superuser read-only variable (Tom) -New server-side parameter log_error_verbosity to control error detail (Tom) -postgres --help-config now dumps server config variables (Aizaz Ahmed) -Make default shared_buffers 1000 and max_connections 100, if possible (Tom) -Add new columns in pg_settings: context, type, source , min_val, max_val (Joe) -New pg_hba.conf 'hostnossl' to prevent SSL connections (Jon Jensen) -Remove geqo_random_seed server parameter (Tom) - + * Rename server parameter server_min_messages to log_min_messages + (Bruce) + * Rename show_*_stats to log_*_stats (Bruce) + * Rename show_source_port to log_source_port (Bruce) + * Rename hostname_lookup to log_hostname (Bruce) + * Add checkpoint_warning to warn of excessive checkpointing (Bruce) + * New read-only server parameters for localization (Tom) + * Change debug server log messages to output as DEBUG rather than + LOG (Bruce) + * Prevent server log variables from being turned off by non-super + users (Bruce) + * log_min_messages/client_min_messages now controls debug_* output + (Bruce) + * Add Rendezvous server support (Chris Campbell) + * Add ability to print only slow statements using + log_min_duration_statement (Christopher) + * Allow pg_hba.conf to accept netmasks in CIDR format (Andrew + Dunstan) + * New is_superuser read-only variable (Tom) + * New server-side parameter log_error_verbosity to control error + detail (Tom) + * postgres --help-config now dumps server config variables (Aizaz + Ahmed) + * Make default shared_buffers 1000 and max_connections 100, if + possible (Tom) + * Add new columns in pg_settings: context, type, source , min_val, + max_val (Joe) + * New pg_hba.conf 'hostnossl' to prevent SSL connections (Jon + Jensen) + * Remove geqo_random_seed server parameter (Tom) _________________________________________________________________ - + Queries -New SQL-standard information schema (Peter) -Add read-only transactions (Peter) -Add server variable regex_flavor to control regular expression - processing (Tom) -Print key name and value in foreign-key violation messages (Dmitry Tkach) -Allow users to see their own queries in pg_stat_activity (Kevin Brown) -Fix subquery aggregates of upper query columns to match SQL spec. (Tom) -Add option to prevent auto-addition of tables referenced in query (Nigel J. - Andrews) -Allow UPDATE ... SET col = DEFAULT (Rod) -Allow expressions to be used in LIMIT/OFFSET (Tom) -Change EXECUTE INTO to CREATE TABLE AS EXECUTE (Peter) - + * New SQL-standard information schema (Peter) + * Add read-only transactions (Peter) + * Add server variable regex_flavor to control regular expression + processing (Tom) + * Print key name and value in foreign-key violation messages (Dmitry + Tkach) + * Allow users to see their own queries in pg_stat_activity (Kevin + Brown) + * Fix subquery aggregates of upper query columns to match SQL spec. + (Tom) + * Add option to prevent auto-addition of tables referenced in query + (Nigel J. Andrews) + * Allow UPDATE ... SET col = DEFAULT (Rod) + * Allow expressions to be used in LIMIT/OFFSET (Tom) + * Change EXECUTE INTO to CREATE TABLE AS EXECUTE (Peter) _________________________________________________________________ - + Object Manipulation -Make CREATE SEQUENCE grammar more SQL1999 standards compliant (Neil) -Add FOR EACH STATEMENT statement-level triggers (Neil) -Add DOMAIN CHECK constraints (Rod) -Add ALTER DOMAIN .. SET / DROP NOT NULL, SET / DROP DEFAULT, ADD / DROP - CONSTRAINT (Rod) -Fix several zero-column table bugs (Tom) -Have ALTER TABLE ... ADD PRIMARY KEY add NOT NULL constraint (Rod) -Add ALTER DOMAIN OWNER (Rod) -Add ALTER TABLE ... WITHOUT OIDS (Rod) -Add ALTER SEQUENCE to modify min/max/increment/cache/cycle values (Rod) -Add ALTER TABLE ... CLUSTER ON (Alvaro Herrera) -Improve DOMAIN automatic type casting (Rod, Tom) -Allow dollar signs in identifiers, except as first character (Tom) -Disallow dollar signs in operator names, so x=$1 works (Tom) -Allow SQL200X inheritance syntax LIKE , INCLUDING DEFAULTS (Rod) -Add WITH GRANT OPTION clause to GRANT, per SQL spec (Peter) - + * Make CREATE SEQUENCE grammar more SQL1999 standards compliant + (Neil) + * Add FOR EACH STATEMENT statement-level triggers (Neil) + * Add DOMAIN CHECK constraints (Rod) + * Add ALTER DOMAIN .. SET / DROP NOT NULL, SET / DROP DEFAULT, ADD / + DROP CONSTRAINT (Rod) + * Fix several zero-column table bugs (Tom) + * Have ALTER TABLE ... ADD PRIMARY KEY add NOT NULL constraint (Rod) + * Add ALTER DOMAIN OWNER (Rod) + * Add ALTER TABLE ... WITHOUT OIDS (Rod) + * Add ALTER SEQUENCE to modify min/max/increment/cache/cycle values + (Rod) + * Add ALTER TABLE ... CLUSTER ON (Alvaro Herrera) + * Improve DOMAIN automatic type casting (Rod, Tom) + * Allow dollar signs in identifiers, except as first character (Tom) + * Disallow dollar signs in operator names, so x=$1 works (Tom) + * Allow SQL200X inheritance syntax LIKE *subtable*, INCLUDING + DEFAULTS (Rod) + * Add WITH GRANT OPTION clause to GRANT, per SQL spec (Peter) _________________________________________________________________ - + Utility Commands -Add ON COMMIT PRESERVE ROWS for temp tables (Gavin) -Allow cursors outside transactions using WITH HOLD (Neil) -Make MOVE/FETCH 0 actually move/fetch 0 (Bruce) -Cause FETCH 1 to return the current cursor row, or zero if at - beginning/end of cursor, per SQL spec (Bruce) -Have MOVE return 0 or 1 depending on cursor position (Bruce) -Properly handle SCROLL with cursors, or report an error (Neil) -Implement SQL92-compatible FIRST, LAST, ABSOLUTE n, RELATIVE n options - for FETCH and MOVE (Tom) -Allow EXPLAIN on DECLARE CURSOR (Tom) -Allow CLUSTER to use index marked as pre-clustered by default (Alvaro Herrera) -Allow CLUSTER to cluster all tables (Alvaro Herrera) -Prevent CLUSTER on partial indexes (Tom) -Allow \r and \r\n termination for COPY files (Bruce) -Disallow literal carriage return as a data value, backslash-carriage-return - and \r are still allowed (Bruce) -COPY changes (binary, \.)? (Tom) -Recover from COPY IN/OUT failure cleanly (Tom) -Prevent possible memory leaks in COPY (Tom) -Make TRUNCATE transaction-safe (Rod) -Multiple pg_dump fixes, including tar format and large objects -Allow pg_dump to dump specific schemas (Neil) -Allow pg_dump to preserve column storage characteristics (Christopher) -Allow pg_dump to preserve CLUSTER characteristics (Christopher) -Have pg_dumpall use GRANT/REVOKE to dump database-level permissions (Tom) -Allow pg_dumpall to support the -a, -s, -x options of pg_dump (Tom) -Prevent pg_dump from lowercasing identifiers specified on the command line (Tom) -Allow PREPARE/bind of utility commands like FETCH and EXPLAIN (Tom) -Add EXPLAIN EXECUTE (Neil) -Allow pg_get_constraintdef() to support UNIQUE, PRIMARY KEY and - CHECK constraints (Christopher) -Improve VACUUM performance on indexes by reducing WAL traffic (Tom) -Allow pg_ctl to better handle non-standard ports (Greg) -Functional indexes now support indexes on column expressions (Tom) -Syntax errors now reported as 'syntax error' rather than 'parse error' (Tom) -Have SHOW TRANSACTION_ISOLATION match input to SET TRANSACTION_ISOLATION (Tom) -Have COMMENT ON DATABASE on non-local database generate a warning (Rod) -Improve reliability of LISTEN/NOTIFY (Tom) -Allow REINDEX to reliably reindex non-shared system catalog indexes (Tom) -pg_dump --use-set-session-authorization and --no-reconnect now do nothing, - all dumps use SET SESSION AUTHORIZATION - + * Add ON COMMIT PRESERVE ROWS for temp tables (Gavin) + * Allow cursors outside transactions using WITH HOLD (Neil) + * Make MOVE/FETCH 0 actually move/fetch 0 (Bruce) + * Cause FETCH 1 to return the current cursor row, or zero if at + beginning/end of cursor, per SQL spec (Bruce) + * Have MOVE return 0 or 1 depending on cursor position (Bruce) + * Properly handle SCROLL with cursors, or report an error (Neil) + * Implement SQL92-compatible FIRST, LAST, ABSOLUTE n, RELATIVE n + options for FETCH and MOVE (Tom) + * Allow EXPLAIN on DECLARE CURSOR (Tom) + * Allow CLUSTER to use index marked as pre-clustered by default + (Alvaro Herrera) + * Allow CLUSTER to cluster all tables (Alvaro Herrera) + * Prevent CLUSTER on partial indexes (Tom) + * Allow \r and \r\n termination for COPY files (Bruce) + * Disallow literal carriage return as a data value, + backslash-carriage-return and \r are still allowed (Bruce) + * COPY changes (binary, \.)? (Tom) + * Recover from COPY IN/OUT failure cleanly (Tom) + * Prevent possible memory leaks in COPY (Tom) + * Make TRUNCATE transaction-safe (Rod) + * Multiple pg_dump fixes, including tar format and large objects + * Allow pg_dump to dump specific schemas (Neil) + * Allow pg_dump to preserve column storage characteristics + (Christopher) + * Allow pg_dump to preserve CLUSTER characteristics (Christopher) + * Have pg_dumpall use GRANT/REVOKE to dump database-level + permissions (Tom) + * Allow pg_dumpall to support the -a, -s, -x options of pg_dump + (Tom) + * Prevent pg_dump from lowercasing identifiers specified on the + command line (Tom) + * Allow PREPARE/bind of utility commands like FETCH and EXPLAIN + (Tom) + * Add EXPLAIN EXECUTE (Neil) + * Allow pg_get_constraintdef() to support UNIQUE, PRIMARY KEY and + CHECK constraints (Christopher) + * Improve VACUUM performance on indexes by reducing WAL traffic + (Tom) + * Allow pg_ctl to better handle non-standard ports (Greg) + * Functional indexes now support indexes on column expressions (Tom) + * Syntax errors now reported as 'syntax error' rather than 'parse + error' (Tom) + * Have SHOW TRANSACTION_ISOLATION match input to SET + TRANSACTION_ISOLATION (Tom) + * Have COMMENT ON DATABASE on non-local database generate a warning + (Rod) + * Improve reliability of LISTEN/NOTIFY (Tom) + * Allow REINDEX to reliably reindex non-shared system catalog + indexes (Tom) + * pg_dump --use-set-session-authorization and --no-reconnect now do + nothing, all dumps use SET SESSION AUTHORIZATION _________________________________________________________________ - + Data Types and Functions -New extra_float_digits server parameter to control float precision display - (Pedro Ferreira, Tom) -Allow +1300 as a numeric timezone specifier, for FJST (Tom) -Remove rarely used oidrand(), oidsrand(), and userfntest() functions (Neil) -Add md5() function to main server, already in /contrib/pgcrypto (Joe) -Increase date range of timestamp (John Cochran) -Change EXTRACT(EPOCH FROM timestamp) so timestamp without time zone - is assumed to be in local time, not GMT (Tom) -Trap division by zero in case the operating system doesn't prevent it (Tom) -Change the NUMERIC data type internally to base 10000 (Tom) -New hostmask() function (Greg Wickham) -Fixes for to_char() (Karel) -Allow functions that can take any argument data type and return - any data type, using ANYELEMENT and ANYARRAY (Joe) -Arrays may now be specified as ARRAY[1,2,3], ARRAY[['a','b'],['c','d']], - or ARRAY[ARRAY[ARRAY[2]]] (Joe) -Allow proper comparisons for arrays (Joe) -Allow array concatenation with '||' (Joe) -Allow indexes on array columns, and used in ORDER BY and DISTINCT (Joe) -Allow WHERE qualification 'expr ANY/SOME/ALL (array-expr)' (Joe) -Allow polymorphic SQL functions (Joe) -New array functions array_append(), array_cat(), array_lower(), - array_prepend(), array_to_string(), array_upper(), string_to_array() (Joe) -Allow user defined aggregates to use polymorphic functions (Joe) -Allow polymorphic user defined aggregates (Joe) -Allow assignments to empty arrays (Joe) -Allow 60 in seconds fields of timestamp, time, interval input values (Tom) -Allow CIDR data type to be cast to text (Tom) -Allow the creation of special LIKE indexes for non-C locales (Peter) -Disallow invalid timezone names (Tom) -Trim trailing spaces when CHAR() data is cast to VARCHAR or TEXT (Tom) -Make FLOAT(p) measure the precision p in bits, not decimal digits (Tom) -Add IPv6 support to the inet and cidr data types (Michael Graff) -Add family() function to report whether address is IPv4 or IPv6 (Michael Graff) -Have SHOW DATESTYLE generate output similar to that used by SET DATESTYLE (Tom) -Change DATESTYLE to output its value in a more common format (Tom) -Make EXTRACT(TIMEZONE) and SET/SHOW TIMEZONE follow the SQL convention - for the sign of timezone offsets, ie, positive is east from UTC (Tom) -Fix date_trunc('quarter',...) (B?jthe Zolt?n) -Make initcap() more compatible with Oracle (Mike Nolan) -Allow only DateStyle field order for date values not in ISO format (Greg) -Add new DateStyle values MDY, DMY, and YMD, honor US and European for - backward compatibility (Tom) -'now' will no longer work as a column default, use now() (change required for - prepared statements) (Tom) -Assume NaN value to be larger than any other value in MIN()/MAX() (Tom) -Prevent interval from suppressing ':00' seconds display -New pg_get_triggerdef(prettyprint) and pg_constraint_is_visible() functions -Allow time to be specified as '040506' or '0405' (Tom) - + * New extra_float_digits server parameter to control float precision + display (Pedro Ferreira, Tom) + * Allow +1300 as a numeric timezone specifier, for FJST (Tom) + * Remove rarely used oidrand(), oidsrand(), and userfntest() + functions (Neil) + * Add md5() function to main server, already in /contrib/pgcrypto + (Joe) + * Increase date range of timestamp (John Cochran) + * Change EXTRACT(EPOCH FROM timestamp) so timestamp without time + zone is assumed to be in local time, not GMT (Tom) + * Trap division by zero in case the operating system doesn't prevent + it (Tom) + * Change the NUMERIC data type internally to base 10000 (Tom) + * New hostmask() function (Greg Wickham) + * Fixes for to_char() (Karel) + * Allow functions that can take any argument data type and return + any data type, using ANYELEMENT and ANYARRAY (Joe) + * Arrays may now be specified as ARRAY[1,2,3], + ARRAY[['a','b'],['c','d']], or ARRAY[ARRAY[ARRAY[2]]] (Joe) + * Allow proper comparisons for arrays (Joe) + * Allow array concatenation with '||' (Joe) + * Allow indexes on array columns, and used in ORDER BY and DISTINCT + (Joe) + * Allow WHERE qualification 'expr >oper< ANY/SOME/ALL (array-expr)' + (Joe) + * Allow polymorphic SQL functions (Joe) + * New array functions array_append(), array_cat(), array_lower(), + array_prepend(), array_to_string(), array_upper(), + string_to_array() (Joe) + * Allow user defined aggregates to use polymorphic functions (Joe) + * Allow polymorphic user defined aggregates (Joe) + * Allow assignments to empty arrays (Joe) + * Allow 60 in seconds fields of timestamp, time, interval input + values (Tom) + * Allow CIDR data type to be cast to text (Tom) + * Allow the creation of special LIKE indexes for non-C locales + (Peter) + * Disallow invalid timezone names (Tom) + * Trim trailing spaces when CHAR() data is cast to VARCHAR or TEXT + (Tom) + * Make FLOAT(p) measure the precision p in bits, not decimal digits + (Tom) + * Add IPv6 support to the inet and cidr data types (Michael Graff) + * Add family() function to report whether address is IPv4 or IPv6 + (Michael Graff) + * Have SHOW DATESTYLE generate output similar to that used by SET + DATESTYLE (Tom) + * Change DATESTYLE to output its value in a more common format (Tom) + * Make EXTRACT(TIMEZONE) and SET/SHOW TIMEZONE follow the SQL + convention for the sign of timezone offsets, ie, positive is east + from UTC (Tom) + * Fix date_trunc('quarter',...) (B?jthe Zolt?n) + * Make initcap() more compatible with Oracle (Mike Nolan) + * Allow only DateStyle field order for date values not in ISO format + (Greg) + * Add new DateStyle values MDY, DMY, and YMD, honor US and European + for backward compatibility (Tom) + * 'now' will no longer work as a column default, use now() (change + required for prepared statements) (Tom) + * Assume NaN value to be larger than any other value in MIN()/MAX() + (Tom) + * Prevent interval from suppressing ':00' seconds display + * New pg_get_triggerdef(prettyprint) and pg_constraint_is_visible() + functions + * Allow time to be specified as '040506' or '0405' (Tom) _________________________________________________________________ - + Server-side Languages -Prevent PL/pgSQL crash when RETURN NEXT is used on a zero-row record var. (Tom) -Make PL/python's spi_execute interface handle NULLs properly (Andrew Bosma) -Allow PL/pgSQL to declare variables of composite types without %ROWTYPE (Tom) -Fix PL/python _quote() function to handle big integers (?) -Make PL/python an untrusted language, now called plpythonu (Kevin Jacobs, Tom) -Allow polymorphic PL/pgSQL functions (Tom, Joe) -Improved compiled function caching mechanism in PL/pgSQL with full - support for polymorphism (Joe) -Add new $0 parameter in PL/pgSQL representing the function's actual - return type (Joe) -Allow pltcl and plpython use the same trigger on multiple tables (Tom) -Fixed PL/Tcl's spi_prepare to accept full qualified type names in - the parameter type list (Jan) - + * Prevent PL/pgSQL crash when RETURN NEXT is used on a zero-row + record var. (Tom) + * Make PL/python's spi_execute interface handle NULLs properly + (Andrew Bosma) + * Allow PL/pgSQL to declare variables of composite types without + %ROWTYPE (Tom) + * Fix PL/python _quote() function to handle big integers (?) + * Make PL/python an untrusted language, now called plpythonu (Kevin + Jacobs, Tom) + * Allow polymorphic PL/pgSQL functions (Tom, Joe) + * Improved compiled function caching mechanism in PL/pgSQL with full + support for polymorphism (Joe) + * Add new $0 parameter in PL/pgSQL representing the function's + actual return type (Joe) + * Allow pltcl and plpython use the same trigger on multiple tables + (Tom) + * Fixed PL/Tcl's spi_prepare to accept full qualified type names in + the parameter type list (Jan) _________________________________________________________________ - + Psql -Add "\pset pager always" to always use pager (Greg) -Improve tab completion (Rod, Ross Reedstrom, Ian Barwick) -Reorder \? help into groupings (Harald Armin Massa, Bruce) -Add schema, cast, and conversion backslash commands (Christopher) -\encoding now changes based on client_encoding server variable (Tom) -Save edit history into readline history (Ross) -Improve \d display (Christopher) -Enhance HTML mode to be more standards-compliant (Greg) -New '\set AUTOCOMMIT off' capability (Tom) -New '\set VERBOSITY' to control error detail (Tom) -New %T prompt string to show transaction status (Tom) - + * Add "\pset pager always" to always use pager (Greg) + * Improve tab completion (Rod, Ross Reedstrom, Ian Barwick) + * Reorder \? help into groupings (Harald Armin Massa, Bruce) + * Add schema, cast, and conversion backslash commands (Christopher) + * \encoding now changes based on client_encoding server variable + (Tom) + * Save edit history into readline history (Ross) + * Improve \d display (Christopher) + * Enhance HTML mode to be more standards-compliant (Greg) + * New '\set AUTOCOMMIT off' capability (Tom) + * New '\set VERBOSITY' to control error detail (Tom) + * New %T prompt string to show transaction status (Tom) _________________________________________________________________ - + Libpq -Allow PQcmdTuples() to return row counts for MOVE and FETCH (Neil) -Add PQfreemem() for freeing memory on Win32, suggest for NOTIFY (Bruce) -Document service capability, and add sample file (Bruce) -Make PQsetdbLogin() have the same defaults as PQconnectdb() (Tom) -Allow libpq to cleanly fail when result sets are too large (Tom) -Improve performance of PGunescapeBytea() (Ben Lamb) -Allow thread-safe libpq with --enable-thread-safety (Lee Kindness, Philip Yarra) -Allow pqInternalNotice() to accept a format string and args instead of - just a preformatted message (Tom, Sean Chittenden) -Allow control SSL negotiation with sslmode values "disable", "allow", - "Prefer", and "require" (Jon Jensen) -Allow new error codes and levels of text (Tom) -Allow access to the underlying table and column of a query result (Tom) -Allow access to the current transaction status (Tom) -Add ability to pass binary data directly to the backend (Tom) -Add PQexecPrepared() and PQsendQueryPrepared() functions which - perform Bind/Execute of previously prepared statements (Tom) - + * Allow PQcmdTuples() to return row counts for MOVE and FETCH (Neil) + * Add PQfreemem() for freeing memory on Win32, suggest for NOTIFY + (Bruce) + * Document service capability, and add sample file (Bruce) + * Make PQsetdbLogin() have the same defaults as PQconnectdb() (Tom) + * Allow libpq to cleanly fail when result sets are too large (Tom) + * Improve performance of PGunescapeBytea() (Ben Lamb) + * Allow thread-safe libpq with --enable-thread-safety (Lee Kindness, + Philip Yarra) + * Allow pqInternalNotice() to accept a format string and args + instead of just a preformatted message (Tom, Sean Chittenden) + * Allow control SSL negotiation with sslmode values "disable", + "allow", "Prefer", and "require" (Jon Jensen) + * Allow new error codes and levels of text (Tom) + * Allow access to the underlying table and column of a query result + (Tom) + * Allow access to the current transaction status (Tom) + * Add ability to pass binary data directly to the backend (Tom) + * Add PQexecPrepared() and PQsendQueryPrepared() functions which + perform Bind/Execute of previously prepared statements (Tom) _________________________________________________________________ - + JDBC -Allow setNull on updateable resultsets -Allow executeBatch on a prepared statement (Barry) -Support SSL connections (Barry) -Handle schema names in result sets (Paul Sorenson) -Add refcursor support (Nic Ferrier) - + * Allow setNull on updateable resultsets + * Allow executeBatch on a prepared statement (Barry) + * Support SSL connections (Barry) + * Handle schema names in result sets (Paul Sorenson) + * Add refcursor support (Nic Ferrier) _________________________________________________________________ - + Miscellaneous Interfaces -Prevent possible memory leak or core dump during libpgtcl shutdown (Tom) -Add ecpg Informix compatibility (Michael) -Add ecpg DECIMAL type that is fixed length, for Informix (Michael) -Allow thread-safe ecpg with --enable-thread-safety (Lee Kindness, Bruce) -Move python client interface to http://www.pygresql.org (Marc) - + * Prevent possible memory leak or core dump during libpgtcl shutdown + (Tom) + * Add ecpg Informix compatibility (Michael) + * Add ecpg DECIMAL type that is fixed length, for Informix (Michael) + * Allow thread-safe ecpg with --enable-thread-safety (Lee Kindness, + Bruce) + * Move python client interface to http://www.pygresql.org (Marc) _________________________________________________________________ - + Source Code -Prevent need for separate platform geometry regression result files (Tom) -Improved PPC locking primitive (Reinhard Max) -Embed LD_LIBRARY_PATH used for build process into binaries (Billy) -New palloc0 to allocate and clear memory (Bruce) -Fix locking code for s390x CPU (64-bit) (Tom) -Allow OpenBSD to use local ident credentials (William Ahern) -Make query plan trees read-only to executor (Tom) -Add Darwin startup scripts (David Wheeler) -Allow libpq to compile with Borland C++ compiler (Lester Godwin, Karl Waclawek) -Use our own version of getopt_long() if needed (Peter) -Convert administration scripts to C (Peter) -Bison >=1.85 is now required for grammar changes -Merge documentation into one book (Peter) -Add Win32 compatibility functions (Bruce) -Allow client interfaces to compile under MinGW/Win32 (Bruce) -New ereport() function for error reporting (Tom) -Support Intel Linux compiler (Peter) -Improve Linux startup scripts (Slawomir Sudnik, Darko Prenosil) -Add support for AMD Opteron and Itanium (Jeffrey W. Baker, Bruce) -Remove configure --enable-recode -Generate a compile error if spinlock code is not found (Bruce) - + * Prevent need for separate platform geometry regression result + files (Tom) + * Improved PPC locking primitive (Reinhard Max) + * Embed LD_LIBRARY_PATH used for build process into binaries (Billy) + * New palloc0 to allocate and clear memory (Bruce) + * Fix locking code for s390x CPU (64-bit) (Tom) + * Allow OpenBSD to use local ident credentials (William Ahern) + * Make query plan trees read-only to executor (Tom) + * Add Darwin startup scripts (David Wheeler) + * Allow libpq to compile with Borland C++ compiler (Lester Godwin, + Karl Waclawek) + * Use our own version of getopt_long() if needed (Peter) + * Convert administration scripts to C (Peter) + * Bison >=1.85 is now required for grammar changes + * Merge documentation into one book (Peter) + * Add Win32 compatibility functions (Bruce) + * Allow client interfaces to compile under MinGW/Win32 (Bruce) + * New ereport() function for error reporting (Tom) + * Support Intel Linux compiler (Peter) + * Improve Linux startup scripts (Slawomir Sudnik, Darko Prenosil) + * Add support for AMD Opteron and Itanium (Jeffrey W. Baker, Bruce) + * Remove configure --enable-recode + * Generate a compile error if spinlock code is not found (Bruce) _________________________________________________________________ - + Contrib -Change dbmirror license to BSD -Improve earthdistance (Bruno Wolff III) -Portability improvements to pgcrypto (Marko Kreen) -Prevent xml crash (John Gray, Michael Richards) -Update oracle -Update mysql -Update cube (Bruno Wolff III) -Update earthdistance to use cube (Bruno Wolff III) -Update btree_gist (Oleg) -New tsearch2 full-text search module (Oleg, Teodor) -Add hashed based crosstab function to tablefuncs (Joe) -Add serial column to order connectby() siblings in tablefuncs (Nabil Sayegh,Joe) -Add named persistent connections to dblink (Shridhar Daithanka) -New pg_autovacuum allows automatic VACUUM (Matthew T. O'Connor) -Allow pgbench to honor PGHOST, PGPORT, PGUSER env. variables (Tatsuo) -Improve intarray (Teodor Sigaev) -Improve pgstattuple (Rod) -Fix bug in metaphone() in fuzzystrmatch -Improve adddepend (Rod) -Update spi/timetravel (B?jthe Zolt?n) -Fix dbase -s option and improve non-ASCII handling (Thomas Behr,M?rcio Smiderle) -Remove array module because features now included by default (Joe) - + * Change dbmirror license to BSD + * Improve earthdistance (Bruno Wolff III) + * Portability improvements to pgcrypto (Marko Kreen) + * Prevent xml crash (John Gray, Michael Richards) + * Update oracle + * Update mysql + * Update cube (Bruno Wolff III) + * Update earthdistance to use cube (Bruno Wolff III) + * Update btree_gist (Oleg) + * New tsearch2 full-text search module (Oleg, Teodor) + * Add hashed based crosstab function to tablefuncs (Joe) + * Add serial column to order connectby() siblings in tablefuncs + (Nabil Sayegh,Joe) + * Add named persistent connections to dblink (Shridhar Daithanka) + * New pg_autovacuum allows automatic VACUUM (Matthew T. O'Connor) + * Allow pgbench to honor PGHOST, PGPORT, PGUSER env. variables + (Tatsuo) + * Improve intarray (Teodor Sigaev) + * Improve pgstattuple (Rod) + * Fix bug in metaphone() in fuzzystrmatch + * Improve adddepend (Rod) + * Update spi/timetravel (B?jthe Zolt?n) + * Fix dbase -s option and improve non-ASCII handling (Thomas + Behr,M?rcio Smiderle) + * Remove array module because features now included by default (Joe) _________________________________________________________________ + +Other Uncategorized + * EXTRACT(TIMEZONE) and "SET/SHOW TIMEZONE " now follow SQL sign + convention (positive = east of UTC) + * "DATESTYLE" can now be set to DMY, YMD, or MDY to specify input + field order + * Input date order must now be YYYY-MM-DD (with 4-digit year) or + match DATESTYLE + * Output of "SHOW DATESTYLE" is now in the same format accepted by + "SET DATESTYLE" + * PL/Python is now an untrusted language, and is renamed to + plpythonu + * Dollar sign ($) is no longer allowed in operator names + * Dollar sign ($) can be a non-first character in identifiers + * Precision in FLOAT(p) is now interpreted as bits, not decimal + digits + * Functional indexes have been generalized into expressional indexes + * CHAR(n) to TEXT conversion automatically strips trailing blanks + * Pattern matching operations can use indexes regardless of locale + * New frontend/backend protocol supports many long-requested + features + * "SET AUTOCOMMIT TO OFF" is no longer supported; psql has an + AUTOCOMMIT variable + * Reimplementation of NUMERIC datatype for more speed + * New regular expression package, many more regexp features (most of + Perl5) + * Can now do " EXPLAIN" ... "EXECUTE" to see plan used for a + prepared query + * Explicit "JOIN"s no longer constrain query plan, unless + "JOIN_COLLAPSE_LIMIT = 1" + * Performance of "foo IN (SELECT ...)" queries has been considerably + improved + * "FETCH 0" now re-fetches cursor's current row, per SQL spec + * Revised executor state representation; plan trees are read-only to + executor now + * Information schema + * Domains now support "CHECK" constraints + * psql backslash commands for listing conversions, casts, and + schemas + * "TRUNCATE TABLE" is transaction-safe + * "CLUSTER" can re-cluster a previously clustered table, or all such + tables + * Statement-level triggers + * System can use either hash- or sort-based strategy for grouped + aggregation + * "ON COMMIT" options for temp tables + * extra_float_digits option allows pg_dump to dump float data + accurately + * Long options for psql and pg_dump are now available on all + platforms + * Read-only transactions + * Object owners can allow grantees to grant the privilege to others + (grant option) + * Added "contrib" module for pg_autovacuum which monitors inserts + and deletes, and does "ANALYZE" or " VACUUM ANALYZE " when + quantities exceed specified thresholds. + _________________________________________________________________ + + Release 7.3.4 + + Release date: 2003-07-24 + + This has a variety of fixes from 7.3.3. + _________________________________________________________________ + + Migration to version 7.3.4 + + A dump/restore is *not* required for those running 7.3.*. + _________________________________________________________________ + + Changes + + * Repair breakage in timestamp-to-date conversion for dates before + 2000 + * Prevent rare possibility of server startup failure (Tom) + * Fix bugs in interval-to-time conversion (Tom) + * Add constraint names in a few places in pg_dump (Rod) + * Improve performance of functions with many parameters (Tom) + * Fix to_ascii() buffer overruns (Tom) + * Prevent restore of database comments from throwing an error (Tom) + * Work around buggy strxfrm() present in some Solaris releases (Tom) + * Properly escape jdbc setObject() strings to improve security + (Barry) + _________________________________________________________________ + Release 7.3.3 - + Release date: 2003-05-22 - - This has a variety of fixes from 7.3.2. + + This release contains of variety of fixes for version 7.3.2. _________________________________________________________________ - + Migration to version 7.3.3 - - A dump/restore is *not* required for those running 7.3.*. + + A dump/restore is *not* required for those running version 7.3.*. _________________________________________________________________ - + Changes - - Repair sometimes-incorrect computation of StartUpID after a crash - Avoid slowness with lots of deferred triggers in one transaction (Stephan) - Don't lock referenced row when UPDATE doesn't change foreign key's value - (Jan) - Use -fPIC not -fpic on Sparc (Tom Callaway) - Repair lack of schema-awareness in contrib/reindexdb - Fix contrib/intarray error for zero-element result array (Teodor) - Ensure createuser script will exit on control-C (Oliver) - Fix errors when the type of a dropped column has itself been dropped - CHECKPOINT does not cause database panic on failure in noncritical steps - Accept 60 in seconds fields of timestamp, time, interval input values - Issue notice, not error, if TIMESTAMP, TIME, or INTERVAL precision too - large - Fix abstime-to-time cast function (fix is not applied unless you initdb) - Fix pg_proc entry for timestamptz_izone (fix is not applied unless you - initdb) - Make EXTRACT(EPOCH FROM timestamp without time zone) treat input as - local time - 'now'::timestamptz gave wrong answer if timezone changed earlier in - transaction - HAVE_INT64_TIMESTAMP code for time with timezone overwrote its input - Accept GLOBAL TEMP/TEMPORARY as a synonym for TEMPORARY - Avoid improper schema-permissions-check failure in foreign-key triggers - Fix bugs in foreign-key triggers for SET DEFAULT action - Fix incorrect time-qual check in row fetch for UPDATE and DELETE triggers - Foreign-key clauses were parsed but ignored in ALTER TABLE ADD COLUMN - Fix createlang script breakage for case where handler function already - exists - Fix misbehavior on zero-column tables in pg_dump, COPY, ANALYZE, other - places - Fix misbehavior of func_error() on type names containing '%' - Fix misbehavior of replace() on strings containing '%' - Regular-expression patterns containing certain multibyte characters failed - Account correctly for NULLs in more cases in join size estimation - Avoid conflict with system definition of isblank() function or macro - Fix failure to convert large code point values in EUC_TW conversions - (Tatsuo) - Fix error recovery for SSL_read/SSL_write calls - Don't do early constant-folding of type coercion expressions - Validate page header fields immediately after reading in any page - Repair incorrect check for ungrouped variables in unnamed joins - Fix buffer overrun in to_ascii (Guido Notari) - contrib/ltree fixes (Teodor) - Fix core dump in deadlock detection on machines where char is unsigned - Avoid running out of buffers in many-way indexscan (bug introduced in 7.3) - Fix planner's selectivity estimation functions to handle domains properly - Fix dbmirror memory-allocation bug (Steven Singer) - Prevent infinite loop in ln(numeric) due to roundoff error. - GROUP BY got confused if there were multiple equal GROUP BY items - Fix bad plan when inherited UPDATE/DELETE references another inherited - table - Prevent clustering on incomplete (partial or non-NULL-storing) indexes - Service shutdown request at proper time if it arrives while still - starting up - Fix left-links in temporary indexes (could make backwards scans miss - entries) - Fix incorrect handling of client_encoding setting in postgresql.conf - (Tatsuo) - Fix failure to respond to 'pg_ctl stop -m fast' after Async_NotifyHandler - runs - Fix SPI for case where rule contains multiple statements of the same type - Fix problem with checking for wrong type of access permission in rule query - Fix problem with EXCEPT in CREATE RULE - Prevent problem with dropping temp tables having serial columns - Fix replace_vars_with_subplan_refs failure in complex views - Fix regexp slowness in single-byte encodings (Tatsuo) - Allow qualified type names in CREATE CAST and DROP CAST - Accept 'SETOF type[]', which formerly had to be written 'SETOF _type' - Fix pg_dump core dump in some cases with procedural languages - Force ISO datestyle in pg_dump output, for portability (Oliver) - pg_dump failed to handle error return from lo_read (Oleg Drokin) - pg_dumpall failed with groups having no members (Nick Eskelinen) - pg_dumpall failed to recognize --globals-only switch - pg_restore failed to restore blobs if -X disable-triggers is specified - Repair intrafunction memory leak in plpgsql - pltcl's elog command dumped core if given wrong parameters (Ian Harding) - plpython used wrong value of atttypmod (Brad McLean) - Fix improper quoting of boolean values in Python interface (D'Arcy) - Added addDataType() method to PGConnection interface for JDBC - Fixed various problems with updateable ResultSets for JDBC (Shawn Green) - Fixed various problems with DatabaseMetaData for JDBC (Kris Jurka, - Peter Royal) - Fixed problem with parsing table ACLs in JDBC - Better error message for character set conversion problems in JDBC + + * Repair sometimes-incorrect computation of StartUpID after a crash + * Avoid slowness with lots of deferred triggers in one transaction + (Stephan) + * Don't lock referenced row when "UPDATE" doesn't change foreign + key's value (Jan) + * Use "-fPIC" not "-fpic" on Sparc (Tom Callaway) + * Repair lack of schema-awareness in contrib/reindexdb + * Fix contrib/intarray error for zero-element result array (Teodor) + * Ensure createuser script will exit on control-C (Oliver) + * Fix errors when the type of a dropped column has itself been + dropped + * "CHECKPOINT" does not cause database panic on failure in + noncritical steps + * Accept 60 in seconds fields of timestamp, time, interval input + values + * Issue notice, not error, if TIMESTAMP, TIME, or INTERVAL precision + too large + * Fix abstime-to-time cast function (fix is not applied unless you + initdb) + * Fix pg_proc entry for timestampt_izone (fix is not applied unless + you initdb) + * Make EXTRACT(EPOCH FROM timestamp without time zone) treat input + as local time + * "'now'::timestamptz" gave wrong answer if timezone changed earlier + in transaction + * HAVE_INT64_TIMESTAMP code for time with timezone overwrote its + input + * Accept "GLOBAL TEMP/TEMPORARY" as a synonym for "TEMPORARY" + * Avoid improper schema-permissions-check failure in foreign-key + triggers + * Fix bugs in foreign-key triggers for "SET DEFAULT" action + * Fix incorrect time-qual check in row fetch for "UPDATE" and + "DELETE" triggers + * Foreign-key clauses were parsed but ignored in "ALTER TABLE ADD + COLUMN" + * Fix createlang script breakage for case where handler function + already exists + * Fix misbehavior on zero-column tables in pg_dump, COPY, ANALYZE, + other places + * Fix misbehavior of func_error() on type names containing '%' + * Fix misbehavior of replace() on strings containing '%' + * Regular-expression patterns containing certain multibyte + characters failed + * Account correctly for "NULL"s in more cases in join size + estimation + * Avoid conflict with system definition of isblank() function or + macro + * Fix failure to convert large code point values in EUC_TW + conversions (Tatsuo) + * Fix error recovery for SSL_read/SSL_write calls + * Don't do early constant-folding of type coercion expressions + * Validate page header fields immediately after reading in any page + * Repair incorrect check for ungrouped variables in unnamed joins + * Fix buffer overrun in to_ascii (Guido Notari) + * contrib/ltree fixes (Teodor) + * Fix core dump in deadlock detection on machines where char is + unsigned + * Avoid running out of buffers in many-way indexscan (bug introduced + in 7.3) + * Fix planner's selectivity estimation functions to handle domains + properly + * Fix dbmirror memory-allocation bug (Steven Singer) + * Prevent infinite loop in ln(numeric) due to roundoff error + * "GROUP BY" got confused if there were multiple equal GROUP BY + items + * Fix bad plan when inherited "UPDATE"/"DELETE" references another + inherited table + * Prevent clustering on incomplete (partial or non-NULL-storing) + indexes + * Service shutdown request at proper time if it arrives while still + starting up + * Fix left-links in temporary indexes (could make backwards scans + miss entries) + * Fix incorrect handling of client_encoding setting in + postgresql.conf (Tatsuo) + * Fix failure to respond to "pg_ctl stop -m fast" after + Async_NotifyHandler runs + * Fix SPI for case where rule contains multiple statements of the + same type + * Fix problem with checking for wrong type of access permission in + rule query + * Fix problem with "EXCEPT" in "CREATE RULE" + * Prevent problem with dropping temp tables having serial columns + * Fix replace_vars_with_subplan_refs failure in complex views + * Fix regexp slowness in single-byte encodings (Tatsuo) + * Allow qualified type names in "CREATE CAST" and " DROP CAST" + * Accept SETOF type[], which formerly had to be written SETOF _type + * Fix pg_dump core dump in some cases with procedural languages + * Force ISO datestyle in pg_dump output, for portability (Oliver) + * pg_dump failed to handle error return from lo_read (Oleg Drokin) + * pg_dumpall failed with groups having no members (Nick Eskelinen) + * pg_dumpall failed to recognize --globals-only switch + * pg_restore failed to restore blobs if -X disable-triggers is + specified + * Repair intrafunction memory leak in plpgsql + * pltcl's "elog" command dumped core if given wrong parameters (Ian + Harding) + * plpython used wrong value of atttypmod (Brad McLean) + * Fix improper quoting of boolean values in Python interface + (D'Arcy) + * Added addDataType() method to PGConnection interface for JDBC + * Fixed various problems with updateable ResultSets for JDBC (Shawn + Green) + * Fixed various problems with DatabaseMetaData for JDBC (Kris Jurka, + Peter Royal) + * Fixed problem with parsing table ACLs in JDBC + * Better error message for character set conversion problems in JDBC _________________________________________________________________ - + Release 7.3.2 - + Release date: 2003-02-04 - - This has a variety of fixes from 7.3.1. + + This release contains a variety of fixes for version 7.3.1. _________________________________________________________________ - + Migration to version 7.3.2 - - A dump/restore is *not* required for those running 7.3.*. + + A dump/restore is *not* required for those running version 7.3.*. _________________________________________________________________ - + Changes - - Restore creation of OID column in CREATE TABLE AS / SELECT INTO - Fix pg_dump core dump when dumping views having comments - Dump DEFERRABLE/INITIALLY DEFERRED constraints properly - Fix UPDATE when child table's column numbering differs from parent - Increase default value of max_fsm_relations - Fix problem when fetching backwards in a cursor for a single-row query - Make backward fetch work properly with cursor on SELECT DISTINCT query - Fix problems with loading pg_dump files containing contrib/lo usage - Fix problem with all-numeric user names - Fix possible memory leak and core dump during disconnect in libpgtcl - Make plpython's spi_execute command handle nulls properly (Andrew Bosma) - Adjust plpython error reporting so that its regression test passes again - Work with bison 1.875 - Handle mixed-case names properly in plpgsql's %type (Neil) - Fix core dump in pltcl when executing a query rewritten by a rule - Repair array subscript overruns (per report from Yichen Xie) - Reduce MAX_TIME_PRECISION from 13 to 10 in floating-point case - Correctly case-fold variable names in per-database and per-user settings - Fix coredump in plpgsql's RETURN NEXT when SELECT into record returns - no rows - Fix outdated use of pg_type.typprtlen in python client interface - Correctly handle fractional seconds in timestamps in JDBC driver - Improve performance of getImportedKeys() in JDBC - Make shared-library symlinks work standardly on HPUX (Giles) - Repair inconsistent rounding behavior for timestamp, time, interval - SSL negotiation fixes (Nathan Mueller) - Make libpq's ~/.pgpass feature work when connecting with PQconnectDB - Update my2pg, ora2pg - Translation updates - Add casts between types lo and oid in contrib/lo - fastpath code now checks for privilege to call function + + * Restore creation of OID column in CREATE TABLE AS / SELECT INTO + * Fix pg_dump core dump when dumping views having comments + * Dump DEFERRABLE/INITIALLY DEFERRED constraints properly + * Fix UPDATE when child table's column numbering differs from parent + * Increase default value of max_fsm_relations + * Fix problem when fetching backwards in a cursor for a single-row + query + * Make backward fetch work properly with cursor on SELECT DISTINCT + query + * Fix problems with loading pg_dump files containing contrib/lo + usage + * Fix problem with all-numeric user names + * Fix possible memory leak and core dump during disconnect in + libpgtcl + * Make plpython's spi_execute command handle nulls properly (Andrew + Bosma) + * Adjust plpython error reporting so that its regression test passes + again + * Work with bison 1.875 + * Handle mixed-case names properly in plpgsql's %type (Neil) + * Fix core dump in pltcl when executing a query rewritten by a rule + * Repair array subscript overruns (per report from Yichen Xie) + * Reduce MAX_TIME_PRECISION from 13 to 10 in floating-point case + * Correctly case-fold variable names in per-database and per-user + settings + * Fix coredump in plpgsql's RETURN NEXT when SELECT into record + returns no rows + * Fix outdated use of pg_type.typprtlen in python client interface + * Correctly handle fractional seconds in timestamps in JDBC driver + * Improve performance of getImportedKeys() in JDBC + * Make shared-library symlinks work standardly on HPUX (Giles) + * Repair inconsistent rounding behavior for timestamp, time, + interval + * SSL negotiation fixes (Nathan Mueller) + * Make libpq's ~/.pgpass feature work when connecting with + PQconnectDB + * Update my2pg, ora2pg + * Translation updates + * Add casts between types lo and oid in contrib/lo + * fastpath code now checks for privilege to call function _________________________________________________________________ Release 7.3.1 Release date: 2002-12-18 - This has a variety of fixes from 7.3. + This release contains a variety of fixes for version 7.3. _________________________________________________________________ Migration to version 7.3.1 - A dump/restore is *not* required for those running 7.3. However, it - should be noted that the main PostgreSQL interface library, libpq, has - a new major version number for this release, which may require - recompilation of client code in certain cases. + A dump/restore is *not* required for those running version 7.3. + However, it should be noted that the main PostgreSQL interface + library, libpq, has a new major version number for this release, which + may require recompilation of client code in certain cases. _________________________________________________________________ Changes - Fix a core dump of COPY TO when client/server encodings don't match (Tom) - Allow pg_dump to work with pre-7.2 servers (Philip) - /contrib/adddepend fixes (Tom) - Fix problem with deletion of per-user/per-database config settings (Tom) - /contrib/vacuumlo fix (Tom) - Allow 'password' encryption even when pg_shadow contains MD5 passwords - (Bruce) - /contrib/dbmirror fix (Steven Singer) - Optimizer fixes (Tom) - /contrib/tsearch fixes (Teodor Sigaev, Magnus) - Allow locale names to be mixed case (Nicolai Tufar) - Increment libpq library's major version number (Bruce) - pg_hba.conf error reporting fixes (Bruce, Neil) - Add SCO Openserver 5.0.4 as a supported platform (Bruce) - Prevent EXPLAIN from crashing server (Tom) - SSL fixes (Nathan Mueller) - Prevent composite column creation via ALTER TABLE (Tom) + * Fix a core dump of COPY TO when client/server encodings don't + match (Tom) + * Allow pg_dump to work with pre-7.2 servers (Philip) + * contrib/adddepend fixes (Tom) + * Fix problem with deletion of per-user/per-database config settings + (Tom) + * contrib/vacuumlo fix (Tom) + * Allow 'password' encryption even when pg_shadow contains MD5 + passwords (Bruce) + * contrib/dbmirror fix (Steven Singer) + * Optimizer fixes (Tom) + * contrib/tsearch fixes (Teodor Sigaev, Magnus) + * Allow locale names to be mixed case (Nicolai Tufar) + * Increment libpq library's major version number (Bruce) + * pg_hba.conf error reporting fixes (Bruce, Neil) + * Add SCO Openserver 5.0.4 as a supported platform (Bruce) + * Prevent EXPLAIN from crashing server (Tom) + * SSL fixes (Nathan Mueller) + * Prevent composite column creation via ALTER TABLE (Tom) _________________________________________________________________ Release 7.3 @@ -681,7 +862,7 @@ Remove array module because features now included by default (Joe) data from any previous release. If your application examines the system catalogs, additional changes will be required due to the introduction of schemas in 7.3; for more information, see: - http://www.ca.postgresql.org/docs/momjian/upgrade_tips_7.3. + http://developer.postgresql.org/~momjian/upgrade_tips_7.3. Observe the following incompatibilities: @@ -714,549 +895,573 @@ Remove array module because features now included by default (Joe) Server Operation - Add pg_locks view to show locks (Neil) - Security fixes for password negotiation memory allocation (Neil) - Remove support for version 0 FE/BE protocol (PostgreSQL 6.2 and - earlier) (Tom) - Reserve the last few backend slots for superusers, add parameter - superuser_reserved_connections to control this (Nigel J. Andrews) + * Add pg_locks view to show locks (Neil) + * Security fixes for password negotiation memory allocation (Neil) + * Remove support for version 0 FE/BE protocol (PostgreSQL 6.2 and + earlier) (Tom) + * Reserve the last few backend slots for superusers, add parameter + superuser_reserved_connections to control this (Nigel J. Andrews) _________________________________________________________________ Performance - Improve startup by calling localtime() only once (Tom) - Cache system catalog information in flat files for faster startup - (Tom) - Improve caching of index information (Tom) - Optimizer improvements (Tom, Fernando Nasser) - Catalog caches now store failed lookups (Tom) - Hash function improvements (Neil) - Improve performance of query tokenization and network handling (Peter) - Speed improvement for large object restore (Mario Weilguni) - Mark expired index entries on first lookup, saving later heap fetches - (Tom) - Avoid excessive NULL bitmap padding (Manfred Koizar) - Add BSD-licensed qsort() for Solaris, for performance (Bruce) - Reduce per-row overhead by four bytes (Manfred Koizar) - Fix GEQO optimizer bug (Neil Conway) - Make WITHOUT OID actually save four bytes per row (Manfred Koizar) - Add default_statistics_target variable to specify ANALYZE buckets - (Neil) - Use local buffer cache for temporary tables so no WAL overhead (Tom) - Improve free space map performance on large tables (Stephen Marshall, - Tom) - Improved WAL write concurrency (Tom) + * Improve startup by calling localtime() only once (Tom) + * Cache system catalog information in flat files for faster startup + (Tom) + * Improve caching of index information (Tom) + * Optimizer improvements (Tom, Fernando Nasser) + * Catalog caches now store failed lookups (Tom) + * Hash function improvements (Neil) + * Improve performance of query tokenization and network handling + (Peter) + * Speed improvement for large object restore (Mario Weilguni) + * Mark expired index entries on first lookup, saving later heap + fetches (Tom) + * Avoid excessive NULL bitmap padding (Manfred Koizar) + * Add BSD-licensed qsort() for Solaris, for performance (Bruce) + * Reduce per-row overhead by four bytes (Manfred Koizar) + * Fix GEQO optimizer bug (Neil Conway) + * Make WITHOUT OID actually save four bytes per row (Manfred Koizar) + * Add default_statistics_target variable to specify ANALYZE buckets + (Neil) + * Use local buffer cache for temporary tables so no WAL overhead + (Tom) + * Improve free space map performance on large tables (Stephen + Marshall, Tom) + * Improved WAL write concurrency (Tom) _________________________________________________________________ Privileges - Add privileges on functions and procedural languages (Peter) - Add OWNER to CREATE DATABASE so superusers can create databases - on behalf of unprivileged users. (Gavin Sherry, Tom) - Add new object permission bits EXECUTE and USAGE (Tom) - Add SET SESSION AUTHORIZATION DEFAULT and RESET SESSION AUTHORIZATION - (Tom) - Allow functions to be executed with the privilege of the function - owner (Peter) + * Add privileges on functions and procedural languages (Peter) + * Add OWNER to CREATE DATABASE so superusers can create databases on + behalf of unprivileged users (Gavin Sherry, Tom) + * Add new object permission bits EXECUTE and USAGE (Tom) + * Add SET SESSION AUTHORIZATION DEFAULT and RESET SESSION + AUTHORIZATION (Tom) + * Allow functions to be executed with the privilege of the function + owner (Peter) _________________________________________________________________ Server Configuration - Server log messages now tagged with LOG, not DEBUG (Bruce) - Add user column to pg_hba.conf (Bruce) - Have log_connections output two lines in log file (Tom) - Remove debug_level from postgresql.conf, now server_min_messages - (Bruce) - New ALTER DATABASE/USER ... SET command for per-user/database - initialization (Peter) - New parameters server_min_messages and client_min_messages to - control which messages are sent to the server logs or client - applications (Bruce) - Allow pg_hba.conf to specify lists of users/databases separated by - commas, group names prepended with +, and file names prepended - with @ (Bruce) - Remove secondary password file capability and pg_password utility - (Bruce) - Add variable db_user_namespace for database-local user names (Bruce) - SSL improvements (Bear Giles) - Make encryption of stored passwords the default (Bruce) - Allow pg_statistics to be reset by calling pg_stat_reset() - (Christopher) - Add log_duration parameter (Bruce) - Rename debug_print_query to log_statement (Bruce) - Rename show_query_stats to show_statement_stats (Bruce) - Add param log_min_error_statement to print commands to logs on error - (Gavin) + * Server log messages now tagged with LOG, not DEBUG (Bruce) + * Add user column to pg_hba.conf (Bruce) + * Have log_connections output two lines in log file (Tom) + * Remove debug_level from postgresql.conf, now server_min_messages + (Bruce) + * New ALTER DATABASE/USER ... SET command for per-user/database + initialization (Peter) + * New parameters server_min_messages and client_min_messages to + control which messages are sent to the server logs or client + applications (Bruce) + * Allow pg_hba.conf to specify lists of users/databases separated by + commas, group names prepended with +, and file names prepended + with @ (Bruce) + * Remove secondary password file capability and pg_password utility + (Bruce) + * Add variable db_user_namespace for database-local user names + (Bruce) + * SSL improvements (Bear Giles) + * Make encryption of stored passwords the default (Bruce) + * Allow pg_statistics to be reset by calling pg_stat_reset() + (Christopher) + * Add log_duration parameter (Bruce) + * Rename debug_print_query to log_statement (Bruce) + * Rename show_query_stats to show_statement_stats (Bruce) + * Add param log_min_error_statement to print commands to logs on + error (Gavin) _________________________________________________________________ Queries - Make cursors insensitive, meaning their contents do not change (Tom) - Disable LIMIT #,# syntax; now only LIMIT # OFFSET # supported (Bruce) - Increase identifier length to 63 (Neil, Bruce) - UNION fixes for merging >= 3 columns of different lengths (Tom) - Add DEFAULT keyword to INSERT, e.g., INSERT ... (..., DEFAULT, ...) - (Rod) - Allow views to have default values using ALTER COLUMN ... SET DEFAULT - (Neil) - Fail on INSERTs with column lists that don't supply all column - values, e.g., INSERT INTO tab (col1, col2) VALUES ('val1'); (Rod) - Fix for join aliases (Tom) - Fix for FULL OUTER JOINs (Tom) - Improve reporting of invalid identifier and location (Tom, Gavin) - Fix OPEN cursor(args) (Tom) - Allow 'ctid' to be used in a view and currtid(viewname) (Hiroshi) - Fix for CREATE TABLE AS with UNION (Tom) - SQL99 syntax improvements (Thomas) - Add statement_timeout variable to cancel queries (Bruce) - Allow prepared queries with PREPARE/EXECUTE (Neil) - Allow FOR UPDATE to appear after LIMIT/OFFSET (Bruce) - Add variable autocommit (Tom, David Van Wie) + * Make cursors insensitive, meaning their contents do not change + (Tom) + * Disable LIMIT #,# syntax; now only LIMIT # OFFSET # supported + (Bruce) + * Increase identifier length to 63 (Neil, Bruce) + * UNION fixes for merging >= 3 columns of different lengths (Tom) + * Add DEFAULT keyword to INSERT, e.g., INSERT ... (..., DEFAULT, + ...) (Rod) + * Allow views to have default values using ALTER COLUMN ... SET + DEFAULT (Neil) + * Fail on INSERTs with column lists that don't supply all column + values, e.g., INSERT INTO tab (col1, col2) VALUES ('val1'); (Rod) + * Fix for join aliases (Tom) + * Fix for FULL OUTER JOINs (Tom) + * Improve reporting of invalid identifier and location (Tom, Gavin) + * Fix OPEN cursor(args) (Tom) + * Allow 'ctid' to be used in a view and currtid(viewname) (Hiroshi) + * Fix for CREATE TABLE AS with UNION (Tom) + * SQL99 syntax improvements (Thomas) + * Add statement_timeout variable to cancel queries (Bruce) + * Allow prepared queries with PREPARE/EXECUTE (Neil) + * Allow FOR UPDATE to appear after LIMIT/OFFSET (Bruce) + * Add variable autocommit (Tom, David Van Wie) _________________________________________________________________ Object Manipulation - Make equals signs optional in CREATE DATABASE (Gavin Sherry) - Make ALTER TABLE OWNER change index ownership too (Neil) - New ALTER TABLE tabname ALTER COLUMN colname SET STORAGE controls - TOAST storage, compression (John Gray) - Add schema support, CREATE/DROP SCHEMA (Tom) - Create schema for temporary tables (Tom) - Add variable search_path for schema search (Tom) - Add ALTER TABLE SET/DROP NOT NULL (Christopher) - New CREATE FUNCTION volatility levels (Tom) - Make rule names unique only per table (Tom) - Add 'ON tablename' clause to DROP RULE and COMMENT ON RULE (Tom) - Add ALTER TRIGGER RENAME (Joe) - New current_schema() and current_schemas() inquiry functions (Tom) - Allow functions to return multiple rows (table functions) (Joe) - Make WITH optional in CREATE DATABASE, for consistency (Bruce) - Add object dependency tracking (Rod, Tom) - Add RESTRICT/CASCADE to DROP commands (Rod) - Add ALTER TABLE DROP for non-CHECK CONSTRAINT (Rod) - Autodestroy sequence on DROP of table with SERIAL (Rod) - Prevent column dropping if column is used by foreign key (Rod) - Automatically drop constraints/functions when object is dropped (Rod) - Add CREATE/DROP OPERATOR CLASS (Bill Studenmund, Tom) - Add ALTER TABLE DROP COLUMN (Christopher, Tom, Hiroshi) - Prevent inherited columns from being removed or renamed (Alvaro - Herrera) - Fix foreign key constraints to not error on intermediate database - states (Stephan) - Propagate column or table renaming to foreign key constraints - Add CREATE OR REPLACE VIEW (Gavin, Neil, Tom) - Add CREATE OR REPLACE RULE (Gavin, Neil, Tom) - Have rules execute alphabetically, returning more predictable values - (Tom) - Triggers are now fired in alphabetical order (Tom) - Add /contrib/adddepend to handle pre-7.3 object dependencies (Rod) - Allow better casting when inserting/updating values (Tom) + * Make equals signs optional in CREATE DATABASE (Gavin Sherry) + * Make ALTER TABLE OWNER change index ownership too (Neil) + * New ALTER TABLE tabname ALTER COLUMN colname SET STORAGE controls + TOAST storage, compression (John Gray) + * Add schema support, CREATE/DROP SCHEMA (Tom) + * Create schema for temporary tables (Tom) + * Add variable search_path for schema search (Tom) + * Add ALTER TABLE SET/DROP NOT NULL (Christopher) + * New CREATE FUNCTION volatility levels (Tom) + * Make rule names unique only per table (Tom) + * Add 'ON tablename' clause to DROP RULE and COMMENT ON RULE (Tom) + * Add ALTER TRIGGER RENAME (Joe) + * New current_schema() and current_schemas() inquiry functions (Tom) + * Allow functions to return multiple rows (table functions) (Joe) + * Make WITH optional in CREATE DATABASE, for consistency (Bruce) + * Add object dependency tracking (Rod, Tom) + * Add RESTRICT/CASCADE to DROP commands (Rod) + * Add ALTER TABLE DROP for non-CHECK CONSTRAINT (Rod) + * Autodestroy sequence on DROP of table with SERIAL (Rod) + * Prevent column dropping if column is used by foreign key (Rod) + * Automatically drop constraints/functions when object is dropped + (Rod) + * Add CREATE/DROP OPERATOR CLASS (Bill Studenmund, Tom) + * Add ALTER TABLE DROP COLUMN (Christopher, Tom, Hiroshi) + * Prevent inherited columns from being removed or renamed (Alvaro + Herrera) + * Fix foreign key constraints to not error on intermediate database + states (Stephan) + * Propagate column or table renaming to foreign key constraints + * Add CREATE OR REPLACE VIEW (Gavin, Neil, Tom) + * Add CREATE OR REPLACE RULE (Gavin, Neil, Tom) + * Have rules execute alphabetically, returning more predictable + values (Tom) + * Triggers are now fired in alphabetical order (Tom) + * Add /contrib/adddepend to handle pre-7.3 object dependencies (Rod) + * Allow better casting when inserting/updating values (Tom) _________________________________________________________________ Utility Commands - Have COPY TO output embedded carriage returns and newlines as \r and - \n (Tom) - Allow DELIMITER in COPY FROM to be 8-bit clean (Tatsuo) - Make pg_dump use ALTER TABLE ADD PRIMARY KEY, for performance (Neil) - Disable brackets in multistatement rules (Bruce) - Disable VACUUM from being called inside a function (Bruce) - Allow dropdb and other scripts to use identifiers with spaces (Bruce) - Restrict database comment changes to the current database - Allow comments on operators, independent of the underlying function - (Rod) - Rollback SET commands in aborted transactions (Tom) - EXPLAIN now outputs as a query (Tom) - Display condition expressions and sort keys in EXPLAIN (Tom) - Add 'SET LOCAL var = value' to set configuration variables for a - single transaction (Tom) - Allow ANALYZE to run in a transaction (Bruce) - Improve COPY syntax using new WITH clauses, keep backward - compatibility (Bruce) - Fix pg_dump to consistently output tags in non-ASCII dumps (Bruce) - Make foreign key constraints clearer in dump file (Rod) - Add COMMENT ON CONSTRAINT (Rod) - Allow COPY TO/FROM to specify column names (Brent Verner) - Dump UNIQUE and PRIMARY KEY constraints as ALTER TABLE (Rod) - Have SHOW output a query result (Joe) - Generate failure on short COPY lines rather than pad NULLs (Neil) - Fix CLUSTER to preserve all table attributes (Alvaro Herrera) - New pg_settings table to view/modify GUC settings (Joe) - Add smart quoting, portability improvements to pg_dump output (Peter) - Dump serial columns out as SERIAL (Tom) - Enable large file support, >2G for pg_dump (Peter, Philip Warner, - Bruce) - Disallow TRUNCATE on tables that are involved in referential - constraints (Rod) - Have TRUNCATE also auto-truncate the toast table of the relation (Tom) - Add clusterdb utility that will auto-cluster an entire database - based on previous CLUSTER operations (Alvaro Herrera) - Overhaul pg_dumpall (Peter) - Allow REINDEX of TOAST tables (Tom) - Implemented START TRANSACTION, per SQL99 (Neil) - Fix rare index corruption when a page split affects bulk delete (Tom) - Fix ALTER TABLE ... ADD COLUMN for inheritance (Alvaro Herrera) + * Have COPY TO output embedded carriage returns and newlines as \r + and \n (Tom) + * Allow DELIMITER in COPY FROM to be 8-bit clean (Tatsuo) + * Make pg_dump use ALTER TABLE ADD PRIMARY KEY, for performance + (Neil) + * Disable brackets in multistatement rules (Bruce) + * Disable VACUUM from being called inside a function (Bruce) + * Allow dropdb and other scripts to use identifiers with spaces + (Bruce) + * Restrict database comment changes to the current database + * Allow comments on operators, independent of the underlying + function (Rod) + * Rollback SET commands in aborted transactions (Tom) + * EXPLAIN now outputs as a query (Tom) + * Display condition expressions and sort keys in EXPLAIN (Tom) + * Add 'SET LOCAL var = value' to set configuration variables for a + single transaction (Tom) + * Allow ANALYZE to run in a transaction (Bruce) + * Improve COPY syntax using new WITH clauses, keep backward + compatibility (Bruce) + * Fix pg_dump to consistently output tags in non-ASCII dumps (Bruce) + * Make foreign key constraints clearer in dump file (Rod) + * Add COMMENT ON CONSTRAINT (Rod) + * Allow COPY TO/FROM to specify column names (Brent Verner) + * Dump UNIQUE and PRIMARY KEY constraints as ALTER TABLE (Rod) + * Have SHOW output a query result (Joe) + * Generate failure on short COPY lines rather than pad NULLs (Neil) + * Fix CLUSTER to preserve all table attributes (Alvaro Herrera) + * New pg_settings table to view/modify GUC settings (Joe) + * Add smart quoting, portability improvements to pg_dump output + (Peter) + * Dump serial columns out as SERIAL (Tom) + * Enable large file support, >2G for pg_dump (Peter, Philip Warner, + Bruce) + * Disallow TRUNCATE on tables that are involved in referential + constraints (Rod) + * Have TRUNCATE also auto-truncate the toast table of the relation + (Tom) + * Add clusterdb utility that will auto-cluster an entire database + based on previous CLUSTER operations (Alvaro Herrera) + * Overhaul pg_dumpall (Peter) + * Allow REINDEX of TOAST tables (Tom) + * Implemented START TRANSACTION, per SQL99 (Neil) + * Fix rare index corruption when a page split affects bulk delete + (Tom) + * Fix ALTER TABLE ... ADD COLUMN for inheritance (Alvaro Herrera) _________________________________________________________________ Data Types and Functions - Fix factorial(0) to return 1 (Bruce) - Date/time/timezone improvements (Thomas) - Fix for array slice extraction (Tom) - Fix extract/date_part to report proper microseconds for timestamp - (Tatsuo) - Allow text_substr() and bytea_substr() to read TOAST values more - efficiently (John Gray) - Add domain support (Rod) - Make WITHOUT TIME ZONE the default for TIMESTAMP and TIME data types - (Thomas) - Allow alternate storage scheme of 64-bit integers for date/time types - using --enable-integer-datetimes in configure (Thomas) - Make timezone(timestamptz) return timestamp rather than a string - (Thomas) - Allow fractional seconds in date/time types for dates prior to 1BC - (Thomas) - Limit timestamp data types to 6 decimal places of precision (Thomas) - Change timezone conversion functions from timetz() to timezone() - (Thomas) - Add configuration variables datestyle and timezone (Tom) - Add OVERLAY(), which allows substitution of a substring in a string - (Thomas) - Add SIMILAR TO (Thomas, Tom) - Add regular expression SUBSTRING(string FROM pat FOR escape) (Thomas) - Add LOCALTIME and LOCALTIMESTAMP functions (Thomas) - Add named composite types using CREATE TYPE typename AS (column) - (Joe) - Allow composite type definition in the table alias clause (Joe) - Add new API to simplify creation of C language table functions (Joe) - Remove ODBC-compatible empty parentheses from calls to SQL99 - functions for which these parentheses do not match the standard - (Thomas) - Allow macaddr data type to accept 12 hex digits with no separators - (Mike Wyer) - Add CREATE/DROP CAST (Peter) - Add IS DISTINCT FROM operator (Thomas) - Add SQL99 TREAT() function, synonym for CAST() (Thomas) - Add pg_backend_pid() to output backend pid (Bruce) - Add IS OF / IS NOT OF type predicate (Thomas) - Allow bit string constants without fully-specified length (Thomas) - Allow conversion between 8-byte integers and bit strings (Thomas) - Implement hex literal conversion to bit string literal (Thomas) - Allow table functions to appear in the FROM clause (Joe) - Increase maximum number of function parameters to 32 (Bruce) - No longer automatically create index for SERIAL column (Tom) - Add current_database() (Rod) - Fix cash_words() to not overflow buffer (Tom) - Add functions replace(), split_part(), to_hex() (Joe) - Fix LIKE for bytea as a right-hand argument (Joe) - Prevent crashes caused by SELECT cash_out(2) (Tom) - Fix to_char(1,'FM999.99') to return a period (Karel) - Fix trigger/type/language functions returning OPAQUE to return - proper type (Tom) + * Fix factorial(0) to return 1 (Bruce) + * Date/time/timezone improvements (Thomas) + * Fix for array slice extraction (Tom) + * Fix extract/date_part to report proper microseconds for timestamp + (Tatsuo) + * Allow text_substr() and bytea_substr() to read TOAST values more + efficiently (John Gray) + * Add domain support (Rod) + * Make WITHOUT TIME ZONE the default for TIMESTAMP and TIME data + types (Thomas) + * Allow alternate storage scheme of 64-bit integers for date/time + types using --enable-integer-datetimes in configure (Thomas) + * Make timezone(timestamptz) return timestamp rather than a string + (Thomas) + * Allow fractional seconds in date/time types for dates prior to 1BC + (Thomas) + * Limit timestamp data types to 6 decimal places of precision + (Thomas) + * Change timezone conversion functions from timetz() to timezone() + (Thomas) + * Add configuration variables datestyle and timezone (Tom) + * Add OVERLAY(), which allows substitution of a substring in a + string (Thomas) + * Add SIMILAR TO (Thomas, Tom) + * Add regular expression SUBSTRING(string FROM pat FOR escape) + (Thomas) + * Add LOCALTIME and LOCALTIMESTAMP functions (Thomas) + * Add named composite types using CREATE TYPE typename AS (column) + (Joe) + * Allow composite type definition in the table alias clause (Joe) + * Add new API to simplify creation of C language table functions + (Joe) + * Remove ODBC-compatible empty parentheses from calls to SQL99 + functions for which these parentheses do not match the standard + (Thomas) + * Allow macaddr data type to accept 12 hex digits with no separators + (Mike Wyer) + * Add CREATE/DROP CAST (Peter) + * Add IS DISTINCT FROM operator (Thomas) + * Add SQL99 TREAT() function, synonym for CAST() (Thomas) + * Add pg_backend_pid() to output backend pid (Bruce) + * Add IS OF / IS NOT OF type predicate (Thomas) + * Allow bit string constants without fully-specified length (Thomas) + * Allow conversion between 8-byte integers and bit strings (Thomas) + * Implement hex literal conversion to bit string literal (Thomas) + * Allow table functions to appear in the FROM clause (Joe) + * Increase maximum number of function parameters to 32 (Bruce) + * No longer automatically create index for SERIAL column (Tom) + * Add current_database() (Rod) + * Fix cash_words() to not overflow buffer (Tom) + * Add functions replace(), split_part(), to_hex() (Joe) + * Fix LIKE for bytea as a right-hand argument (Joe) + * Prevent crashes caused by SELECT cash_out(2) (Tom) + * Fix to_char(1,'FM999.99') to return a period (Karel) + * Fix trigger/type/language functions returning OPAQUE to return + proper type (Tom) _________________________________________________________________ Internationalization - Add additional encodings: Korean (JOHAB), Thai (WIN874), Vietnamese - (TCVN), Arabic (WIN1256), Simplified Chinese (GBK), Korean (UHC) - (Eiji Tokuya) - Enable locale support by default (Peter) - Add locale variables (Peter) - Escape byes >= 0x7f for multibyte in PQescapeBytea/PQunescapeBytea - (Tatsuo) - Add locale awareness to regular expression character classes - Enable multibyte support by default (Tatso) - Add GB18030 multibyte support (Bill Huang) - Add CREATE/DROP CONVERSION, allowing loadable encodings (Tatsuo, - Kaori) - Add pg_conversion table (Tatsuo) - Add SQL99 CONVERT() function (Tatsuo) - pg_dumpall, pg_controldata, and pg_resetxlog now national-language - aware (Peter) - New and updated translations + * Add additional encodings: Korean (JOHAB), Thai (WIN874), + Vietnamese (TCVN), Arabic (WIN1256), Simplified Chinese (GBK), + Korean (UHC) (Eiji Tokuya) + * Enable locale support by default (Peter) + * Add locale variables (Peter) + * Escape byes >= 0x7f for multibyte in PQescapeBytea/PQunescapeBytea + (Tatsuo) + * Add locale awareness to regular expression character classes + * Enable multibyte support by default (Tatsuo) + * Add GB18030 multibyte support (Bill Huang) + * Add CREATE/DROP CONVERSION, allowing loadable encodings (Tatsuo, + Kaori) + * Add pg_conversion table (Tatsuo) + * Add SQL99 CONVERT() function (Tatsuo) + * pg_dumpall, pg_controldata, and pg_resetxlog now national-language + aware (Peter) + * New and updated translations _________________________________________________________________ Server-side Languages - Allow recursive SQL function (Peter) - Change PL/Tcl build to use configured compiler and Makefile.shlib - (Peter) - Overhaul the PL/pgSQL FOUND variable to be more Oracle-compatible - (Neil, Tom) - Allow PL/pgSQL to handle quoted identifiers (Tom) - Allow set-returning PL/pgSQL functions (Neil) - Make PL/pgSQL schema-aware (Joe) - Remove some memory leaks (Nigel J. Andrews, Tom) + * Allow recursive SQL function (Peter) + * Change PL/Tcl build to use configured compiler and Makefile.shlib + (Peter) + * Overhaul the PL/pgSQL FOUND variable to be more Oracle-compatible + (Neil, Tom) + * Allow PL/pgSQL to handle quoted identifiers (Tom) + * Allow set-returning PL/pgSQL functions (Neil) + * Make PL/pgSQL schema-aware (Joe) + * Remove some memory leaks (Nigel J. Andrews, Tom) _________________________________________________________________ -Psql +psql - Don't lowercase psql \connect database name for 7.2.0 compatibility - (Tom) - Add psql \timing to time user queries (Greg Sabino Mullane) - Have psql \d show index information (Greg Sabino Mullane) - New psql \dD shows domains (Jonathan Eisler) - Allow psql to show rules on views (Paul ?) - Fix for psql variable substitution (Tom) - Allow psql \d to show temporary table structure (Tom) - Allow psql \d to show foreign keys (Rod) - Fix \? to honor \pset pager (Bruce) - Have psql reports its version number on startup (Tom) - Allow \copy to specify column names (Tom) + * Don't lowercase psql \connect database name for 7.2.0 + compatibility (Tom) + * Add psql \timing to time user queries (Greg Sabino Mullane) + * Have psql \d show index information (Greg Sabino Mullane) + * New psql \dD shows domains (Jonathan Eisler) + * Allow psql to show rules on views (Paul ?) + * Fix for psql variable substitution (Tom) + * Allow psql \d to show temporary table structure (Tom) + * Allow psql \d to show foreign keys (Rod) + * Fix \? to honor \pset pager (Bruce) + * Have psql reports its version number on startup (Tom) + * Allow \copy to specify column names (Tom) _________________________________________________________________ -Libpq +libpq - Add $HOME/.pgpass to store host/user password combinations (Alvaro - Herrera) - Add PQunescapeBytea() function to libpq (Patrick Welche) - Fix for sending large queries over non-blocking connections - (Bernhard Herzog) - Fix for libpq using timers on Win9X (David Ford) - Allow libpq notify to handle servers with different-length - identifiers (Tom) - Add libpq PQescapeString() and PQescapeBytea() to Win32 (Bruce) - Fix for SSL with non-blocking connections (Jack Bates) - Add libpq connection timeout parameter (Denis A Ustimenko) + * Add $HOME/.pgpass to store host/user password combinations (Alvaro + Herrera) + * Add PQunescapeBytea() function to libpq (Patrick Welche) + * Fix for sending large queries over non-blocking connections + (Bernhard Herzog) + * Fix for libpq using timers on Win9X (David Ford) + * Allow libpq notify to handle servers with different-length + identifiers (Tom) + * Add libpq PQescapeString() and PQescapeBytea() to Win32 (Bruce) + * Fix for SSL with non-blocking connections (Jack Bates) + * Add libpq connection timeout parameter (Denis A Ustimenko) _________________________________________________________________ JDBC - Allow JDBC to compile with JDK 1.4 (Dave) - Add JDBC 3 support (Barry) - Allows JDBC to set loglevel by adding ?loglevel=X to the connection - URL (Barry) - Add Driver.info() message that prints out the version number (Barry) - Add updateable result sets (Raghu Nidagal, Dave) - Add support for callable statements (Paul Bethe) - Add query cancel capability - Add refresh row (Dave) - Fix MD5 encryption handling for multibyte servers (Jun Kawai) - Add support for prepared statements (Barry) + * Allow JDBC to compile with JDK 1.4 (Dave) + * Add JDBC 3 support (Barry) + * Allows JDBC to set loglevel by adding ?loglevel=X to the + connection URL (Barry) + * Add Driver.info() message that prints out the version number + (Barry) + * Add updateable result sets (Raghu Nidagal, Dave) + * Add support for callable statements (Paul Bethe) + * Add query cancel capability + * Add refresh row (Dave) + * Fix MD5 encryption handling for multibyte servers (Jun Kawai) + * Add support for prepared statements (Barry) _________________________________________________________________ Miscellaneous Interfaces - Fixed ECPG bug concerning octal numbers in single quotes (Michael) - Move src/interfaces/libpgeasy to http://gborg.postgresql.org (Marc, - Bruce) - Improve Python interface (Elliot Lee, Andrew Johnson, Greg Copeland) - Add libpgtcl connection close event (Gerhard Hintermayer) - Move src/interfaces/libpq++ to http://gborg.postgresql.org (Marc, - Bruce) - Move src/interfaces/odbc to http://gborg.postgresql.org (Marc) - Move src/interfaces/libpgeasy to http://gborg.postgresql.org (Marc, - Bruce) - Move src/interfaces/perl5 to http://gborg.postgresql.org (Marc, - Bruce) - Remove src/bin/pgaccess from main tree, now at - http://www.pgaccess.org (Bruce) - Add pg_on_connection_loss command to libpgtcl (Gerhard Hintermayer, - Tom) + * Fixed ECPG bug concerning octal numbers in single quotes (Michael) + * Move src/interfaces/libpgeasy to http://gborg.postgresql.org + (Marc, Bruce) + * Improve Python interface (Elliot Lee, Andrew Johnson, Greg + Copeland) + * Add libpgtcl connection close event (Gerhard Hintermayer) + * Move src/interfaces/libpq++ to http://gborg.postgresql.org (Marc, + Bruce) + * Move src/interfaces/odbc to http://gborg.postgresql.org (Marc) + * Move src/interfaces/libpgeasy to http://gborg.postgresql.org + (Marc, Bruce) + * Move src/interfaces/perl5 to http://gborg.postgresql.org (Marc, + Bruce) + * Remove src/bin/pgaccess from main tree, now at + http://www.pgaccess.org (Bruce) + * Add pg_on_connection_loss command to libpgtcl (Gerhard + Hintermayer, Tom) _________________________________________________________________ Source Code - Fix for parallel make (Peter) - AIX fixes for linking Tcl (Andreas Zeugswetter) - Allow PL/Perl to build under Cygwin (Jason Tishler) - Improve MIPS compiles (Peter, Oliver Elphick) - Require Autoconf version 2.53 (Peter) - Require readline and zlib by default in configure (Peter) - Allow Solaris to use Intimate Shared Memory (ISM), for performance - (Scott Brunza, P.J. Josh Rovero) - Always enable syslog in compile, remove --enable-syslog option - (Tatsuo) - Always enable multibyte in compile, remove --enable-multibyte option - (Tatsuo) - Always enable locale in compile, remove --enable-locale option - (Peter) - Fix for Win9x DLL creation (Magnus Naeslund) - Fix for link() usage by WAL code on Win32, BeOS (Jason Tishler) - Add sys/types.h to c.h, remove from main files (Peter, Bruce) - Fix AIX hang on SMP machines (Tomoyuki Niijima) - AIX SMP hang fix (Tomoyuki Niijima) - Fix pre-1970 date handling on newer glibc libraries (Tom) - Fix PowerPC SMP locking (Tom) - Prevent gcc -ffast-math from being used (Peter, Tom) - Bison >= 1.50 now required for developer builds - Kerberos 5 support now builds with Heimdal (Peter) - Add appendix in the User's Guide which lists SQL features (Thomas) - Improve loadable module linking to use RTLD_NOW (Tom) - New error levels WARNING, INFO, LOG, DEBUG[1-5] (Bruce) - New src/port directory holds replaced libc functions (Peter, Bruce) - New pg_namespace system catalog for schemas (Tom) - Add pg_class.relnamespace for schemas (Tom) - Add pg_type.typnamespace for schemas (Tom) - Add pg_proc.pronamespace for schemas (Tom) - Restructure aggregates to have pg_proc entries (Tom) - System relations now have their own namespace, pg_* test not required - (Fernando Nasser) - Rename TOAST index names to be *_index rather than *_idx (Neil) - Add namespaces for operators, opclasses (Tom) - Add additional checks to server control file (Thomas) - New Polish FAQ (Marcin Mazurek) - Add Posix semaphore support (Tom) - Document need for reindex (Bruce) - Rename some internal identifiers to simplify Win32 compile (Jan, - Katherine Ward) - Add documentation on computing disk space (Bruce) - Remove KSQO from GUC (Bruce) - Fix memory leak in rtree (Kenneth Been) - Modify a few error messages for consistency (Bruce) - Remove unused system table columns (Peter) - Make system columns NOT NULL where appropriate (Tom) - Clean up use of sprintf in favor of snprintf() (Neil, Jukka Holappa) - Remove OPAQUE and create specific subtypes (Tom) - Cleanups in array internal handling (Joe, Tom) - Disallow pg_atoi('') (Bruce) - Remove parameter wal_files because WAL files are now recycled (Bruce) - Add version numbers to heap pages (Tom) + * Fix for parallel make (Peter) + * AIX fixes for linking Tcl (Andreas Zeugswetter) + * Allow PL/Perl to build under Cygwin (Jason Tishler) + * Improve MIPS compiles (Peter, Oliver Elphick) + * Require Autoconf version 2.53 (Peter) + * Require readline and zlib by default in configure (Peter) + * Allow Solaris to use Intimate Shared Memory (ISM), for performance + (Scott Brunza, P.J. Josh Rovero) + * Always enable syslog in compile, remove --enable-syslog option + (Tatsuo) + * Always enable multibyte in compile, remove --enable-multibyte + option (Tatsuo) + * Always enable locale in compile, remove --enable-locale option + (Peter) + * Fix for Win9x DLL creation (Magnus Naeslund) + * Fix for link() usage by WAL code on Win32, BeOS (Jason Tishler) + * Add sys/types.h to c.h, remove from main files (Peter, Bruce) + * Fix AIX hang on SMP machines (Tomoyuki Niijima) + * AIX SMP hang fix (Tomoyuki Niijima) + * Fix pre-1970 date handling on newer glibc libraries (Tom) + * Fix PowerPC SMP locking (Tom) + * Prevent gcc -ffast-math from being used (Peter, Tom) + * Bison >= 1.50 now required for developer builds + * Kerberos 5 support now builds with Heimdal (Peter) + * Add appendix in the User's Guide which lists SQL features (Thomas) + * Improve loadable module linking to use RTLD_NOW (Tom) + * New error levels WARNING, INFO, LOG, DEBUG[1-5] (Bruce) + * New src/port directory holds replaced libc functions (Peter, + Bruce) + * New pg_namespace system catalog for schemas (Tom) + * Add pg_class.relnamespace for schemas (Tom) + * Add pg_type.typnamespace for schemas (Tom) + * Add pg_proc.pronamespace for schemas (Tom) + * Restructure aggregates to have pg_proc entries (Tom) + * System relations now have their own namespace, pg_* test not + required (Fernando Nasser) + * Rename TOAST index names to be *_index rather than *_idx (Neil) + * Add namespaces for operators, opclasses (Tom) + * Add additional checks to server control file (Thomas) + * New Polish FAQ (Marcin Mazurek) + * Add Posix semaphore support (Tom) + * Document need for reindex (Bruce) + * Rename some internal identifiers to simplify Win32 compile (Jan, + Katherine Ward) + * Add documentation on computing disk space (Bruce) + * Remove KSQO from GUC (Bruce) + * Fix memory leak in rtree (Kenneth Been) + * Modify a few error messages for consistency (Bruce) + * Remove unused system table columns (Peter) + * Make system columns NOT NULL where appropriate (Tom) + * Clean up use of sprintf in favor of snprintf() (Neil, Jukka + Holappa) + * Remove OPAQUE and create specific subtypes (Tom) + * Cleanups in array internal handling (Joe, Tom) + * Disallow pg_atoi('') (Bruce) + * Remove parameter wal_files because WAL files are now recycled + (Bruce) + * Add version numbers to heap pages (Tom) _________________________________________________________________ Contrib - Allow inet arrays in /contrib/array (Neil) - Gist fixes (Teodor Sigaev, Neil) - Upgrade /contrib/mysql - Add /contrib/dbsize which shows table sizes without vacuum (Peter) - Add /contrib/intagg, integer aggregator routines (mlw) - Improve /contrib/oid2name (Neil, Bruce) - Improve /contrib/tsearch (Oleg, Teodor Sigaev) - Cleanups of /contrib/rserver (Alexey V. Borzov) - Update /contrib/oracle conversion utility (Gilles Darold) - Update /contrib/dblink (Joe) - Improve options supported by /contrib/vacuumlo (Mario Weilguni) - Improvements to /contrib/intarray (Oleg, Teodor Sigaev, Andrey - Oktyabrski) - Add /contrib/reindexdb utility (Shaun Thomas) - Add indexing to /contrib/isbn_issn (Dan Weston) - Add /contrib/dbmirror (Steven Singer) - Improve /contrib/pgbench (Neil) - Add /contrib/tablefunc table function examples (Joe) - Add /contrib/ltree data type for tree structures (Teodor Sigaev, - Oleg Bartunov) - Move /contrib/pg_controldata, pg_resetxlog into main tree (Bruce) - Fixes to /contrib/cube (Bruno Wolff) - Improve /contrib/fulltextindex (Christopher) + * Allow inet arrays in /contrib/array (Neil) + * GiST fixes (Teodor Sigaev, Neil) + * Upgrade /contrib/mysql + * Add /contrib/dbsize which shows table sizes without vacuum (Peter) + * Add /contrib/intagg, integer aggregator routines (mlw) + * Improve /contrib/oid2name (Neil, Bruce) + * Improve /contrib/tsearch (Oleg, Teodor Sigaev) + * Cleanups of /contrib/rserver (Alexey V. Borzov) + * Update /contrib/oracle conversion utility (Gilles Darold) + * Update /contrib/dblink (Joe) + * Improve options supported by /contrib/vacuumlo (Mario Weilguni) + * Improvements to /contrib/intarray (Oleg, Teodor Sigaev, Andrey + Oktyabrski) + * Add /contrib/reindexdb utility (Shaun Thomas) + * Add indexing to /contrib/isbn_issn (Dan Weston) + * Add /contrib/dbmirror (Steven Singer) + * Improve /contrib/pgbench (Neil) + * Add /contrib/tablefunc table function examples (Joe) + * Add /contrib/ltree data type for tree structures (Teodor Sigaev, + Oleg Bartunov) + * Move /contrib/pg_controldata, pg_resetxlog into main tree (Bruce) + * Fixes to /contrib/cube (Bruno Wolff) + * Improve /contrib/fulltextindex (Christopher) _________________________________________________________________ - + Release 7.2.4 - + Release date: 2003-01-30 - - This has a variety of fixes from 7.2.3, including fixes to prevent - possible data loss. + + This release contains a variety of fixes for version 7.2.3, including + fixes to prevent possible data loss. _________________________________________________________________ - + Migration to version 7.2.4 - - A dump/restore is *not* required for those running 7.2.X. + + A dump/restore is *not* required for those running version 7.2.*. _________________________________________________________________ - + Changes - - Fix some additional cases of VACUUM "No one parent tuple was found" - error - Prevent VACUUM from being called inside a function (Bruce) - Ensure pg_clog updates are sync'd to disk before marking checkpoint - complete - Avoid integer overflow during large hash joins - Make GROUP commands work when pg_group.grolist is large enough - to be toasted - Fix errors in datetime tables; some timezone names weren't being - recognized - Fix integer overflows in circle_poly(), path_encode(), path_add() - (Neil) - Repair long-standing logic errors in lseg_eq(), lseg_ne(), lseg_center() + + * Fix some additional cases of VACUUM "No one parent tuple was + found" error + * Prevent VACUUM from being called inside a function (Bruce) + * Ensure pg_clog updates are sync'd to disk before marking + checkpoint complete + * Avoid integer overflow during large hash joins + * Make GROUP commands work when pg_group.grolist is large enough to + be toasted + * Fix errors in datetime tables; some timezone names weren't being + recognized + * Fix integer overflows in circle_poly(), path_encode(), path_add() + (Neil) + * Repair long-standing logic errors in lseg_eq(), lseg_ne(), + lseg_center() _________________________________________________________________ Release 7.2.3 Release date: 2002-10-01 - This has a variety of fixes from 7.2.2, including fixes to prevent - possible data loss. + This release contains a variety of fixes for version 7.2.2, including + fixes to prevent possible data loss. _________________________________________________________________ Migration to version 7.2.3 - A dump/restore is *not* required for those running 7.2.X. + A dump/restore is *not* required for those running version 7.2.*. _________________________________________________________________ Changes - Prevent possible compressed transaction log loss (Tom) - Prevent non-superuser from increasing most recent vacuum info (Tom) - Handle pre-1970 date values in newer versions of glibc (Tom) - Fix possible hang during server shutdown - Prevent spinlock hangs on SMP PPC machines (Tomoyuki Niijima) - Fix pg_dump to properly dump FULL JOIN USING (Tom) + * Prevent possible compressed transaction log loss (Tom) + * Prevent non-superuser from increasing most recent vacuum info + (Tom) + * Handle pre-1970 date values in newer versions of glibc (Tom) + * Fix possible hang during server shutdown + * Prevent spinlock hangs on SMP PPC machines (Tomoyuki Niijima) + * Fix pg_dump to properly dump FULL JOIN USING (Tom) _________________________________________________________________ Release 7.2.2 Release date: 2002-08-23 - This has a variety of fixes from 7.2.1. + This release contains a variety of fixes for version 7.2.1. _________________________________________________________________ Migration to version 7.2.2 - A dump/restore is *not* required for those running 7.2.X. + A dump/restore is *not* required for those running version 7.2.*. _________________________________________________________________ Changes - Allow EXECUTE of "CREATE TABLE AS ... SELECT" in PL/pgSQL (Tom) - Fix for compressed transaction log id wraparound (Tom) - Fix PQescapeBytea/PQunescapeBytea so that they handle bytes > 0x7f (Ta - tsuo) - Fix for psql and pg_dump crashing when invoked with non-existand long - options (Tatsuo) - Fix crash when invoking geometric operators (Tom) - Allow OPEN cursor(args) (Tom) - Fix for rtree_gist index build (Teodor) - Fix for dumping user-defined aggregates (Tom) - Contrib/intarray fixes (Oleg) - Fix for complex UNION/EXCEPT/INTERSECT queries using parens (Tom) - Fix to pg_convert (Tatsuo) - Fix for crash with long DATA strings (Thomes, Neil) - Fix for repeat(), lpad(), rpad() and long strings (Neil) + * Allow EXECUTE of "CREATE TABLE AS ... SELECT" in PL/pgSQL (Tom) + * Fix for compressed transaction log id wraparound (Tom) + * Fix PQescapeBytea/PQunescapeBytea so that they handle bytes > 0x7f + (Tatsuo) + * Fix for psql and pg_dump crashing when invoked with non-existent + long options (Tatsuo) + * Fix crash when invoking geometric operators (Tom) + * Allow OPEN cursor(args) (Tom) + * Fix for rtree_gist index build (Teodor) + * Fix for dumping user-defined aggregates (Tom) + * contrib/intarray fixes (Oleg) + * Fix for complex UNION/EXCEPT/INTERSECT queries using parens (Tom) + * Fix to pg_convert (Tatsuo) + * Fix for crash with long DATA strings (Thomas, Neil) + * Fix for repeat(), lpad(), rpad() and long strings (Neil) _________________________________________________________________ Release 7.2.1 Release date: 2002-03-21 - This has a variety of fixes from 7.2. + This release contains a variety of fixes for version 7.2. _________________________________________________________________ Migration to version 7.2.1 - A dump/restore is *not* required for those running 7.2. + A dump/restore is *not* required for those running version 7.2. _________________________________________________________________ Changes - Ensure that sequence counters do not go backwards after a crash (Tom) - Fix pgaccess kanji-coversion key binding (Tatsuo) - Optimizer improvements (Tom) - Cash I/O improvements (Tom) - New Russian FAQ - Compile fix for missing AuthBlockSig (Heiko) - Additional time zones and time zone fixes (Thomas) - Allow psql \connect to handle mixed case database and user names (Tom) - Return proper OID on command completion even with ON INSERT rules (Tom - ) - Allow COPY FROM to use 8-bit DELIMITERS (Tatsuo) - Fix bug in extract/date_part for milliseconds/microseconds (Tatsuo) - Improve handling of multiple UNIONs with different lengths (Tom) - contrib/btree_gist improvements (Teodor Sigaev) - contrib/tsearch dictionary improvements, see README.tsearch for - an additional installation step (Thomas T. Thai, Teodor Sigaev) - Fix for array subscripts handling (Tom) - Allow EXECUTE of "CREATE TABLE AS ... SELECT" in PL/pgSQL (Tom) + * Ensure that sequence counters do not go backwards after a crash + (Tom) + * Fix pgaccess kanji-conversion key binding (Tatsuo) + * Optimizer improvements (Tom) + * Cash I/O improvements (Tom) + * New Russian FAQ + * Compile fix for missing AuthBlockSig (Heiko) + * Additional time zones and time zone fixes (Thomas) + * Allow psql \connect to handle mixed case database and user names + (Tom) + * Return proper OID on command completion even with ON INSERT rules + (Tom) + * Allow COPY FROM to use 8-bit DELIMITERS (Tatsuo) + * Fix bug in extract/date_part for milliseconds/microseconds + (Tatsuo) + * Improve handling of multiple UNIONs with different lengths (Tom) + * contrib/btree_gist improvements (Teodor Sigaev) + * contrib/tsearch dictionary improvements, see README.tsearch for an + additional installation step (Thomas T. Thai, Teodor Sigaev) + * Fix for array subscripts handling (Tom) + * Allow EXECUTE of "CREATE TABLE AS ... SELECT" in PL/pgSQL (Tom) _________________________________________________________________ Release 7.2 @@ -1335,377 +1540,394 @@ Contrib Server Operation - Create temporary files in a separate directory (Bruce) - Delete orphaned temporary files on postmaster startup (Bruce) - Added unique indexes to some system tables (Tom) - System table operator reorganization (Oleg Bartunov, Teodor Sigaev, To - m) - Renamed pg_log to pg_clog (Tom) - Enable SIGTERM, SIGQUIT to kill backends (Jan) - Removed compile-time limit on number of backends (Tom) - Better cleanup for semaphore resource failure (Tatsuo, Tom) - Allow safe transaction ID wraparound (Tom) - Removed OIDs from some system tables (Tom) - Removed "triggered data change violation" error check (Tom) - SPI portal creation of prepared/saved plans (Jan) - Allow SPI column functions to work for system columns (Tom) - Long value compression improvement (Tom) - Statistics collector for table, index access (Jan) - Truncate extra-long sequence names to a reasonable value (Tom) - Measure transaction times in milliseconds (Thomas) - Fix TID sequential scans (Hiroshi) - Superuser ID now fixed at 1 (Peter E) - New pg_ctl "reload" option (Tom) + * Create temporary files in a separate directory (Bruce) + * Delete orphaned temporary files on postmaster startup (Bruce) + * Added unique indexes to some system tables (Tom) + * System table operator reorganization (Oleg Bartunov, Teodor + Sigaev, Tom) + * Renamed pg_log to pg_clog (Tom) + * Enable SIGTERM, SIGQUIT to kill backends (Jan) + * Removed compile-time limit on number of backends (Tom) + * Better cleanup for semaphore resource failure (Tatsuo, Tom) + * Allow safe transaction ID wraparound (Tom) + * Removed OIDs from some system tables (Tom) + * Removed "triggered data change violation" error check (Tom) + * SPI portal creation of prepared/saved plans (Jan) + * Allow SPI column functions to work for system columns (Tom) + * Long value compression improvement (Tom) + * Statistics collector for table, index access (Jan) + * Truncate extra-long sequence names to a reasonable value (Tom) + * Measure transaction times in milliseconds (Thomas) + * Fix TID sequential scans (Hiroshi) + * Superuser ID now fixed at 1 (Peter E) + * New pg_ctl "reload" option (Tom) _________________________________________________________________ Performance - Optimizer improvements (Tom) - New histogram column statistics for optimizer (Tom) - Reuse write-ahead log files rather than discarding them (Tom) - Cache improvements (Tom) - IS NULL, IS NOT NULL optimizer improvement (Tom) - Improve lock manager to reduce lock contention (Tom) - Keep relcache entries for index access support functions (Tom) - Allow better selectivity with NaN and infinities in NUMERIC (Tom) - R-tree performance improvements (Kenneth Been) - B-tree splits more efficient (Tom) + * Optimizer improvements (Tom) + * New histogram column statistics for optimizer (Tom) + * Reuse write-ahead log files rather than discarding them (Tom) + * Cache improvements (Tom) + * IS NULL, IS NOT NULL optimizer improvement (Tom) + * Improve lock manager to reduce lock contention (Tom) + * Keep relcache entries for index access support functions (Tom) + * Allow better selectivity with NaN and infinities in NUMERIC (Tom) + * R-tree performance improvements (Kenneth Been) + * B-tree splits more efficient (Tom) _________________________________________________________________ Privileges - Change UPDATE, DELETE permissions to be distinct (Peter E) - New REFERENCES, TRIGGER privileges (Peter E) - Allow GRANT/REVOKE to/from more than one user at a time (Peter E) - New has_table_privilege() function (Joe Conway) - Allow non-superuser to vacuum database (Tom) - New SET SESSION AUTHORIZATION command (Peter E) - Fix bug in privilege modifications on newly created tables (Tom) - Disallow access to pg_statistic for non-superuser, add user-accessible - views (Tom) + * Change UPDATE, DELETE permissions to be distinct (Peter E) + * New REFERENCES, TRIGGER privileges (Peter E) + * Allow GRANT/REVOKE to/from more than one user at a time (Peter E) + * New has_table_privilege() function (Joe Conway) + * Allow non-superuser to vacuum database (Tom) + * New SET SESSION AUTHORIZATION command (Peter E) + * Fix bug in privilege modifications on newly created tables (Tom) + * Disallow access to pg_statistic for non-superuser, add + user-accessible views (Tom) _________________________________________________________________ Client Authentication - Fork postmaster before doing authentication to prevent hangs (Peter E) - Add ident authentication over Unix domain sockets on Linux, *BSD (Helg - e Bahmann, Oliver Elphick, Teodor Sigaev, Bruce) - Add a password authentication method that uses MD5 encryption (Bruce) - Allow encryption of stored passwords using MD5 (Bruce) - PAM authentication (Dominic J. Eidson) - Load pg_hba.conf and pg_ident.conf only on startup and SIGHUP (Bruce) + * Fork postmaster before doing authentication to prevent hangs + (Peter E) + * Add ident authentication over Unix domain sockets on Linux, *BSD + (Helge Bahmann, Oliver Elphick, Teodor Sigaev, Bruce) + * Add a password authentication method that uses MD5 encryption + (Bruce) + * Allow encryption of stored passwords using MD5 (Bruce) + * PAM authentication (Dominic J. Eidson) + * Load pg_hba.conf and pg_ident.conf only on startup and SIGHUP + (Bruce) _________________________________________________________________ Server Configuration - Interpretation of some time zone abbreviations as Australian rather th - an North American now settable at run time (Bruce) - New parameter to set default transaction isolation level (Peter E) - New parameter to enable conversion of "expr = NULL" into "expr IS NULL - ", off by default (Peter E) - New parameter to control memory usage by VACUUM (Tom) - New parameter to set client authentication timeout (Tom) - New parameter to set maximum number of open files (Tom) + * Interpretation of some time zone abbreviations as Australian + rather than North American now settable at run time (Bruce) + * New parameter to set default transaction isolation level (Peter E) + * New parameter to enable conversion of "expr = NULL" into "expr IS + NULL", off by default (Peter E) + * New parameter to control memory usage by VACUUM (Tom) + * New parameter to set client authentication timeout (Tom) + * New parameter to set maximum number of open files (Tom) _________________________________________________________________ Queries - Statements added by INSERT rules now execute after the INSERT (Jan) - Prevent unadorned relation names in target list (Bruce) - NULLs now sort after all normal values in ORDER BY (Tom) - New IS UNKNOWN, IS NOT UNKNOWN Boolean tests (Tom) - New SHARE UPDATE EXCLUSIVE lock mode (Tom) - New EXPLAIN ANALYZE command that shows run times and row counts (Marti - jn van Oosterhout) - Fix problem with LIMIT and subqueries (Tom) - Fix for LIMIT, DISTINCT ON pushed into subqueries (Tom) - Fix nested EXCEPT/INTERSECT (Tom) + * Statements added by INSERT rules now execute after the INSERT + (Jan) + * Prevent unadorned relation names in target list (Bruce) + * NULLs now sort after all normal values in ORDER BY (Tom) + * New IS UNKNOWN, IS NOT UNKNOWN Boolean tests (Tom) + * New SHARE UPDATE EXCLUSIVE lock mode (Tom) + * New EXPLAIN ANALYZE command that shows run times and row counts + (Martijn van Oosterhout) + * Fix problem with LIMIT and subqueries (Tom) + * Fix for LIMIT, DISTINCT ON pushed into subqueries (Tom) + * Fix nested EXCEPT/INTERSECT (Tom) _________________________________________________________________ Schema Manipulation - Fix SERIAL in temporary tables (Bruce) - Allow temporary sequences (Bruce) - Sequences now use int8 internally (Tom) - New SERIAL8 creates int8 columns with sequences, default still SERIAL4 - (Tom) - Make OIDs optional using WITHOUT OIDS (Tom) - Add %TYPE syntax to CREATE TYPE (Ian Lance Taylor) - Add ALTER TABLE / DROP CONSTRAINT for CHECK constraints (Christopher K - ings-Lynne) - New CREATE OR REPLACE FUNCTION to alter existing function (preserving - the function OID) (Gavin Sherry) - Add ALTER TABLE / ADD [ UNIQUE | PRIMARY ] (Christopher Kings-Lynne) - Allow column renaming in views - Make ALTER TABLE / RENAME COLUMN update column names of indexes (Brent - Verner) - Fix for ALTER TABLE / ADD CONSTRAINT ... CHECK with inherited tables ( - Stephan Szabo) - ALTER TABLE RENAME update foreign-key trigger arguments correctly (Bre - nt Verner) - DROP AGGREGATE and COMMENT ON AGGREGATE now accept an aggtype (Tom) - Add automatic return type data casting for SQL functions (Tom) - Allow GiST indexes to handle NULLs and multikey indexes (Oleg Bartunov - , Teodor Sigaev, Tom) - Enable partial indexes (Martijn van Oosterhout) + * Fix SERIAL in temporary tables (Bruce) + * Allow temporary sequences (Bruce) + * Sequences now use int8 internally (Tom) + * New SERIAL8 creates int8 columns with sequences, default still + SERIAL4 (Tom) + * Make OIDs optional using WITHOUT OIDS (Tom) + * Add %TYPE syntax to CREATE TYPE (Ian Lance Taylor) + * Add ALTER TABLE / DROP CONSTRAINT for CHECK constraints + (Christopher Kings-Lynne) + * New CREATE OR REPLACE FUNCTION to alter existing function + (preserving the function OID) (Gavin Sherry) + * Add ALTER TABLE / ADD [ UNIQUE | PRIMARY ] (Christopher + Kings-Lynne) + * Allow column renaming in views + * Make ALTER TABLE / RENAME COLUMN update column names of indexes + (Brent Verner) + * Fix for ALTER TABLE / ADD CONSTRAINT ... CHECK with inherited + tables (Stephan Szabo) + * ALTER TABLE RENAME update foreign-key trigger arguments correctly + (Brent Verner) + * DROP AGGREGATE and COMMENT ON AGGREGATE now accept an aggtype + (Tom) + * Add automatic return type data casting for SQL functions (Tom) + * Allow GiST indexes to handle NULLs and multikey indexes (Oleg + Bartunov, Teodor Sigaev, Tom) + * Enable partial indexes (Martijn van Oosterhout) _________________________________________________________________ Utility Commands - Add RESET ALL, SHOW ALL (Marko Kreen) - CREATE/ALTER USER/GROUP now allow options in any order (Vince) - Add LOCK A, B, C functionality (Neil Padgett) - New ENCRYPTED/UNENCRYPTED option to CREATE/ALTER USER (Bruce) - New light-weight VACUUM does not lock table; old semantics are availab - le as VACUUM FULL (Tom) - Disable COPY TO/FROM on views (Bruce) - COPY DELIMITERS string must be exactly one character (Tom) - VACUUM warning about index tuples fewer than heap now only appears whe - n appropriate (Martijn van Oosterhout) - Fix permission checks for CREATE INDEX (Tom) - Disallow inappropriate use of CREATE/DROP INDEX/TRIGGER/VIEW (Tom) + * Add RESET ALL, SHOW ALL (Marko Kreen) + * CREATE/ALTER USER/GROUP now allow options in any order (Vince) + * Add LOCK A, B, C functionality (Neil Padgett) + * New ENCRYPTED/UNENCRYPTED option to CREATE/ALTER USER (Bruce) + * New light-weight VACUUM does not lock table; old semantics are + available as VACUUM FULL (Tom) + * Disable COPY TO/FROM on views (Bruce) + * COPY DELIMITERS string must be exactly one character (Tom) + * VACUUM warning about index tuples fewer than heap now only appears + when appropriate (Martijn van Oosterhout) + * Fix permission checks for CREATE INDEX (Tom) + * Disallow inappropriate use of CREATE/DROP INDEX/TRIGGER/VIEW (Tom) _________________________________________________________________ Data Types and Functions - SUM(), AVG(), COUNT() now uses int8 internally for speed (Tom) - Add convert(), convert2() (Tatsuo) - New function bit_length() (Peter E) - Make the "n" in CHAR(n)/VARCHAR(n) represents letters, not bytes (Tats - uo) - CHAR(), VARCHAR() now reject strings that are too long (Peter E) - BIT VARYING now rejects bit strings that are too long (Peter E) - BIT now rejects bit strings that do not match declared size (Peter E) - INET, CIDR text conversion functions (Alex Pilosov) - INET, CIDR operators << and <<= indexable (Alex Pilosov) - Bytea \### now requires valid three digit octal number - Bytea comparison improvements, now supports =, <>, >, >=, <, and <= - Bytea now supports B-tree indexes - Bytea now supports LIKE, LIKE...ESCAPE, NOT LIKE, NOT LIKE...ESCAPE - Bytea now supports concatenation - New bytea functions: position, substring, trim, btrim, and length - New encode() function mode, "escaped", converts minimally escaped byte - a to/from text - Add pg_database_encoding_max_length() (Tatsuo) - Add pg_client_encoding() function (Tatsuo) - now() returns time with millisecond precision (Thomas) - New TIMESTAMP WITHOUT TIMEZONE data type (Thomas) - Add ISO date/time specification with "T", yyyy-mm-ddThh:mm:ss (Thomas) - New xid/int comparison functions (Hiroshi) - Add precision to TIME, TIMESTAMP, and INVERVAL data types (Thomas) - Modify type coercion logic to attempt binary-compatible functions firs - t (Tom) - New encode() function installed by default (Marko Kreen) - Improved to_*() conversion functions (Karel Zak) - Optimize LIKE/ILIKE when using single-byte encodings (Tatsuo) - New functions in contrib/pgcrypto: crypt(), hmac(), encrypt(), gen_sal - t() (Marko Kreen) - Correct description of translate() function (Bruce) - Add INTERVAL argument for SET TIME ZONE (Thomas) - Add INTERVAL YEAR TO MONTH (etc.) syntax (Thomas) - Optimize length functions when using single-byte encodings (Tatsuo) - Fix path_inter, path_distance, path_length, dist_ppath to handle close - d paths (Curtis Barrett, Tom) - octet_length(text) now returns non-compressed length (Tatsuo, Bruce) - Handle "July" full name in date/time literals (Greg Sabino Mullane) - Some datatype() function calls now evaluated differently - Add support for Julian and ISO time specifications (Thomas) + * SUM(), AVG(), COUNT() now uses int8 internally for speed (Tom) + * Add convert(), convert2() (Tatsuo) + * New function bit_length() (Peter E) + * Make the "n" in CHAR(n)/VARCHAR(n) represents letters, not bytes + (Tatsuo) + * CHAR(), VARCHAR() now reject strings that are too long (Peter E) + * BIT VARYING now rejects bit strings that are too long (Peter E) + * BIT now rejects bit strings that do not match declared size (Peter + E) + * INET, CIDR text conversion functions (Alex Pilosov) + * INET, CIDR operators << and <<= indexable (Alex Pilosov) + * Bytea \### now requires valid three digit octal number + * Bytea comparison improvements, now supports =, <>, >, >=, <, and + <= + * Bytea now supports B-tree indexes + * Bytea now supports LIKE, LIKE...ESCAPE, NOT LIKE, NOT + LIKE...ESCAPE + * Bytea now supports concatenation + * New bytea functions: position, substring, trim, btrim, and length + * New encode() function mode, "escaped", converts minimally escaped + bytea to/from text + * Add pg_database_encoding_max_length() (Tatsuo) + * Add pg_client_encoding() function (Tatsuo) + * now() returns time with millisecond precision (Thomas) + * New TIMESTAMP WITHOUT TIMEZONE data type (Thomas) + * Add ISO date/time specification with "T", yyyy-mm-ddThh:mm:ss + (Thomas) + * New xid/int comparison functions (Hiroshi) + * Add precision to TIME, TIMESTAMP, and INTERVAL data types (Thomas) + * Modify type coercion logic to attempt binary-compatible functions + first (Tom) + * New encode() function installed by default (Marko Kreen) + * Improved to_*() conversion functions (Karel Zak) + * Optimize LIKE/ILIKE when using single-byte encodings (Tatsuo) + * New functions in contrib/pgcrypto: crypt(), hmac(), encrypt(), + gen_salt() (Marko Kreen) + * Correct description of translate() function (Bruce) + * Add INTERVAL argument for SET TIME ZONE (Thomas) + * Add INTERVAL YEAR TO MONTH (etc.) syntax (Thomas) + * Optimize length functions when using single-byte encodings + (Tatsuo) + * Fix path_inter, path_distance, path_length, dist_ppath to handle + closed paths (Curtis Barrett, Tom) + * octet_length(text) now returns non-compressed length (Tatsuo, + Bruce) + * Handle "July" full name in date/time literals (Greg Sabino + Mullane) + * Some datatype() function calls now evaluated differently + * Add support for Julian and ISO time specifications (Thomas) _________________________________________________________________ Internationalization - National language support in psql, pg_dump, libpq, and server (Peter E - ) - Message translations in Chinese (simplified, traditional), Czech, Fren - ch, German, Hungarian, Russian, Swedish (Peter E, Serguei A. Mokhov, K - arel Zak, Weiping He, Zhenbang Wei, Kovacs Zoltan) - Make trim, ltrim, rtrim, btrim, lpad, rpad, translate multibyte aware - (Tatsuo) - Add LATIN5,6,7,8,9,10 support (Tatsuo) - Add ISO 8859-5,6,7,8 support (Tatsuo) - Correct LATIN5 to mean ISO-8859-9, not ISO-8859-5 (Tatsuo) - Make mic2ascii() non-ASCII aware (Tatsuo) - Reject invalid multibyte character sequences (Tatsuo) + * National language support in psql, pg_dump, libpq, and server + (Peter E) + * 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) + * Make trim, ltrim, rtrim, btrim, lpad, rpad, translate multibyte + aware (Tatsuo) + * Add LATIN5,6,7,8,9,10 support (Tatsuo) + * Add ISO 8859-5,6,7,8 support (Tatsuo) + * Correct LATIN5 to mean ISO-8859-9, not ISO-8859-5 (Tatsuo) + * Make mic2ascii() non-ASCII aware (Tatsuo) + * Reject invalid multibyte character sequences (Tatsuo) _________________________________________________________________ PL/pgSQL - Now uses portals for SELECT loops, allowing huge result sets (Jan) - CURSOR and REFCURSOR support (Jan) - Can now return open cursors (Jan) - Add ELSEIF (Klaus Reger) - Improve PL/pgSQL error reporting, including location of error (Tom) - Allow IS or FOR key words in cursor declaration, for compatibility (Br - uce) - Fix for SELECT ... FOR UPDATE (Tom) - Fix for PERFORM returning multiple rows (Tom) - Make PL/pgSQL use the server's type coercion code (Tom) - Memory leak fix (Jan, Tom) - Make trailing semicolon optional (Tom) + * Now uses portals for SELECT loops, allowing huge result sets (Jan) + * CURSOR and REFCURSOR support (Jan) + * Can now return open cursors (Jan) + * Add ELSEIF (Klaus Reger) + * Improve PL/pgSQL error reporting, including location of error + (Tom) + * Allow IS or FOR key words in cursor declaration, for compatibility + (Bruce) + * Fix for SELECT ... FOR UPDATE (Tom) + * Fix for PERFORM returning multiple rows (Tom) + * Make PL/pgSQL use the server's type coercion code (Tom) + * Memory leak fix (Jan, Tom) + * Make trailing semicolon optional (Tom) _________________________________________________________________ PL/Perl - New untrusted PL/Perl (Alex Pilosov) - PL/Perl is now built on some platforms even if libperl is not shared ( - Peter E) + * New untrusted PL/Perl (Alex Pilosov) + * PL/Perl is now built on some platforms even if libperl is not + shared (Peter E) _________________________________________________________________ PL/Tcl - Now reports errorInfo (Vsevolod Lobko) - Add spi_lastoid function (bob@redivi.com) + * Now reports errorInfo (Vsevolod Lobko) + * Add spi_lastoid function (bob@redivi.com) _________________________________________________________________ PL/Python - ...is new (Andrew Bosma) + * ...is new (Andrew Bosma) _________________________________________________________________ -Psql +psql - \d displays indexes in unique, primary groupings (Christopher Kings-Ly - nne) - Allow trailing semicolons in backslash commands (Greg Sabino Mullane) - Read password from /dev/tty if possible - Force new password prompt when changing user and database (Tatsuo, Tom - ) - Format the correct number of columns for Unicode (Patrice) + * \d displays indexes in unique, primary groupings (Christopher + Kings-Lynne) + * Allow trailing semicolons in backslash commands (Greg Sabino + Mullane) + * Read password from /dev/tty if possible + * Force new password prompt when changing user and database (Tatsuo, + Tom) + * Format the correct number of columns for Unicode (Patrice) _________________________________________________________________ -Libpq +libpq - New function PQescapeString() to escape quotes in command strings (Flo - rian Weimer) - New function PQescapeBytea() escapes binary strings for use as SQL str - ing literals + * New function PQescapeString() to escape quotes in command strings + (Florian Weimer) + * New function PQescapeBytea() escapes binary strings for use as SQL + string literals _________________________________________________________________ JDBC - Return OID of INSERT (Ken K) - Handle more data types (Ken K) - Handle single quotes and newlines in strings (Ken K) - Handle NULL variables (Ken K) - Fix for time zone handling (Barry Lind) - Improved Druid support - Allow eight-bit characters with non-multibyte server (Barry Lind) - Support BIT, BINARY types (Ned Wolpert) - Reduce memory usage (Michael Stephens, Dave Cramer) - Update DatabaseMetaData (Peter E) - Add DatabaseMetaData.getCatalogs() (Peter E) - Encoding fixes (Anders Bengtsson) - Get/setCatalog methods (Jason Davies) - DatabaseMetaData.getColumns() now returns column defaults (Jason Davie - s) - DatabaseMetaData.getColumns() performance improvement (Jeroen van Vian - en) - Some JDBC1 and JDBC2 merging (Anders Bengtsson) - Transaction performance improvements (Barry Lind) - Array fixes (Greg Zoller) - Serialize addition - Fix batch processing (Rene Pijlman) - ExecSQL method reorganization (Anders Bengtsson) - GetColumn() fixes (Jeroen van Vianen) - Fix isWriteable() function (Rene Pijlman) - Improved passage of JDBC2 conformance tests (Rene Pijlman) - Add bytea type capability (Barry Lind) - Add isNullable() (Rene Pijlman) - JDBC date/time test suite fixes (Liam Stewart) - Fix for SELECT 'id' AS xxx FROM table (Dave Cramer) - Fix DatabaseMetaData to show precision properly (Mark Lillywhite) - New getImported/getExported keys (Jason Davies) - MD5 password encryption support (Jeremy Wohl) - Fix to actually use type cache (Ned Wolpert) + * Return OID of INSERT (Ken K) + * Handle more data types (Ken K) + * Handle single quotes and newlines in strings (Ken K) + * Handle NULL variables (Ken K) + * Fix for time zone handling (Barry Lind) + * Improved Druid support + * Allow eight-bit characters with non-multibyte server (Barry Lind) + * Support BIT, BINARY types (Ned Wolpert) + * Reduce memory usage (Michael Stephens, Dave Cramer) + * Update DatabaseMetaData (Peter E) + * Add DatabaseMetaData.getCatalogs() (Peter E) + * Encoding fixes (Anders Bengtsson) + * Get/setCatalog methods (Jason Davies) + * DatabaseMetaData.getColumns() now returns column defaults (Jason + Davies) + * DatabaseMetaData.getColumns() performance improvement (Jeroen van + Vianen) + * Some JDBC1 and JDBC2 merging (Anders Bengtsson) + * Transaction performance improvements (Barry Lind) + * Array fixes (Greg Zoller) + * Serialize addition + * Fix batch processing (Rene Pijlman) + * ExecSQL method reorganization (Anders Bengtsson) + * GetColumn() fixes (Jeroen van Vianen) + * Fix isWriteable() function (Rene Pijlman) + * Improved passage of JDBC2 conformance tests (Rene Pijlman) + * Add bytea type capability (Barry Lind) + * Add isNullable() (Rene Pijlman) + * JDBC date/time test suite fixes (Liam Stewart) + * Fix for SELECT 'id' AS xxx FROM table (Dave Cramer) + * Fix DatabaseMetaData to show precision properly (Mark Lillywhite) + * New getImported/getExported keys (Jason Davies) + * MD5 password encryption support (Jeremy Wohl) + * Fix to actually use type cache (Ned Wolpert) _________________________________________________________________ ODBC - Remove query size limit (Hiroshi) - Remove text field size limit (Hiroshi) - Fix for SQLPrimaryKeys in multibyte mode (Hiroshi) - Allow ODBC procedure calls (Hiroshi) - Improve boolean handing (Aidan Mountford) - Most configuration options on setable via DSN (Hiroshi) - Multibyte, performance fixes (Hiroshi) - Allow driver to be used with iODBC or unixODBC (Peter E) - MD5 password encryption support (Bruce) - Add more compatibility functions to odbc.sql (Peter E) + * Remove query size limit (Hiroshi) + * Remove text field size limit (Hiroshi) + * Fix for SQLPrimaryKeys in multibyte mode (Hiroshi) + * Allow ODBC procedure calls (Hiroshi) + * Improve boolean handing (Aidan Mountford) + * Most configuration options now settable via DSN (Hiroshi) + * Multibyte, performance fixes (Hiroshi) + * Allow driver to be used with iODBC or unixODBC (Peter E) + * MD5 password encryption support (Bruce) + * Add more compatibility functions to odbc.sql (Peter E) _________________________________________________________________ ECPG - EXECUTE ... INTO implemented (Christof Petig) - Multiple row descriptor support (e.g. CARDINALITY) (Christof Petig) - Fix for GRANT parameters (Lee Kindness) - Fix INITIALLY DEFERRED bug - Various bug fixes (Michael, Christof Petig) - Auto allocation for indicator variable arrays (int *ind_p=NULL) - Auto allocation for string arrays (char **foo_pp=NULL) - ECPGfree_auto_mem fixed - All function names with external linkage are now prefixed by ECPG - Fixes for arrays of structures (Michael) + * EXECUTE ... INTO implemented (Christof Petig) + * Multiple row descriptor support (e.g. CARDINALITY) (Christof + Petig) + * Fix for GRANT parameters (Lee Kindness) + * Fix INITIALLY DEFERRED bug + * Various bug fixes (Michael, Christof Petig) + * Auto allocation for indicator variable arrays (int *ind_p=NULL) + * Auto allocation for string arrays (char **foo_pp=NULL) + * ECPGfree_auto_mem fixed + * All function names with external linkage are now prefixed by ECPG + * Fixes for arrays of structures (Michael) _________________________________________________________________ Misc. Interfaces - Python fix fetchone() (Gerhard Haring) - Use UTF, Unicode in Tcl where appropriate (Vsevolod Lobko, Reinhard Ma - x) - Add Tcl COPY TO/FROM (ljb) - Prevent output of default index op class in pg_dump (Tom) - Fix libpgeasy memory leak (Bruce) + * Python fix fetchone() (Gerhard Haring) + * Use UTF, Unicode in Tcl where appropriate (Vsevolod Lobko, + Reinhard Max) + * Add Tcl COPY TO/FROM (ljb) + * Prevent output of default index op class in pg_dump (Tom) + * Fix libpgeasy memory leak (Bruce) _________________________________________________________________ Build and Install - Configure, dynamic loader, and shared library fixes (Peter E) - Fixes in QNX 4 port (Bernd Tegge) - Fixes in Cygwin and Win32 ports (Jason Tishler, Gerhard Haring, Dmitry - Yurtaev, Darko Prenosil, Mikhail Terekhov) - Fix for Win32 socket communication failures (Magnus, Mikhail Terekhov) - Hurd compile fix (Oliver Elphick) - BeOS fixes (Cyril Velter) - Remove configure --enable-unicode-conversion, now enabled by multibyte - (Tatsuo) - AIX fixes (Tatsuo, Andreas) - Fix parallel make (Peter E) - Install SQL language manual pages into OS-specific directories (Peter - E) - Rename config.h to pg_config.h (Peter E) - Reorganize installation layout of header files (Peter E) + * Configure, dynamic loader, and shared library fixes (Peter E) + * Fixes in QNX 4 port (Bernd Tegge) + * Fixes in Cygwin and Win32 ports (Jason Tishler, Gerhard Haring, + Dmitry Yurtaev, Darko Prenosil, Mikhail Terekhov) + * Fix for Win32 socket communication failures (Magnus, Mikhail + Terekhov) + * Hurd compile fix (Oliver Elphick) + * BeOS fixes (Cyril Velter) + * Remove configure --enable-unicode-conversion, now enabled by + multibyte (Tatsuo) + * AIX fixes (Tatsuo, Andreas) + * Fix parallel make (Peter E) + * Install SQL language manual pages into OS-specific directories + (Peter E) + * Rename config.h to pg_config.h (Peter E) + * Reorganize installation layout of header files (Peter E) _________________________________________________________________ Source Code - Remove SEP_CHAR (Bruce) - New GUC hooks (Tom) - Merge GUC and command line handling (Marko Kreen) - Remove EXTEND INDEX (Martijn van Oosterhout, Tom) - New pgjindent utility to indent java code (Bruce) - Remove define of true/false when compiling under C++ (Leandro Fanzone, - Tom) - pgindent fixes (Bruce, Tom) - Replace strcasecmp() with strcmp() where appropriate (Peter E) - Dynahash portability improvements (Tom) - Add 'volatile' usage in spinlock structures - Improve signal handling logic (Tom) + * Remove SEP_CHAR (Bruce) + * New GUC hooks (Tom) + * Merge GUC and command line handling (Marko Kreen) + * Remove EXTEND INDEX (Martijn van Oosterhout, Tom) + * New pgjindent utility to indent java code (Bruce) + * Remove define of true/false when compiling under C++ (Leandro + Fanzone, Tom) + * pgindent fixes (Bruce, Tom) + * Replace strcasecmp() with strcmp() where appropriate (Peter E) + * Dynahash portability improvements (Tom) + * Add 'volatile' usage in spinlock structures + * Improve signal handling logic (Tom) _________________________________________________________________ Contrib - New contrib/rtree_gist (Oleg Bartunov, Teodor Sigaev) - New contrib/tsearch full-text indexing (Oleg, Teodor Sigaev) - Add contrib/dblink for remote database access (Joe Conway) - contrib/ora2pg Oracle conversion utility (Gilles Darold) - contrib/xml XML conversion utility (John Gray) - contrib/fulltextindex fixes (Christopher Kings-Lynne) - New contrib/fuzzystrmatch with levenshtein and metaphone, soundex merg - ed (Joe Conway) - Add contrib/intarray boolean queries, binary search, fixes (Oleg Bartu - nov) - New pg_upgrade utility (Bruce) - Add new pg_resetxlog options (Bruce, Tom) + * New contrib/rtree_gist (Oleg Bartunov, Teodor Sigaev) + * New contrib/tsearch full-text indexing (Oleg, Teodor Sigaev) + * Add contrib/dblink for remote database access (Joe Conway) + * contrib/ora2pg Oracle conversion utility (Gilles Darold) + * contrib/xml XML conversion utility (John Gray) + * contrib/fulltextindex fixes (Christopher Kings-Lynne) + * New contrib/fuzzystrmatch with levenshtein and metaphone, soundex + merged (Joe Conway) + * Add contrib/intarray boolean queries, binary search, fixes (Oleg + Bartunov) + * New pg_upgrade utility (Bruce) + * Add new pg_resetxlog options (Bruce, Tom) _________________________________________________________________ Release 7.1.3 @@ -2356,7 +2578,7 @@ Add option for initdb to prompts for superuser password (Peter E) Allow complex type casts like col::numeric(9,2) and col::int2::float8 (Tom) Updated user interfaces on initdb, initlocation, pg_dump, ipcclean (Peter E) New pg_char_to_encoding() and pg_encoding_to_char() functions (Tatsuo) -Libpq non-blocking mode (Alfred Perlstein) +libpq non-blocking mode (Alfred Perlstein) Improve conversion of types in casts that don't specify a length New plperl internal programming language (Mark Hollomon) Allow COPY IN to read file that do not end with a newline (Tom) @@ -2958,7 +3180,7 @@ Add pg_dump -N flag to force double quotes around identifiers. This is Fix for NOT in where clause causing crash(Bruce) EXPLAIN VERBOSE coredump fix(Vadim) Fix shared-library problems on Linux -Fix test for table existance to allow mixed-case and whitespace in +Fix test for table existence to allow mixed-case and whitespace in the table name(Thomas) Fix a couple of pg_dump bugs Configure matches template/.similar entries better(Tom) @@ -3064,10 +3286,10 @@ New configure --with-mb option(Tatsuo) New initdb --pgencoding option(Tatsuo) New createdb -E multibyte option(Tatsuo) Select version(); now returns PostgreSQL version(Jeroen) -Libpq now allows asynchronous clients(Tom) +libpq now allows asynchronous clients(Tom) Allow cancel from client of backend query(Tom) -Psql now cancels query with Control-C(Tom) -Libpq users need not issue dummy queries to get NOTIFY messages(Tom) +psql now cancels query with Control-C(Tom) +libpq users need not issue dummy queries to get NOTIFY messages(Tom) NOTIFY now sends sender's PID, so you can tell whether it was your own(Tom) PGresult struct now includes associated error message, if any(Tom) Define "tz_hour" and "tz_minute" arguments to date_part()(Thomas) @@ -3110,7 +3332,7 @@ New contrib/lo code for large object orphan removal(Peter) New psql command "SET CLIENT_ENCODING TO 'encoding'" for multibytes feature, see /doc/README.mb(Tatsuo) /contrib/noupdate code to revoke update permission on a column -Libpq can now be compiled on win32(Magnus) +libpq can now be compiled on win32(Magnus) Add PQsetdbLogin() in libpq New 8-byte integer type, checked by configure for OS support(Thomas) Better support for quoted table/column names(Thomas) @@ -3174,7 +3396,7 @@ New setval() command to set sequence value(Massimo) Auto-remove unix socket file on start-up if no postmaster running(Massimo) Conditional trace package(Massimo) New UNLISTEN command(Massimo) -Psql and libpq now compile under win32 using win32.mak(Magnus) +psql and libpq now compile under win32 using win32.mak(Magnus) Lo_read no longer stores trailing NULL(Bruce) Identifiers are now truncated to 31 characters internally(Bruce) Createuser options now availble on the command line @@ -4002,8 +4224,8 @@ 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) -Psql fixed problem with multiple statements on one line with multiple outputs +psql \g filename now works(Bruce) +psql fixed problem with multiple statements on one line with multiple outputs Removed duplicate system OIDs SELECT * INTO TABLE . GROUP/ORDER BY gives unlink error if table exists(Bruce) Several fixes for queries that crashed the backend @@ -4038,20 +4260,20 @@ Gist now included in the distrubution(Marc) Idend authentication of local users(Bryan) Implement BETWEEN qualifier(Bruce) Implement IN qualifier(Bruce) -Libpq has PQgetisnull()(Bruce) -Libpq++ improvements +libpq has PQgetisnull()(Bruce) +libpq++ improvements New options to initdb(Bryan) Pg_dump allow dump of OIDs(Bruce) 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) -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) +psql \h and \? is now readable(Bruce) +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) Re-visit and fix vacuum(Vadim) Reduce size of regression diffs, remove timezone name difference(Bruce) Remove compile-time parameters to enable binary distributions(Bryan) diff --git a/doc/src/sgml/release.sgml b/doc/src/sgml/release.sgml index c283f9af18..7f25cee178 100644 --- a/doc/src/sgml/release.sgml +++ b/doc/src/sgml/release.sgml @@ -1,20 +1,20 @@ Release Notes - 7.4 Development Branch + Release 7.4 +