Ceci est une ancienne révision du document !
<p><strong>Nouvelles hebdomadaires de PostgreSQL - 28 mars 2010</strong></p>
<p><strong>Les nouveautés des produits dérivés</strong></p>
<ul>
<li>dtester 0.1, une plateforme de tests évenementiels asynchrones [ndt: issue de Postgres-R, ciblant les systèmes distribués] :
<a target="_blank" href="http://www.bluegap.ch/projects/dtester/">http://www.bluegap.ch/projects/dtester/</a></li>
</ul>
<p><strong>La fonctionnalité 9.0 de la semaine</strong></p>
<p>Il est maintenant possible d'avoir des blocs de code "anonyme", via l'instruction DO [ndt: <a href="http://developer.postgresql.org/pgdocs/postgres/sql-do.html" target="_blank">http://developer.postgresql.org/pgdocs/postgres/sql-do.html</a>], dans les langages PL/pgsql, PL/Perl et PL/LOLCODE.</p>
<p><strong>Offres d'emplois autour de PostgreSQL en mars</strong></p>
<ul>
<li>Internationales :
<a target="_blank" href="http://archives.postgresql.org/pgsql-jobs/2010-03/threads.php">http://archives.postgresql.org/pgsql-jobs/2010-03/threads.php</a>;</li>
<li>Francophones :
<a target="_blank" href="http://forums.postgresql.fr/viewforum.php?id=4">http://forums.postgresql.fr/viewforum.php?id=4</a>.</li>
</ul>
<p><strong>PostgreSQL Local</strong></p>
<ul>
<li>Le PUG de San Francisco fera une "Fête du Test" le samedi 3 avril de 11h à 18h. Vidéo en direct. Aidez à en faire un événement mondial !
<a target="_blank" href="http://wiki.postgresql.org/wiki/SFPUG_Beta_Test_Day">http://wiki.postgresql.org/wiki/SFPUG_Beta_Test_Day</a></li>
<li>La "Linuxfest Northwest 2010" aura lieu à Bellingham, Washington, États-Unis les 24 et 25 avril. Conférences, réunions et mécénat sont possibles :
<a target="_blank" href="http://linuxfestnorthwest.org/">http://linuxfestnorthwest.org/</a></li>
<li>Andreas (ads) Scherbaum enseignera au centre pour adultes de Magdeburg (All.) du 3 au 7 mai 2010 sur le sujet "PostgreSQL for Corporate Use". Détails ci-après :
<a target="_blank" href="http://andreas.scherbaum.la/blog/archives/650-PostgreSQL-Schulung-als-Bildungsurlaub-03.-07.05.2010-in-Magdeburg.html">http://andreas.scherbaum.la/blog/archives/650-PostgreSQL-Schulung-als-Bildungsurlaub-03.-07.05.2010-in-Magdeburg.html</a></li>
<li>La PgCon 2010 aura lieu les 20 & 21 mai 2010 à Ottawa avec des tutoriels les 18 et 19 :
<a target="_blank" href="http://www.pgcon.org/2010/registration.php">http://www.pgcon.org/2010/registration.php</a></li>
<li>L'appel aux conférenciers pour l'OSBridge est lancé ! L'événement aura lieu du 1er au 4 juin 2010 à Portland (Oregon) :
<a target="_blank" href="http://opensourcebridge.org/events/2010/proposals/">http://opensourcebridge.org/events/2010/proposals/</a></li>
<li>L'OSCON aura lieu à Portland (Oregon) du 19 au 23 juillet 2010 :
<a target="_blank" href="http://www.oscon.com/oscon2010">http://www.oscon.com/oscon2010</a></li>
</ul>
<p><strong>PostgreSQL dans les média</strong></p>
<ul>
<li>Planet PostgreSQL :
<a target="_blank" href="http://planet.postgresql.org/">http://planet.postgresql.org/</a></li>
<li>Planet PostgreSQLFr :
<a target="_blank" href="http://planete.postgresql.fr/">http://planete.postgresql.fr/</a></li>
</ul>
<p><i>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.</i></p>
<p><i>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.</i></p>
<p>(<a target="_blank" href="http://www.postgresql.org/community/weeklynews/pwn20100328">lien vers l'article original</a>)</p>
<p><strong>Correctifs appliqués</strong></p>
<p>Michael Meskes a commité :</p>
<ul>
<li>In pgsql/src/interfaces/ecpg/test/preproc/strings.pgc, fixed ECPG regression test to make sure it uses absolute paths for include files instead of relative ones which break vpath builds.</li>
</ul>
<p>Tom Lane a commité :</p>
<ul>
<li>Fix an oversight in join-removal optimization: we have to check not only for plain Vars that are generated in the inner rel and used above the join, but also for PlaceHolderVars. Per report from Oleg Kolyhalin.</li>
<li>In pgsql/src/test/regress/output/constraints.source, fix regression test breakage from recent change in default name of exclusion-constraint index.</li>
<li>In pgsql/src/backend/postmaster/pgstat.c, now that we know last_statrequest > last_statwrite can be observed in the buildfarm, expend a little more effort on the log message for it.</li>
<li>In pgsql/src/backend/libpq/hba.c, fix thinko in log message for "sameuser" ident map mismatch: the provided and authenticated usernames were swapped. Reported by Bryan Henderson in bug #5386. Also clean up poorly-maintained header comment for this function.</li>
<li>In pgsql/contrib/intarray/_int_gin.c, fix ginint4_queryextract() to actually do what it was intended to do for an unsatisfiable query, such as indexcol && empty_array. It should return -1 to tell GIN no scan is required; but silly typo disabled the logic for that, resulting in unnecessary "GIN indexes do not support whole-index scans" error. Per bug report from Jeff Trout. Back-patch to 8.3 where the logic was introduced.</li>
</ul>
<p>Bruce Momjian a commité :</p>
<ul>
<li>Re-order createuser and vacuumedb documentation options, for consistency. Gabrielle Roth.</li>
<li>In pgsql/doc/src/sgml/release-9.0.sgml, properly credit Simon Riggs for functions pg_last_xlog_replay_location, etc.</li>
<li>In pgsql/doc/src/sgml/release-9.0.sgml, add back other xlog() function author names.</li>
<li>In pgsql/doc/src/sgml/release-9.0.sgml, typo fix from Erik (breinbaas) Rijkers.</li>
<li>Document in postgresql.conf that the max_standby_delay default is 30 'seconds'.</li>
</ul>
<p>Simon Riggs a commité :</p>
<ul>
<li>In pgsql/src/backend/commands/indexcmds.c, shorten suffix of automatically created indexes to "_excl" when using exclusion constraints, in line with string length of other pre-9.0 suffixes.</li>
<li>In pgsql/src/backend/replication/walsender.c, reduce CPU utilisation of WALSender process. Process was using 10% CPU doing nothing, caused by naptime specified in milliseconds yet units of pg_usleep() parameter is microseconds. Correctly specifying units reduces call frequency by 1000. Reduction in CPU consumption verified.</li>
<li>In pgsql/src/backend/utils/init/postinit.c, change replication connection log format to allow for a database called replication. Add host and port details, following format of messages in BackendInitialize().</li>
<li>In pgsql/src/backend/replication/walsender.c, additional thoughts on WALSender cpu reduction. Use long type and alter a comment to reduce confusion.</li>
<li>Modify some new and pre-existing messages for translatability.</li>
<li>Derive latestRemovedXid for btree deletes by reading heap pages. The WAL record for btree delete contains a list of tids, even when backup blocks are present. We follow the tids to their heap tuples, taking care to follow LP_REDIRECT tuples. We ignore LP_DEAD tuples on the understanding that they will always have xmin/xmax earlier than any LP_NORMAL tuples referred to by killed index tuples. Iff all tuples are LP_DEAD we return InvalidTransactionId. The heap relfilenode is added to the WAL record, requiring API changes to pass down the heap Relation. XLOG_PAGE_MAGIC updated.</li>
</ul>
<p>ITAGAKI Takahiro a commité :</p>
<ul>
<li>Each worker thread will have its own log file in pgbench to avoid interleaved writes. The first worker still uses "pgbench_log.<pid>" for the name, but additional workers use "pgbench_log.<pid>.<serial-number>" instead. Reported by Greg Smith.</li>
<li>Remove CRs for each line in pgbench.sgml.</li>
<li>Clean up logging codes and add documentation. Add English documentation. Split warm-standby and internal module documentation. Change the default for pg_statsinfo.syslog_line_prefix to 't %p '. Support non-default log_error_verbosity. Support local, GMT and UTC for log_timezone, but we cannot support others because postgres uses own timezone implemntation. Simplify codes for log_line_prefix.</li>
</ul>
<p>Peter Eisentraut a commité :</p>
<ul>
<li>In pgsql/src/interfaces/ecpg/preproc/ecpg.addons, remove useless double assignment GCC 4.5 complained about it.</li>
</ul>
<p>Heikki Linnakangas a commité :</p>
<ul>
<li>In pgsql/src/backend/replication/README, update description of walrcv_receive() function to match reality.</li>
<li>In pgsql/src/backend/replication/walsender.c, flush CopyOutResponse when starting streaming in walsender, so that it's not delayed until the first WAL record is sent. Fujii Masao.</li>
</ul>
<p>Andrew Dunstan a commité :</p>
<ul>
<li>In pgsql/src/Makefile.global.in, mark "installcheck-parallel", "world", "install-world" and "installcheck-world" make targets as PHONY. Fujii Masao.</li>
</ul>
<p>Alvaro Herrera a commité :</p>
<ul>
<li>Prevent ALTER USER f RESET ALL from removing the settings that were put there by a superuser -- "ALTER USER f RESET setting" already disallows removing such a setting. Apply the same treatment to ALTER DATABASE d RESET ALL when run by a database owner that's not superuser.</li>
</ul>
<p><strong>Correctifs rejetés (à ce jour)</strong></p>
<ul>
<li>Pas de déception cette semaine :-)</li>
</ul>
<p><strong>Correctifs en attente</strong></p>
<ul>
<li>Devrim GUNDUZ sent in a patch to update the Turkish stop words in tsearch2.</li>
<li>Fujii Masao sent in a doc patch for walreceiver per suggestion from Hitoshi Harada.</li>
<li>Heikki Linnakangas sent a doc patch clarifying use of double-quoted strings in pg_hba.conf. This became more relevant because of the special replication database, as distinct from some database named "replication" (with quotes).</li>
<li>Heikki Linnakangas and Fujii Masao sent in patches to try various ways to get WALs when the database is in recovery mode.</li>
<li>Andrew Dunstan sent in a WIP patch to fix an xmlconcat bug.</li>
<li>Fujii Masao sent in another revision of the patch to fix the issue where walreceiver is not interruptible on Windows.</li>
<li>Fujii Masao sent in a patch to fix a typo in a comment in pgsql/src/backend/access/transam/xlog.c.</li>
<li>Tom Lane sent in a WIP patch to fix an issue with join removal.</li>
</ul>