- May 24, 2010
-
-
Bruce Momjian authored
proper default username.
-
- May 23, 2010
-
-
Tom Lane authored
its sole caller does that too. Jan Matousek, via Pavel Stehule
-
- May 19, 2010
-
-
Bruce Momjian authored
comparing the same column to multiple values.
-
Bruce Momjian authored
match the behavior of autovacuum, which does this as the xid advances even if autovacuum is turned off.
-
- May 18, 2010
-
-
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.
-
Bruce Momjian authored
-
- May 15, 2010
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Heikki Linnakangas authored
-
- May 14, 2010
-
-
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
-
Bruce Momjian authored
EDB must maintain their own patch set for this.
-
Tom Lane authored
Should fix buildfarm failures.
-
- May 13, 2010
-
-
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.
-
Tom Lane authored
-
Bruce Momjian authored
(pg_upgrade_support).
-
- May 12, 2010
-
-
Tom Lane authored
on the buildfarm.
-
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.
-
- Apr 28, 2010
-
-
Tom Lane authored
rather than returning NULL for some-but-not-all failures as they used to. Remove now-redundant tests for NULL from call sites. We had to do something about this because many call sites were failing to check for NULL; and changing it like this seems a lot more useful and mistake-proof than adding checks to the call sites without them.
-
Tom Lane authored
-
- Apr 24, 2010
-
-
Robert Haas authored
Two of these were pointed out by Erik Rijkers; the rest I found.
-
- Apr 05, 2010
-
-
Andrew Dunstan authored
Make dmetaphone.c safe for pgindent and fussy compilers. Still to do: make it properly encoding aware w.r.t. chars U+00C7 and U+00D1.
-
- Apr 02, 2010
-
-
Tom Lane authored
reasonably promptly, by adding CHECK_FOR_INTERRUPTS in the per-page loops. Tatsuhito Kasahara
-
Magnus Hagander authored
Josh Kupershmidt
-
Magnus Hagander authored
Josh Kupershmidt
-
- Mar 25, 2010
-
-
Tom Lane authored
unsatisfiable query, such as indexcol && empty_array. It should return -1 to tell GIN no scan is required; but silly typo disabled the logic for that, resulting in unnecessary "GIN indexes do not support whole-index scans" error. Per bug report from Jeff Trout. Back-patch to 8.3 where the logic was introduced.
-
- Mar 23, 2010
-
-
Itagaki Takahiro authored
writes. The first worker still uses "pgbench_log.<pid>" for the name, but additional workers use "pgbench_log.<pid>.<serial-number>" instead. Reported by Greg Smith.
-
- Mar 03, 2010
-
-
Tom Lane authored
in versions >= 8.3). The core code is more robust and efficient than what was there before, and this also reduces risks involved in swapping different libxml error handler settings. Before 8.3, there is still some risk of problems if add-on modules such as Perl invoke libxml without setting their own error handler. Given the lack of reports I'm not sure there's a risk in practice, so I didn't take the step of actually duplicating the core code into older contrib/xml2 branches. Instead I just tweaked the existing code to ensure it didn't leave a dangling pointer to short-lived memory when throwing an error.
-
- Mar 01, 2010
-
-
Tom Lane authored
This involves modifying the module to have a stable ABI, that is, the xslt_process() function still exists even without libxslt. It throws a runtime error if called, but doesn't prevent executing the CREATE FUNCTION call. This is a good thing anyway to simplify cross-version upgrades.
-
Tom Lane authored
These are unnecessary and probably dangerous. I don't see any immediate risk situations in the core XML support or contrib/xml2 itself, but there could be issues with external uses of libxml2, and in any case it's an accident waiting to happen.
-
- Feb 28, 2010
-
-
Tom Lane authored
Get rid of the code that attempted to funnel libxml2's memory allocations into palloc. We already knew from experience with the core xml datatype that trying to do this is simply not reliable. Unlike the core code, I did not bother adding a lot of PG_TRY/PG_CATCH logic to try to ensure that everything is cleaned up on error exit. Hence, we might leak some memory if one of these functions fails partway through. Given the deprecated status of this contrib module and the fact that errors partway through the functions shouldn't be too common, it doesn't seem worth worrying about. Also fix a separate bug in xpath_table, that it did the wrong things if given a result tuple descriptor with less than 2 columns. While such a case isn't very useful in practice, we shouldn't fail or stomp memory when it occurs. Add some simple regression tests based on all the reported crash cases that I have on hand. This should be back-patched, but let's see if the buildfarm likes it first.
-