Features Download
From: David Fetter <david <at> fetter.org>
Subject: == PostgreSQL Weekly News - April 28 2013 ==
Newsgroups: gmane.comp.db.postgresql.announce
Date: Monday 29th April 2013 03:17:57 UTC (over 3 years ago)
== PostgreSQL Weekly News - April 28 2013 ==

== PostgreSQL Product News ==

Postgres-XC 1.0.3, a write-scalable multi-master symmetric cluster
based on PostgreSQL, released.

== PostgreSQL Jobs for April ==


== PostgreSQL Local ==

PGCon 2013 will be held May 23-24 2013, in Ottawa at the University of

Postgres-XC is going to have its first user/developer meeting after
the cluster summit.

The 6th annual "Prague PostgreSQL Developers Day" conference,
organized by CSPUG (Czech and Slovak PostgreSQL Users Group), will be
held on May 30, 2013 at Faculty of Mathematics and Physics, Charles
University (Malostranske namesti 25, Prague).  The CfP is open until
April 14, 2013 .  More information in Czech is at

PG Day France is the major French-speaking PostgreSQL community event.
It will be held June 13, 2013 in Nantes, France.

PostgreSQL Brazil will be held August 15-17, 2013 in Porto Velho, RO,

Save The Date!
Postgres Open 2013 will be in Chicago, IL, USA, September 16-18.
    Hotel Sax:
    Early Bird registration:

PGConf.EU 2013 will be held on Oct 29-Nov 1, in at the Conrad Hotel in
downtown Dublin, Ireland.

PGConf.DE 2013 will be held November 8th, 2013, at the Rhineland
Industrial Museum in Oberhausen.

== PostgreSQL in the News ==

Planet PostgreSQL: http://planet.postgresql.org/

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 [email protected], German language
to [email protected], Italian language to [email protected]  Spanish language
to [email protected]

== Applied Patches ==

Bruce Momjian pushed:

- 9.3 release notes:  update streaming replication speedups.  Andres

- 9.3 release notes:  apply fixes suggested by Alvaro Herrera

- 9.3 release notes:  adjustments per Alvaro Herrera and Robert Haas

- 9.3 release notes: add diacritics.  Alvaro Herrera

- 9.3 release note updates from Dean Rasheed, Jov, Heikki Linnakangas,
  Erikjan Rijkers

- 9.3 release notes:  adjustments per Alvaro

Heikki Linnakangas pushed:

- Mention in docs that you can create SP-GiST indexes on range types.
  This is new in 9.3devel.

- Remove prototype for cube(text) function that doesn't exist anymore.
  Adrian Schreyer

- Add missing #include.  On non-Windows systems, sys/time.h was pulled
  in by portability/instr_time.h, which pulled in time.h. We certainly
  should include time.h directly, since we're using time(2), but the
  indirect include masked the problem on most platforms.  Andres

- Fix typo in comment.  Peter Geoghegan

Simon Riggs pushed:

- Make fast promotion the default promotion mode.  Continue to allow a
  request for synchronous checkpoints as a mechanism in case of

Kevin Grittner pushed:

- Fix assertion failure for REFRESH MATERIALIZED VIEW in PL.  This was
  due to incomplete implementation of rowcount reporting for RMV,
  which was due to initial waffling on whether it should be provided.
  It seems unlikely to be a useful or universally available  number as
  more sophisticated techniques for maintaining matviews are added, so
  remove the partial support rather than completing it.  Per report of
  Jeevan Chalke, but with a different fix

Peter Eisentraut pushed:

- PL/pgSQL doc: Add example for RETURN QUERY.  Erwin Brandstetter and
  Pavel Stěhule

- pg_basebackup: Add missing newlines at end of lines

- initdb: Improve some messages

- Update config.guess and config.sub

- Improve message about failed transaction log archiving.  The old
  phrasing appeared to imply that the failure was terminal.  Improve
  that by indicating that archiving will be tried again later.

- pg_dump: Improve message formatting

Tom Lane pushed:

- Avoid deadlock between concurrent CREATE INDEX CONCURRENTLY
  commands.  There was a high probability of two or more concurrent
  C.I.C.  commands deadlocking just before completion, because each
  would wait for the others to release their reference snapshots.  Fix
  by releasing the snapshot before waiting for other snapshots to go
  away.  Per report from Paul Hinze.  Back-patch to all active

- Incidental cleanup of matviews code.  Move checking for unscannable
  matviews into ExecOpenScanRelation, which is a better place for it
  first because the open relation is already available (saving a
  relcache lookup cycle), and second because this eliminates the
  problem of telling the difference between rangetable entries that
  will or will not be scanned by the query.  In particular we can get
  rid of the not-terribly-well-thought-out-or-implemented isResultRel
  field that the initial matviews patch added to RangeTblEntry.  Also
  get rid of entirely unnecessary scannability check in the rewriter,
  and a bogus decision about whether RefreshMatViewStmt requires a
  parse-time snapshot.  catversion bump due to removal of a
  RangeTblEntry field, which changes stored rules.

- Fix collation assignment for aggregates with ORDER BY.  ORDER BY
  expressions were being treated the same as regular aggregate
  arguments for purposes of collation determination, but really they
  should not affect the aggregate's collation at all; only collations
  of the aggregate's regular arguments should affect it.  In many
  cases this mistake would lead to incorrectly throwing a "collation
  conflict" error; but in some cases the corrected code will silently
  assign a different collation to the aggregate than before, for
  example agg(foo ORDER BY bar COLLATE "x") which will now use foo's
  collation rather than "x" for the aggregate.  Given this risk and
  the lack of field complaints about the issue, it doesn't seem
  prudent to back-patch.  In passing, rearrange code in
  assign_collations_walker so that we don't need multiple copies of
  the standard logic for computing collation of a node with children.
  (Previously, CaseExpr duplicated the standard logic, and we would
  have needed a third copy for Aggref without this change.) Andrew
  Gierth and David Fetter

- Fix unsafe event-trigger coding in ProcessUtility().  We mustn't run
  any of the event-trigger support code when handling utility
  statements like START TRANSACTION or ABORT, because that code may
  need to refresh event-trigger cache data, which requires being
  inside a valid transaction.  (This mistake explains the consistent
  build failures exhibited by the CLOBBER_CACHE_ALWAYS buildfarm
  members, as well as some irreproducible failures on other members.)
  The least messy fix seems to be to break standard_ProcessUtility
  into two functions, one that handles all the statements not
  supported by event triggers, and one that contains the event-trigger
  support code and handles the statements that are supported by event
  triggers.  This change also fixes several inconsistencies, such as
  four cases where support had been installed for "ddl_event_start"
  but not "ddl_event_end" triggers, plus the fact that
  InvokeDDLCommandEventTriggersIfSupported() paid no mind to
  isCompleteQuery.  Dimitri Fontaine and Tom Lane

- Editorialize a bit on new ProcessUtility() API.  Choose a saner
  ordering of parameters (adding a new input param after the output
  params seemed a bit random), update the function's header comment to
  match reality (cmon folks, is this really that hard?), get rid of
  useless and sloppily-defined distinction between

Robert Haas pushed:

- libpq: Fix a few bits that didn't get the memo about COPY BOTH.
  There's probably no real bug here at present, so not backpatching.
  But it seems good to make these bits consistent with the rest of
  libpq, so as to avoid future surprises.  Patch by me.  Review by Tom

Joe Conway pushed:

- Ensure that user created rows in extension tables get dumped if the
  table is explicitly requested, either with a -t/--table switch of
  the table itself, or by -n/--schema switch of the schema containing
  the extension table.  Patch reviewed by Vibhor Kumar and Dimitri
  Fontaine.  Backpatched to 9.1 when the extension management facility
  was added.

== Rejected Patches (for now) ==

Ashutosh Bapat's patch to infer GROUP BY dependencies through views.
To Tom Lane, this looked like an impossible job to do correctly.

== Pending Patches ==

Ants Aasma, Jeff Davis, and Simon Riggs traded more patches to
implement checksums.

Timothy Garnett sent in two different approaches to allowing
pg_restore in parallel from a pipe.

KONDO Mitsumasa and Heikki Linnakangas traded patches to fix an issue
in standby recovery.

Andres Freund sent in a patch to re-add  missing time.h include in
psql/command.c which had been removed upon the addition of the \watch
psql command.

Kevin Grittner sent in a patch to fix a statistics problem related to
vacuum truncation termination.

David Fetter sent in another revision of a patch to implent FILTER
clauses pursuant to a COLLATE-related bug fix in master.

Tom Lane sent in a patch to fix bug 8049.

Sent via pgsql-announce mailing list ([email protected])
To make changes to your subscription:
CD: 3ms