|
|
@ -1,9 +1,16 @@ |
|
|
|
|
|
|
|
|
|
|
|
Release Notes |
|
|
|
Release Notes |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7.4 Development Branch |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Below is a subset of the changes that have gone into the development |
|
|
|
|
|
|
|
branch of PostgreSQL since version 7.3. For a complete list of |
|
|
|
|
|
|
|
changes, consult the CVS logs. |
|
|
|
|
|
|
|
_________________________________________________________________ |
|
|
|
|
|
|
|
|
|
|
|
Release 7.3 |
|
|
|
Release 7.3 |
|
|
|
|
|
|
|
|
|
|
|
Release date: 2002-11-?? |
|
|
|
Release date: 2002-11-27 |
|
|
|
_________________________________________________________________ |
|
|
|
_________________________________________________________________ |
|
|
|
|
|
|
|
|
|
|
|
Overview |
|
|
|
Overview |
|
|
@ -11,11 +18,11 @@ Overview |
|
|
|
Major changes in this release: |
|
|
|
Major changes in this release: |
|
|
|
|
|
|
|
|
|
|
|
Schemas |
|
|
|
Schemas |
|
|
|
Schemas allow users to create objects in their own namespace so |
|
|
|
Schemas allow users to create objects in separate namespaces, |
|
|
|
two people or applications can have tables with the same name. |
|
|
|
so two people or applications can have tables with the same |
|
|
|
There is also a public schema for shared tables. Table/index |
|
|
|
name. There is also a public schema for shared tables. |
|
|
|
creation can be restricted by removing permissions on the |
|
|
|
Table/index creation can be restricted by removing permissions |
|
|
|
public schema. |
|
|
|
on the public schema. |
|
|
|
|
|
|
|
|
|
|
|
Drop Column |
|
|
|
Drop Column |
|
|
|
PostgreSQL now supports the ALTER TABLE ... DROP COLUMN |
|
|
|
PostgreSQL now supports the ALTER TABLE ... DROP COLUMN |
|
|
@ -55,7 +62,10 @@ Overview |
|
|
|
|
|
|
|
|
|
|
|
Functions/Identifiers |
|
|
|
Functions/Identifiers |
|
|
|
By default, functions can now take up to 32 parameters, and |
|
|
|
By default, functions can now take up to 32 parameters, and |
|
|
|
identifiers can be up to 63 bytes long. |
|
|
|
identifiers can be up to 63 bytes long. Also, OPAQUE is now |
|
|
|
|
|
|
|
deprecated: there are specific "pseudo-datatypes" to represent |
|
|
|
|
|
|
|
each of the former meanings of OPAQUE in function argument and |
|
|
|
|
|
|
|
result types. |
|
|
|
_________________________________________________________________ |
|
|
|
_________________________________________________________________ |
|
|
|
|
|
|
|
|
|
|
|
Migration to version 7.3 |
|
|
|
Migration to version 7.3 |
|
|
@ -71,21 +81,26 @@ Migration to version 7.3 |
|
|
|
* Pre-6.3 clients are no longer supported. |
|
|
|
* Pre-6.3 clients are no longer supported. |
|
|
|
* "pg_hba.conf" now has a column for the user name and additional |
|
|
|
* "pg_hba.conf" now has a column for the user name and additional |
|
|
|
features. Existing files need to be adjusted. |
|
|
|
features. Existing files need to be adjusted. |
|
|
|
* Several "postgresql.conf" logging parameters have been renamed and |
|
|
|
* Several "postgresql.conf" logging parameters have been renamed. |
|
|
|
improved. |
|
|
|
|
|
|
|
* LIMIT #,# has been disabled; use LIMIT # OFFSET #. |
|
|
|
* LIMIT #,# has been disabled; use LIMIT # OFFSET #. |
|
|
|
* "INSERT" statements with column lists must specify all values; |
|
|
|
* "INSERT" statements with column lists must specify a value for |
|
|
|
e.g., INSERT INTO tab (col1, col2) VALUES ('val1') is now invalid. |
|
|
|
each specified column. For example, INSERT INTO tab (col1, col2) |
|
|
|
* An index is now not automatically created for serial columns. |
|
|
|
VALUES ('val1') is now invalid. It's still allowed to supply fewer |
|
|
|
|
|
|
|
columns than expected if the "INSERT" does not have a column list. |
|
|
|
|
|
|
|
* serial columns are no longer automatically UNIQUE; thus, an index |
|
|
|
|
|
|
|
will not automatically be created. |
|
|
|
* A "SET" command inside an aborted transaction is now rolled back. |
|
|
|
* A "SET" command inside an aborted transaction is now rolled back. |
|
|
|
* "COPY" no longer considers missing trailing columns to be null. |
|
|
|
* "COPY" no longer considers missing trailing columns to be null. |
|
|
|
All columns need to be specified. |
|
|
|
All columns need to be specified. (However, one may achieve a |
|
|
|
|
|
|
|
similar effect by specifying a column list in the "COPY" command.) |
|
|
|
* The data type timestamp is now equivalent to timestamp without |
|
|
|
* The data type timestamp is now equivalent to timestamp without |
|
|
|
time zone, instead of timestamp with time zone. |
|
|
|
time zone, instead of timestamp with time zone. |
|
|
|
* Pre-7.3 databases loaded into 7.3 will not have the new object |
|
|
|
* Pre-7.3 databases loaded into 7.3 will not have the new object |
|
|
|
dependencies for serial columns, unique constraints, and foreign |
|
|
|
dependencies for serial columns, unique constraints, and foreign |
|
|
|
keys. See the directory "contrib/adddepend/" for a detailed |
|
|
|
keys. See the directory "contrib/adddepend/" for a detailed |
|
|
|
description and a script that will add such dependencies. |
|
|
|
description and a script that will add such dependencies. |
|
|
|
|
|
|
|
* An empty string ('') is no longer allowed as the input into an |
|
|
|
|
|
|
|
integer field. Formerly, it was silently interpreted as 0. |
|
|
|
_________________________________________________________________ |
|
|
|
_________________________________________________________________ |
|
|
|
|
|
|
|
|
|
|
|
Changes |
|
|
|
Changes |
|
|
@ -113,7 +128,7 @@ Performance |
|
|
|
Speed improvement for large object restore (Mario Weilguni) |
|
|
|
Speed improvement for large object restore (Mario Weilguni) |
|
|
|
Mark expired index entries on first lookup, saving later heap fetches |
|
|
|
Mark expired index entries on first lookup, saving later heap fetches |
|
|
|
(Tom) |
|
|
|
(Tom) |
|
|
|
Eliminate NULL bitmap padding when not required (Manfred) |
|
|
|
Avoid excessive NULL bitmap padding (Manfred Koizar) |
|
|
|
Add BSD-licensed qsort() for Solaris, for performance (Bruce) |
|
|
|
Add BSD-licensed qsort() for Solaris, for performance (Bruce) |
|
|
|
Reduce per-row overhead by four bytes (Manfred Koizar) |
|
|
|
Reduce per-row overhead by four bytes (Manfred Koizar) |
|
|
|
Fix GEQO optimizer bug (Neil Conway) |
|
|
|
Fix GEQO optimizer bug (Neil Conway) |
|
|
@ -173,7 +188,7 @@ Queries |
|
|
|
Disable LIMIT #,# syntax; now only LIMIT # OFFSET # supported (Bruce) |
|
|
|
Disable LIMIT #,# syntax; now only LIMIT # OFFSET # supported (Bruce) |
|
|
|
Increase identifier length to 63 (Neil, Bruce) |
|
|
|
Increase identifier length to 63 (Neil, Bruce) |
|
|
|
UNION fixes for merging >= 3 columns of different lengths (Tom) |
|
|
|
UNION fixes for merging >= 3 columns of different lengths (Tom) |
|
|
|
Add DEFAULT keyword to INSERT, e.g., INSERT ... (..., DEFAULT, ) |
|
|
|
Add DEFAULT keyword to INSERT, e.g., INSERT ... (..., DEFAULT, ...) |
|
|
|
(Rod) |
|
|
|
(Rod) |
|
|
|
Allow views to have default values using ALTER COLUMN ... SET DEFAULT |
|
|
|
Allow views to have default values using ALTER COLUMN ... SET DEFAULT |
|
|
|
(Neil) |
|
|
|
(Neil) |
|
|
@ -195,7 +210,7 @@ Queries |
|
|
|
Object Manipulation |
|
|
|
Object Manipulation |
|
|
|
|
|
|
|
|
|
|
|
Make equals signs optional in CREATE DATABASE (Gavin Sherry) |
|
|
|
Make equals signs optional in CREATE DATABASE (Gavin Sherry) |
|
|
|
Make ALTER TABLE OWNER to change index ownership (Neil) |
|
|
|
Make ALTER TABLE OWNER change index ownership too (Neil) |
|
|
|
New ALTER TABLE tabname ALTER COLUMN colname SET STORAGE controls |
|
|
|
New ALTER TABLE tabname ALTER COLUMN colname SET STORAGE controls |
|
|
|
TOAST storage, compression (John Gray) |
|
|
|
TOAST storage, compression (John Gray) |
|
|
|
Add schema support, CREATE/DROP SCHEMA (Tom) |
|
|
|
Add schema support, CREATE/DROP SCHEMA (Tom) |
|
|
@ -245,7 +260,7 @@ Utility Commands |
|
|
|
(Rod) |
|
|
|
(Rod) |
|
|
|
Rollback SET commands in aborted transactions (Tom) |
|
|
|
Rollback SET commands in aborted transactions (Tom) |
|
|
|
EXPLAIN now outputs as a query (Tom) |
|
|
|
EXPLAIN now outputs as a query (Tom) |
|
|
|
Display sort keys in EXPLAIN (Tom) |
|
|
|
Display condition expressions and sort keys in EXPLAIN (Tom) |
|
|
|
Add 'SET LOCAL var = value' to set configuration variables for a |
|
|
|
Add 'SET LOCAL var = value' to set configuration variables for a |
|
|
|
single transaction (Tom) |
|
|
|
single transaction (Tom) |
|
|
|
Allow ANALYZE to run in a transaction (Bruce) |
|
|
|
Allow ANALYZE to run in a transaction (Bruce) |
|
|
@ -335,7 +350,7 @@ Data Types and Functions |
|
|
|
|
|
|
|
|
|
|
|
Internationalization |
|
|
|
Internationalization |
|
|
|
|
|
|
|
|
|
|
|
Add additional encodings (Korean (JOHAB), Thai (WIN874), Vietnamese |
|
|
|
Add additional encodings: Korean (JOHAB), Thai (WIN874), Vietnamese |
|
|
|
(TCVN), Arabic (WIN1256), Simplified Chinese (GBK), Korean (UHC) |
|
|
|
(TCVN), Arabic (WIN1256), Simplified Chinese (GBK), Korean (UHC) |
|
|
|
(Eiji Tokuya) |
|
|
|
(Eiji Tokuya) |
|
|
|
Enable locale support by default (Peter) |
|
|
|
Enable locale support by default (Peter) |
|
|
@ -360,7 +375,7 @@ Server-side Languages |
|
|
|
Change PL/Tcl build to use configured compiler and Makefile.shlib |
|
|
|
Change PL/Tcl build to use configured compiler and Makefile.shlib |
|
|
|
(Peter) |
|
|
|
(Peter) |
|
|
|
Overhaul the PL/pgSQL FOUND variable to be more Oracle-compatible |
|
|
|
Overhaul the PL/pgSQL FOUND variable to be more Oracle-compatible |
|
|
|
(Tom, Neil) |
|
|
|
(Neil, Tom) |
|
|
|
Allow PL/pgSQL to handle quoted identifiers (Tom) |
|
|
|
Allow PL/pgSQL to handle quoted identifiers (Tom) |
|
|
|
Allow set-returning PL/pgSQL functions (Neil) |
|
|
|
Allow set-returning PL/pgSQL functions (Neil) |
|
|
|
Make PL/pgSQL schema-aware (Joe) |
|
|
|
Make PL/pgSQL schema-aware (Joe) |
|
|
@ -514,7 +529,7 @@ Contrib |
|
|
|
Add /contrib/tablefunc table function examples (Joe) |
|
|
|
Add /contrib/tablefunc table function examples (Joe) |
|
|
|
Add /contrib/ltree data type for tree structures (Teodor Sigaev, |
|
|
|
Add /contrib/ltree data type for tree structures (Teodor Sigaev, |
|
|
|
Oleg Bartunov) |
|
|
|
Oleg Bartunov) |
|
|
|
Move /contrib/pg_controldata into main tree (Bruce) |
|
|
|
Move /contrib/pg_controldata, pg_resetxlog into main tree (Bruce) |
|
|
|
Fixes to /contrib/cube (Bruno Wolff) |
|
|
|
Fixes to /contrib/cube (Bruno Wolff) |
|
|
|
Improve /contrib/fulltextindex (Christopher) |
|
|
|
Improve /contrib/fulltextindex (Christopher) |
|
|
|
_________________________________________________________________ |
|
|
|
_________________________________________________________________ |
|
|
@ -3511,7 +3526,7 @@ Enhancements |
|
|
|
* pg_dump now output the schema and/or the data, with many fixes to |
|
|
|
* pg_dump now output the schema and/or the data, with many fixes to |
|
|
|
enhance completeness. |
|
|
|
enhance completeness. |
|
|
|
* psql used in place of monitor in administration shell scripts. |
|
|
|
* psql used in place of monitor in administration shell scripts. |
|
|
|
monitor to be depreciated in next release. |
|
|
|
monitor to be deprecated in next release. |
|
|
|
* date/time functions enhanced |
|
|
|
* date/time functions enhanced |
|
|
|
* NULL insert/update/comparison fixed/enhanced |
|
|
|
* NULL insert/update/comparison fixed/enhanced |
|
|
|
* TCL/TK lib and shell fixed to work with both tck7.4/tk4.0 and tcl7.5/tk4.1 |
|
|
|
* TCL/TK lib and shell fixed to work with both tck7.4/tk4.0 and tcl7.5/tk4.1 |
|
|
|