Nouvelles hebdomadaires de PostgreSQL - 22 mai 2011
La première CommitFest du cycle 9.2 débutera le 15 juin 2011, mais vous n'êtes pas obligés d'attendre jusque là pour relire un patch :
http://commitfest.postgresql.org/
PostgreSQL Magazine #00 a été publié. Vous pouvez le télécharger, le consulter en ligne ou en acheter une copie papier via
http://pgmag.org/ Et n'oubliez pas de transmettre votre avis à contact AT pgmag POINT org !
Postgres Open 2011, conférence ayant pour thème les "évolutions brutales dans l'industrie de la base de données", aura lieu du 14 au 16 septembre 2011 à Chicago (Illinois, États-Unis) à l'hôtel "Westin Michigan Avenue" :
http://postgresopen.org
Les nouveautés des produits dérivés
Offres d'emplois autour de PostgreSQL en mai
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) fetter.org, en allemand à pwn (a) pgug.de, en italien à pwn (a) itpug.org et en espagnol à pwn (a) arpug.com.ar.
(lien vers l'article original)
Revues de code
Correctifs appliqués
Andrew Dunstan a poussé :
Bruce Momjian a poussé :
Tom Lane a poussé :
- Fix pg_dump's handling of extension-member casts and languages. pg_dump has some heuristic rules for whether to dump casts and procedural languages, since it's not all that easy to distinguish built-in ones from user-defined ones. However, we should not apply those rules to objects that belong to an extension, but just use the perfectly well-defined rules for what to do with extension member objects. Otherwise we might mistakenly lose extension member objects during a binary upgrade (which is the only time that we'd want to dump extension members).
http://git.postgresql.org/pg/commitdiff/b3bc63efbc258874b06586aa7548fce37f3581e1
- Make plpgsql provide the typmods for its variables to the main parser. Historically we didn't do this, even though we had the information, because plpgsql passed its Params via SPI APIs that only include type OIDs not typmods. Now that plpgsql uses parser callbacks to create Params, it's easy to insert the right typmod. This should generally result in lower surprise factors, because a plpgsql variable that is declared with a typmod will now work more like a table column with the same typmod. In particular it's the "right" way to fix bug #6020, in which plpgsql's attempt to return an anonymous record type is defeated by stricter record-type matching checks that were added in 9.0. However, it's not impossible that this could result in subtle behavioral changes that could break somebody's existing plpgsql code, so I'm afraid to back-patch this change into released branches. In those branches we'll have to lobotomize the record-type checks instead.
http://git.postgresql.org/pg/commitdiff/219dfae4e1b0ca7cbc0b2f0f7740e01657964c07
Peter Eisentraut a poussé :
Heikki Linnakangas a poussé :
Alvaro Herrera a poussé :
- Fix declaration of $_TD in "strict" trigger functions. This was broken in commit ef19dc6d39dd2490ff61489da55d95d6941140bf by the Bunce/Hunsaker/Dunstan team, which moved the declaration from plperl_create_sub to plperl_call_perl_trigger_func. This doesn't actually work because the validator code would not find the variable declared; and even if you manage to get past the validator, it still doesn't work because get_sv("_TD", GV_ADD) doesn't have the expected effect. The only reason this got beyond testing is that it only fails in strict mode. We need to declare it as a global just like %_SHARED; it is simpler than trying to actually do what the patch initially intended, and is said to have the same performance benefit. As a more serious issue, fix $_TD not being properly local()ized, meaning nested trigger functions would clobber $_TD. Alex Hunsaker, per test report from Greg Mullane
http://git.postgresql.org/pg/commitdiff/6b449d9051651d3accfdce73e21cfd5e3d0e09a3
Robert Haas a poussé :
Magnus Hagander a poussé :
Correctifs rejetés (à ce jour)
- Pas de déception cette semaine :-)
Correctifs en attente
- Jaime Casanova sent in another revision of the patch to add a new column to IDENTIFY_SYSTEM.
- Greg Smith sent in another revision of the patch to analyze cache.
- Leonardo Francalanci sent in two revisions of a patch to reduce the size of xl_xact_commit.
- Greg Smith sent in a patch to move some debugging/rescue contrib modules into core.
- Dean Rasheed sent in two revisions of a patch to enable support for hashing arrays.
- Josh Kupershmidt sent in a patch to add a constraint names to the \dd (show descriptions) in psql.
- Selena Deckelmann sent in three revisions of a patch to document replication setup in pg_hba.conf.
- Gregory Stark sent in a patch to add an option to psql's \dt which sorts columns alphabetically.
- Gurjeet Singh sent in another revision of the patch to add \ir (include relative) to psql.
- Robert Haas sent in a patch to drastically slim down the parser in order to test the effect on query speed.
- Fabien Coelho sent in a patch which adds AS EXPLICIT to CREATE CAST.
- Noah Misch sent in another patch to fix some infelicities in array handling.
- Pavel Stehule sent in a WIP patch implementing an enhanced GET DIAGNOSTICS statement in PL/pgsql.
- KaiGai Kohei sent in a patch adding relking handling to foreign tables in the sepgsql context.