- 04 Jul, 2010 2 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 03 Jul, 2010 11 commits
-
-
Bruce Momjian authored
-
Tom Lane authored
idea from the start since the variable is only meant to track commit/abort events. This patch reverts the logic around the variable to what it was in 8.4, except that the value is now kept in shared memory rather than a static variable, so that it can be reported correctly by CreateRestartPoint (which is executed in the bgwriter).
-
Tom Lane authored
to have different values in different processes of the primary server. Also put it into the "Streaming Replication" GUC category; it doesn't belong in "Standby Servers" because you use it on the master not the standby. In passing also correct guc.c's idea of wal_keep_segments' category.
-
Tom Lane authored
max_standby_streaming_delay, and revise the implementation to avoid assuming that timestamps found in WAL records can meaningfully be compared to clock time on the standby server. Instead, the delay limits are compared to the elapsed time since we last obtained a new WAL segment from archive or since we were last "caught up" to WAL data arriving via streaming replication. This avoids problems with clock skew between primary and standby, as well as other corner cases that the original coding would misbehave in, such as the primary server having significant idle time between transactions. Per my complaint some time ago and considerable ensuing discussion. Do some desultory editing on the hot standby documentation, too.
-
Bruce Momjian authored
Nikolay Samokhvalov
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
from Tom.
-
Robert Haas authored
Backpatch to 8.3, which is as far back as we have opfamilies. The opclass portion could probably be backpatched to 8.2, when REASSIGN OWNED was added, but for now I have not done that. Asko Tiidumaa, with minor adjustments by me.
-
Tom Lane authored
formats for geometric types. Per bug #5536 from Jon Strait, and my own testing. Back-patch to all supported branches, since this doco has been wrong right along -- we certainly haven't changed the I/O behavior of these types in many years.
-
Robert Haas authored
Erik Rijkers
-
- 02 Jul, 2010 4 commits
-
-
Andrew Dunstan authored
-
Robert Haas authored
David Wheeler, with one small correction by me.
-
Robert Haas authored
The previous commit to make copydir() interruptible prevented postgres.exe from linking on MinGW and Cygwin, because on those platforms libpgport_srv.a can't freely reference symbols defined by the backend. Since that code is already backend-specific anyway, just move the whole file into the backend rather than adding further kludges to deal with the symbols needed by CHECK_FOR_INTERRUPTS(). This probably needs some further cleanup, but this commit just moves the file as-is, which should hopefully be enough to turn the buildfarm green again.
-
Bruce Momjian authored
Per idea from Fujii Masao
-
- 01 Jul, 2010 5 commits
-
-
Robert Haas authored
This makes ALTER DATABASE .. SET TABLESPACE and CREATE DATABASE more sensitive to interrupts. Backpatch to 8.4, where ALTER DATABASE .. SET TABLESPACE was introduced. We could go back further, but in the absence of complaints about the CREATE DATABASE case it doesn't seem worth it. Guillaume Lelarge, with a small correction by me.
-
Tom Lane authored
-
Bruce Momjian authored
-
Robert Haas authored
Backpatch to 8.0, where tablespaces were introduced. Guillaume Lelarge
-
Bruce Momjian authored
assumed to require continuous archiving. Per report from Fujii Masao
-
- 30 Jun, 2010 3 commits
-
-
Heikki Linnakangas authored
but we have nevertheless exposed them to users via pg_get_expr(). It would be too much maintenance effort to rigorously check the input, so put a hack in place instead to restrict pg_get_expr() so that the argument must come from one of the system catalog columns known to contain valid expressions. Per report from Rushabh Lathia. Backpatch to 7.4 which is the oldest supported version at the moment.
-
Andrew Dunstan authored
-
Bruce Momjian authored
-
- 29 Jun, 2010 7 commits
-
-
Bruce Momjian authored
between words).
-
Bruce Momjian authored
lowercase the library names, unless double-quoted.
-
Tom Lane authored
datatypes of composite results, per gripe from Marcel Asio. Some desultory copy-editing of plpgsql-related sections of the release notes.
-
Bruce Momjian authored
committed transactions in a postmaster crash.
-
Peter Eisentraut authored
-
Peter Eisentraut authored
pg_pltemplate This should have a catversion bump, but it's still being debated whether it's worth it during beta.
-
Peter Eisentraut authored
per complaint from Craig Ringer
-
- 28 Jun, 2010 6 commits
-
-
Bruce Momjian authored
Report from Thom Brown
-
Bruce Momjian authored
Document that synchronous_commit can lose transactions in a db crash, not just a OS crash.
-
Robert Haas authored
In non-interactive sessions, WARNING sorts below LOG.
-
Peter Eisentraut authored
-
Bruce Momjian authored
-
Tom Lane authored
as well as fseeko, and to not assume that fseeko(fp, 0, SEEK_CUR) proves anything. Also improve some related comments. Per my observation that the SEEK_CUR test didn't actually work on some platforms, and subsequent discussion with Robert Haas. Back-patch to 8.4. In earlier releases it's not that important whether we get the hasSeek test right, but with parallel restore it matters.
-
- 27 Jun, 2010 1 commit
-
-
Tom Lane authored
contain data offsets (which it won't, if pg_dump thought its output wasn't seekable). To do that, remove an unnecessarily aggressive error check, and instead fail if we get to the end of the archive without finding the desired data item. Also improve the error message to be more specific about the cause of the problem. Per discussion of recent report from Igor Neyman. Back-patch to 8.4 where parallel restore was introduced.
-
- 25 Jun, 2010 1 commit
-
-
Robert Haas authored
The revised documentation makes it more clear that these are client-side parameters, rather than server side parameters. It also puts the main point of each parameter first, and consolidates the conditions under which it might be ignored in a single list at the end.
-