== Wöchentlicher PostgreSQL Newsletter - 01. Juli 2007 ==

From: Andreas 'ads' Scherbaum <adsmail(at)wars-nicht(dot)de>
To: "pgsql-de-allgemein(at)postgresql(dot)org" <pgsql-de-allgemein(at)postgresql(dot)org>
Cc: "pgusers(at)postgres(dot)de" <pgusers(at)postgres(dot)de>
Subject: == Wöchentlicher PostgreSQL Newsletter - 01. Juli 2007 ==
Date: 2007-07-02 11:44:07
Message-ID: 20070702134407.e8f07a4a.adsmail@wars-nicht.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-de-allgemein


Der Originalartikel befindet sich unter:
http://people.planetpostgresql.org/dfetter/index.php?/archives/125-PostgreSQL-Weekly-News-July-01-2007.html

== Wöchentlicher PostgreSQL Newsletter - 01. Juli 2007 ==

PgDay.it starts this week. Speakers include Josh Berkus, Federico
Campoli, Paolo Cavallini, David Fetter and Enrico Pirozzi.
PGDay.it startet diese Woche. Sprecher sind unter anderem
Josh Berkus, Federico Campoli, Paolo Cavallini, David Fetter
und Enrico Pirozzi.

== PostgreSQL Produkt Neuigkeiten ==

Die ht://miner Seite hat nun eine englische Version.
http://www.htminer.it/en/

PostgreSQL Maestro 7.6 erschienen.
http://www.sqlmaestro.com/products/postgresql/maestro/

SE-PostgreSQL 1.0 Beta erschienen.
http://code.google.com/p/sepgsql/

Slony-I 1.2.10 erschienen.
http://slony.info/

== PostgreSQL Lokal ==

Der PDXPUG Tag auf der OSCON sucht nun dringend Sprecher. Dank
der Hilfe von O'Reilly haben wir einen ganzen Tag für PostgreSQL Sessions
am Tag vor der OSCON (Sonntag, den 22. Juli). Ändert eure Flugtickets
und reicht einen Talk ein!
http://developer.postgresql.org/index.php/OSCON07PGDay

Pgday.it in Prato, Toskana, Italien am 6. und 7. Juli. Das ist diese Woche!

Einige wichtige URLs:

Programm: http://www.pgday.it/it/generale/programma
Registrierung: http://www.pgday.it/en/generale/registrazione
PGDay Webseite: http://www.pgday.it/en/
Sponsoring Kampagne: http://www.pgday.it/en/sponsorizzazioni/come
Wie kommt man nach Prato:
http://www.pgday.it/en/logistica/raggiungere_prato
Unterkünfte in Prato:
http://www.pgday.it/en/logistica/dove_dormire PostgreSQL
Offizielle PostgreSQL T-Shirts: http://www.prato.linux.it/node/30
Key-signing Party: http://www.pgday.it/en/keysigning

== PostgreSQL in den News ==

Planet PostgreSQL: http://www.planetpostgresql.org/

General Bits, Archive und gelegentliche News Artikel:
http://www.varlena.com/GeneralBits/

Dieser wöchentliche PostgreSQL Newsletter wurde erstellt von David
Fetter.

Um deine Beiträge für die nächste Ausgabe zu übermitteln, sende diese
an david(at)fetter(dot)org oder in Deutsch an pwn(at)pgug(dot)de bis Sonntag, 15:00
Uhr Pazifischer Zeit.

== Angewandte Patches ==

Bruce Momjian committed:

- Mark TODO as done: "Reduce checkpoint performance degredation by
forcing data to disk."

Neil Conway committed:

- A patch which makes \df+ tell whether a function is IMMUTABLE,
STABLE or VOLATILE.

Tom Lane committed:

- Reduce the maximum sleep interval in the autovac launcher to 1
second, so that it responds to SIGQUIT reasonably promptly even on
machines where SA_RESTART signals restart a sleep from scratch.
(This whole area could stand some rethinking, but for now make it
work like the other processes do.) Also some marginal stylistic
cleanups.

- Treat the autovac launcher more like a regular backend, in that we
wait for it to die before telling the bgwriter to initiate shutdown
checkpoint. Since it's connected to shared memory, this seems more
prudent than the alternative of letting it quit asynchronously.
Resolves my complaint of yesterday about repeated shutdown
checkpoints in CVS HEAD.

- Avoid memory leakage when a series of subtransactions invoke AFTER
triggers that are fired at end-of-statement (as is the normal case
for foreign keys, for example). In this situation the per-subxact
deferred trigger context is always empty when subtransaction exit is
reached; so we could free it, but were not doing so, leading to an
intratransaction leak of 8K or more per subtransaction. Per
off-list example from Viatcheslav Kalinin subsequent to bug #3418
(his original bug report omitted a foreign key constraint needed to
cause this leak). Back-patch to 8.2; prior versions were not using
per-subxact contexts for deferred triggers, so did not have this
leak.

- In pgsql/src/backend/storage/ipc/procarray.c, fix comments not
updated in recent patch.

- In pgsql/src/backend/postmaster/autovacuum.c, add 'volatile' to
suppress 'variable might be clobbered by longjmp' warning emitted by
some versions of gcc.

- Improve logging of checkpoints. Patch by Greg Smith, worked over by
Heikki Linnakangas and a little bit by me.

- Fix computation of PG_VERSION_NUM by configure: remove unnecessary
and unportable backslashes in awk script (per Patrick Welche), and
add brackets to prevent autoconf from mangling sed's regexp (the sed
call here never did what was expected).

- In pgsql/doc/src/sgml/backup.sgml, add a note that pg_start_backup
will take awhile because of new distributed checkpoint behavior.
Explain how to work around this by issuing a manual CHECKPOINT
command. Per discussion with Heikki Linnakangas.

- Fix a passel of ancient bugs in to_char(), including two distinct
buffer overruns (neither of which seem likely to be exploitable as
security holes, fortunately, since the provoker can't control the
data written). One of these is due to choosing to stomp on the
output of a called function, which is bad news in any case; make it
treat the called functions' results as read-only. Avoid some
unnecessary palloc/pfree traffic too; it's not really helpful to
free small temporary objects, and again this is presuming more than
it ought to about the nature of the results of called functions.
Per report from Patrick Welche and additional code-reading by Imad.

- Fix incorrect tests for undef Perl values in some places in
plperl.c. The correct test for defined-ness is SvOK(sv), not
anything involving SvTYPE. Per bug #3415 from Matt Taylor.
Back-patch as far as 8.0; no apparent problem in 7.x.

- Implement "distributed" checkpoints in which the checkpoint I/O is
spread over a fairly long period of time, rather than being spat out
in a burst. This happens only for background checkpoints carried
out by the bgwriter; other cases, such as a shutdown checkpoint, are
still done at full speed. Remove the "all buffers" scan in the
bgwriter, and associated stats infrastructure, since this seems no
longer very useful when the checkpoint itself is properly throttled.
Original patch by Itagaki Takahiro, reworked by Heikki Linnakangas,
and some minor API editorialization by me.

- Fix PGXS conventions so that extensions can be built against
Postgres installations whose pg_config program does not appear first
in the PATH. Per gripe from Eddie Stanley and subsequent
discussions with Fabien Coelho and others.

Magnus Hagander committed:

- Add notes about configuring Visual Studio Express for use with the
Platform SDK.

- Andrew Dunstan's patch which adds extra checks for buildfarm to pick
up errors when running on XP or earlier versions of Windows.

Alvaro Herrera committed:

- Avoid crash in interrupted autovacuum worker, caused by leaving the
current memory context pointing at a context not long lived enough.
Also, create a fake PortalContext where to store the vac_context, if
only to avoid having it be a top-level memory context.

- Arrange for SIGINT in autovacuum workers to cancel the current table
and continue with the schedule. Change current uses of SIGINT to
abort a worker into SIGTERM, which keeps the old behaviour of
terminating the process. Patch from ITAGAKI Takahiro, with some
editorializing of my own.

- Remove unused "caller" argument from stringToQualifiedNameList.

- Remove unused BAD_LOCATION definition.

- Improve autovacuum launcher's ability to detect a problem in worker
startup, by having the postmaster signal it when certain failures
occur. This requires the postmaster setting a flag in shared
memory, but should be as safe as the pmsignal.c code is. Also make
sure the launcher honor's a postgresql.conf change turning it off on
SIGHUP.

== Abgelehnte Patches (bis jetzt) ==

Alvaro Herrera's patch to remove SIBackendInit's return value.

== Eingesandte Patches ==

Zdenek Kotala sent in a patch reflecting New Zealand's new DST rules.

Gregory Stark sent in a patch to create reserved words for OLAP
windowing functions.

ITAGAKI Takahiro sent in a bug fix for pgstat_drop_relation.

Pavan Deolasee sent in another version of his HOT patch.

Dave Page sent in a patch which fixes some bugs in pg_ctl on Windows.

Jacob Rief sent in a patch to make SPI-header-files safe for C++
compilers.

Patrick Welche sent in a patch intended to address some issues with
using XML on OpenBSD.

Andrew Dunstan sent in two revisions of a patch intended to allow
logging to CSV files.

Heikki Linnakangas sent in a document update for pg_start_backup,
notifying people that it may now take longer to finish.

Kevin Grittner sent in two revisions of a document patch intended to
clarify how warm standby works.

Robert Treat sent in a patch to improve dblink's connection security.

David Fetter sent in a two revisions of a patch which implements ALTER
[VIEW | SEQUENCE] RENAME TO.

--
Andreas 'ads' Scherbaum
Deutsche PostgreSQL User Group: http://www.pgug.de
DPWN: http://ads.wars-nicht.de/blog/categories/18-PWN

Browse pgsql-de-allgemein by date

  From Date Subject
Next Message Christopher Hartung 2007-07-03 14:29:24 Restore Database
Previous Message udono 2007-06-28 13:39:32 Re: Perl: Datenbankencoding feststellen