mirror of
https://github.com/postgres/postgres.git
synced 2025-04-22 23:02:54 +03:00
Update to reflect Tom's suggestions.
This commit is contained in:
parent
f20e3c33d9
commit
af3cf2cfa8
20
HISTORY
20
HISTORY
@ -18,7 +18,7 @@ Overview
|
|||||||
|
|
||||||
Drop Column
|
Drop Column
|
||||||
|
|
||||||
PostgreSQL now support ALTER TABLE ... DROP COLUMN functionality.
|
PostgreSQL now supports ALTER TABLE ... DROP COLUMN functionality.
|
||||||
|
|
||||||
Table Functions
|
Table Functions
|
||||||
|
|
||||||
@ -42,7 +42,7 @@ Overview
|
|||||||
|
|
||||||
Multibyte/Locale
|
Multibyte/Locale
|
||||||
|
|
||||||
Both multibyte and locale are now enabled by default.
|
Both multibyte and locale are now always enabled.
|
||||||
|
|
||||||
Logging
|
Logging
|
||||||
|
|
||||||
@ -57,7 +57,7 @@ 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 64 bytes long.
|
identifiers can be up to 63 bytes long.
|
||||||
|
|
||||||
----------------------------------------------------------------------
|
----------------------------------------------------------------------
|
||||||
|
|
||||||
@ -101,7 +101,7 @@ Changes
|
|||||||
Server Operation
|
Server Operation
|
||||||
================
|
================
|
||||||
Kerberos V Heimdal support (KTH)
|
Kerberos V Heimdal support (KTH)
|
||||||
Add pg_locks table to show locks (Neil)
|
Add pg_locks view to show locks (Neil)
|
||||||
Security fixes for password negotiation memory allocation (Neil)
|
Security fixes for password negotiation memory allocation (Neil)
|
||||||
Remove support for version 0, <=6.2 FE/BE protocol (Tom)
|
Remove support for version 0, <=6.2 FE/BE protocol (Tom)
|
||||||
Reserve the last few backend slots for superusers, add GUC variable
|
Reserve the last few backend slots for superusers, add GUC variable
|
||||||
@ -115,12 +115,10 @@ Improve caching of index information (Tom)
|
|||||||
Optimizer improvements (Tom, Fernando Nasser)
|
Optimizer improvements (Tom, Fernando Nasser)
|
||||||
Catalog caches now store failed lookups (Tom)
|
Catalog caches now store failed lookups (Tom)
|
||||||
Hash function improvements (Neil)
|
Hash function improvements (Neil)
|
||||||
EXPLAIN now outputs as a query (Tom)
|
|
||||||
Improve performance of query tokenization and network handling (Peter)
|
Improve performance of query tokenization and network handling (Peter)
|
||||||
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 (Tom)
|
Mark expired index entries on first lookup, saving later heap fetches (Tom)
|
||||||
Eliminate NULL bitmap padding when not required (Manfred)
|
Eliminate NULL bitmap padding when not required (Manfred)
|
||||||
Display sort keys in EXPLAIN (Tom)
|
|
||||||
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)
|
||||||
@ -228,9 +226,11 @@ Make pg_dump use ALTER TABLE ADD PRIMARY KEY, for performance (Neil)
|
|||||||
Disable brackets in multi-statement rules (Bruce)
|
Disable brackets in multi-statement rules (Bruce)
|
||||||
Disable VACUUM from being called inside a function (Bruce)
|
Disable VACUUM from being called inside a function (Bruce)
|
||||||
Allow dropdb and other scripts to use identifiers with spaces (Bruce)
|
Allow dropdb and other scripts to use identifiers with spaces (Bruce)
|
||||||
Restrict comments to the current database
|
Restrict comment to the current database
|
||||||
Allow comments on operators, independent of the underlying function (Rod)
|
Allow comments on operators, independent of the underlying function (Rod)
|
||||||
Rollback SET commands in aborted transactions (Tom)
|
Rollback SET commands in aborted transactions (Tom)
|
||||||
|
EXPLAIN now outputs as a query (Tom)
|
||||||
|
Display sort keys in EXPLAIN (Tom)
|
||||||
Add 'SET LOCAL var = value' to set GUC variables for a single transaction (Tom)
|
Add 'SET LOCAL var = value' to set GUC variables for a single transaction (Tom)
|
||||||
Allow ANALYZE to run in a transaction (Bruce)
|
Allow ANALYZE to run in a transaction (Bruce)
|
||||||
Improve COPY syntax using new WITH clauses, keep backward compatibility (Bruce)
|
Improve COPY syntax using new WITH clauses, keep backward compatibility (Bruce)
|
||||||
@ -291,7 +291,7 @@ Allow bit string constants without fully-specified length (Thomas)
|
|||||||
Allow conversion between 8-byte integers and bit strings (Thomas)
|
Allow conversion between 8-byte integers and bit strings (Thomas)
|
||||||
Implement hex literal conversion to bit string literal (Thomas)
|
Implement hex literal conversion to bit string literal (Thomas)
|
||||||
Allow table functions to appear in the FROM clause (Joe)
|
Allow table functions to appear in the FROM clause (Joe)
|
||||||
Increase maximum number of function parameters to 32 (Bruce) momjian
|
Increase maximum number of function parameters to 32 (Bruce)
|
||||||
No longer automatically create index for SERIAL column (Tom)
|
No longer automatically create index for SERIAL column (Tom)
|
||||||
Add current_database() (Rod)
|
Add current_database() (Rod)
|
||||||
Fix cash_words() to not overflow buffer (Tom)
|
Fix cash_words() to not overflow buffer (Tom)
|
||||||
@ -412,12 +412,12 @@ Rename some internal identifiers to simplify Win32 compile (Jan, Katherine Ward)
|
|||||||
Add documentation on computing disk space (Bruce)
|
Add documentation on computing disk space (Bruce)
|
||||||
Remove KSQO from GUC (Bruce)
|
Remove KSQO from GUC (Bruce)
|
||||||
Fix memory leak in rtree (Kenneth Been)
|
Fix memory leak in rtree (Kenneth Been)
|
||||||
Modify a few error messages for consistency (Bruce) momjian
|
Modify a few error messages for consistency (Bruce)
|
||||||
Remove unused system table columns (Peter)
|
Remove unused system table columns (Peter)
|
||||||
Make system columns NOT NULL where appropriate (Tom)
|
Make system columns NOT NULL where appropriate (Tom)
|
||||||
Clean up use of sprintf in favor of snprintf()
|
Clean up use of sprintf in favor of snprintf()
|
||||||
Remove OPAQUE and create specific subtypes (Tom)
|
Remove OPAQUE and create specific subtypes (Tom)
|
||||||
Cleanups in array internal handling (Tom)
|
Cleanups in array internal handling (Joe)
|
||||||
Disallow pg_atoi('') (Bruce)
|
Disallow pg_atoi('') (Bruce)
|
||||||
Remove GUC parameter wal_files because WAL files are now recycled (Bruce)
|
Remove GUC parameter wal_files because WAL files are now recycled (Bruce)
|
||||||
|
|
||||||
|
@ -1,7 +1,14 @@
|
|||||||
This can format all PostgreSQL *.c and *.h files, excluding libpq++,
|
This can format all PostgreSQL *.c and *.h files, excluding libpq++,
|
||||||
*.y, and *.l files.
|
*.y, and *.l files.
|
||||||
|
|
||||||
On 09/06/1997, from the top directory, I ran:
|
Get the list of typedef's included in pgindent by running this on the
|
||||||
|
pgsql/bin directory:
|
||||||
|
|
||||||
|
/src/tools/find_typedef
|
||||||
|
|
||||||
|
and update the list in pgindent.
|
||||||
|
|
||||||
|
From the top directory, run:
|
||||||
|
|
||||||
find . -name '*.[ch]' -type f -print | egrep -v '\+\+|s_lock.h' | xargs -n100 pgindent
|
find . -name '*.[ch]' -type f -print | egrep -v '\+\+|s_lock.h' | xargs -n100 pgindent
|
||||||
|
|
||||||
@ -23,12 +30,6 @@ If you don't believe me, take a directory and make a copy. Run pgindent
|
|||||||
on the copy using GNU indent, and do a diff -r. You will see what I
|
on the copy using GNU indent, and do a diff -r. You will see what I
|
||||||
mean. GNU indent does some things better, but mangles too.
|
mean. GNU indent does some things better, but mangles too.
|
||||||
|
|
||||||
We get the list of typedef's included in pgindent by running:
|
|
||||||
|
|
||||||
/src/tools/find_typedef
|
|
||||||
|
|
||||||
Make sure to do the pgsql/bin directory, and the src/interfaces/odbc
|
|
||||||
directory. Merge the output of these and remove duplicates.
|
|
||||||
|
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user