- 28 Feb, 2010 5 commits
-
-
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.
-
Greg Stark authored
Second try at fsyncing directories in CREATE DATABASE. Let's see what the build farm says of opening directories read-only and ignoring EBADF from fsync of directories
-
Tom Lane authored
just make it a bit less ugly in places.
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 27 Feb, 2010 10 commits
-
-
Michael Meskes authored
-
Tom Lane authored
the fact that NetBSD/mips is currently broken, as per buildfarm member pika. Also add regression tests to ensure that get_float8_nan and get_float4_nan are exercised even on platforms where they are not needed by float8in/float4in. Zoltán Böszörményi and Tom Lane
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
Fujii Masao
-
Heikki Linnakangas authored
-
Tom Lane authored
-
Tom Lane authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 26 Feb, 2010 13 commits
-
-
Bruce Momjian authored
-
Bruce Momjian authored
regession test output, and update pgindent script to avoid them in the future.
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- 25 Feb, 2010 12 commits
-
-
Bruce Momjian authored
marked stable.
-
Tom Lane authored
We had originally made the stronger assumption that NOT A refutes any B if B implies A, but this fails in three-valued logic, because we need to prove B is false not just that it's not true. However the logic does go through if B is equal to A. Recognizing this limited case is enough to handle examples that arise when we have simplified "bool_var = true" or "bool_var = false" to just "bool_var" or "NOT bool_var". If we had not done that simplification then the btree-operator proof logic would have been able to prove that the expressions were contradictory, but only for identical expressions being compared to the constants; so handling identical A and B covers all the same cases. The motivation for doing this is to avoid unexpected asymmetrical behavior when a partitioned table uses a boolean partitioning column, as in today's gripe from Dominik Sander. Back-patch to 8.2, which is as far back as predicate_refuted_by attempts to do anything at all with NOTs.
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
per SQL standard, and mention 7.3 behavior at the end.
-
Magnus Hagander authored
how often we do SSL session key renegotiation. Can be set to 0 to disable renegotiation completely, which is required if a broken SSL library is used (broken patches to CVE-2009-3555 a known cause) or when using a client library that can't do renegotiation.
-
Magnus Hagander authored
-
Heikki Linnakangas authored
format as in PQconnectdb(). As pointed out by Thom Brown.
-
Heikki Linnakangas authored
-
Heikki Linnakangas authored
it's asynchronous.
-
Heikki Linnakangas authored
Per complaint from Greg Stark.
-
Tom Lane authored
Per discussion.
-