Communauté francophone de PostgreSQL

La communauté francophone de PostgreSQL

Outils pour utilisateurs

Outils du site


pgwn:31_juillet_2011

<p><strong>Nouvelles hebdomadaires de PostgreSQL - 31 juillet 2011</strong></p> <p><strong>Les nouveaut&eacute;s des produits d&eacute;riv&eacute;s</strong></p> <ul> <li>Database Master 4, un outil &agrave; interface graphique permettant de g&eacute;rer et surveiller des bases de donn&eacute;es, notamment PostgreSQL&nbsp;: <a target="_blank" href="http://www.nucleonsoftware.com/">http://www.nucleonsoftware.com/</a></li> <li>ODB 1.5.0, un ORM pour le C++, fonctionne avec PostgreSQL&nbsp;: <a target="_blank" href="http://www.codesynthesis.com/~boris/blog/2011/07/26/odb-1-5-0-released/">http://www.codesynthesis.com/~boris/blog/2011/07/26/odb-1-5-0-released/</a></li> <li>pgfincore 1.0, un ensemble de fonctions permettant de manipuler &agrave; bas niveau les relations, en utilisant mincore pour explorer la m&eacute;moire cache&nbsp;: <a target="_blank" href="http://pgfoundry.org/projects/pgfincore/">http://pgfoundry.org/projects/pgfincore/</a></li> <li>Slony-I 2.0.7, un syst&egrave;me de r&eacute;plication ma&icirc;tre vers copies-en-cascade pour PostgreSQL&nbsp;: <a target="_blank" href="http://www.slony.info/">http://www.slony.info/</a></li> <li>Version 1.19.3 de tail_n_mail, un programme de surveillance des logs Postgres&nbsp;: <a target="_blank" href="http://bucardo.org/wiki/Tail_n_mail">http://bucardo.org/wiki/Tail_n_mail</a></li> <li>Version 4.4.6 de Bucardo, un syst&egrave;me de r&eacute;plication multi-ma&icirc;tres pour PostgreSQL&nbsp;: <a target="_blank" href="http://bucardo.org/wiki/Bucardo">http://bucardo.org/wiki/Bucardo</a></li> </ul> <p><strong>Offres d'emplois autour de PostgreSQL en juillet</strong></p> <ul> <li>Internationales&nbsp;: <a target="_blank" href="http://archives.postgresql.org/pgsql-jobs/2011-07/threads.php">http://archives.postgresql.org/pgsql-jobs/2011-07/threads.php</a>;</li> <li>Francophones&nbsp;: <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><em>PGDay Porto Alegre</em> est programm&eacute; pour le 19 ao&ucirc;t 2011 &agrave; Porto Alegre (Br&eacute;sil)&nbsp;: <a target="_blank" href="http://www.postgresql.org.br/eventos/2011/pgday/rs">http://www.postgresql.org.br/eventos/2011/pgday/rs</a></li> <li>Postgres Open 2011, conf&eacute;rence ayant pour th&egrave;me les "&eacute;volutions brutales dans l'industrie de la base de donn&eacute;es", aura lieu du 14 au 16 septembre 2011 &agrave; Chicago (Illinois, &Eacute;tats-Unis) &agrave; l'h&ocirc;tel "<em>Westin Michigan Avenue</em>"&nbsp;: <a target="_blank" href="http://postgresopen.org">http://postgresopen.org</a></li> <li>Le <em>PG-Day Denver 2011</em> aura lieu le samedi 17 septembre 2011 dans le campus Auraria pr&egrave;s de Denver, Colorado&nbsp;: <a target="_blank" href="http://pgday.consistentstate.com/">http://pgday.consistentstate.com/</a></li> <li><em>PostgreSQL Conference West</em> (#PgWest) aura lieu du 27 au 30 septembre 2011 au centre des conventions de San Jos&eacute; (Californie, &Eacute;tats-Unis)&nbsp;: <a target="_blank" href="http://www.postgresqlconference.org">http://www.postgresqlconference.org</a></li> <li>La "<em>PostgreSQL Conference Europe 2011</em>" se tiendra &agrave; Amsterdam, du 18 au 21 octobre&nbsp;: <a target="_blank" href="http://2011.pgconf.eu/">http://2011.pgconf.eu/</a></li> <li>pgbr aura lieu &agrave; S&atilde;o Paulo (Br&eacute;sil) les 3 &amp; 4 novembre 2011&nbsp;: <a target="_blank" href="http://pgbr.postgresql.org.br/">http://pgbr.postgresql.org.br/</a></li> <li><em>PGConf.DE 2011</em> est une conf&eacute;rence germanophone tenue le 11 novembre au mus&eacute;e industriel du Rhin &agrave; Oberhausen (Allemagne). L'appel &agrave; conf&eacute;renciers est lanc&eacute;&nbsp;: <a target="_blank" href="http://2011.pgconf.de/">http://2011.pgconf.de/</a></li> </ul> <p><strong>PostgreSQL dans les m&eacute;dia</strong></p> <ul> <li>Planet PostgreSQL&nbsp;: <a target="_blank" href="http://planet.postgresql.org/">http://planet.postgresql.org/</a></li> <li>Planet PostgreSQLFr&nbsp;: <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'&eacute;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 &agrave; david (a) fetter.org, en allemand &agrave; pwn (a) pgug.de, en italien &agrave; pwn (a) itpug.org et en espagnol &agrave; pwn (a) arpug.com.ar.</i></p> <p>(<a target="_blank" href="http://www.postgresql.org/community/weeklynews/pwn20110731">lien vers l'article original</a>)</p> <p><strong>Revues de code</strong></p> <p><strong>Correctifs appliqu&eacute;s</strong></p> <p>Robert Haas a pouss&eacute;&nbsp;:</p> <ul> <li>Add new pgbench switch, --unlogged-tables. This entails adjusting pgbench to use getopt_long() rather than getopt(). <a target="_blank" href="http://git.postgresql.org/pg/commitdiff/2d6fee09eba8474d9a69c08bf716f3e2d31e5fdf">http://git.postgresql.org/pg/commitdiff/2d6fee09eba8474d9a69c08bf716f3e2d31e5fdf</a></li> <li>Add new pgbench options, --tablespace and --index-tablespace. Per a request from Greg Smith. <a target="_blank" href="http://git.postgresql.org/pg/commitdiff/7c26395661ce549621db6fa93c0abb9cdbac9837">http://git.postgresql.org/pg/commitdiff/7c26395661ce549621db6fa93c0abb9cdbac9837</a></li> <li>Improvements to SQL/MED documentation. Laurenz Albe, somewhat modified by me. <a target="_blank" href="http://git.postgresql.org/pg/commitdiff/f5af8eed9201e50bc5c761809ff57ef1ace91502">http://git.postgresql.org/pg/commitdiff/f5af8eed9201e50bc5c761809ff57ef1ace91502</a></li> <li>Add some environment checks prior to sepgsql regression testing. This probably needs more work, but it's a start. KaiGai Kohei <a target="_blank" href="http://git.postgresql.org/pg/commitdiff/8cca49d8a0d969e1c0f08779e8230466e395b813">http://git.postgresql.org/pg/commitdiff/8cca49d8a0d969e1c0f08779e8230466e395b813</a></li> <li>Clarify which relkinds accept column comments. Per discussion with Josh Kupershmidt. <a target="_blank" href="http://git.postgresql.org/pg/commitdiff/c80be8a816ac4bf8b910aaaec599c683804bcd77">http://git.postgresql.org/pg/commitdiff/c80be8a816ac4bf8b910aaaec599c683804bcd77</a></li> <li>Only display column comments for relkinds that support them. Josh Kupershmidt, with minor modifications by me. <a target="_blank" href="http://git.postgresql.org/pg/commitdiff/8c18f3f0e15738633231b31d8937b2710b38975f">http://git.postgresql.org/pg/commitdiff/8c18f3f0e15738633231b31d8937b2710b38975f</a></li> <li>Fix typo. Noted by Josh Kupershmidt. <a target="_blank" href="http://git.postgresql.org/pg/commitdiff/a8302803ab225e87458037b922aceee9864d9f54">http://git.postgresql.org/pg/commitdiff/a8302803ab225e87458037b922aceee9864d9f54</a></li> <li>Move new pgbench options to correct section of --help output. <a target="_blank" href="http://git.postgresql.org/pg/commitdiff/60fb25a3f56bd78e961cc7263e5ae11e1eceeb5e">http://git.postgresql.org/pg/commitdiff/60fb25a3f56bd78e961cc7263e5ae11e1eceeb5e</a></li> <li>Reduce sinval synchronization overhead. Testing shows that the overhead of acquiring and releasing SInvalReadLock and msgNumLock on high-core count boxes can waste a lot of CPU time and hurt performance. This patch adds a per-backend flag that allows us to skip all that locking in most cases. Further testing shows that this improves performance even when sinval traffic is very high. Patch by me. Review and testing by Noah Misch. <a target="_blank" href="http://git.postgresql.org/pg/commitdiff/b4fbe392f8ff6ff1a66b488eb7197eef9e1770a4">http://git.postgresql.org/pg/commitdiff/b4fbe392f8ff6ff1a66b488eb7197eef9e1770a4</a></li> </ul> <p>Andrew Dunstan a pouss&eacute;&nbsp;:</p> <ul> <li>Silence compiler warning about uninitialized variable. It is set correctly on the only path that uses it, but the compiler can't know that. <a target="_blank" href="http://git.postgresql.org/pg/commitdiff/74e6d37276564d4be1f60d9edb76d7d066395773">http://git.postgresql.org/pg/commitdiff/74e6d37276564d4be1f60d9edb76d7d066395773</a></li> <li>Don't build replacement getpeereid function on mingw. Windows doesn't have Unix sockets, so it's not needed, and moreover causes compile warnings. <a target="_blank" href="http://git.postgresql.org/pg/commitdiff/c9737310d5f9b87b5edb3674b5d34eea2f198a0b">http://git.postgresql.org/pg/commitdiff/c9737310d5f9b87b5edb3674b5d34eea2f198a0b</a></li> </ul> <p>Peter Eisentraut a pouss&eacute;&nbsp;:</p> <ul> <li>Replace printf format %i by %d. They are identical, but the overwhelming majority of the code uses %d, so standardize on that. <a target="_blank" href="http://git.postgresql.org/pg/commitdiff/ce8d7bb6440710058503d213b2aafcdf56a5b481">http://git.postgresql.org/pg/commitdiff/ce8d7bb6440710058503d213b2aafcdf56a5b481</a></li> <li>Add missing newlines at end of error messages <a target="_blank" href="http://git.postgresql.org/pg/commitdiff/e67efb01e886d69d40d1cd87fba4507e8bb1035e">http://git.postgresql.org/pg/commitdiff/e67efb01e886d69d40d1cd87fba4507e8bb1035e</a></li> <li>Minor message style adjustment <a target="_blank" href="http://git.postgresql.org/pg/commitdiff/0fe8150827693fca429a01b1cf2914f7f14d3b2d">http://git.postgresql.org/pg/commitdiff/0fe8150827693fca429a01b1cf2914f7f14d3b2d</a></li> <li>Add host name resolution information to pg_hba.conf error messages. This is to be able to analyze issues with host names in pg_hba.conf. <a target="_blank" href="http://git.postgresql.org/pg/commitdiff/8a0fa9cad9939f53f0b496d95d7e7fd9cfab0e9c">http://git.postgresql.org/pg/commitdiff/8a0fa9cad9939f53f0b496d95d7e7fd9cfab0e9c</a></li> </ul> <p>Tom Lane a pouss&eacute;&nbsp;:</p> <ul> <li>Check to see whether libxml2 handles error context the way we expect. It turns out to be possible to link against a libxml2.so that does this differently than the version we configured and built against, so we need a runtime check to avoid bizarre behavior. Per report from Bernd Helmle. Patch by Florian Pflug. <a target="_blank" href="http://git.postgresql.org/pg/commitdiff/c1420fcf7d9e899b3378e25f5e21776f6461b4a4">http://git.postgresql.org/pg/commitdiff/c1420fcf7d9e899b3378e25f5e21776f6461b4a4</a></li> <li>Fix pg_restore's direct-to-database mode for standard_conforming_strings. pg_backup_db.c contained a mini SQL lexer with which it tried to identify boundaries between SQL commands, but that code was not designed to cope with standard_conforming_strings, and would get the wrong answer if a backslash immediately precedes a closing single quote in such a string, as per report from Julian Mehnle. The bug only affects direct-to-database restores from archive files made with standard_conforming_strings = on. Rather than complicating the code some more to try to fix that, let's just rip it all out. The only reason it was needed was to cope with COPY data embedded into ordinary archive entries, which was a layout that was used only for about the first three weeks of the archive format's existence, and never in any production release of pg_dump. Instead, just rely on the archive file layout to tell us whether we're printing COPY data or not. This bug represents a data corruption hazard in all releases in which standard_conforming_strings can be turned on, ie 8.2 and later, so back-patch to all supported branches. <a target="_blank" href="http://git.postgresql.org/pg/commitdiff/6545a901aaf84cb05212bb6a7674059908f527c3">http://git.postgresql.org/pg/commitdiff/6545a901aaf84cb05212bb6a7674059908f527c3</a></li> </ul> <p>Bruce Momjian a pouss&eacute;&nbsp;:</p> <ul> <li>Fix pg_update to properly test for the data directory's existence on Win32. Backpatch to 9.1. <a target="_blank" href="http://git.postgresql.org/pg/commitdiff/a31dc392d684627d0943fe67491bea91c5e619aa">http://git.postgresql.org/pg/commitdiff/a31dc392d684627d0943fe67491bea91c5e619aa</a></li> </ul> <p><strong>Correctifs rejet&eacute;s (&agrave; ce jour)</strong></p> <ul> <li>Pas de d&eacute;ception cette semaine&nbsp;:-)</li> </ul> <p><strong>Correctifs en attente</strong></p> <ul> <li>Timothy D. F. Lewis sent in another revision of a patch which allows people to set the maximum number of large objects which can be vacuumed.</li> <li>Alexey Klyukin sent in another revision of the patch intended to validate configuration files.</li> <li>Jeff Janes sent in a patch to allow running pgbench in single-transaction mode.</li> <li>Florian Pflug sent in another revision of a patch intended to fix a failure mode in XML.</li> <li>Heikki Linnakangas sent in another revision of the patch to build GiST indexes faster.</li> <li>Josh Kupershmidt sent in another revision of the patch to display object comments in psql.</li> <li>Aron Wieck sent in another revision of the vacuumlo patch.</li> <li>Pavel Stehule sent in another revision of the patch to enhance error reporting.</li> <li>Alvaro Herrera sent in another revision of the FOR KEY LOCK patch.</li> <li>Robert Haas sent in another revision of the patch intended to reduce the number of sinval calls.</li> <li>Nikhil Sontakke sent in two revisions of a patch to allow CHECK constraints to be only on parent tables in an inheritance (partition) hierarchy.</li> <li>Alvaro Herrera sent in another revision of the patch to catalog NOT NULL constraints.</li> <li>Peter Geoghegan sent in another revision of the patch intended to reduce power consumption when idle.</li> <li>Andrew Dunstan sent in a patch to clean up PL/PythonU.</li> <li>Shigeru HANADA sent in another revision of the patch to add per-column options to foreign data wrappers.</li> <li>Robert Haas sent in two revisions of a patch intended to reduce internal contention in pgbench.</li> </ul>

pgwn/31_juillet_2011.txt · Dernière modification: 2011/08/03 01:48 de buggy