== PostgreSQL Weekly News - April 04 2010 ==
== PostgreSQL Weekly News - April 04 2010 ==
От:
David Fetter <david@fetter.org>
Дата:
== PostgreSQL Weekly News - April 04 2010 == The CfP is open for CHAR(10) in Oxford, England on July 1-3 2010. Proposals are due April 20. http://www.char10.org Bruce Momjian will be speaking about PostgreSQL Replication Solutions at the NYPUG meeting on April 20th at 6:30-8:30pm at Penn Plaza. Details and RSVP below. http://postgresql.meetup.com/3/calendar/12788352/ Southeast Linuxfest 2010 will take place in Spartanburg, SC, USA on June 12-13. Booths and sponsorships are still available. http://southeastlinuxfest.org/ == PostgreSQL 9.0 Feature of the Week == There is now an ALTER DEFAULT PRIVILEGES command which allows you to adjust the privileges that will be applied to future objects. == PostgreSQL Jobs for April == http://archives.postgresql.org/pgsql-jobs/2010-04/threads.php == PostgreSQL Local == Linuxfest Northwest 2010 will take place in Bellingham, Washington, USA on April 24 and 25. Session, Booth and Sponsorship are available. http://linuxfestnorthwest.org/ Andreas (ads) Scherbaum will be teaching a "PostgreSQL for Corporate Use" course at the adult education center in Magdeburg, Germany May 3-7, 2010. Details below: http://andreas.scherbaum.la/blog/archives/650-PostgreSQL-Schulung-als-Bildungsurlaub-03.-07.05.2010-in-Magdeburg.html PgCon 2010 will be held May 20-21 2010 in Ottawa with tutorials before on the 18th and 19th. http://www.pgcon.org/2010/registration.php The CfP for OSBridge is open! OSBridge will be June 1-4, 2010 in Portland, Oregon. http://opensourcebridge.org/events/2010/proposals/ OSCON will take place in Portland, Oregon July 19-23, 2010. http://www.oscon.com/oscon2010 == 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 david@fetter.org, German language to pwn@pgug.de, Italian language to pwn@itpug.org. == Applied Patches == Tom Lane committed: - Rework join-removal logic as per recent discussion. In particular this fixes things so that it works for cases where nested removals are possible. The overhead of the optimization should be significantly less, as well. - Fix "constraint_exclusion = partition" logic so that it will also attempt constraint exclusion on an inheritance set that is the target of an UPDATE or DELETE query. Per gripe from Marc Cousin. Back-patch to 8.4 where the feature was introduced. - In pgsql/contrib/pgstattuple/pgstattuple.c, ensure that contrib/pgstattuple functions respond to cancel interrupts reasonably promptly, by adding CHECK_FOR_INTERRUPTS in the per-page loops. Tatsuhito Kasahara. - In pgsql/src/bin/psql/command.c, \ddp should be recognized as such even if user appends S or + to it. Those options do nothing right now, but might be wanted later, and in any case it's confusing for the command to be interpreted as \dd if anything is appended. Per Jaime Casanova. - In pgsql/doc/src/sgml/ref/alter_default_privileges.sgml, minor wording improvement. - In pgsql/src/backend/commands/async.c, improve phrasing of warning message for NOTIFY queue getting too full. Per gripe from Peter Eisentraut. - Fix updateAclDependencies() to not assume that ACL role dependencies can only be added during GRANT and can only be removed during REVOKE; and fix its callers to not lie to it about the existing set of dependencies when instantiating a formerly-default ACL. The previous coding accidentally failed to malfunction so long as default ACLs contain only references to the object's owning role, because that role is ignored by updateAclDependencies. However this is obviously pretty fragile, as well as being an undocumented assumption. The new coding is a few lines longer but IMO much clearer. - Arrange to remove pg_default_acl entries completely if their ACL setting is changed to match the hard-wired default. This avoids accumulating useless catalog entries, and also provides a path for dropping the owning role without using DROP OWNED BY. Per yesterday's complaint from Jaime Casanova, the need to use DROP OWNED BY for that is less than obvious, so providing this alternative method might save some user frustration. - In pgsql/doc/src/sgml/release-9.0.sgml, clean up description of 9.0's incompatible changes in SIMILAR TO and SQL-style substring(). Simon Riggs committed: - In pgsql/src/backend/access/transam/recovery.conf.sample, edit recovery.conf.sample so it matches docs. Change standby_mode example to 'on or 'off' rather than 'true' or 'false', as shown in docs. Add restartpoint_command. Add section header for recovery target parameters, matching docs. - In pgsql/src/backend/access/transam/xlog.c, move system startup message prior to any calls out of data directory. This allows us to see what mode the server is in before it starts to perform actions that can block or hang. Otherwise server messages may not appear until after messages that say FATAL the database server is starting up. - Clarify some behaviours of REASSIGN OWNED and DROP OWNED BY. - In pgsql/src/backend/access/transam/xlog.c, check compulsory parameters in recovery.conf in standby_mode, per docs. - In pgsql/doc/src/sgml/stylesheet-man.xsl, allow for more room in the man page title, so that "CREATE TEXT SEARCH CONFIGURATION" is not truncated. Peter Eisentraut committed: - In pgsql/doc/src/sgml/plpython.sgml, add some documentation about PL/Python limitations. Suggested by Steve White (bug #5272) - In pgsql/doc/src/sgml/plpython.sgml, add some information about what it means for PL/Python to be untrusted. Similar information already appears in the PL/Perl and PL/Tcl chapters. - In pgsql/doc/src/sgml/datatype.sgml, add note that XML Schema validation is not supported. Requested by Andrew Lardinois. - Separate targets "make docs" and "make install-docs" for the documentation. It is no longer installed by default, but included in "make world"/"make install-world". Documentation updated accordingly. Also, fix vpathsearch function to work when calling make install-docs without previous make docs. - In pgsql/src/backend/libpq/auth.c, message tuning. - In pgsql/doc/src/sgml/Makefile, fix the build and install rules for man pages with SQL section != 7. The previous coding failed in various scenarios possibly including vpath builds and doing make install without preceding make all. - Remove unnecessary xref endterm attributes and title ids. The endterm attribute is mainly useful when the toolchain does not support automatic link target text generation for a particular situation. In the past, this was required by the man page tools for all reference page links, but that is no longer the case, and it now actually gets in the way of proper automatic link text generation. The only remaining use cases are currently xrefs to refsects. - In pgsql/doc/src/sgml/func.sgml, clarify documentation of to_char EEEE pattern. - In pgsql/src/interfaces/ecpg/preproc/type.c, message quoting style tuning. Bruce Momjian committed: - In pgsql/src/backend/utils/misc/postgresql.conf.sample, add comma missing from postgresql.conf comment. - In pgsql/src/backend/access/nbtree/nbtxlog.c, properly initialize local varaible in btree_xlog_delete_get_latestRemovedXid(). This variable was only tested in assert builds. - Change recovery.conf.sample to match postgresql.conf by showing only default values, with example comments. - In pgsql/doc/src/sgml/backup.sgml, document why 'cp -i