PostgreSQLLa base de données la plus sophistiquée au monde.

E.71. Version 8.0.4

[Note]

Date de sortie

2005-10-04

Cette version contient quelques corrections de la 8.0.3. Pour plus d'informations sur les nouvelles fonctionnalités de la version majeure 8.0, voir Section E.75, « Version 8.0 ».

E.71.1. Migration vers la version 8.0.4

Une sauvegarde/restauration n'est pas requise pour ceux utilisant une version 8.0.X. Néanmoins, si vous mettez à jour à partir d'une version antérieure à la 8.0.3, voir les notes de sortie de la 8.0.3.

E.71.2. Modifications

  • Fix error that allowed VACUUM to remove ctid chains too soon, and add more checking in code that follows ctid links

    This fixes a long-standing problem that could cause crashes in very rare circumstances.

  • Fix CHAR() to properly pad spaces to the specified length when using a multiple-byte character set (Yoshiyuki Asaba)

    In prior releases, the padding of CHAR() was incorrect because it only padded to the specified number of bytes without considering how many characters were stored.

  • Force a checkpoint before committing CREATE DATABASE

    This should fix recent reports of « index is not a btree » failures when a crash occurs shortly after CREATE DATABASE.

  • Fix the sense of the test for read-only transaction in COPY

    The code formerly prohibited COPY TO, where it should prohibit COPY FROM.

  • Handle consecutive embedded newlines in COPY CSV-mode input

  • Fix date_trunc(week) for dates near year end

  • Fix planning problem with outer-join ON clauses that reference only the inner-side relation

  • Further fixes for x FULL JOIN y ON true corner cases

  • Fix overenthusiastic optimization of x IN (SELECT DISTINCT ...) and related cases

  • Fix mis-planning of queries with small LIMIT values due to poorly thought out « fuzzy » cost comparison

  • Make array_in and array_recv more paranoid about validating their OID parameter

  • Fix missing rows in queries like UPDATE a=... WHERE a... with GiST index on column a

  • Improve robustness of datetime parsing

  • Improve checking for partially-written WAL pages

  • Improve robustness of signal handling when SSL is enabled

  • Improve MIPS and M68K spinlock code

  • Don't try to open more than max_files_per_process files during postmaster startup

  • Various memory leakage fixes

  • Various portability improvements

  • Update timezone data files

  • Improve handling of DLL load failures on Windows

  • Improve random-number generation on Windows

  • Make psql -f filename return a nonzero exit code when opening the file fails

  • Change pg_dump to handle inherited check constraints more reliably

  • Fix password prompting in pg_restore on Windows

  • Fix PL/PgSQL to handle var := var correctly when the variable is of pass-by-reference type

  • Fix PL/Perl %_SHARED so it's actually shared

  • Fix contrib/pg_autovacuum to allow sleep intervals over 2000 sec

  • Update contrib/tsearch2 to use current Snowball code