- 13 May, 2010 4 commits
-
-
Simon Riggs authored
of requirements and documentation on LogStandbySnapshot(). Fixes two minor bugs reported by Tom Lane that would lead to an incorrect snapshot after transaction wraparound. Also fix two other problems discovered that would give incorrect snapshots in certain cases. ProcArrayApplyRecoveryInfo() substantially rewritten. Some minor refactoring of xact_redo_apply() and ExpireTreeKnownAssignedTransactionIds().
-
Tom Lane authored
-
Bruce Momjian authored
-
Bruce Momjian authored
(pg_upgrade_support).
-
- 12 May, 2010 13 commits
-
-
Bruce Momjian authored
-
Tom Lane authored
7.4.29.
-
Bruce Momjian authored
-
Simon Riggs authored
requests and discussions with Yeb Havinga and Kevin Grittner.
-
Tom Lane authored
on the buildfarm.
-
Peter Eisentraut authored
-
Tom Lane authored
cmp parameter for pg_scandir(). The code failed to support this anyway for Sun/Windows, so pretending we could accept a parameter other than NULL was just asking for trouble.
-
Bruce Momjian authored
-
Bruce Momjian authored
Add PGAPPICON to all executable makefiles.
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
Add documentation. Supports migration from PG 8.3 and 8.4.
-
- 11 May, 2010 7 commits
-
-
Tom Lane authored
Argentina, Australian Antarctic, Bangladesh, Mexico, Morocco, Pakistan, Palestine, Russia, Syria, Tunisia. Historical corrections for Taiwan.
-
Tom Lane authored
Per discussion, if we have PKT in there then PKST should be too. Also, fix mistaken claim that these abbrevs are not known to zic.
-
Robert Haas authored
Fixes a complaint from src/tools/pginclude/cpluspluscheck reported by Peter Eisentraut.
-
Tom Lane authored
archive_command) as soon as possible, namely just before issuing a new call of archive_command, even when there is a backlog of files to be archived. The original coding would only absorb new settings after clearing the backlog and returning to the outer loop. Per discussion. Back-patch to 8.3. The logic in prior versions is a bit different and it doesn't seem worth taking any risks of breaking it.
-
Robert Haas authored
As suggested by Andy Lester.
-
Tom Lane authored
tables --- the parent table no longer got checked, either. Per bug #5458 from Takahiro Itagaki.
-
Itagaki Takahiro authored
Now validators work properly even when the settings contain parameters that affect behavior of the function, like search_path. Reported by Erwin Brandstetter.
-
- 10 May, 2010 1 commit
-
-
Tom Lane authored
MIN or MAX, we must take care to insert the added qual in a legal place among the existing indexquals, if any. The btree index AM requires the quals to appear in index-column order. We didn't have to worry about this before because "target IS NOT NULL" was just treated as a plain scan filter condition; but as of 9.0 it can be an index qual and then it has to follow the rule. Per report from Ian Barwick.
-
- 09 May, 2010 4 commits
-
-
Tom Lane authored
-
Tom Lane authored
-
Tom Lane authored
Noted by KOIZUMI Satoru.
-
Tom Lane authored
My initial impression that glibc was measuring the precision in characters (which is what the Linux man page says it does) was incorrect. It does take the precision to be in bytes, but it also tries to truncate the string at a character boundary. The bottom line remains the same: it will mess up if the string is not in the encoding it expects, so we need to avoid %.*s anytime there's a significant risk of that. Previous code changes are still good, but adjust the comments to reflect this knowledge. Per research by Hernan Gonzalez.
-
- 08 May, 2010 1 commit
-
-
Tom Lane authored
Depending on which spec you read, field widths and precisions in %s may be counted either in bytes or characters. Our code was assuming bytes, which is wrong at least for glibc's implementation, and in any case libc might have a different idea of the prevailing encoding than we do. Hence, for portable results we must avoid using anything more complex than just "%s" unless the string to be printed is known to be all-ASCII. This patch fixes the cases I could find, including the psql formatting failure reported by Hernan Gonzalez. In HEAD only, I also added comments to some places where it appears safe to continue using "%.*s".
-
- 07 May, 2010 1 commit
-
-
Michael Meskes authored
ECPG connect routine only checked for NULL to find empty parameters, but user and password can also be "".
-
- 06 May, 2010 2 commits
-
-
Tom Lane authored
This should allow LD_LIBRARY_PATH to work as desired. Per trouble report from Andy Colson.
-
Itagaki Takahiro authored
-
- 05 May, 2010 2 commits
-
-
Tom Lane authored
refers to itself (directly or indirectly). Instead, print a message when recursion is detected, and don't expand the repeated reference. Per bug #5448 from Francis Markham. Back-patch to 8.0. Although the issue exists in 7.4 as well, it seems impractical to fix there because of the lack of any state stack that could be used to track active expansions.
-
Heikki Linnakangas authored
-
- 03 May, 2010 5 commits
-
-
Alvaro Herrera authored
-
Heikki Linnakangas authored
minRecoveryPoint in control file when replaying a parameter change record, to ensure that we don't allow hot standby on WAL generated without wal_level='hot_standby' after a standby restart.
-
Heikki Linnakangas authored
form a hierarchy. Per Simon's suggestion.
-
Heikki Linnakangas authored
what "eventually consistent" means.
-
Heikki Linnakangas authored
the PITR documentation to mention that you need to set wal_level to 'archive' or 'hot_standby', to enable WAL archiving. Per Simon's request.
-