PostgreSQL Weekly News April 01, 2011
authorDavid Fetter <david@fetter.org>
Fri, 1 Apr 2011 13:53:20 +0000 (13:53 +0000)
committerDavid Fetter <david@fetter.org>
Fri, 1 Apr 2011 13:53:20 +0000 (13:53 +0000)
git-svn-id: file:///Users/dpage/pgweb/svn-repo/trunk@2826 8f5c7a92-453e-0410-a47f-ad33c8a6b003

portal/template/en/community/weeklynews/pwn20110401.html

index 1a6effffa2b72df71cb37094bdcf04d68eeefa64..d277c886923442127c74b9d21ade0096d1c5f016 100644 (file)
@@ -6,13 +6,17 @@ Weekly News - April 01 2011
 
 <p>
 Long-time contributor Julian Assange, using a sophisticated regular
-expression utility, has found multiple back doors for the US National
-Security Agency created by newer contributor Tom Lane.  As a result,
-Mr. Lane has been dismissed from the project.  Of his diligence in
-ferreting Assange said, "It is impossible to correct abuses unless we
-know that they’re going on."  He went on to say, "I had always been
-worried about Mr. Lane's connections to the US Foreign Service, so I
-dug deeper: much deeper than anyone else thought to dig."
+expression utility on the PostgreSQL source code, found multiple back
+doors for the US National Security Agency created by newer contributor
+Tom Lane.  As a result, Mr. Lane has been dismissed from the project.
+</p>
+
+<p>
+Of his diligence in ferreting Assange said, "It is impossible to
+correct abuses unless we know that they’re going on." He went on to
+say, "I had always been worried about Mr. Lane's connections to the US
+Foreign Service, so I dug deeper: much deeper than anyone else thought
+to dig."
 </p>
 
 <h2>PostgreSQL Product News</h2>
@@ -24,13 +28,19 @@ have been released:
 
 <h2>PostgreSQL 9.1 Feature of the Week</h2>
 <p>
-O(1) Multi-Master Replication.  Just say ALTER DATABASE mydb ENABLE
-MMR, and everything just propagates.
+O(1) Multi-Master Replication.  The command is:
+</p>
+
+<p>
+    ALTER DATABASE [dbname]
+    ENABLE MMR
+    HOST host1 [, host2, ... hostn]
 </p>
 
 <h2>PostgreSQL Tip of the Week</h2>
 <p>
-Don't fear the reaper.
+A computer lets you make more mistakes faster than any invention in
+human history with the possible exceptions of handguns and tequila.
 </p>
 
 <h2>PostgreSQL Jobs for April</h2>
@@ -94,9 +104,180 @@ Larry Ellison pushed:
   <a href="http://git.postgresql.org/pg/commitdiff/3858f62230ac3c915f300c664312c63f">http://git.postgresql.org/pg/commitdiff/3858f62230ac3c915f300c664312c63f</a>
 </p>
 
+<p>
+Alvaro Herrera pushed:
+</p>
+
+<p>
+- Add missing #include
+  <a href="http://git.postgresql.org/pg/commitdiff/e5948e3504c72fb2b8b32af26bfbb016e7c71bf6">http://git.postgresql.org/pg/commitdiff/e5948e3504c72fb2b8b32af26bfbb016e7c71bf6</a>
+</p>
+
+<p>
+Robert Haas pushed:
+</p>
+
+<p>
+- Mark up release notes using <link>.  Unlike <xref>, this actually
+  works.
+  <a href="http://git.postgresql.org/pg/commitdiff/7c7fd882a5275bf40cd5ac72c6118916f7802aa4">http://git.postgresql.org/pg/commitdiff/7c7fd882a5275bf40cd5ac72c6118916f7802aa4</a>
+</p>
+
+<p>
+Bruce Momjian pushed:
+</p>
+
+<p>
+- Add 9.1 release note link for synchronous replication.  We already
+  had links to the GUC variables that control it.
+  <a href="http://git.postgresql.org/pg/commitdiff/5c22c0eda14594b5962aed7165a012067b33ab7d">http://git.postgresql.org/pg/commitdiff/5c22c0eda14594b5962aed7165a012067b33ab7d</a>
+</p>
+
+<p>
+- In pg_upgrade, add C comment about how autovacuum is disabled.
+  <a href="http://git.postgresql.org/pg/commitdiff/d67b0bf471ba4e88aa3ed50871924efc91d7a27e">http://git.postgresql.org/pg/commitdiff/d67b0bf471ba4e88aa3ed50871924efc91d7a27e</a>
+</p>
+
+<p>
+- Expand comment on how pg_upgrade is turning off autovacuum.
+  <a href="http://git.postgresql.org/pg/commitdiff/d609b08ead450d78d4a567c48111aca6857ec59c">http://git.postgresql.org/pg/commitdiff/d609b08ead450d78d4a567c48111aca6857ec59c</a>
+</p>
+
+<p>
+- Mention pg_upgrade sets autovacuum_freeze_max_age to maximum.
+  <a href="http://git.postgresql.org/pg/commitdiff/da3418cea9bd10e9ea3489b42f6278772942e745">http://git.postgresql.org/pg/commitdiff/da3418cea9bd10e9ea3489b42f6278772942e745</a>
+</p>
+
+<p>
+Peter Eisentraut pushed:
+</p>
+
+<p>
+- Add maintainer-check target.  This can do various source code checks
+  that are not appropriate for either the build or the regression
+  tests.  Currently: duplicate_oids, SGML syntax and tabs check, NLS
+  syntax check.
+  <a href="http://git.postgresql.org/pg/commitdiff/6c0dfc035670240cddf0092a4aa22e5815b6583d">http://git.postgresql.org/pg/commitdiff/6c0dfc035670240cddf0092a4aa22e5815b6583d</a>
+</p>
+
+<p>
+- Make duplicate_oids return nonzero exit status if duplicates were
+  found.  Automatic detection of errors is easier that way.
+  <a href="http://git.postgresql.org/pg/commitdiff/aa6fdd186cf2c29e04d3cc8ca19783fb904a5a33">http://git.postgresql.org/pg/commitdiff/aa6fdd186cf2c29e04d3cc8ca19783fb904a5a33</a>
+</p>
+
+<p>
+- Update SQL features list.  Feature F692 "Extended collation support"
+  is now also supported.  This refers to allowing the COLLATE clause
+  anywhere in a column or domain definition instead of just directly
+  after the type.  Also correct the name of the feature in accordance
+  with the latest SQL standard.
+  <a href="http://git.postgresql.org/pg/commitdiff/f564e65cda32fd14f6f7cdd85d116c421af731f2">http://git.postgresql.org/pg/commitdiff/f564e65cda32fd14f6f7cdd85d116c421af731f2</a>
+</p>
+
+<p>
+Heikki Linnakangas pushed:
+</p>
+
+<p>
+- Adjust error message, now that we expect other message types than
+  connection close at this point.  Fix PQsetnonblocking() comment.
+  Fujii Masao
+  <a href="http://git.postgresql.org/pg/commitdiff/bc03c5937d103952ef4f40a3fa4514c154538d25">http://git.postgresql.org/pg/commitdiff/bc03c5937d103952ef4f40a3fa4514c154538d25</a>
+</p>
+
+<p>
+- Automatically terminate replication connections that are idle for
+  more than replication_timeout (a new GUC) milliseconds.  The TCP
+  timeout is often too long, you want the master to notice a dead
+  connection much sooner.  People complained about that in 9.0 too,
+  but with synchronous replication it's even more important to notice
+  dead connections promptly.  Fujii Masao and Heikki Linnakangas
+  <a href="http://git.postgresql.org/pg/commitdiff/754baa21f723255272c24dc5f9ab456858e361e3">http://git.postgresql.org/pg/commitdiff/754baa21f723255272c24dc5f9ab456858e361e3</a>
+</p>
+
+<p>
+- Check that we've reached end-of-backup also when we're not
+  performing archive recovery.  It's possible to restore an online
+  backup without recovery.conf, by simply copying all the necessary
+  WAL files to pg_xlog. "pg_basebackup -x" does that too. That's the
+  use case where this cross-check is useful.  Backpatch to 9.0. We
+  used to do this in earlier versins, but in 9.0 the code was
+  inadvertently changed so that the check is only performed after
+  archive recovery.  Fujii Masao.
+  <a href="http://git.postgresql.org/pg/commitdiff/acf47401321ce55f06026a2f5d5512b404da3e55">http://git.postgresql.org/pg/commitdiff/acf47401321ce55f06026a2f5d5512b404da3e55</a>
+</p>
+
+<p>
+- Improve error message when WAL ends before reaching end of online
+  backup.
+  <a href="http://git.postgresql.org/pg/commitdiff/1f0bab8494f7734e26b76fe34599c7763c8753a1">http://git.postgresql.org/pg/commitdiff/1f0bab8494f7734e26b76fe34599c7763c8753a1</a>
+</p>
+
+<p>
+- Reword the phrase on zero replication_timeout in the docs.
+  <a href="http://git.postgresql.org/pg/commitdiff/647f8b3dbaa68662f54aa762e9467874282c563d">http://git.postgresql.org/pg/commitdiff/647f8b3dbaa68662f54aa762e9467874282c563d</a>
+</p>
+
+<p>
+- Don't leak the temporary PLyProcedure struct we create for inline
+  plpython blocks.  Investigation by Jan Urbański, though I didn't use
+  his patch.
+  <a href="http://git.postgresql.org/pg/commitdiff/ec7626504f0fc8cca46d0f2a460e4b76177f79b3">http://git.postgresql.org/pg/commitdiff/ec7626504f0fc8cca46d0f2a460e4b76177f79b3</a>
+</p>
+
+<p>
+- Increase SHMEM_INDEX_SIZE from 32 to 64.  We're currently at 40
+  entries in ShmemIndex, so 64 leaves some headroom.  Kevin Grittner
+  <a href="http://git.postgresql.org/pg/commitdiff/c8ae318cbeceadac172aa6b9cfa43734b0836e5e">http://git.postgresql.org/pg/commitdiff/c8ae318cbeceadac172aa6b9cfa43734b0836e5e</a>
+</p>
+
+<p>
+- Fix a tiny race condition in predicate locking. Need to hold the
+  lock while examining the head of predicate locks list.  Also, fix
+  the comment of RemoveTargetIfNoLongerUsed, it was neglected when we
+  changed the way update chains are handled.  Kevin Grittner.
+  <a href="http://git.postgresql.org/pg/commitdiff/60b142b9a6f413a92665766a1f265b361f68c20b">http://git.postgresql.org/pg/commitdiff/60b142b9a6f413a92665766a1f265b361f68c20b</a>
+</p>
+
+<p>
+Andrew Dunstan pushed:
+</p>
+
+<p>
+- Attempt to unbreak windows builds broken by commit 754baa2.
+  <a href="http://git.postgresql.org/pg/commitdiff/382fb6a08f524327b5e3084b3652fba2e12f1ba2">http://git.postgresql.org/pg/commitdiff/382fb6a08f524327b5e3084b3652fba2e12f1ba2</a>
+</p>
+
 <h2>Rejected Patches (for now)</h2>
 <p>
 Everyone was disappointed this week :-(
 </p>
 
 <h2>Pending Patches</h2>
+<p>
+Heikki Linnakangas sent in a variant patch to prevent memory leaks in
+DO blocks.
+</p>
+
+<p>
+Heikki Linnakangas sent in another revision of the patch to add a
+replication server timeout.
+</p>
+
+<p>
+Bernd Helmle sent in another revision of the patch to use a more
+reasonable size for \dt in psql.
+</p>
+
+<p>
+Simon Riggs sent in a patch which adds 5 more levels of durability to
+sync rep.
+</p>
+
+<p>
+Joseph Adams sent in five more revisions of the patch to add JSON as
+a data type.
+
+</p>
+