- 18 May, 2010 5 commits
-
-
Bruce Momjian authored
hardcoding a 'template0' check, per suggestion from Alvaro. This might fix a problem where someone has allowed 'template0' connections, but it is a cleaner approach even if doesn't fix the bug.
-
Magnus Hagander authored
Fujii Masao
-
Andrew Dunstan authored
-
Bruce Momjian authored
-
Robert Haas authored
This allows the index to reference the pg_notify() subsection specifically, rather than Notes section of the NOTIFY reference page more generally. Fujii Masao
-
- 17 May, 2010 3 commits
-
-
Alvaro Herrera authored
-
Andrew Dunstan authored
-
Andrew Dunstan authored
-
- 16 May, 2010 2 commits
-
-
Robert Haas authored
This avoids a formatting problem in the PDF output. In the HTML output this isn't necessary, but we've done similar things elsewhere in the documentation so I think it's OK to do it here, too. I've refrained from breaking a longish error message which also causes problems for the PDF output, because that would make the HTML output look wrong. Erik Rijkers
-
Robert Haas authored
Erik Rijkers
-
- 15 May, 2010 9 commits
-
-
Tom Lane authored
is specified. Per bug report from Russell Smith and ensuing discussion. Since this is a corner case behavioral change, I'm going to be conservative and not back-patch it. In passing, also rename the RestoreOptions field for the -C switch to something less generic than "create".
-
Robert Haas authored
The new names PM_HOT_STANDBY and PMSIGNAL_BEGIN_HOT_STANDBY more accurately reflect their actual function.
-
Tom Lane authored
interactions with filtering switches, such as -n and -t. Per a complaint from Russell Smith.
-
Tom Lane authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Heikki Linnakangas authored
-
Simon Riggs authored
log time was incorrectly set, typically leading to dates in the past, which would cause more cancellations in Hot Standby on a quiet server.
-
- 14 May, 2010 8 commits
-
-
Robert Haas authored
-
Itagaki Takahiro authored
-
Simon Riggs authored
without them, related to previous commit. Report by Bruce Momjian.
-
Tom Lane authored
-
Tom Lane authored
-
Tom Lane authored
-
Tom Lane authored
-
Bruce Momjian authored
Modify path separators for Win32. Per ideas from Takahiro Itagaki
-
- 13 May, 2010 13 commits
-
-
Bruce Momjian authored
EDB must maintain their own patch set for this.
-
Tom Lane authored
Should fix buildfarm failures.
-
Andrew Dunstan authored
where we started supporting MSVC builds. Security: CVE-2010-1169
-
Tom Lane authored
Security: CVE-2010-1169, CVE-2010-1170
-
Tom Lane authored
-
Tom Lane authored
"supplementary storage table".
-
Tom Lane authored
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
-
Andrew Dunstan authored
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
-
Magnus Hagander authored
* 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.
-
Peter Eisentraut authored
-
Magnus Hagander authored
PROGRAM, not just MODULE, in contrib.
-
Bruce Momjian authored
-
Peter Eisentraut authored
mkinstalldirs used to handle no arguments, but mkdir doesn't. Also remove the .SILENT setting, that was previously removed from Makefile.global as well.
-