== PostgreSQL Weekly News - January 25 2009 ==
Prague PostgreSQL Developers' Day 2009 will be on February 12, 2009
PostgreSQL Conference East 09 will be held from April 3rd through
April 5, 2009 in Philadelphia at Drexel University. The call for
papers is now open:
New Survey: Do you live near a PostgreSQL User Group?
== PostgreSQL Product News ==
pgpool-II 2.2beta1 released.
pgTAP 0.15 released.
== PostgreSQL Tip of the Week ==
For better performance, it's generally useful to put the PostgreSQL
transaction log (pg_xlog) on its own drive/array, ideally on its own
== PostgreSQL Jobs for January ==
== PostgreSQL Local ==
Richard Broersma is coordinating booth volunteers for SCALE (below).
Contact him at richard DOT broersma AT gmail DOT com.
SYDPUG will be meeting February 3, 2009 at 6:30pm at Fujitsu Australia
in North Syndey. Mark Leslie will talk about the history and
motivations of PostGIS.
Many of the usual suspects will be at FOSDEM February 7-8 in Brussels,
Belgium. More information and the schedule are available at:
JNBPUG will be meeting February 9 19:00 at News Cafe on New Road in
SFPUG presents: Reece Hart on Unison DB for Computational Biology.
February 10, 2009, location to be announced.
PostgreSQL will be at SCALE February 20-22 in Los Angeles.
Andreas 'ads' Scherbaum will be presenting a talk at Perl Workshop
2009 on February 25 in Frankfurt am Main, Germany.
PostgreSQL Conference, U.S. will be holding a PgDay at LinuxFest
Northwest (April 25/26th). The call for papers is out at
PGCon 2009 will be held 21-22 May 2009, in Ottawa at the University of
Ottawa. It will be preceded by two days of tutorials on 19-20 May
PGCon Brazil will be take place October 23-24 2009 at Unicamp in
Campinas, Sao Paulo state.
== PostgreSQL in the News ==
Planet PostgreSQL: http://planet.postgresql.org/
PostgreSQL Weekly News is brought to you this week by David Fetter
and Josh Berkus.
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)
== Applied Patches ==
Peter Eisentraut committed:
- In pgsql/src/interfaces/libpq/fe-secure.c, message wordsmithing
- Alter the regression test cases that rely on the sort order of "ch"
between "cg" and "ci". This eliminates a test failure on the
following glibc locales: br_FR, cs_CZ, cy_GB, es_EC, es_US, hsb_DE,
ig_NG, ik_CA, sk_SK.
- Alter regression test cases that rely on the sort order of "aa".
Some locales (da_DK, fo_FO, kl_GL, nb_NO, nn_NO in glibc) sort "aa"
- Avoid regression test cases that fail in locales that sort "v" and
"w" equally (in glibc: et_EE, sv_SE, tk_TM). It turns out that this
was already taken care of previously by select_1.out, which I had
forgotten to update for an unrelated change. But might as well
avoid the issue altogether.
- Revise the permission checking on user mapping DDL commands.
CREATE/ALTER/DROP USER MAPPING are now allowed either by the
server owner or by a user with USAGE privileges for his own
user name. This is more or less what the SQL standard wants
anyway (plus "implementation-defined") Hide
the current user is the one associated with the user mapping,
or is the server owner and the mapping is for PUBLIC, or is a
superuser. This is to protect passwords. Also, fix a bug in
information_schema._pg_foreign_servers, which hid servers using
wrappers where the current user did not have privileges on the
wrapper. The correct behavior is to hide servers where the
current user has no privileges on the server.
- In pgsql/src/nls-global.mk, do not msgmerge against /dev/null; merge
against the pot file itself instead.
- Automatic view update rules. Bernd Helmle.
- Recreate ecpg_config.h with a stamp file created by config.status,
same way pg_config.h is handled. This avoids reruns of
config.status on every build, if configure has been rerun.
- Message style review for ecpg.
Magnus Hagander committed:
- Use the new text domain names ("postgres-8.4" instead of
"postgres"). Hiroshi Inoue.
- In pgsql/src/tools/msvc/Install.pm, install .mo files for NLS as
<program>-<version>.mo when building with MSVC as well. Same change
as made earlier for autoconf builds. Per Hiroshi Inoue.
- Make some strings translatable again that were accidentally removed
in earlier patch to fix "printf-arguments".
- Make win32 builds always do SetEnvironmentVariable() when doing
putenv(). Also, if linked against other versions than the default
MSVCRT library (for example the MSVC build which links against
MSVCRT80), also update the cache in the default MSVCRT at the same
time. This should fix the issues with setting LC_MESSAGES on the
MSVC build. Original patch from Hiroshi Inoue and Hiroshi Saito,
much rewritten by me.
- In pgsql/src/backend/utils/adt/pg_locale.c, remove stray ' character
at end of line. For some reason it broke OpenBSD compile even when
it's inside a #ifdef WIN32 block.....
- In pgsql/src/backend/utils/mb/mbutils.c, explicitly bind gettext to
the correct encoding on Windows. Original patch from Hiroshi Inoue.
Tom Lane committed:
- In pgsql/src/interfaces/libpq/fe-secure.c, fix accidental (I
suppose) introduction of non-ASCII quote marks.
- Support column-level privileges, as required by SQL standard.
Stephen Frost, with help from KaiGai Kohei and others
- In pgsql/src/backend/libpq/ip.c, tweak the existing special case for
AIX in pg_getaddrinfo_all() to handle yet another failure case in
AIX's getaddrinfo(). Per report and patch by Andrew Chernow.
Bruce Momjian committed:
- In pgsql/src/bin/psql/describe.c, document RELKIND_SPECIAL reference
in psql, from <= 8.1.X.
- Make psql \d and \dt consistent for system tables, i.e prevent \d
from showing system tables, make \dS pattern show system table
details, and have \dtS show system and _user_ tables, to be
consistent with other \d* commands.
- In pgsql/doc/src/sgml/ref/psql-ref.sgml, update \d*S documentation
to be more accurate; system objects are added to the display, not
restricted in the display; new text: The letter <literal>S</literal>
adds the listing of system objects; without <literal>S</literal>,
only non-system objects are shown.
- In pgsql/doc/src/sgml/ref/select.sgml, document that SELECT FOR
UPDATE/SHARE with ORDER BY might return results in the incorrect
order, per bug 4593. Backpatch to 8.3.X.
Alvaro Herrera committed:
- In pgsql/src/backend/postmaster/autovacuum.c, fix erroneous memory
context switch in autovacuum, which was returning to a context long
after it had been destroyed. Per problem report from Justin Pasher.
Patch by Tom Lane and me. 8.3 and later do not have this bug,
because this code has been restructured for unrelated reasons. In
8.2 it does not manifest as a crash, but it still seems safer fixing
Heikki Linnakangas committed:
- Add a new option to RestoreBkpBlocks() to indicate if a cleanup lock
should be used instead of the normal exclusive lock, and make WAL
redo functions responsible for calling RestoreBkpBlocks(). They know
better what kind of a lock they need. At the moment, this just
moves things around with no functional change, but makes the hot
standby patch that's under review cleaner.
- Add new SPI_OK_REWRITTEN return code to SPI_execute and friends, for
the case that the command is rewritten into another type of command.
The old behavior to return the command tag of the last executed
command was pretty surprising. In PL/pgSQL, for example, it meant
that if a command was rewritten to a utility statement, FOUND wasn't
set at all.
- Forgot to handle the new SPI_OK_REWRITTEN result code in a couple
- Update comments to reflect that tgenabled is not a boolean anymore.
Jonah Harris, with minor tinkering by me.
- In pgsql/src/backend/commands/vacuumlazy.c, only skip pages marked
as clean in the visibility map, if the last 32 pages were marked as
clean as well. The idea is to avoid defeating OS readahead by
skipping a page here and there, and also makes it less likely that
we miss an opportunity to advance relfrozenxid, for the sake of only
a few skipped pages.
- In pgsql/src/backend/access/transam/xlog.c, put back fast-path for
the case that there's no backup blocks in RestoreBkpBlocks. Went
missing in my recent refactoring patch, as pointed out by Simon's
hot standby patch.
== Rejected Patches (for now) ==
Jeff Davis's patch to fix some lock conflict behavior.
== Pending Patches ==
Robert Haas sent in a patch to do JOIN removal for 8.5.
Magnus Hagander and Hiroshi Inoue each sent in another revision of the
lc_messages patch for the Japanese language.
Teodor Sigaev sent in another revision of the patch to add B-Tree
emulation to GIN.
Teodor Sigaev sent in five more revisions of the GIN improvements
Bernd Helmle sent in another revision of his automatic view updates
Koichi Suzuki sent in two more revisions of his patch to improve PITR
Brendan Jurd sent in a patch to fix the meridiem markers.
Hiroshi Inoue sent in another revision of the patch to bind gettext()
to the UTF8 locale when in use.
Heikki Linnakangas sent in a patch to make readahead more efficient in
Bryce Nesbitt sent in two more revisions of his pg_dump patch to allow
people to make it not notify the stats collector.
Bryce Nesbitt sent in an alternate patch to the one above which
documents the statistics collector's behavior on pg_dump.
Zdenek Kotala sent in a patch which adds a capability to have a single
record for all reloption kinds in the reloption list.
Simon Riggs sent in three more revisions of the Hot Standby patch.
Andrew Dunstan sent in another revision of the parallel pg_restore
Ramon Lawrence sent in another revision of the patch to improve hash
joins in skewed distributions.
KaiGai Kohei and Robert Haas sent revisions of the SE-PostgreSQL
Koichi Suzuki sent in another revision of the pg_readahead patch.
ITAGAKI Takahiro sent in a patch to supress compiler warnings in
pg_locale.c and pg_regress.c when nls is enabled.
Mark Kirkwood sent in a patch to expose lock_wait statistics on
platforms without Dtrace.
Heikki Linnakangas sent in a couple of patches atop the Hot Standby
Alvaro Herrera sent in a patch which extracts reloptions from a
pg_class tuple, to be used by relcache code only.
Magnus Hagander sent in another patch to fix pg_restore in cases where
incompatible options got sent to it.
Martin Pihlak sent in a patch that increases the autovacuum stats age
tolerance to autovacuum_naptime.
Alvaro Herrera sent in a WIP patch fixing autovacuum to work with
the new reloptions. This removes pg_autovacuum.
pgsql-announce by date
|Next:||From: Joshua D. Drake||Date: 2009-01-26 19:13:49|
|Subject: PostgreSQL Conference, U.S. East 09 Call for Papers|
|Previous:||From: Ned Lilly||Date: 2009-01-24 15:44:10|
|Subject: xTuple ERP 3.2: Postgres-powered open source ERP|