PostgreSQL La base de donnees la plus sophistiquee au monde.




Traductions de cette page:

Nouvelles hebdomadaires de PostgreSQL - 26 décembre 2010

Joyeux inter-réveillon de la part des Nouvelles Hebdo. !

Les nouveautés des produits dérivés

Offres d'emplois autour de PostgreSQL en décembre

PostgreSQL Local

  • Le FOSDEM est l'un des plus grand événements autour du Libre et de l'Open Source ; il a lieu annuellement à Bruxelles et rassemble environ 4000 personnes. La prochaine édition est programmée pour les 5 & 6 février 2011. Envoyez vos propositions à l'adresse fosdem AT postgresql POINT eu :
  • L'appel à conférenciers pour l'annuel "Prague PostgreSQL Developers' Day", 4ème édition, est lancé. L'événement sera tenu le 10 février 2011 à l'Universitas Carolinas :
  • L'appel à projets de PostgreSQLFr a été lancé. Les projets doivent concerner PostgreSQL et la communauté francophone. Mail à appel-projets-2010 (AT) postgresql (DOT) fr.
  • Un PGDay.US est au programme du Southern California Linux Exposition (SCALE) de cette année, tenu à l'hôtel LAX Hilton de Los Angeles (Californie) le vendredi 25 février 2011. Proposez vos conférences sur pgday-submissions (AT) googlegroups (DOT) com.
  • PostgreSQL Conference East 2011 : New-York City, du 22 au 25 mars :
  • PGCon aura lieu les 19 & 20 mai 2011 à l'Université d'Ottawa, précédé par deux jours de tutoriels les 17 & 18 mai . L'appel à conférenciers a été lancé !

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) et en espagnol à pwn (a)

(lien vers l'article original)

Correctifs appliqués

Alvaro Herrera a poussé :

Robert Haas a poussé :

Magnus Hagander a poussé :

Bruce Momjian a poussé :

Heikki Linnakangas a poussé :

  • Rewrite the GiST insertion logic so that we don't need the post-recovery cleanup stage to finish incomplete inserts or splits anymore. There was two reasons for the cleanup step: 1. When a new tuple was inserted to a leaf page, the downlink in the parent needed to be updated to contain (i.e. to be consistent with) the new key. Updating the parent in turn might require recursively updating the parent of the parent. We now handle that by updating the parent while traversing down the tree, so that when we insert the leaf tuple, all the parents are already consistent with the new key, and the tree is consistent at every step. 2. When a page is split, we need to insert the downlink for the new right page(s), and update the downlink for the original page to not include keys that moved to the right page(s). We now handle that by setting a new flag, F_FOLLOW_RIGHT, on the non-rightmost pages in the split. When that flag is set, scans always follow the rightlink, regardless of the NSN mechanism used to detect concurrent page splits. That way the tree is consistent right after split, even though the downlink is still missing. This is very similar to the way B-tree splits are handled. When the downlink is inserted in the parent, the flag is cleared. To keep the insertion algorithm simple, when an insertion sees an incomplete split, indicated by the F_FOLLOW_RIGHT flag, it finishes the split before doing anything else. These changes allow removing the whole "invalid tuple" mechanism, but I retained the scan code to still follow invalid tuples correctly. While we don't create any such tuples anymore, we want to handle them gracefully in case you pg_upgrade a GiST index that has them. If we encounter any on an insert, though, we just throw an error saying that you need to REINDEX. The issue that got me into doing this is that if you did a checkpoint while an insert or split was in progress, and the checkpoint finishes quickly so that there is no WAL record related to the insert between RedoRecPtr and the checkpoint record, recovery from that checkpoint would not know to finish the incomplete insert. IOW, we have the same issue we solved with the rm_safe_restartpoint mechanism during normal operation too. It's highly unlikely to happen in practice, and this fix is far too large to backpatch, so we're just going to live with in previous versions, but this refactoring fixes it going forward. With this patch, you don't get the annoying 'index "FOO" needs VACUUM or REINDEX to finish crash recovery' notices anymore if you crash at an unfortunate moment.;a=commitdiff;h=9de3aa65f01fb51cbc725e8508ea233e4e92c46c

Michael Meskes a poussé :

Peter Eisentraut a poussé :

Andrew Dunstan a poussé :

Correctifs rejetés (à ce jour)

  • Pas de déception cette semaine :-)

Correctifs en attente

  • Magnus Hagander sent in another revision of the patch to allow querying the version of libpq.
  • ITAGAKI Takahiro sent in another revision of the patch to export some of the functions COPY uses. This will help, among other things, the SQL/MED file-based operations.
  • Dimitri Fontaine sent in two more revisions of the patch to add extensions.
  • Andrew Dunstan sent in a patch to allow a vpath build to be used on MingW.
  • Noah Misch sent in a patch to change strncmp to memcmp when we know the shorter length. In the tests he ran, this resulted in a 13% speed boost.
  • Noah Misch sent in a patch based on the above patch to check lengths texteq, textne, byteaeq and byteane before detoasting, as unequal lengths imply inequality without further elaboration.
  • Alvaro Herrera sent in a patch atop Dimitri Fontaine's extension patch.
  • Sushant Sinha sent in a patch to fix an off-by-one error in ts_rank_cd.
  • Shigeru HANADA sent in another revision of the file_fdw patch for SQL/MED.
  • Merlin Moncure sent in a patch which makes the existence of hint bits a compile time option.
  • Alex Hunsaker sent in another revision of the patch to fix an issue with PL/PerlU's handling of utf8.
  • Fujii Masao sent in two more revisions of a patch to fix a bug in SignalSomeChildren.
  • Bruce Momjian sent in a patch to add the port number and optionally socket directory location to, and modify pg_ctl to use that information.
  • Jan Urbanski sent in a flock of patches to refactor PL/PythonU.
  • Tomas Vondra sent in another revisions of the patch to allow people to see the timestamp at which stats were reset by database if any table, index or function's statistics have been reset.
  • Magnus Hagander sent in a patch to change walsender to require a special privilege for replication.
  • KaiGai Kohei sent in SE-PostgreSQL as a contrib module.
  • Shigeru HANADA sent in another revision of the patch to make file_fdw work.
  • Robert Haas sent in another revision of the patch to add unlogged tables.
  • Kevin Grittner sent in a patch to address issues with long-running transactions in SERIALIZABLE isolation mode.
  • ITAGAKI Takahiro sent in another revision of the patch to add SQL standard MULTISETs.

pgwn/26_decembre_2010.txt · Dernière modification: 2010/12/30 01:21 par buggy