Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

nisc wwwxxx, wwwxxx0cm, should producers of software-based services, such as atms, be held liable for economic injuries suffered when their systems fail?, wwwxxx0cm,, Event 9 IIS log failed to write entry, wwwxxx jeffs, Catastrophic failure Unexpected method call sequence. 0x8000ffff (-2147418113)., ksh lock a file, [unixODBC][Driver Manager]Driver's SQLAllocHandle on SQL_HANDLE_DBC failed



#1: == Wöchentlicher PostgreSQL Newsletter - 16. Januar 2011 ==

Posted on 2011-01-17 22:57:54 by adsmail

Der Originalartikel befindet sich unter:

== Wöchentlicher PostgreSQL Newsletter - 16. Januar 2011 ==

Das finale Commitfest für 9.1 hat begonnen. Starte jetzt mit dem
Review der Patches!

PostgreSQL Version 9.1 wird substantielle Verbesserungen im
SERIALIZABLE Transaktionsmodus mit sich bringen. Verwendest du
derzeit SERIALIZABLE? Das PostgreSQL Development Team braucht
dein Feedback:

== PostgreSQL Produkt Neuigkeiten ==

pgbouncer 1.4, ein leichtgewichtiger Connectionpooler für
PostgreSQL, ist erschienen.

repmgr 1.0.0, ein Hot Standby und Streaming Replication
Management System, ist erschienen.

== PostgreSQL 9.0 Feature der Woche ==

== PostgreSQL Tipp der Woche ==

== PostgreSQL Jobs im Januar == p

== PostgreSQL Lokal ==

Selena Deckelmann wird über die Entwicklung der PostgreSQL
Community am 7. Februar 2010 um 16 Uhr an der Oregon State
University in Corvallis, OR sprechen.

Der Call for Papers für den vierten Prager
Development Day ist eröffnet. Die Veranstaltung
findet am 10. Februar 2011 an der Charles
Universität in Prag statt. 09.php

Der PostgreSQLFr Call for Projects ist offen. Projekte müssen
PostgreSQL und die französisch-sprechende Community ansprechen.
Maile an appel-projets-2010 AT postgresql DOT fr. cts

PGDay findet dieses Jahr während der südkalifornischen Linux Auss=
(SCALE) im LAX Hilton Hotel in Los Angeles, Kalifornien am Freitag dem
25. Februar 2011 statt. Vorträge kannst du unter pgday-submissions AT
googlegroups DOT com einreichen.

PostgreSQL Conference East 2011: New York,
vom 22. bis 25. März

Das Open Database Camp findet vom 7. bis 9. Mai 2011 in Sardinien,
Italien statt. base-camp-sardi=

PGCon findet am 19. und 20. Mai 2011 an der Universität
von Ottawa statt, vorher gibt es am 17. und 18. Mai
zwei Tage mit Trainings. Der Call for Papers ist offen.

== PostgreSQL in den News ==

Planet PostgreSQL:

Dieser wöchentliche PostgreSQL Newsletter wurde erstellt von David Fet=

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

== Reviews ==

Steve Singer reviewed Gurjeet Singh's patch to add a primary key using
an existing index.

Noah Misch reviewed the snapshot synchronization patch.

Hitoshi Harada reviewed the patch to add a PL/Python validator

Jan Urbanski reveiwed the FDW API patch.

== Angewandte Patches ==

Magnus Hagander pushed:

- Backend support for streaming base backups. Add BASE_BACKUP command
to walsender, allowing it to stream a base backup to the client (in
tar format). The syntax is still far from ideal, that will be fixed
in the switch to use a proper grammar for walsender. No client
included yet, will come as a separate commit. Magnus Hagander and
Heikki Linnakangas.
=20;a=3Dcomm itdiff;h=3D0eb5=

- Set process title to indicate base backup is running.
=20;a=3Dcomm itdiff;h=3D2e36=

- Reset walsender ps title in the main loop. When in streaming mode
we can never get out, so it will never be required, but after a base
backup (or other operations) we can get back to the loop, so the
title needs to be cleared.
=20;a=3Dcomm itdiff;h=3Db7eb=

- Typo fix. Josh Kupershmidt
=20;a=3Dcomm itdiff;h=3D1c40=

- Revert installation of gram.h in 8.3. To make the buildfarm green
again, since there is no file to copy on msvc, and also given
discussion about the necessity of the file at all...
=20;a=3Dcomm itdiff;h=3Dc1bc=

- Add missing function prototype, for consistency.
=20;a=3Dcomm itdiff;h=3D47a5=

- Track walsender state in shared memory and expose in
=20;a=3Dcomm itdiff;h=3D4c8e=

- Make sure walsender state is only read while holding the spinlock.
Noted by Robert Haas.
=20;a=3Dcomm itdiff;h=3D9eac=

- Exit from base backups when shutdown is requested. When the exit
waits until the whole backup completes, it may take a very long
time. In passing, add back an error check in the main loop so we
detect clients that disconnect much earlier if the backup is large.
=20;a=3Dcomm itdiff;h=3D6884=

- Use a lexer and grammar for parsing walsender commands Makes it
easier to parse mainly the BASE_BACKUP command with it's options,
and avoids having to manually deal with quoted identifiers in the
label (previously broken), and makes it easier to add new commands
and options in the future. In passing, refactor the case statement
in the walsender to put each command in it's own function.
=20;a=3Dcomm itdiff;h=3Dfcd8=

- Enumerate available tablespaces after starting the backup. This
closes a race condition where if a tablespace was created after the
enumeration happened but before the do_pg_start_backup() was called,
the backup would be incomplete. Now that it's done while we are in
backup mode, WAL replay will recreate it during restore. Noted by
Heikki Linnakangas.
=20;a=3Dcomm itdiff;h=3D3866=

Bruce Momjian pushed:

- A toast relid field are no longer needed in pg_upgrade's rel arrays,
so remove them. Also other renaming.
=20;a=3Dcomm itdiff;h=3D0a5f=

- Apply libpq documentation patches submitted by Leslie S Satenstein
and reviewed by Robert Haas.
=20;a=3Dcomm itdiff;h=3Da042=

- More libpq documentation adjustments from Leslie S Satenstein,
reviewed by Robert Haas.
=20;a=3Dcomm itdiff;h=3D712d=

- Apply patch for test_fsync to add tests for O_DIRECT. Adjusted
patch by Josh Berkus.
=20;a=3Dcomm itdiff;h=3D677b=

- Improve output display of test_fsync.
=20;a=3Dcomm itdiff;h=3D3ab8=

- Restructure test_fync to use modular C so there is less duplicate
code and it can be enhanced easier.
=20;a=3Dcomm itdiff;h=3D1695=

- Have test_fsync output details that fdatasync is the default
wal_sync_method on Linux.
=20;a=3Dcomm itdiff;h=3D001d=

- In test_fsync, warn about options without o_direct that are not used
by Postgres, and cases where o_direct does not work with certain
file systems.
=20;a=3Dcomm itdiff;h=3D4316=

- Reverse number of stars used for test_fsync details.
=20;a=3Dcomm itdiff;h=3D3eeb=

- Use O_DIRECT in O_SYNC test of different size. Restructure O_DIRECT
error reporting to be more consistent.
=20;a=3Dcomm itdiff;h=3D6dc1=

- In test_fsync, use #define for printf format of ops/sec.
=20;a=3Dcomm itdiff;h=3De0c2=

Heikki Linnakangas pushed:

- Leave temporary files out of streaming base backups.
=20;a=3Dcomm itdiff;h=3Ddc13=

- Fix the logic in libpqrcv_receive() to determine if there's any
incoming data that can be read without blocking. It used to conclude
that there isn't, even though there was data in the socket receive
buffer. That lead walreceiver to flush the WAL after every received
chunk, potentially causing big performance issues. Backpatch to
9.0, because the performance impact can be very significant.
=20;a=3Dcomm itdiff;h=3Da5a0=

- Treat a WAL sender process that hasn't started streaming yet as a
regular backend, as far as the postmaster shutdown logic is
concerned. That means, fast shutdown will wait for WAL sender
processes to exit before signaling bgwriter to finish. This avoids
race conditions between a base backup stopping or starting, and
bgwriter writing the shutdown checkpoint WAL record. We don't want
e.g the end-of-backup WAL record to be written after the shutdown
=20;a=3Dcomm itdiff;h=3D8f5d=

Tom Lane pushed:

- Tweak create_index_paths()'s test for whether to consider a bitmap
scan. Per my note of a couple days ago, create_index_paths would
refuse to consider any path at all for GIN indexes if the
selectivity estimate came out as 1.0; not even if you tried to force
it with enable_seqscan. While this isn't really a bad outcome in
practice, it could be annoying for testing purposes. Adjust the
test for "is this path only useful for sorting" so that it doesn't
fire on paths with nil pathkeys, which will include all GIN paths.
=20;a=3Dcomm itdiff;h=3D9d1a=

- Adjust basebackup.c to suppress compiler warnings. Some versions of
gcc complain about "variable `tablespaces' might be clobbered by
`longjmp' or `vfork'" with the original coding. Fix by moving the
PG_TRY block into a separate subroutine.
=20;a=3Dcomm itdiff;h=3De6dc=

- Fix PlanRowMark/ExecRowMark structures to handle inheritance
correctly. In an inherited UPDATE/DELETE, each target table has its
own subplan, because it might have a column set different from other
targets. This means that the resjunk columns we add to support
EvalPlanQual might be at different physical column numbers in each
subplan. The EvalPlanQual rewrite I did for 9.0 failed to account
for this, resulting in possible misbehavior or even crashes during
concurrent updates to the same row, as seen in a recent report from
Gordon Shannon. Revise the data structure so that we track resjunk
column numbers separately for each subplan. I also chose to move
responsibility for identifying the physical column numbers back to
executor startup, instead of assuming that numbers derived during
preprocess_targetlist would stay valid throughout subsequent
massaging of the plan. That's a bit slower, so we might want to
consider undoing it someday; but it would complicate the patch
considerably and didn't seem justifiable in a bug fix that has to be
back-patched to 9.0.
=20;a=3Dcomm itdiff;h=3Dd487=

- Revert incorrect memory-conservation hack in inheritance_planner().
This reverts commit d1001a78ce612a16ea622b558f5fc2b68c45ab4c of
2010-12-05, which was broken as reported by Jeff Davis. The problem
is that the individual planning steps may have side-effects on
substructures of PlannerGlobal, not only the current PlannerInfo
root. Arranging to keep all such side effects in the main planning
context is probably possible, but it would change this from a quick
local hack into a wide-ranging and rather fragile endeavor. Which
it's not worth.
=20;a=3Dcomm itdiff;h=3Df0f3=

- Code review for contents changes. Fix broken test
for pre-existing postmaster, caused by wrong code for appending
lines to the lockfile; don't write a failed listen_address setting
into the lockfile; don't arbitrarily change the location of the data
directory in the lockfile compared to previous releases; provide
more consistent and useful definitions of the socket path and
listen_address entries; avoid assuming that pg_ctl has the same
DEFAULT_PGSOCKET_DIR as the postmaster; assorted code style
=20;a=3Dcomm itdiff;h=3D5294=

- Add .gitignore to silence git complaints about parser/scanner output
=20;a=3Dcomm itdiff;h=3D3675=

- Move a couple of declarations to reflect where the routines really
=20;a=3Dcomm itdiff;h=3D6ca4=

Peter Eisentraut pushed:

- Add some subsection headings.
=20;a=3Dcomm itdiff;h=3Db95e=

- Re-add recursive coverage target in src/backend/. This was lost
during the recent recursive make change.
=20;a=3Dcomm itdiff;h=3De309=

- Don't run regression tests in SQL_ASCII encoding by default.
Instead, run them in the encoding that the locale selects, which is
more representative of real use. Also document how locale and
encoding for regression test runs can be selected.
=20;a=3Dcomm itdiff;h=3D35eb=

- Workaround for recursive make breakage. Changing a file two
directory levels deep under src/backend/ would not cause the
postgres binary to be rebuilt. This change fixes it, but no one
knows why. Branch ------ master Details -------
=20;a=3Dcomm itdiff;h=3Dc667=

Andrew Dunstan pushed:

- Unbreak regression tests, apparently broken by commit 4c8e20f
=20;a=3Dcomm itdiff;h=3Db7a0=

Robert Haas pushed:

- Add support for logging the current role. Stephen Frost, with some
editorialization by me.
=20;a=3Dcomm itdiff;h=3Da8a8=

- Revert patch adding support for logging the current role. This
reverts commit a8a8867912c46a68c9ac14903b3dba2fab8f7097, committed
by me earlier today (2011-01-12). This isn't safe inside an aborted
transaction. Noted by Tom Lane.
=20;a=3Dcomm itdiff;h=3D7a32=

== Abgelehnte Patches (bis jetzt) ==

No one was disappointed this week :-)

== Eingesandte Patches ==

Jan Urbanski sent in two more revisions of the patch to add SPI-based
exceptions to PL/PythonU.

Kevin Grittner sent in five more revisions of the SSI patch.

Kevin Grittner sent in another revision of the patch for READ ONLY.

Magnus Hagander sent in two more revisions of the patch to use a
parser for walsender commands.

Jan Urbanski sent in a patch which adds PL/PythonU functions for
quoting strings.

Shigeru HANADA sent in a patch for file_fdw that adds a ResetCopyFrom
function, which is intended to improve performance.

Cedric Villemain sent in a patch atop the walsender patch which fixes
and infelicity for absolute paths.

Jeff Davis sent in another WIP patch for range types.

Heikki Linnakangas sent in a two revisions of a patch to allow
multiple concurrent base backups.

Euler Taveira de Oliveira sent in another revision of the patch to
expand pgbench's maximum run size.

ITAGAKI Takahiro sent in another revision of the MULTISET patch.

Shigeru HANADA sent in a patch to unbreak regression tests, apparently
broken by commit 4c8e20f.

Noah Misch sent in four more revisions of the patch to optimize ALTER

Stephen Frost sent in five revisions of a patch to allow logging the
current role.

Alexey Klyukin sent in a patch to allow conversion between PostgreSQL
arrays and Perl arrays for PL/Perl(U).

Robert Haas sent in some code to make the background writer compact
the request queue before fsyncing.

Shigeru HANADA sent in another flock of patches to implement foreign
data wrappers, part of the SQL/MED system.

Fujii Masao sent in a two revisions of a patch to use latches to
implement failover in pg_ctl.

Fujii Masao sent in a patch to change pg_last_xlog_receive_location
not to move backwards.

Hitoshi Harada sent in a patch to check psql better for an encoding

Jan Urbanski sent in two more revisions of the patch that
auto-generates error codes from header files.

Andreas Karlsson and Tom Lane traded patches to fix the bug in
amproctypes in pg_describe_object().

Shigeru HANADA and ITAGAKI Takahiro traded patches for file data
wrappers, a part of SQL/MED.

Tatsuo Ishii sent in a patch to ensure error codes for "terminating
connection due to conflict with recovery" are sensible.

Greg Smith sent in a patch to spread out checkpoint sync.

Marko (johto) Tiikkaja sent in another revision of the writeable CTE

Alex Hunsaker sent in two more revisions of a patch to optimize PL/Perl
function argument passing.

Simon Riggs sent in a patch to add foreign keys which are presumed to
hold but not checked against existing data.

Marko (johto) Tiikkaja sent in another revision of the patch to add
transaction-scope advisory locks.

Simon Riggs sent in a WIP patch to add ALTER TABLE ... REPLACE WITH.

Peter Eisentraut sent in a patch to add a client_hostname field to

Greg Smith sent in a patch to help with logging aborted autovacuums.

Magnus Hagander sent in a patch to help streaming base backups by

Jeff Davis sent in another revision of the patch to add range types.

Fujii Masao sent in a patch to ensure that all WAL received is flushed
to disk before walreceiver exits.

Florian Pflug sent in a patch to make backends die sooner after the
postmaster does.

Dimitri Fontaine sent in another revision of the extensions patch.

Alvaro Herrera sent in a patch to make foreign key checks less

Greg Smith sent in two revisions of a patch to auto-size wal_buffers.

Robert Haas sent in a patch to limit hint bit I/O.

Marti Raudsepp sent in a patch to add a tag command "REPLACE X" for

Simon Riggs sent in two revisions of a patch to add recovery control

Hitoshi Harada sent in a patch to allow specifying ENCODING in COPY.

Peter Eisentraut sent in another revision of the patch to infer
client_encoding from client locale.

Jaime Casanova sent in a patch to add named restore points.

Peter Eisentraut sent in another revision of the per-column collation

Fujii Masao sent in a patch to help reduce data loss on the standby.

Andrew Dunstan sent in two revisions of a patch to add a textarray
option for file FDWs.

Per review by Noah Misch, Pavel Stehule sent in another revision of
the patch to optimize varlena compression in PL/pgsql.

Magnus Hagander sent in two revisions of a patch to add pg_basebackup
for streaming base backups.

Marko (johto) Tiikkaja sent in another revision of the patch to fix
snapshot taking inconsistencies.

Marko (johto) Tiikkaja sent in another revision of the patch to sho in
EXPLAIN ANALYZE the number of rows a plan qual filtered from a node's

Magnus Hagander sent in a patch to include WAL in the base backup.

Simon Riggs sent in another revision of the patch to add synchronous

Andreas Karlsson sent in another revision of the patch to add \dL
(languages) to psql.

Andreas 'ads' Scherbaum
Deutsche PostgreSQL User Group:

Sent via pgsql-de-allgemein mailing list (
To make changes to your subscription:

Report this message