User: Password:
Subscribe / Log in / New account

[ANNOUNCE] == PostgreSQL Weekly News - October 24 2010 ==

From:  David Fetter <>
To:  PostgreSQL Announce <>
Subject:  [ANNOUNCE] == PostgreSQL Weekly News - October 24 2010 ==
Date:  Sun, 24 Oct 2010 22:12:56 -0700
Message-ID:  <>
Archive-link:  Article

== PostgreSQL Weekly News - October 24 2010 ==

New Survey: What do you think of Hot Standby / Streaming Replication?

Andreas Scherbaum did a talk in German on PostgreSQL.  Podcast is at

== PostgreSQL Product News ==

Another PostgreSQL Diff Tool 2.3, a tool for database diffs, released.

plproxyrc, a tool for configuring PL/Proxy, released.

portmanteau, a partition management tool for PostgreSQL, released.

pgpool-II 3.0.1, a connection pooler and more, and pgpoolAdmin 3.0.1, a
GUI for pgpool, released.

== PostgreSQL Jobs for October ==

== PostgreSQL Local ==

The deadline for the CfP for MySQL Conf is October 25, 2010.  Mail
Selena Deckelman selenamarie <AT> gmail <DOT> com for feedback, help
with submissions, or help generating ideas.

Registration for JDCon West 2010 is still open.  Scott
McNealy, formerly of Sun Microsystems, will keynote.

Registration for PGDay.EU 2010 held on December 6-8 in Stuttgart,
Germany is open.

PgDay.IT 2010 will be in Rome this year December 10th.  The Call for
Papers is now 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 ==

Jeff Davis reviewed the patch to implement a truly SERIALIAZABLE
isolation level.

ITAGAKI Takahiro reviewed several versions of the patch to add
== Applied Patches ==

Robert Haas pushed:

- Change example pg_hba.conf in docs to match altered
  pg_hba.conf.sample Peter Eisentraut's recent patch to allow host
  names in pg_hba.conf changed the contents of pg_hba.conf.sample
  Fujii Masao.;a=commi...

- Unbreak comments on composite type attributes.  Report and diagnosis
  by Peter Eisentraut.;a=commi...

- Add levenshtein_less_equal, optimized version for small distances.
  Alexander Korotkov, heavily revised by me.;a=commi...

- Add some caveats to the contrib/isn docs.;a=commi...

- Updates to contrib/isn ISBN tables.  Jan Otto, reviewed by Peter

- Correct a mistake in levenshtein_less_equal() multibyte character
  handling.  Spotted by Alexander Korotkov.  Along the way, remove a
  misleading comment line.;a=commi...

Bruce Momjian pushed:

- Document the tablespace directory "should" be empty, rather than
  "must" be empty.  Because of binary migration usage, it might not be

- In pg_upgrade, rename macro EXEC_EXT to SHELL_EXT for clarity.
  Backpatch to 9.0.X.;a=commi...

- Add mention of using tools/fsync to test fsync methods. Restructure
  recent wal_sync_method doc paragraph to be clearer.;a=commi...

- Add removal of PG_VERSION to optional old cluster deletion script.
  Backpatch to 9.0.X.;a=commi...

- In pg_upgrade, rename SHELL_EXT to SCRIPT_EXT, for clarity.;a=commi...

- Restructure the pg_upgrade code to use several global structures
  rather than packing everything into 'ctx' and passing that to every

- Pgindent run on pg_upgrade source after restructuring.;a=commi...

- In pg_upgrade, use cached copy of directory listing, rather than
  calling scandir() with a pattern for every table.  Optimization
  after report of pg_upgrade slowness with 150k tables.;a=commi...

- Cache most recent relfilenode lookups, for speed, after report of
  pg_upgrade slowness for 150k tables.;a=commi...

- Fix for new pg_upgrade cache code.;a=commi...

- Further speed up pg_upgrade lookups.;a=commi...

- Rename pg_upgrade 'log' to 'log_opts', to avoid platform naming

- Clean up pg_upgrade cache lookup code;  remove useless NULL pointer

- Mention limited usefulness of .pgpass database field.;a=commi...

Peter Eisentraut pushed:

- Support key word 'all' in host column of pg_hba.conf;a=commi...

- Support suffix matching of host names in pg_hba.conf.  A name
  starting with a dot can be used to match a suffix of the actual host
  name (e.g., matches;a=commi...

Tom Lane pushed:

- Fix incorrect generation of whole-row variables in planner.  A
  couple of places in the planner need to generate whole-row Vars, and
  were cutting corners by setting vartype = RECORDOID in the Vars,
  even in cases where there's an identifiable named composite type for
  the RTE being referenced.  While we mostly got away with this, it
  failed when there was also a parser-generated whole-row reference to
  the same RTE, because the two Vars weren't equal() due to the
  difference in vartype.  Fix by providing a subroutine the planner
  can call to generate whole-row Vars the same way the parser does.
  Per bug #5716 from Andrew Tipton.  Back-patch to 9.0 where one of
  the bogus calls was introduced (the other one is new in HEAD).;a=commi...

- Update storage.sgml to describe the 9.0 tablespace directory layout.;a=commi...

- Fix ecpg test building process to not generate *.dSYM junk on Macs.
  The trick is to not try to build executables directly from .c files,
  but to always build the intermediate .o files.  For obscure reasons,
  Darwin's version of gcc will leave debug cruft behind in the first
  case but not the second.  Per complaint from Robert Haas.;a=commi...

- Don't try to fetch database name when SetTransactionIdLimit() is
  executed outside a transaction.  This repairs brain fade in my patch
  of 2009-08-30: the reason we had been storing oldest-database name,
  not OID, in ShmemVariableCache was of course to avoid having to do a
  catalog lookup at times when it might be unsafe.  This error
  explains why Aleksandr Dushein is having trouble getting out of an
  XID wraparound state in bug #5718, though not how he got into that
  state in the first place.  I suspect pg_upgrade is at fault there.;a=commi...

- Remove obsolete comment, per Josh Kupershmidt.;a=commi...

- Improve handling of domains over arrays.  This patch eliminates
  various bizarre behaviors caused by sloppy thinking about the
  difference between a domain type and its underlying array type.  In
  particular, the operation of updating one element of such an array
  has to be considered as yielding a value of the underlying array
  type, *not* a value of the domain, because there's no assurance that
  the domain's CHECK constraints are still satisfied.  If we're
  intending to store the result back into a domain column, we have to
  re-cast to the domain type so that constraints are re-checked.  For
  similar reasons, such a domain can't be blindly matched to an
  ANYARRAY polymorphic parameter, because the polymorphic function is
  likely to apply array-ish operations that could invalidate the
  domain constraints.  For the moment, we just forbid such matching.
  We might later wish to insert an automatic downcast to the
  underlying array type, but such a change should also change matching
  of domains to ANYELEMENT for consistency.  To ensure that all such
  logic is rechecked, this patch removes the original hack of setting
  a domain's pg_type.typelem field to match its base type; the typelem
  will always be zero instead.  In those places where it's really okay
  to look through the domain type with no other logic changes, use the
  newly added get_base_element_type function in place of
  get_element_type.  catversion bumped due to change in pg_type
  contents.  Per bug #5717 from Richard Huxton and subsequent

- Allow new values to be added to an existing enum type.  After much
  expenditure of effort, we've got this to the point where the
  performance penalty is pretty minimal in typical cases.  Andrew
  Dunstan, reviewed by Brendan Jurd, Dean Rasheed, and Tom Lane.;a=commi...

Alvaro Herrera pushed:

- Remove AtStart_Cache() call in CommandCounterIncrement().  This call
  was present in the aboriginal code from Berkeley, and has never been
  touched; it may very well be that it was there to mask effects of
  bugs in other places and it may no longer be necessary.  The removal
  has been foreseen in a code comment since 2007; this seems to be a
  good time to test this hypothesis.;a=commi...

Heikki Linnakangas pushed:

- If pk is NULL, the backend would segfault when accessing ->algo and
  the following NULL check was never reached.  This problem was found
  by Coccinelle (null_ref.cocci from coccicheck).  Marti Raudsepp.;a=commi...

- Make OFF keyword unreserved.  It's not hard to imagine wanting to
  use 'off' as a variable or column name, and it's not reserved in
  recent versions of the SQL spec either.  This became particularly
  annoying in 9.0, before that PL/pgSQL replaced variable names in
  queries with parameter markers, so it was possible to use OFF and
  many other backend parser keywords as variable names.  Because of
  that, backpatch to 9.0.;a=commi...

- Add semicolon, missed in previous patch.  And update the keyword
  list in the docs to reflect that OFF is now unreserved.  Spotted by
  Tom Lane.;a=commi...

Andrew Dunstan pushed:

- Remove unnecessary use of trigger flag to hash plperl functions.;a=commi...

== Rejected Patches (for now) ==

No one was disappointed this week :-)

== Pending Patches ==

Dimitri Fontaine sent in eleven more revisions of the patch to add

Zoltan Boszormenyi sent in a patch to make the process of planning
execution of queries over large numbers of faster.

Marko (johto) Tiikkaja and Alvaro Herrera traded patches to fix an
issue with taking snapshots.

Josh Kupershmidt sent in a patch to add tab completion for \z and \dg
to psql.

Marti Raudsepp sent in a patch to keep psql's ON_ERROR_STOP from
leaking file descriptors based on a coccicheck run.

Alvaro Herrera sent in a patch to fix an issue with the interaction of
a crashing plancache with subtransactions.

Robert Haas sent in another revision of the patch to make truly

Pavel Stehule sent in another revision of the patch to add a format()

Jesper Krogh sent in a patch to clarify the docs on the behavior of
windowing functions with LIMIT.

Robert Haas sent in another WIP patch for K-nearest-neighbor GiST.

Peter Eisentraut sent in a WIP patch to refactor the type and typmod
lookups.  This will support, among other things, collations.

---------------------------(end of broadcast)---------------------------
-To unsubscribe from this list, send an email to:


(Log in to post comments)

Copyright © 2010, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds