PostgreSQL Weekly News – July 31 2011

== PostgreSQL Weekly News – July 31 2011 ==

== PostgreSQL Product News ==

Database Master 4, a GUI management and reporting tool which supports
PostgreSQL, released.

ODB 1.5.0, an ORM for C++, supports PostgreSQL.

pgfincore, 1.0, a set of functions to handle low-level management of
relations using mincore to explore cache memory, released.

Slony-I 2.0.7, a master-to-multiple-cascading-replica system for
PostgreSQL, released.

Version 1.19.3 of tail_n_mail, a Postgres log watcher program, released.

Version 4.4.6 of Bucardo, a Postgres multi-master replication system, released.

== PostgreSQL Jobs for July ==

== PostgreSQL Local ==

PGDay Porto Alegre will be on August 19, 2011 in Porto Alegre, RS, Brazil.

Postgres Open 2011, a conference focused on disruption of the database
industry through PostgreSQL, will take place September 14-16, 2011 in
Chicago, Illinois at the Westin Michigan Avenue hotel.

PG-Day Denver 2011 will be held on Friday, October 21st, 2011 at
the Auraria Campus near downtown Denver, Colorado.

PostgreSQL Conference West (#PgWest) will be held September 27th-30th,
2011 at the San Jose Convention center in San Jose, California, USA.

PostgreSQL Conference Europe 2011 will be held on October 18-21 in

pgbr will be in Sao Paulo, Brazil November 3-4, 2011.

PGConf.DE 2011 is the German-speaking PostgreSQL Conference and will
take place on November 11th in the Rheinisches Industriemuseum in
Oberhausen, Germany. Call for Papers is open.

== PostgreSQL in the News ==

Planet PostgreSQL:

PostgreSQL Weekly News is brought to you this week by David Fetter

Submit news and announcements by Sunday at 3:00pm Pacific time.
Please send English language ones to, German language
to, Italian language to Spanish language

== Reviews ==

== Applied Patches ==

Robert Haas pushed:

– Add new pgbench switch, –unlogged-tables. This entails adjusting
pgbench to use getopt_long() rather than getopt().

– Add new pgbench options, –tablespace and –index-tablespace. Per a
request from Greg Smith.

– Improvements to SQL/MED documentation. Laurenz Albe, somewhat
modified by me.

– Add some environment checks prior to sepgsql regression testing.
This probably needs more work, but it’s a start. KaiGai Kohei

– Clarify which relkinds accept column comments. Per discussion with
Josh Kupershmidt.

– Only display column comments for relkinds that support them. Josh
Kupershmidt, with minor modifications by me.

– Fix typo. Noted by Josh Kupershmidt.

– Move new pgbench options to correct section of –help output.

– 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.

Andrew Dunstan pushed:

– Silence compiler warning about uninitialized variable. It is set
correctly on the only path that uses it, but the compiler can’t know

– Don’t build replacement getpeereid function on mingw. Windows
doesn’t have Unix sockets, so it’s not needed, and moreover causes
compile warnings.

Peter Eisentraut pushed:

– Replace printf format %i by %d. They are identical, but the
overwhelming majority of the code uses %d, so standardize on that.

– Add missing newlines at end of error messages

– Minor message style adjustment

– 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.

Tom Lane pushed:

– Check to see whether libxml2 handles error context the way we
expect. It turns out to be possible to link against a
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.

– 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.

Bruce Momjian pushed:

– Fix pg_update to properly test for the data directory’s existence on
Win32. Backpatch to 9.1.

== Rejected Patches (for now) ==

No one was disappointed this week 🙂

== Pending Patches ==

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

Alexey Klyukin sent in another revision of the patch intended to
validate configuration files.

Jeff Janes sent in a patch to allow running pgbench in
single-transaction mode.

Florian Pflug sent in another revision of a patch intended to fix a
failure mode in XML.

Heikki Linnakangas sent in another revision of the patch to build GiST
indexes faster.

Josh Kupershmidt sent in another revision of the patch to display
object comments in psql.

Aron Wieck sent in another revision of the vacuumlo patch.

Pavel Stehule sent in another revision of the patch to enhance error

Alvaro Herrera sent in another revision of the FOR KEY LOCK patch.

Robert Haas sent in another revision of the patch intended to reduce
the number of sinval calls.

Nikhil Sontakke sent in two revisions of a patch to allow CHECK
constraints to be only on parent tables in an inheritance (partition)

Alvaro Herrera sent in another revision of the patch to catalog NOT
NULL constraints.

Peter Geoghegan sent in another revision of the patch intended to
reduce power consumption when idle.

Andrew Dunstan sent in a patch to clean up PL/PythonU.

Shigeru HANADA sent in another revision of the patch to add per-column
options to foreign data wrappers.

Robert Haas sent in two revisions of a patch intended to reduce
internal contention in pgbench.

Comments are closed.