Skip site navigation (1) Skip section navigation (2)

== PostgreSQL Weekly News - May 22 2011 ==

From: David Fetter <david(at)fetter(dot)org>
To: PostgreSQL Announce <pgsql-announce(at)postgresql(dot)org>
Subject: == PostgreSQL Weekly News - May 22 2011 ==
Date: 2011-05-23 06:06:59
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-announce
== PostgreSQL Weekly News - May 22 2011 ==

The first Commitfest of the 9.2 cycle will start June 15, 2011, but
you don't have to wait until then to review a patch.

PostgreSQL Magazine #00 is out. You can download it, view it online or
buy a print copy at
And don't forget to send feedback at contact AT pgmag DOT org !

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.

== PostgreSQL Product News ==

Pyrseas 0.2.0, a toolkit for PostgreSQL version control, released on PGXN.

pg_matlab, a module which allows the execution of MATLAB code inside
PostgreSQL, released.

== PostgreSQL Jobs for May ==

== PostgreSQL Local ==

PG Session 2, on PostGIS, will be held on June 23rd in Paris.  The
program is available at

CHAR(11), the PostgreSQL Conference on Clustering, High Availability
and Replication is now open for online registration and bookings.
July 11-12 2011 in Cambridge, UK.

PostgreSQL Conference China 2011 will be held in Guangzhou July
15-16, 2011.

PDXPUG is hosting PgDay on Sunday, July 24, 2011, one day before
OSCON, in Portland, Oregon, USA.  Details here:

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.

== 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 david(at)fetter(dot)org, German language
to pwn(at)pgug(dot)de, Italian language to pwn(at)itpug(dot)org(dot)  Spanish language
to pwn(at)arpug(dot)com(dot)ar(dot)

== Reviews ==

== Applied Patches ==

Andrew Dunstan pushed:

- Add required psqldir setting for isolation checks.

- Quote isolationtester command name so Windows will not think dot is
  the command.

- Use the right psql for isolation tests.

- Remove spurious underscore in name of isolation tester on MSVC.

Bruce Momjian pushed:

- Allow pg_upgrade to honor libpq environment variables.  Add 'local'
  checks for PGHOST and PGHOSTADDR.

- Add pg_upgrade check to make sure the user has full access
  permission in the current directory;  if not, throw an error.

- Remove redundant privilege doc sentences.

- Update pg_upgrade directory check error message.

- Fix pg_upgrade build problem on Windows when using X_OK access
  permission check on the current directory.

- Improve pg_upgrade X_OK comment.

- Improve pg_upgrade error reporting if the bin or data directories do
  not exist or are not directories.

- In pg_upgrade, clean up handling of invalid directory specification
  by checking the stat() errno value more strictly.

Tom Lane pushed:

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

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

Peter Eisentraut pushed:

- /contrib/foo -> contrib/foo Since contrib is a relative directory
  specification, a leading slash is inappropriate.

- Spell checking and markup refinement

- Remove obsolete comment

- Consistent spacing for lengthy error messages.  Also, we removed the
  display of the current value of max_connections/MaxBackends from
  some messages earlier, because it was confusing, so do that in the
  remaining one as well.

- Rename pg_dump --no-security-label to --no-security-labels Other
  similar options also use the plural form.

- Fix untranslatable assembly of libpq connection failure message.
  Even though this only affects the insertion of a parenthesized word,
  it's unwise to assume that parentheses can pass through
  untranslated.  And in any case, the new version is clearer in the
  code and for translators.

- Update config.guess and config.sub

- Message style improvements

- Message improvement

- Clarify the documentation of the --with-ossp-uuid option

- Put documentation of backslash commands back in alphabetical order

- Message style improvements

- Put lists in sensible order

Heikki Linnakangas pushed:

- Replace strdup() with pstrdup(), to avoid leaking memory.  It's been
  like this since the seg module was introduced, so backpatch to 8.2
  which is the oldest supported version.

- In binary-upgrade mode, dump dropped attributes of composite types.
  Noah Misch

- Reset per-tuple memory context between every row in a scan node,
  even when there's no quals or projections. Currently this only
  matters for foreign scans, as none of the other scan nodes litter
  the per-tuple memory context when there's no quals or projections.

- Pull up isReset flag from AllocSetContext to MemoryContext struct.
  This avoids the overhead of one function call when calling
  MemoryContextReset(), and it seems like the isReset optimization
  would be applicable to any new memory context we might invent in the
  future anyway.  This buys back the overhead I just added in previous
  patch to always call MemoryContextReset() in ExecScan, even when
  there's no quals or projections.

Alvaro Herrera pushed:

- 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

Robert Haas pushed:

- Fix race condition in CheckTargetForConflictsIn.  Dan Ports

Magnus Hagander pushed:

- Add example for replication in pg_hba.conf.  Selena Deckelmann

== Rejected Patches (for now) ==

No one was disappointed this week :-)

== Pending Patches ==

Jaime Casanova sent in another revision of the patch to add a new

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

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.

pgsql-announce by date

Next:From: Daniele VarrazzoDate: 2011-05-23 08:27:03
Subject: pgmp 1.0 released: PostgreSQL-GMP bindings
Previous:From: Joe AbbateDate: 2011-05-20 01:04:13
Subject: Pyrseas 0.2.0 is now available

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group