summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-05-15Rename PM_RECOVERY_CONSISTENT and PMSIGNAL_RECOVERY_CONSISTENT.Robert Haas
The new names PM_HOT_STANDBY and PMSIGNAL_BEGIN_HOT_STANDBY more accurately reflect their actual function.
2010-05-15Improve documentation of pg_restore's -l and -L switches to point out theirTom Lane
interactions with filtering switches, such as -n and -t. Per a complaint from Russell Smith.
2010-05-15Spell __NetBSD__ the same way everywhere. Per Giles Lean.Tom Lane
2010-05-15Adjust pg_upgrade BSD defines for scandir(), per report from Giles LeanBruce Momjian
2010-05-15Use __bsdi__ consistently.Bruce Momjian
2010-05-15Change bsdi define to __bsdi__Bruce Momjian
2010-05-15Fix typos in comments, spotted by Josh Kupershmidt.Heikki Linnakangas
2010-05-15Fix bug in processing of checkpoint time for max_standby_delay. LatestSimon Riggs
log time was incorrectly set, typically leading to dates in the past, which would cause more cancellations in Hot Standby on a quiet server.
2010-05-14We now accept read-only connections in state PM_RECOVERY_CONSISTENT.Robert Haas
2010-05-14Remove CRs.Itagaki Takahiro
2010-05-14Add many new Asserts in code and fix simple bug that slipped throughSimon Riggs
without them, related to previous commit. Report by Bruce Momjian.
2010-05-14Fix another obvious bug pointed out by a compiler warning.Tom Lane
2010-05-14Remove another unsafe use of random data as a format string.Tom Lane
2010-05-14Get rid of unsafe sprintf and snprintf usages. Per compiler warnings.Tom Lane
2010-05-14Spell __darwin__ correctly, to suppress compiler warning on OSX.Tom Lane
2010-05-14Use NAMEDATALEN instead of local define.Bruce Momjian
Modify path separators for Win32. Per ideas from Takahiro Itagaki
2010-05-13Remove all mentions of EnterpriseDB Advanced Server from pg_upgrade;Bruce Momjian
EDB must maintain their own patch set for this.
2010-05-13Fix up lame idea of not using autoconf to determine if platform has scandir().Tom Lane
Should fix buildfarm failures.
2010-05-13Fix MSVC builds for recent plperl changes. Go back to version 8.2, which isAndrew Dunstan
where we started supporting MSVC builds. Security: CVE-2010-1169
2010-05-13Update release notes with security issues.Tom Lane
Security: CVE-2010-1169, CVE-2010-1170
2010-05-13Use an entity instead of non-ASCII letter. Thom BrownTom Lane
2010-05-13Use "TOAST table" in place of the vague, not-used-elsewhere phraseTom Lane
"supplementary storage table".
2010-05-13Prevent PL/Tcl from loading the "unknown" module from pltcl_modules unlessTom Lane
that is a regular table or view owned by a superuser. This prevents a trojan horse attack whereby any unprivileged SQL user could create such a table and insert code into it that would then get executed in other users' sessions whenever they call pltcl functions. Worse yet, because the code was automatically loaded into both the "normal" and "safe" interpreters at first use, the attacker could execute unrestricted Tcl code in the "normal" interpreter without there being any pltclu functions anywhere, or indeed anyone else using pltcl at all: installing pltcl is sufficient to open the hole. Change the initialization logic so that the "unknown" code is only loaded into an interpreter when the interpreter is first really used. (That doesn't add any additional security in this particular context, but it seems a prudent change, and anyway the former behavior violated the principle of least astonishment.) Security: CVE-2010-1170
2010-05-13Abandon the use of Perl's Safe.pm to enforce restrictions in plperl, as it isAndrew Dunstan
fundamentally insecure. Instead apply an opmask to the whole interpreter that imposes restrictions on unsafe operations. These restrictions are much harder to subvert than is Safe.pm, since there is no container to be broken out of. Backported to release 7.4. In releases 7.4, 8.0 and 8.1 this also includes the necessary backporting of the two interpreters model for plperl and plperlu adopted in release 8.2. In versions 8.0 and up, the use of Perl's POSIX module to undo its locale mangling on Windows has become insecure with these changes, so it is replaced by our own routine, which is also faster. Nice side effects of the changes include that it is now possible to use perl's "strict" pragma in a natural way in plperl, and that perl's $a and $b variables now work as expected in sort routines, and that function compilation is significantly faster. Tim Bunce and Andrew Dunstan, with reviews from Alex Hunsaker and Alexey Klyukin. Security: CVE-2010-1169
2010-05-13Assorted fixes to make pg_upgrade build on MSVC.Magnus Hagander
* There is no chmod() on Windows. * Must always use the 3-parameter version of open() * There is no dynloader.h - but it also appears unnecessary on all platforms * Don't include shlobj.h because it causes compile errors, and from what I can see it's not actually used. This may need to be added back for mingw and/or cygwin in the worst case.
2010-05-13Translation updatePeter Eisentraut
2010-05-13Properly support multi-line entires (such as OBJS=) when buildingMagnus Hagander
PROGRAM, not just MODULE, in contrib.
2010-05-13Comment out EnterpriseDB Advanced Server mention in SGML docs.Bruce Momjian
2010-05-13Avoid error from mkdir if no languages are to be installedPeter Eisentraut
mkinstalldirs used to handle no arguments, but mkdir doesn't. Also remove the .SILENT setting, that was previously removed from Makefile.global as well.
2010-05-13Fix some spelling errors.Magnus Hagander
Thom Brown
2010-05-13Add missing library and include support for pg_upgrade to MSVC build system.Andrew Dunstan
2010-05-13Fix HISTORY.html build using </link>, not </>.Bruce Momjian
2010-05-13Fix vpath installation from distribution tarball (bug #5447)Peter Eisentraut
2010-05-13Ensure that top level aborts call XLogSetAsyncCommit(). Not doingSimon Riggs
so simply leads to data waiting in wal_buffers which then causes later commits to potentially do emergency writes and for all forms of replication to be potentially delayed without need or benefit. Issue pointed out exactly by Fujii Masao, following bug report by Robert Haas on a separate though related topic.
2010-05-13Cleanup initialization of Hot Standby. Clarify working with reanalysisSimon Riggs
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().
2010-05-13Fix wrong subdir. Per buildfarm.Tom Lane
2010-05-13Update release notes to current.Bruce Momjian
2010-05-13Move pg_upgrade shared library out into its own /contrib directoryBruce Momjian
(pg_upgrade_support).
2010-05-12Update comment about why postmaster doesn't get an icon.Bruce Momjian
2010-05-12Preliminary release notes for releases 8.4.4, 8.3.11, 8.2.17, 8.1.21, 8.0.25,Tom Lane
7.4.29.
2010-05-12Remove Makefile PGFILEDESC tag that the postmaster is an executable.Bruce Momjian
2010-05-12Give most recovery conflict errors a retryable error code. From recentSimon Riggs
requests and discussions with Yeb Havinga and Kevin Grittner.
2010-05-12Hook pg_upgrade into the contrib makefile structure so it gets builtTom Lane
on the buildfarm.
2010-05-12Update config.guess and config.subPeter Eisentraut
2010-05-12Clean up unnecessary unportability and compiler warnings by removing theTom Lane
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.
2010-05-12Move pg_upgrade TODO to TODO wiki.Bruce Momjian
2010-05-12Add PGFILEDESC description to Makefiles for all /contrib executables.Bruce Momjian
Add PGAPPICON to all executable makefiles.
2010-05-12Small formatting adjustment.Bruce Momjian
2010-05-12Add pg_upgrade IMPLEMENTATION file to CVS.Bruce Momjian
2010-05-12Add TODO file to CVS.Bruce Momjian