PostgreSQL La base de donnees la plus sophistiquee au monde.

Nouvelles hebdomadaires de PostgreSQL - 14 mars 2010

Les mises à jour (pour cause de bug) 8.4.3, 8.3.10, 8.2.16, 8.1.20, 8.0.24 et 7.4.28 seront disponibles sous peu. Préparez-vous à mettre à jour !

Le PUG de San Francisco fera une "Fête du Test" mondiale le samedi 3 avril. Que vous soyez dans près de la Baie de San Francisco ou non, jetez un oeil sur les détails :

PostgreSQLfr tiendra un stand lors des Solutions Linux 2010 à Paris (16-18 mars, Porte de Versailles). Volontaires, n'hésitez pas à contacter Stéphane Schildknecht à l'adresse sas CHEZ postgresql POINT fr, ou sur la liste générale : bureau CHEZ postgresql POINT fr. Plus d'informations sur l'événement :

Les nouveautés des produits dérivés

La fonctionnalité 9.0 de la semaine

En PL/pgsql, l'instruction MOVE fonctionne maintenant en accord avec les curseurs.

Offres d'emplois autour de PostgreSQL en mars

PostgreSQL Local

PostgreSQL dans les média

PostgreSQL Weekly News / les nouvelles hebdomadaires vous sont offertes cette semaine par David Fetter. Traduction par l'équipe PostgreSQLFr sous licence CC BY-NC-SA.

Proposez vos articles ou annonces avant dimanche 15:00 (heure du Pacifique). Merci de les envoyer en anglais à david (a), en allemand à pwn (a), en italien à pwn (a)

(lien vers l'article original)

Correctifs appliqués

Magnus Hagander a commité :

  • In pgsql/src/backend/libpq/hba.c, disallow gssapi authentication on local connections, since it requires a hostname to function. Noted by Zdenek Kotala.
  • In pgsql/src/interfaces/libpq/fe-auth.c, require hostname to be set when using GSSAPI authentication. Without it, the GSSAPI libraries crash. Noted by Zdenek Kotala.
  • In pgsql/doc/src/sgml/ref/psql-ref.sgml, add missing space in example. Tim Landscheidt.

Michael Meskes a commité :

  • In pgsql/src/interfaces/ecpg/ecpglib/error.c, better test the content of the SQLSTATE string in ecpglib than the pointer.
  • In pgsql/src/interfaces/ecpg/ecpglib/error.c, backport fix from HEAD that makes ecpglib give the right SQLSTATE if the connection disappears.
  • Ecpg now adds a unique counter to its varchar struct definitions to make these definitions unique, too. It used to use the linenumber but in the rare case of two definitions in one line this was not unique.

Bruce Momjian a commité :

  • In pgsql/src/bin/psql/command.c, return proper exit code (3) from psql when ON_ERROR_STOP=on and --single-transaction are both used and the failure happens in commit, e.g. failed deferred trigger. Also properly free BEGIN/COMMIT result structures from --single-transaction. Per report from Dominic Bevacqua
  • In pgsql/doc/src/sgml/config.sgml, remove unnecessary comma in documentation.
  • In pgsql/doc/src/sgml/config.sgml, re-add comma, oops.
  • In pgsql/src/timezone/zic.c, small adjustment by pgindent.
  • In pgsql/src/backend/tsearch/wparser_def.c, allow underscores in tsearch email addressses, per RFC 5322 and report by Dan O'Hara. Patch by Teodor Sigaev
  • In pgsql/doc/src/sgml/textsearch.sgml, document what user name email symbols are supported by tsearch.
  • Add libpq warning message if the .pgpass-retrieved password fails. Add ERRCODE_INVALID_PASSWORD sqlstate error code.
  • In pgsql/src/backend/libpq/pqcomm.c, move TCP keepalive macro definition. Jaime Casanova
  • In pgsql/src/backend/libpq/pqcomm.c, move more tcp keepalive macros to be consistent.
  • In pgsql/src/backend/libpq/pqcomm.c, revert all keepalive moves, reevaluate.

Andrew Dunstan a commité :

  • In pgsql/src/pl/plperl/plperl.c, add checks for valid encoding of query strings passed to SPI by plperl.

Alvaro Herrera a commité :

  • Update time zone data files to tzdata release 2010e: DST law changes in Fiji, Samoa, Chile; corrections to recent changes in Paraguay and Bangladesh.
  • Improve PL/Perl documentation of database access functions. (Backpatch to 8.4 of a patch previously applied by Bruce Momjian to CVS HEAD) Alexey Klyukin.

Tom Lane a commité :

  • In pgsql/src/pl/plperl/plperl.c, use SvROK(sv) rather than directly checking SvTYPE(sv) == SVt_RV in plperl. The latter is considered unwarranted chumminess with the implementation, and can lead to crashes with recent Perl versions. Report and fix by Tim Bunce. Back-patch to all versions containing the questionable coding pattern.
  • Preliminary release notes for releases 8.4.3, 8.3.10, 8.2.16, 8.1.20, 8.0.24, 7.4.28.
  • In pgsql/src/include/catalog/pg_constraint.h, update comment for pg_constraint.conindid to mention that it's used for exclusion constraints. Not sure how we managed to update the comment for it in catalogs.sgml but miss this one.
  • Simplify a couple of pg_dump and psql \d queries about index constraints by joining to pg_constraint.conindid, instead of the former technique of joining indirectly through pg_depend. This is much more straightforward and probably faster as well. I had originally desisted from changing these queries when conindid was added because I was worried about losing performance, but if we join on conrelid as well as conindid then the index on conrelid can be used when pg_constraint is large.
  • In pgsql/src/bin/psql/describe.c, modify psql's \d printout to fold exclusion constraints in with regular indexes, rather than printing them twice. Per my gripe when the exclusion constraint feature was committed.
  • In pgsql/src/backend/access/common/reloptions.c, add missing reset of need_initialization in reloptions code. This resulted in useless extra work during every call of parseRelOptions, but no bad effects other than that. Noted by Alvaro Herrera.
  • In pgsql/src/timezone/pgtz.c, fix a commented-out block of code that pgindent didn't understand properly; it's been making that comment uglier with each run.
  • In pgsql/src/backend/postmaster/pgstat.c, add some logging code for unexpected cases, particularly being unable to read a stats file for reasons other than ENOENT, and having to reset last_statrequest because it's later than current time in the collector. Not clear if this will shed any light on the "pgstat wait timeout" business, but it seems like a good idea in general. In passing, do some message-style-police work on recently-added pgstat_reset_shared_counters code.
  • Update oidjoins regression test for 9.0.

ITAGAKI Takahiro a commité :

  • pg_start_backup() can use a share lock to lock ControlFileLock instead of an exclusive lock. The change is almost for code cleanup. Since there seems to be no performance benefits from it, backports should not be needed. Fujii Masao

Robert Haas a commité :

  • In pgsql/src/backend/commands/tablecmds.c, fix incorrect comment about permissions checking being done in utility.c. Noted while reviewing a patch from KaiGai Kohei.

Heikki Linnakangas a commité :

  • In pgsql/src/backend/storage/ipc/standby.c, fix comment which was apparently copy-pasted from another function.
  • In pgsql/src/backend/storage/ipc/procarray.c, fix bug in KnownAssignedXidsMany(). I saw this when looking at the assertion failure reported by Erik Rijkers, but this alone doesn't explain the failure.

Marc Fournier a commité :

  • Tag 8.4.3, 8.3.10, 8.2.16, 8.1.20, 8.0.24, and 7.4.28.

Peter Eisentraut a commité :

  • In pgsql/doc/src/sgml/runtime.sgml, update shared memory configuration information for Linux In particular, the assertion that shmall is sufficiently sized by default is slowly becoming untrue.
  • In pgsql/doc/src/sgml/plpython.sgml, add some more structure and bits of information to PL/Python documentation

Correctifs rejetés (à ce jour)

  • Dag-Erling Smorgrav's patch to address build issues on Windows XP with the MinGW toolkit. The actual fix will be to de-support --disable-shared.

Correctifs en attente

  • Fujii Masao sent in a patch which adds a new function pg_last_checkpoint_start_location() that reports the XLOG location where the last checkpoint or restartpoint started, i.e. the REDO starting location.
  • Pavel Stehule sent in two revisions of a patch for 9.1 which adds a some string functions including format(), sprintf() and concat_*().
  • Fujii Masao sent in a patch which makes it possible to interrupt walreceiver on win32.
  • KaiGai Kohei sent in another revision of the patch to disallow renaming system-initialized objects such as the "columns" in sequences.

pgwn/14_mars_2010.txt · Dernière modification: 2010/03/16 00:33 par buggy