PostgreSQL La base de donnees la plus sophistiquee au monde.

Nouvelles hebdomadaires de PostgreSQL - 31 mai 2009

Les nouveautés des produits dérivés

  • La version 1.0 de Sonar, une plate-forme open-source de gestion qualité de développement, supporte à présent PostgreSQL :

La fonctionnalité 8.4 de la semaine

array_agg(): La procédure standard SQL pour aggréger des valeurs dans un tableau. C'est maintenant officiel... et plus rapide.

L'astuce de la semaine

Si vos requêtes avec agrégats sont lentes, essayez d'augmenter work_mem.

(lien vers l'article original)

Offres d'emplois autour de PostgreSQL en juin

PostgreSQL Local

PostgreSQL dans les média

PostgreSQL Weekly News / les nouvelles hebdomadaires vous sont offertes cette semaine par David Fetter, Josh Berkus et Guillaume Smet. La traduction en est assurée par l'équipe PostgreSQLFr.

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)

Correctifs appliqués

Tom Lane a commité :

  • Add range checks to time_recv() and timetz_recv(), to prevent binary input of time values that would not be accepted via textual input. Per gripe from Andrew McNamara. This is potentially a back-patchable bug fix, but for the moment it doesn't seem sufficiently high impact to justify doing that.
  • Remove unused declarations of EncodeTimeOnly and DecodeTimeOnly.
  • Allow the second argument of pg_get_expr() to be just zero when deparsing an expression that's not supposed to contain variables. Per discussion with Gevik Babakhani, this eliminates the need for an ugly kluge (namely, specifying some unrelated relation name). Remove one such kluge from pg_dump.
  • Remove the useless and rather inconsistent return values of EncodeDateOnly, EncodeTimeOnly, EncodeDateTime, EncodeInterval. These don't have any good reason to fail, and their callers were mostly not checking anyway.
  • Improve documentation about function volatility: mention the snapshot visibility effects in a couple of places where people are likely to look for it. Per discussion of recent question from Karl Nack.
  • Ignore RECHECK in CREATE OPERATOR CLASS, just throwing a NOTICE, instead of throwing an error as 8.4 had been doing. The error interfered with porting old database definitions (particularly for pg_migrator) without really buying any safety. Per bug #4817 and subsequent discussion.
  • In pgsql/doc/src/sgml/release-8.4.sgml, improve release note explanation of the change in libpq's handling of default usernames versus Kerberos tickets. Per confusion about what bug #4824 was really about.
  • In pgsql/src/backend/catalog/index.c, update obsolete comment in index_drop(). When the comment was written, queries frequently took no lock at all on individual indexes. That's not true any more, but we still need lock on the parent table to make it safe to use cached lists of index OIDs.

Bruce Momjian a commité :

  • In pgsql/doc/src/sgml/backup.sgml, remove tabs from SGML file.
  • In pgsql/doc/src/sgml/libpq.sgml, document that forking while having open libpq connections is not advised.

Michael Meskes a commité :

  • In pgsql/src/interfaces/libpq/fe-exec.c, reverting patch just in case a compiler treats this enum as signed.
  • Change macros to make gcc quiet when parsing.

Peter Eisentraut a commité :

  • Fix compiler warnings on Sun Studio of the sort '"tsquery_op.c", line 193: warning: syntax error: empty declaration.' Zdenek Kotala.
  • Fix to use the same format specifiers in both branches of a ngettext(). Zdenek Kotala.

Magnus Hagander a commité :

  • In pgsql/src/backend/libpq/auth.c, properly return the usermap result when doing gssapi authentication. Without this, the username was in practice never matched against the kerberos principal used to log in.

Heikki Linnakangas a commité :

  • In pgsql/src/backend/access/transam/xlog.c, when archiving is enabled, rotate the last WAL segment at shutdown so that all transactions are archived. Original patch by Guillaume Smet.

Correctifs rejetés (à ce jour)

  • Pas de déception cette semaine :-)

Correctifs en attente

pgwn/31_mai_2009.txt · Dernière modification: 2009/06/10 00:43 par buggy