PostgreSQL Weekly News January 24, 2011
authorDavid Fetter <david@fetter.org>
Mon, 24 Jan 2011 15:30:12 +0000 (15:30 +0000)
committerDavid Fetter <david@fetter.org>
Mon, 24 Jan 2011 15:30:12 +0000 (15:30 +0000)
git-svn-id: file:///Users/dpage/pgweb/svn-repo/trunk@2800 8f5c7a92-453e-0410-a47f-ad33c8a6b003

portal/files/weeklynews.xml
portal/template/en/community/weeklynews.html
portal/template/en/community/weeklynews/pwn20110123.html [new file with mode: 0644]

index 9c6a953a2149b4d8619536171d67658f46145c30..c87a31326ecfe53c3cb373cc1c861cb62adfd580 100644 (file)
 <description></description>
 <language>en</language>
 
+<item>
+<title>PostgreSQL Weekly News January 23rd 2011</title>
+<description>
+The Call for Papers for the fourth annual Prague PostgreSQL
+Developers&#x27; Day is open.  It will be held February 10, 2011 at Charles
+University in Prague.
+&#x3C;a href=&#x22;http://archives.postgresql.org/pgsql-announce/2010-12/msg00009.php&#x22;&#x3E;http://archives.postgresql.org/pgsql-announce/2010-12/msg00009.php&#x3C;/a&#x3E;
+
+
+</description>
+<guid isPermaLink="true">http://www.postgresql.org/community/weeklynews/pwn20110123</guid>
+<pubDate>Sun, 23 Jan 2011 00:00:00 PST</pubDate>
+</item>
 <item>
 <title>PostgreSQL Weekly News January 16th 2011</title>
 <description>
@@ -115,17 +128,5 @@ PostgreDAC 2.6.0, a Delphi/C++ builder for PostgreSQL, released.
 <guid isPermaLink="true">http://www.postgresql.org/community/weeklynews/pwn20101121</guid>
 <pubDate>Sun, 21 Nov 2010 00:00:00 PST</pubDate>
 </item>
-<item>
-<title>PostgreSQL Weekly News November 14th 2010</title>
-<description>
-The Commitfest for November 15 through December 15 is beginning.
-Start reviewing those patches!
-&#x3C;a href=&#x22;https://commitfest.postgresql.org/action/commitfest_view?id=8&#x22;&#x3E;https://commitfest.postgresql.org/action/commitfest_view?id=8&#x3C;/a&#x3E;
-
-
-</description>
-<guid isPermaLink="true">http://www.postgresql.org/community/weeklynews/pwn20101114</guid>
-<pubDate>Sun, 14 Nov 2010 00:00:00 PST</pubDate>
-</item>
 </channel>
 </rss>
\ No newline at end of file
index 8503068671de4bf08d4b81cc1bcdadd4cf130b4d..a3b4c66891faaeb5fe356fbffe3c12017883671a 100644 (file)
@@ -9,6 +9,7 @@ Weekly News
 <p>To receive the Weekly News in your inbox, please subscribe to the <a href="/community/lists/subscribe">pgsql-announce@postgresql.org</a> mailing list.</p>
 
 <ul>
+    <li><a href="/community/weeklynews/pwn20110123">January 23rd 2011</a></li>
     <li><a href="/community/weeklynews/pwn20110116">January 16th 2011</a></li>
     <li><a href="/community/weeklynews/pwn20110109">January 9th 2011</a></li>
     <li><a href="/community/weeklynews/pwn20110102">January 2nd 2011</a></li>
diff --git a/portal/template/en/community/weeklynews/pwn20110123.html b/portal/template/en/community/weeklynews/pwn20110123.html
new file mode 100644 (file)
index 0000000..7c773fd
--- /dev/null
@@ -0,0 +1,775 @@
+<!-- BEGIN page_title_block -->
+Weekly News - January 23 2011
+<!-- END page_title_block -->
+
+<h1>PostgreSQL Weekly News - January 23 2011</h1>
+
+<h2>PostgreSQL Product News</h2>
+<p>
+DBSolo 4.0, an SQL query tool which supports PostgreSQL, released.
+<a href="http://www.dbsolo.com/">http://www.dbsolo.com/</a>
+</p>
+
+<h2>PostgreSQL Jobs for January</h2>
+<p>
+<a href="http://archives.postgresql.org/pgsql-jobs/2011-01/threads.php">http://archives.postgresql.org/pgsql-jobs/2011-01/threads.php</a>
+</p>
+
+<h2>PostgreSQL Local</h2>
+<p>
+Selena Deckelmann will be speaking on PostgreSQL Community and
+Development February 7, 2010, 4pm at Oregon State University in
+Corvallis, OR.
+</p>
+
+<p>
+The Call for Papers for the fourth annual Prague PostgreSQL
+Developers' Day is open.  It will be held February 10, 2011 at Charles
+University in Prague.
+<a href="http://archives.postgresql.org/pgsql-announce/2010-12/msg00009.php">http://archives.postgresql.org/pgsql-announce/2010-12/msg00009.php</a>
+</p>
+
+<p>
+The PostgreSQLFr Call for Projects is open.  Projects must target
+PostgreSQL and the French-speaking community.  Mail appel-projets-2010
+AT postgresql DOT fr.
+<a href="http://www.postgresql.fr/appel_a_projets_2010:call_for_projects">http://www.postgresql.fr/appel_a_projets_2010:call_for_projects</a>
+</p>
+
+<p>
+PGDay is scheduled at this year's Southern California Linux Exposition
+(SCALE) held in the LAX Hilton Hotel in the city of Los Angeles,
+California, on Friday February 25th, 2011.  Post your talk submission
+to pgday-submissions AT googlegroups DOT com.
+</p>
+
+<p>
+PostgreSQL Conference East 2011: NYC March 22nd - 25th
+<a href="http://www.postgresqlconference.org">http://www.postgresqlconference.org</a>
+</p>
+
+<p>
+Open Database Camp will be on May 7-9, 2011 in Sardinia, Italy
+<a href="http://datacharmer.blogspot.com/2011/01/announcing-open-database-camp-sardinia.html">http://datacharmer.blogspot.com/2011/01/announcing-open-database-camp-sardinia.html</a>
+</p>
+
+<p>
+PGCon will be May 19-20, 2011 at the University of Ottawa, preceded by
+two days of tutorials on May 17-18.  The Call for Papers is open!
+<a href="http://www.pgcon.org/2011/">http://www.pgcon.org/2011/</a>
+</p>
+
+<h2>PostgreSQL in the News</h2>
+<p>
+Planet PostgreSQL: <a href="http://planet.postgresql.org/">http://planet.postgresql.org/</a>
+</p>
+
+<p>
+PostgreSQL Weekly News is brought to you this week by David Fetter
+</p>
+
+<p>
+Submit news and announcements by Sunday at 3:00pm Pacific time.
+Please send English language ones to david@fetter.org, German language
+to pwn@pgug.de, Italian language to pwn@itpug.org.  Spanish language
+to pwn@arpug.com.ar.
+</p>
+
+<h2>Reviews</h2>
+<p>
+ITAGAKI Takahiro reviewed Marko (johto) Tiikkaja's patch to add
+transaction-scope advisory locks.
+</p>
+
+<p>
+Anssi Kaariainen reviewed Dimitri Fontaine's patch to add EXTENSION
+support to pg_dump, several times.
+</p>
+
+<p>
+Chris Browne reviewed the patch to compact the fsync request queue.
+</p>
+
+<p>
+Steve Singer reviewed the patch for log_hostname and pg_stat_activity.
+</p>
+
+<p>
+Kevin Grittner reviewed the file_fdw patch.
+</p>
+
+<p>
+Noah Misch reviewed the snapshot synchronization patch.
+</p>
+
+<p>
+Jan Urbanski reviewed the patch to add wildcard search support for
+pg_trgm.
+</p>
+
+<p>
+Dimitri Fontaine reviewed the patch to add FOR KEY LOCK for foreign
+key checks.
+</p>
+
+<p>
+Stephen Frost reviewed the patch to add FOREACH ... IN ARRAY to
+PL/pgsql.
+</p>
+
+<p>
+Marko (johto) Tiikkaja reviewed the patch to add ALTER TABLE ... ADD
+FOREIGN KEY ... NOT ENFORCED.
+</p>
+
+<h2>Applied Patches</h2>
+<p>
+Heikki Linnakangas pushed:
+</p>
+
+<p>
+- Before exiting walreceiver, fsync() all the WAL received.  Otherwise
+  WAL recovery will replay the un-flushed WAL after walreceiver has
+  exited, which can lead to a non-recoverable standby if the system
+  crashes hard at that point.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=34ef02b4d4c06e2bae6ad09cfd6d9c097eb73743">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=34ef02b4d4c06e2bae6ad09cfd6d9c097eb73743</a>
+</p>
+
+<p>
+- Set fallback_application_name in walreceiver.  Makes replication
+  slaves identify themselves in the new pg_stat_replication view.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=48075095ac3ce1aaa63624ea0148dbe5bcba3b09">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=48075095ac3ce1aaa63624ea0148dbe5bcba3b09</a>
+</p>
+
+<p>
+- Fix thinko in comment. Spotted by Jim Nasby.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=b1dc45c11d8e63df34044ea73e643f5fa9d8c316">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=b1dc45c11d8e63df34044ea73e643f5fa9d8c316</a>
+</p>
+
+<p>
+- Don't require usage privileges on the foreign data wrapper when
+  creating a foreign table. We check for usage privileges on the
+  foreign server, that ought to be enough.  Shigeru HANADA.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=8aea1373d8f88bf389def1af10d06f1e67e25249">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=8aea1373d8f88bf389def1af10d06f1e67e25249</a>
+</p>
+
+<p>
+- Add 'directory' format to pg_dump. The new directory format is
+  compatible with the 'tar' format, in that untarring a tar format
+  archive produces a valid directory format archive.  Joachim Wieland
+  and Heikki Linnakangas
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=7f508f1c6b515df66d27f860b2faa7b5761fa55d">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=7f508f1c6b515df66d27f860b2faa7b5761fa55d</a>
+</p>
+
+<p>
+- Silence compiler warning about uninitialized variable, noted by
+  Itagaki Takahiro.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=56d77c9e56adbd856beba00af3dc607687d30198">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=56d77c9e56adbd856beba00af3dc607687d30198</a>
+</p>
+
+<p>
+Bruce Momjian pushed:
+</p>
+
+<p>
+- Add getopt() support to test_fsync;  also fix printf() format
+  problem.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=08af45f4ff89ff5bee25c7d5bf496e987eb90060">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=08af45f4ff89ff5bee25c7d5bf496e987eb90060</a>
+</p>
+
+<p>
+- In the docs, better distinguish server from client SSL settings in
+  the documentation.  Ray Stell.  Also fix some libpq title
+  capitalization problems.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=74bcdfbe2dd656f04db4e883b5bdcdafddebff08">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=74bcdfbe2dd656f04db4e883b5bdcdafddebff08</a>
+</p>
+
+<p>
+- github test.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=2c38cce1be4f57e353805e529e6d993c9c28535e">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=2c38cce1be4f57e353805e529e6d993c9c28535e</a>
+</p>
+
+<p>
+- Remove "github test" that somehow got into my tree.  Sorry.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=4acfd43a7d6194fa735a6b7b06a1554909123d41">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=4acfd43a7d6194fa735a6b7b06a1554909123d41</a>
+</p>
+
+<p>
+- In test_fsync, adjust test headings to match wal_sync_method values;
+  add more test cases for open_sync of different sizes.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=8995440e387846261d18e728f11adc528ccc5c1b">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=8995440e387846261d18e728f11adc528ccc5c1b</a>
+</p>
+
+<p>
+- Move test_fsync to /contrib.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=606a3d54fcd053c31e52886f4c69848a68777480">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=606a3d54fcd053c31e52886f4c69848a68777480</a>
+</p>
+
+<p>
+- Update C banner on new pg_test_fsync file.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=b35bfcae937810f43fdf2327bcea2e8a03ccbf68">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=b35bfcae937810f43fdf2327bcea2e8a03ccbf68</a>
+</p>
+
+<p>
+- Update SGML docs to point to new /contrib/pg_test_fsync.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=5925aa09a9110fe0d12393c758812e7149546443">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=5925aa09a9110fe0d12393c758812e7149546443</a>
+</p>
+
+<p>
+Alvaro Herrera pushed:
+</p>
+
+<p>
+- Increment Py_None refcount for NULL array elements.  Per bug #5835
+  by Julien Demoor Author: Alex Hunsaker
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=978445bece6ce3df55599ee971a4a5dc217bf34c">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=978445bece6ce3df55599ee971a4a5dc217bf34c</a>
+</p>
+
+<p>
+Tom Lane pushed:
+</p>
+
+<p>
+- Fix miscalculation of itemsafter in array_set_slice().  If the slice
+  to be assigned to was before the existing array lower bound
+  (requiring at least one null element to spring into existence to
+  fill the gap), the code miscalculated how many entries needed to be
+  copied from the old array's null bitmap.  This could result in
+  trashing the array's data area (as seen in bug #5840 from Karsten
+  Loesing), or worse.  This has been broken since we first allowed the
+  behavior of assigning to non-adjacent slices, in 8.2.  Back-patch to
+  all affected versions.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=bdd8ed973da9ab48aba2292b01f71d2f9968b82c">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=bdd8ed973da9ab48aba2292b01f71d2f9968b82c</a>
+</p>
+
+<p>
+- Avoid detoast in texteq/textne/byteaeq/byteane for unequal-length
+  strings.  We can get the length of a compressed or out-of-line datum
+  without actually detoasting it.  If the lengths of two strings are
+  unequal, we can then conclude they are unequal without detoasting.
+  That saves considerable work in an admittedly less-common case,
+  without costing anything much when the optimization doesn't apply.
+  Noah Misch.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=1b393f4e5db4fd6bbc86a4e88785b6945a1541d0">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=1b393f4e5db4fd6bbc86a4e88785b6945a1541d0</a>
+</p>
+
+<p>
+- Show correct datatype for pg_class.relpersistence, plus a typo fix.
+  Thom Brown
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=357faea82e93712937cd109b48ce006789ec7a8f">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=357faea82e93712937cd109b48ce006789ec7a8f</a>
+</p>
+
+<p>
+- Fix pg_restore to do the right thing when escaping large objects.
+  Specifically, this makes the workflow pg_dump -Fc -> pg_restore ->
+  file produce correct output for BLOBs when the source database has
+  standard_conforming_strings turned on.  It was already okay when
+  that was off, or if pg_restore was told to restore directly into a
+  database.  This is a back-port of commit
+  b1732111f233bbb72788e92a627242ec28a85631 of 2009-08-04, with
+  additional changes to emit old-style escaped bytea data instead of
+  hex-style.  At the time, we had not heard of anyone encountering the
+  problem in the field, so I judged it not worth the risk of changing
+  back branches.  Now we do have a report, from Bosco Rama, so
+  back-patch into 8.2 through 8.4.  9.0 and up are okay already.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=2a1ef1011548e329f4eca86671401bf4124f9d1e">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=2a1ef1011548e329f4eca86671401bf4124f9d1e</a>
+</p>
+
+<p>
+- Fix broken markup, also minor copy-editing.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=0cf3db2175ec770097b9c44d9a8e1e8c281ee5a6">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=0cf3db2175ec770097b9c44d9a8e1e8c281ee5a6</a>
+</p>
+
+<p>
+- Clean up pg_test_fsync commit.  Actually rename the program, rather
+  than just claiming we did.  Hook it into the build system.  Get rid
+  of useless dependency on libpq.  Clean up #include list and messy
+  whitespace.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=bc616703e8767d2a5d0312cdbf5dc3c6de2b86fe">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=bc616703e8767d2a5d0312cdbf5dc3c6de2b86fe</a>
+</p>
+
+<p>
+- More pg_test_fsync cleanup.  Un-break Windows build (I hope) by
+  making the HAVE_FSYNC_WRITETHROUGH code match the backend.  Fix
+  incorrect program help message.  static-ize all functions.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=cb38ab6d3b89eccb75b3337f8723cfc283fb77fb">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=cb38ab6d3b89eccb75b3337f8723cfc283fb77fb</a>
+</p>
+
+<p>
+- Suppress unused-variables warning when OPEN_SYNC_FLAG isn't defined.
+  Per buildfarm.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=3ae28ce8c437811bba47c09d1212c2d3c41cb7ff">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=3ae28ce8c437811bba47c09d1212c2d3c41cb7ff</a>
+</p>
+
+<p>
+- More pg_test_fsync fixups.  Reduce #includes to minimum actually
+  needed; in particular include postgres_fe.h not postgres.h, so as to
+  stop build failures on some platforms.  Use get_progname() instead
+  of hardwired program name; improve error checking for command line
+  syntax; bring error messages into line with style guidelines;
+  include strerror result in die() cases.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=37eb2cd4ad4c3323f1c7ed1c893c9d645fbaeb1a">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=37eb2cd4ad4c3323f1c7ed1c893c9d645fbaeb1a</a>
+</p>
+
+<p>
+- Suppress possibly-uninitialized-variable warnings from gcc 4.5.  It
+  appears that gcc 4.5 can issue such warnings for whole structs, not
+  just scalar variables as in the past.  Refactor some pg_dump code
+  slightly so that the OutputContext local variables are always
+  initialized, even if they won't be used.  It's cheap enough to not
+  be worth worrying about.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=e2627258c3cc43b8b00c5c29c35933a33259e718">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=e2627258c3cc43b8b00c5c29c35933a33259e718</a>
+</p>
+
+<p>
+- Suppress "control reaches end of non-void function" warning from gcc
+  4.5.  Not sure why I'm seeing this on Fedora 14 and not earlier
+  versions.  Seems like a regression that gcc no longer knows that
+  DIE() doesn't return.  Still, adding a dummy return is harmless
+  enough.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=518b1e96c02ba0fa52227c528d6e951004d0653f">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=518b1e96c02ba0fa52227c528d6e951004d0653f</a>
+</p>
+
+<p>
+- Allow the wal_buffers setting to be auto-tuned to a reasonable
+  value.  If wal_buffers is initially set to -1 (which is now the
+  default), it's replaced by 1/32nd of shared_buffers, with a minimum
+  of 8 (the old default) and a maximum of the XLOG segment size.  The
+  allowed range for manual settings is still from 4 up to whatever
+  will fit in shared memory.  Greg Smith, with implementation
+  correction by me.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=0f73aae13def660371c34c8feda6e684e6366bdb">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=0f73aae13def660371c34c8feda6e684e6366bdb</a>
+</p>
+
+<p>
+- Quick hack to un-break plpython regression tests.  It's not clear to
+  me what should happen to the other plpython_unicode variant expected
+  files, but this patch gets things passing on my own machines and at
+  least some of the buildfarm.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=cc73c160507588bdc5822d7f2bb79d6b3a386761">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=cc73c160507588bdc5822d7f2bb79d6b3a386761</a>
+</p>
+
+<p>
+- Suppress uninitialized-variable warning.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=b3cfcdaad27bea9bb86d6de6cbf8d184c16fbceb">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=b3cfcdaad27bea9bb86d6de6cbf8d184c16fbceb</a>
+</p>
+
+<p>
+- Add .gitignore file to silence complaints about pg_basebackup.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=10e99f15d423b1730929af1992593c6649952fd5">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=10e99f15d423b1730929af1992593c6649952fd5</a>
+</p>
+
+<p>
+- Revert "Factor out functions responsible for caching I/O routines".
+  This reverts commit 740e54ca84c437fd67524f97a3ea9ddea752e208, which
+  seems to have tickled an optimization bug in gcc 4.5.x, as reported
+  upstream at <a href="https://bugzilla.redhat.com/show_bug.cgi?id=671899">https://bugzilla.redhat.com/show_bug.cgi?id=671899</a> Since
+  this patch had no purpose beyond code beautification, it's not worth
+  expending a lot of effort to look for another workaround.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=de3c2d6e928b0f7fb2840914351b96fecce2a30d">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=de3c2d6e928b0f7fb2840914351b96fecce2a30d</a>
+</p>
+
+<p>
+- Improve getObjectDescription's display of pg_amop and pg_amproc
+  entries.  Include the lefttype/righttype columns explicitly (instead
+  of assuming the reader can deduce them from the operator or function
+  description), and move the operator or function description to the
+  end of the string, to make it clearer that it's a referenced object
+  and not the amop or amproc item itself.  Per extensive discussion of
+  Andreas Karlsson's original patch.  Andreas Karlsson, Tom Lane
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=dd5f0db96ba68553e3ab2c1d9d117863a5637c67">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=dd5f0db96ba68553e3ab2c1d9d117863a5637c67</a>
+</p>
+
+<p>
+- Fix another portability issue in pg_basebackup.  The target of
+  sscanf with a %o format had better be of integer width, but "mode_t"
+  conceivably isn't that.  Another compiler warning seen only on some
+  platforms; this one I think is potentially a real bug and not just a
+  warning.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=f36920796ec1335733493f7860d6f2f711c20398">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=f36920796ec1335733493f7860d6f2f711c20398</a>
+</p>
+
+<p>
+Peter Eisentraut pushed:
+</p>
+
+<p>
+- Use HTABs instead of Python dictionary objects to cache procedures
+  Two separate hash tables are used for regular procedures and for
+  trigger procedures, since the way trigger procedures work is quite
+  different from normal stored procedures.  Change the signatures of
+  PLy_procedure_{get,create} to accept the function OID and a Boolean
+  flag indicating whether it's a trigger.  This should make
+  implementing a PL/Python validator easier.  Using HTABs instead of
+  Python dictionaries makes error recovery easier, and allows for
+  procedures to be cached based on their OIDs, not their names.  It
+  also allows getting rid of the PyCObject field that used to hold a
+  pointer to PLyProcedure, since PyCObjects are deprecated in Python
+  2.7 and replaced by Capsules in Python 3.  Jan Urbański
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=46211da1b84bc3537e799ee1126098e71c2428e8">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=46211da1b84bc3537e799ee1126098e71c2428e8</a>
+</p>
+
+<p>
+- Skip dropped attributes when converting Python objects to tuples.
+  Pay attention to the attisdropped field and skip over TupleDesc
+  fields that have it set.  Not a real problem until we get table
+  returning functions, but it's the right thing to do anyway.  Jan
+  Urbański.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=41282111e6cc73aca4b63dffe950ba7a63e4bd8a">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=41282111e6cc73aca4b63dffe950ba7a63e4bd8a</a>
+</p>
+
+<p>
+- Free plan values in the PLyPlanObject dealloc function.  Jan
+  Urbański.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=847e8c7783e877bbdc6a89250ade7d264eee5593">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=847e8c7783e877bbdc6a89250ade7d264eee5593</a>
+</p>
+
+<p>
+- Use palloc in TopMemoryContext instead of malloc.  As discussed,
+  even if the PL needs a permanent memory location, it should use
+  palloc, not malloc.  It also makes error handling easier.  Jan
+  Urbański.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=59ea9ef9aa216d0bc718539cd5622628943d3f21">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=59ea9ef9aa216d0bc718539cd5622628943d3f21</a>
+</p>
+
+<p>
+- Use PyObject_New instead of PyObject_NEW.  The latter is
+  undocumented and the speed gain is negligible.  Jan Urbański.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=d9a95c0adb11f7a3ca5aa9ab8a900018832ed4ea">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=d9a95c0adb11f7a3ca5aa9ab8a900018832ed4ea</a>
+</p>
+
+<p>
+- Improve message for errors in compiling anonymous PL/Python blocks
+  The previous code would try to print out a null pointer.  Jan
+  Urbański.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=719461b7a28c04a84b0fb1e5faa9b3cb5ee66605">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=719461b7a28c04a84b0fb1e5faa9b3cb5ee66605</a>
+</p>
+
+<p>
+- Fix an error when a set-returning function fails halfway through the
+  execution.  If the function using yield to return rows fails
+  halfway, the iterator stays open and subsequent calls to the
+  function will resume reading from it.  The fix is to unref the
+  iterator and set it to NULL if there has been an error.  Jan
+  Urbański.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=88047e59ba12479ef9adcaf3dee61b48566ce6eb">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=88047e59ba12479ef9adcaf3dee61b48566ce6eb</a>
+</p>
+
+<p>
+- Add braces around an if block, for readability.  Jan Urbański,
+  reviewed by Peter Eisentraut, Álvaro Herrera, Tom Lane :-)
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=fbed5d48307528c8b49ba48e741817e75146ea8f">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=fbed5d48307528c8b49ba48e741817e75146ea8f</a>
+</p>
+
+<p>
+- Fix typo.  Hitoshi Harada
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=81f79dbf2e551978300ee85d42026e26f932089a">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=81f79dbf2e551978300ee85d42026e26f932089a</a>
+</p>
+
+<p>
+- Factor out functions responsible for caching I/O routines.  This
+  makes PLy_procedure_create a bit more manageable.  Jan Urbański
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=740e54ca84c437fd67524f97a3ea9ddea752e208">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=740e54ca84c437fd67524f97a3ea9ddea752e208</a>
+</p>
+
+<p>
+- Fix wrong comment.  Hitoshi Harada.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=14b9f69cb2077c65a09df78d167d45c35b1d7973">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=14b9f69cb2077c65a09df78d167d45c35b1d7973</a>
+</p>
+
+<p>
+- Correctly add exceptions to the plpy module for Python 3.  The way
+  the exception types where added to the module was wrong for Python
+  3.  Exception classes were not actually available from plpy.  Fix
+  that by factoring out code that is responsible for defining new
+  Python exceptions and make it work with Python 3.  New regression
+  test makes sure the plpy module has the expected contents.  Jan
+  Urbanśki, slightly revised by me.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=4609caf3645ae975724af1f7f57f831e516cf220">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=4609caf3645ae975724af1f7f57f831e516cf220</a>
+</p>
+
+<p>
+- Get rid of the global variable holding the error state.  Global
+  error handling led to confusion and was hard to manage.  With this
+  change, errors from PostgreSQL are immediately reported to Python as
+  exceptions.  This requires setting a Python exception after
+  reporting the caught PostgreSQL error as a warning, because PLy_elog
+  destroys the Python exception state.  Ideally, all places where
+  PostgreSQL errors need to be reported back to Python should be
+  wrapped in subtransactions, to make going back to Python from a
+  longjmp safe.  This will be handled in a separate patch.  Jan
+  Urbański.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=116ce2f4d01b929cc7c3bd0f7e6bca631f83da50">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=116ce2f4d01b929cc7c3bd0f7e6bca631f83da50</a>
+</p>
+
+<p>
+Magnus Hagander pushed:
+</p>
+
+<p>
+- Log replication connections only when log_connections is on.
+  Previously we'd always log replication connections, with no way to
+  turn them off.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=6e1726d082b5a9c305ed44a69ff50bc3407d01a2">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=6e1726d082b5a9c305ed44a69ff50bc3407d01a2</a>
+</p>
+
+<p>
+- Link libpgport into pg_test_fsync on msvc
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=f5a0fd2f3bbe233802cbbddfe8bdf086c69c1ac3">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=f5a0fd2f3bbe233802cbbddfe8bdf086c69c1ac3</a>
+</p>
+
+<p>
+- Add pg_basebackup tool for streaming base backups.  This tool makes
+  it possible to do the pg_start_backup/ copy files/pg_stop_backup
+  step in a single command.  There are still some steps to be done
+  before this is a complete backup solution, such as the ability to
+  stream the required WAL logs, but it's still usable, and could do
+  with some buildfarm coverage.  In passing, make the checkpoint
+  request optionally fast instead of hardcoding it.  Magnus Hagander,
+  reviewed by Fujii Masao and Dimitri Fontaine
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=048d148fe63102fafb2336ab5439c950dea7f692">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=048d148fe63102fafb2336ab5439c950dea7f692</a>
+</p>
+
+<p>
+- filemode is parsed on win32 even if never used.  Per buildfarm
+  failure.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=fe12263c9f3db78a5359865a6617e23a27e59691">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=fe12263c9f3db78a5359865a6617e23a27e59691</a>
+</p>
+
+<p>
+- Only show pg_stat_replication details to superusers.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=f88a638199d8505e7a01548cb647f908ae1e469f">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=f88a638199d8505e7a01548cb647f908ae1e469f</a>
+</p>
+
+<p>
+- Use pg_strcasecmp instead of strcasecmp for portability.  Per
+  buildfarm.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=d13e0975c9812dea583486e1d2efd3bc3e638df5">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=d13e0975c9812dea583486e1d2efd3bc3e638df5</a>
+</p>
+
+<p>
+- Reorder includes to unbreak MSVC.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=39e911e28a7a998d9439c0f5886c97fbbfc72a75">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=39e911e28a7a998d9439c0f5886c97fbbfc72a75</a>
+</p>
+
+<p>
+- Make walsender options order-independent While doing this, also move
+  base backup options into a struct instead of increasing the number
+  of parameters to multiple functions for each new option.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=e5487f65fdbd05716ade642a3ae1c5c6e85b6f22">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=e5487f65fdbd05716ade642a3ae1c5c6e85b6f22</a>
+</p>
+
+<p>
+Robert Haas pushed:
+</p>
+
+<p>
+- Document that WITH queries are also called Common Table Expressions.
+  Peter Geoghegan, reviewed by Stephen Frost.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=92f7eebbbd6554f0414ab869abd8733cef751249">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=92f7eebbbd6554f0414ab869abd8733cef751249</a>
+</p>
+
+<p>
+- Add new psql command \dL to list languages.  Original patch by
+  Fernando Ike, revived by Josh Kuperschmidt, reviewed by Andreas
+  Karlsson, and in earlier versions by Tom Lane and Peter Eisentraut.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=9c5e2c120be42fbd1a743ddf539ff451e1cce23b">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=9c5e2c120be42fbd1a743ddf539ff451e1cce23b</a>
+</p>
+
+<p>
+- Make ALTER TABLE revalidate uniqueness and exclusion constraints.
+  Failure to do so can lead to constraint violations.  This was broken
+  by commit 1ddc2703a936d03953657f43345460b9242bbed1 on 2010-02-07, so
+  back-patch to 9.0.  Noah Misch.  Regression test by me.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=8ceb24568054232696dddc1166a8563bc78c900a">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=8ceb24568054232696dddc1166a8563bc78c900a</a>
+</p>
+
+<p>
+- Emphasize where OVER needs to be when using a window function.  Jeff
+  Turner.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=d3b372e92d4efdd6f63da35996f04ff009c932b5">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=d3b372e92d4efdd6f63da35996f04ff009c932b5</a>
+</p>
+
+<p>
+- Code cleanup for assign_XactIsoLevel.  The new coding avoids a
+  spurious debug message when a transaction that has changed the
+  isolation level has been rolled back.  It also allows the property
+  to be freely changed to the current value within a subtransaction.
+  Kevin Grittner, with one small change by me.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=fb4c5d2798730f60b102d775f22fb53c26a6445d">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=fb4c5d2798730f60b102d775f22fb53c26a6445d</a>
+</p>
+
+<p>
+- Avoid treating WAL senders as normal backends.  The previous coding
+  treated anything that wasn't an autovacuum launcher as a normal
+  backend, which is wrong now that we also have WAL senders.  Fujii
+  Masao, reviewed by Robert Haas, Alvaro Herrera, Tom Lane, and Bernd
+  Helmle.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=a0c75f55394fe904e09f7caee9a8195e3a09c801">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=a0c75f55394fe904e09f7caee9a8195e3a09c801</a>
+</p>
+
+<p>
+- Code cleanup for assign_transaction_read_only.  As in commit
+  fb4c5d2798730f60b102d775f22fb53c26a6445d on 2011-01-21, this avoids
+  spurious debug messages and allows idempotent changes at any time.
+  Along the way, make assign_XactIsoLevel allow idempotent changes
+  even when not within a subtransaction, to be consistent with the new
+  coding of assign_transaction_read_only and because there's no
+  compelling reason to do otherwise.  Kevin Grittner, with some
+  adjustments.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=6f59777c65d557485e933a383ebc4c3fdfc1a2b7">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=6f59777c65d557485e933a383ebc4c3fdfc1a2b7</a>
+</p>
+
+<p>
+- sepgsql, an SE-Linux integration for PostgreSQL.  This is still
+  pretty rough - among other things, the documentation needs work, and
+  the messages need a visit from the style police - but this gets the
+  basic framework in place.  KaiGai Kohei.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=968bc6fac91d6aaca594488ab85c179b686cbbdd">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=968bc6fac91d6aaca594488ab85c179b686cbbdd</a>
+</p>
+
+<p>
+- First round of cleanup of sepgsql code and documentation.  Robert
+  Haas, with a few suggestions from Thom Brown.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=194c8f713aa62a528afa4ce4274b80aaff9eb264">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=194c8f713aa62a528afa4ce4274b80aaff9eb264</a>
+</p>
+
+<p>
+- Blind attempt to exclude sepgsql from MSVC build system.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=c26ac226e45fbf84cd63588498c00da9417aebc1">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=c26ac226e45fbf84cd63588498c00da9417aebc1</a>
+</p>
+
+<p>
+- PGXS support for contrib/hstore.  Joey Adams
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=41611f16e933dafa9c3ae0477f89537ea1459eb6">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=41611f16e933dafa9c3ae0477f89537ea1459eb6</a>
+</p>
+
+<p>
+Andrew Dunstan pushed:
+</p>
+
+<p>
+- Silence flex warnings about DOS file paths in MSVC builds.
+  <a href="http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=6c41cf5977ca3f13159b980d4b216e3bc9df90e8">http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=6c41cf5977ca3f13159b980d4b216e3bc9df90e8</a>
+</p>
+
+<h2>Rejected Patches (for now)</h2>
+<p>
+Pavel Stehule's patch to remove redundant code from PL/pgsql.  Too
+much added complexity for too little benefit.
+</p>
+
+<h2>Pending Patches</h2>
+<p>
+Alexander Korotkov sent in another revision of the patch to add
+wildcards to contrib/pg_trgm.
+</p>
+
+<p>
+Heikki Linnakangas sent in a patch to fix some typos, etc., in the SSI
+patch.
+</p>
+
+<p>
+Dimitri Fontaine sent in two more revisions of the patch to add
+extensions.
+</p>
+
+<p>
+Shigeru HANADA sent in another revision of the patch to add file_fdw,
+which implements file-based access in SQL/MED.
+</p>
+
+<p>
+ITAGAKI Takahiro sent in another revision of the MULTISET patch.
+</p>
+
+<p>
+Magnus Hagander sent in two more revisions of the patch to add
+pg_basebackup to streaming backups.
+</p>
+
+<p>
+Shigeru HANADA sent in another revision of the patches to implement
+the foreign data wrapper API for SQL/MED.
+</p>
+
+<p>
+Jan Urbanski sent in another revision of the PL/Python validator
+function.
+</p>
+
+<p>
+Joachim Wieland sent in another revision of the patch to implement
+synchronized snapshots.
+</p>
+
+<p>
+Stephen Frost sent in another revision of the patch to allow logging
+roles.
+</p>
+
+<p>
+Fujii Masao sent in another revision of the patch to add "pg_ctl
+promote," used when the replication origin has failed, or is presumed
+to have failed.
+</p>
+
+<p>
+Robert Haas sent in another revision of the patch to limit hint bit I/O.
+</p>
+
+<p>
+Noah Misch sent in a review and another revision of the patch to add
+ALTER TABLE...REPLACE WITH.
+</p>
+
+<p>
+Jan Urbanski sent another flock of patches to refactor PL/PythonU.
+</p>
+
+<p>
+Stephen Frost sent in another revision of the patch to add FOREACH ...
+IN ARRAY to PL/pgsql.
+</p>
+
+<p>
+Jeff Davis sent in another revision of the patch to add range types,
+this one with generic range functions.
+</p>
+
+<p>
+Stephen Frost reviewed and revised the patch to add nfiltered to
+EXPLAIN output.
+</p>
+
+<p>
+Kevin Grittner sent in another revision of the patch to implement true
+serializability.
+</p>
+
+<p>
+Noah Misch sent in another revision of the ALTER TYPE patch.
+</p>
+
+<p>
+Kris Shannon sent in a patch to fix gripes with an ECPG conversion
+script, which was using deprecated features in Perl.
+</p>
+
+<p>
+Per review from Hitoshi Harada, Jan Urbanski sent in another revision
+of the patch to fix table functions in PL/PythonU.
+</p>
+
+<p>
+Pavel Stehule sent in another revision of the patch to add FOREACH ...
+IN ARRAY to PL/pgsql.
+</p>
+
+<p>
+Fujii Masao sent in another revision of the patch to fix a bug in
+SignalSomeChildren.
+
+</p>
+