[COMMITTERS] pgsql: Fix NOTIFY to cope with I/O problems, such as out-of-disk-space.

2012-06-28 Thread Tom Lane
Fix NOTIFY to cope with I/O problems, such as out-of-disk-space. The LISTEN/NOTIFY subsystem got confused if SimpleLruZeroPage failed, which would typically happen as a result of a write() failure while attempting to dump a dirty pg_notify page out of memory. Subsequently, all attempts to send mo

[COMMITTERS] pgsql: Fix NOTIFY to cope with I/O problems, such as out-of-disk-space.

2012-06-28 Thread Tom Lane
Fix NOTIFY to cope with I/O problems, such as out-of-disk-space. The LISTEN/NOTIFY subsystem got confused if SimpleLruZeroPage failed, which would typically happen as a result of a write() failure while attempting to dump a dirty pg_notify page out of memory. Subsequently, all attempts to send mo

[COMMITTERS] pgsql: Fix NOTIFY to cope with I/O problems, such as out-of-disk-space.

2012-06-28 Thread Tom Lane
Fix NOTIFY to cope with I/O problems, such as out-of-disk-space. The LISTEN/NOTIFY subsystem got confused if SimpleLruZeroPage failed, which would typically happen as a result of a write() failure while attempting to dump a dirty pg_notify page out of memory. Subsequently, all attempts to send mo

[COMMITTERS] pgsql: Fix NOTIFY to cope with I/O problems, such as out-of-disk-space.

2012-06-28 Thread Tom Lane
Fix NOTIFY to cope with I/O problems, such as out-of-disk-space. The LISTEN/NOTIFY subsystem got confused if SimpleLruZeroPage failed, which would typically happen as a result of a write() failure while attempting to dump a dirty pg_notify page out of memory. Subsequently, all attempts to send mo

[COMMITTERS] pgsql: pg_upgrade: fix off-by-one mistake in snprintf

2012-06-28 Thread Alvaro Herrera
pg_upgrade: fix off-by-one mistake in snprintf snprintf counts trailing NUL towards the char limit. Failing to account for that was causing an invalid value to be passed to pg_resetxlog -l, aborting the upgrade process. Branch -- master Details --- http://git.postgresql.org/pg/commitdif

[COMMITTERS] pgsql: Provide MAP_FAILED if sys/mman.h doesn't.

2012-06-28 Thread Tom Lane
Provide MAP_FAILED if sys/mman.h doesn't. On old HPUX this has to be #defined to -1. It might be that other values are required on other dinosaur systems, but we'll worry about that when and if we get reports. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/c1494b73

[COMMITTERS] pgsql: Update outdated commit; xlp_rem_len field is in page header now.

2012-06-28 Thread Heikki Linnakangas
Update outdated commit; xlp_rem_len field is in page header now. Spotted by Amit Kapila Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/8f85667a860437c50ae13008cad5359909388d3e Modified Files -- src/backend/access/transam/xlog.c |2 +- 1 files changed

[COMMITTERS] pgsql: Further fix install program detection

2012-06-28 Thread Peter Eisentraut
Further fix install program detection The $(or) make function was introduced in GNU make 3.81, so the previous coding didn't work in 3.80. Write it differently, and improve the variable naming to make more sense in the new coding. Branch -- master Details --- http://git.postgresql.org/p

Re: [COMMITTERS] pgsql: Fix install program detection

2012-06-28 Thread Tom Lane
Robert Haas writes: > I'm thinking that $INSTALL or whatever-it-is is getting set to an > empty string. The command was probably intended to be something like > install -m 644 libpgport.a... So it appears, but why is the failure platform-specific? INSTALL is also getting set to empty on my old

[COMMITTERS] pgsql: Fix broken mmap failure-detection code, and improve error messag

2012-06-28 Thread Robert Haas
Fix broken mmap failure-detection code, and improve error message. Per an observation by Thom Brown that my previous commit made an overly large shmem allocation crash the server, on Linux. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/39715af23ae459684963c350dd69e

Re: [COMMITTERS] pgsql: Fix install program detection

2012-06-28 Thread Robert Haas
On Thu, Jun 28, 2012 at 12:28 PM, Tom Lane wrote: > Alvaro Herrera writes: >> Excerpts from Peter Eisentraut's message of mié jun 27 14:23:11 -0400 2012: >>> Fix install program detection > >> Member grebe is still failing. > > protosciurus and castoroides (Solaris 10, I think same machine with >

Re: [COMMITTERS] pgsql: Fix install program detection

2012-06-28 Thread Tom Lane
Alvaro Herrera writes: > Excerpts from Peter Eisentraut's message of mié jun 27 14:23:11 -0400 2012: >> Fix install program detection > Member grebe is still failing. protosciurus and castoroides (Solaris 10, I think same machine with different compilers) are not happy either. Also, the first

Re: [COMMITTERS] pgsql: Fix install program detection

2012-06-28 Thread Alvaro Herrera
Excerpts from Peter Eisentraut's message of mié jun 27 14:23:11 -0400 2012: > Fix install program detection > > configure handles INSTALL as a substitution variable specially, and > apparently it gets confused when it's set to empty. Use INSTALL_ > instead as a workaround to avoid the issue. Me

[COMMITTERS] pgsql: Dramatically reduce System V shared memory consumption.

2012-06-28 Thread Robert Haas
Dramatically reduce System V shared memory consumption. Except when compiling with EXEC_BACKEND, we'll now allocate only a tiny amount of System V shared memory (as an interlock to protect the data directory) and allocate the rest as anonymous shared memory via mmap. This will hopefully spare most

[COMMITTERS] pgsql: Add missing space in event_source GUC description.

2012-06-28 Thread Robert Haas
Add missing space in event_source GUC description. This has apparently been wrong since event_source was added. Alexander Lakhin Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/c5b3451a8e72cb7825933d4f4827f467cb38b498 Modified Files -- src/backend/utils