Skip to content

Wöchentlicher PostgreSQL Newsletter - 12. August 2007

Der Originalartikel befindet sich unter:

== Wöchentlicher PostgreSQL Newsletter - 12. August 2007 ==

Der PostgreSQL Fond bei SPI Inc. dankt den folgenden Firmen für
die Unterstützung die unseren sehr professionellen Auftritt auf der
LinuxWorldExpo und der OSCON ermöglicht haben: Continuent,
Open Technology Group, Truviso, CommandPrompt, EnterpriseDB
und Once Technologies.

== PostgreSQL Produkt Neuigkeiten ==

EnterpriseDB Postgres erschienen.

pgsnmpd 1.0 erschienen.

SchemaCrawler 5.1 for PostgreSQL erschienen.

== PostgreSQL Jobs im August ==

== PostgreSQL Lokal ==

== PostgreSQL in the News ==

Planet PostgreSQL:

General Bits, Archive und gelegentliche News Artikel:

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

Sende Neuigkeiten und Ankündigungen bis Sonntag, 15 Uhr Pazifischer
Zeit. Bitte sende englische Beiträge an, deutsche an
== Angewandte Patches ==

Neil Conway committed:

- Fix a gradual memory leak in ExecReScanAgg(). Because the
aggregation hash table is allocated in a child context of the agg
node's memory context, MemoryContextReset() will reset but *not*
delete the child context. Since ExecReScanAgg() proceeds to build a
new hash table from scratch (in a new sub-context), this results in
leaking the header for the previous memory context. Therefore, use
MemoryContextResetAndDeleteChildren() instead. Credit: My colleague
Sailesh Krishnamurthy at Truviso for isolating the cause of the

- Adjust the output of MemoryContextStats() so that the stats for a
child memory contexts is indented two spaces to the right of its
parent context. This should make it easier to deduce the memory
context hierarchy from the output of MemoryContextStats().

Magnus Hagander committed:

- In pgsql/doc/src/sgml/cvs.sgml, fix incorrect URI for cvs rsync

Tom Lane committed:

- Avoid memory leakage across successive calls of regexp_matches() or
regexp_split_to_table() within a single query. This is only a
partial solution, as it turns out that with enough matches per
string these functions can also tickle a repalloc() misbehavior.
But fixing that is a topic for a separate patch.

- Code review for regexp_matches/regexp_split patch. Refactor to
avoid assuming that cached compiled patterns will still be there
when the function is next called. Clean up looping logic, thereby
fixing bug identified by Pavel Stehule. Share setup code between
the two functions, add some comments, and avoid risky mixing of int
and size_t variables. Clean up the documentation a tad, and accept
all the flag characters mentioned in table 9-19 rather than just a

- Fix uninitialized-memory bug in plpython proargnames patch. Per bug

- Fix unintended change of output format for createlang/droplang -l.
Missed these uses of printQuery() in FETCH_COUNT patch a year ago
:-(. Per report from Tomoaki Sato.

- Fix search for SGML stylesheets to include the place where Gentoo
keeps them. Brendan Jurd

- Revise postmaster startup/shutdown logic to eliminate the problem
that a constant flow of new connection requests could prevent the
postmaster from completing a shutdown or crash restart. This is
done by labeling child processes that are "dead ends", that is, we
know that they were launched only to tell a client that it can't
connect. These processes are managed separately so that they don't
confuse us into thinking that we can't advance to the next stage of
a shutdown or restart sequence, until the very end where we must
wait for them to drain out so we can delete the shmem segment. Per
discussion of a misbehavior reported by Keaton Adams. Since this
code was baroque already, and my first attempt at fixing the problem
made it entirely impenetrable, I took the opportunity to rewrite it
in a state-machine style. That eliminates some duplicated code
sections and hopefully makes everything a bit clearer.

- Fix thinko in multi-autovac-workers code: validity checks made by
GUC assign hooks are supposed to be made whether doit is true or

- Fix pg_restore to guard against unexpected EOF while reading an
archive file. Per report and partial patch from Chad Wagner.

- Adjust configure so that it sets CFLAGS properly for Intel's icc
even if the compiler is not defining __GNUC__. Per report from Dirk
Tilger that it is possible for icc to not do that.

- In pgsql/src/include/storage/s_lock.h, apparently icc doesn't always
define __ICC, and it's more correct to check for __INTEL_COMPILER.
Per report from Dirk Tilger. Not back-patched since I don't fully
trust it yet ...


No Trackbacks


Display comments as Linear | Threaded

No comments

Add Comment

Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications.
To leave a comment you must approve it via e-mail, which will be sent to your address after submission.
Form options