aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Restructure CREATE FUNCTION "NOTES" section to be shorter; move itemsBruce Momjian2010-03-03
| | | | into proper sections, per suggestion from Tom.
* Instead of trying (and failing) to allow <<label>> at the end of a DECLARETom Lane2010-03-03
| | | | | | | | section, throw an error message saying explicitly that the label must go before DECLARE. Per investigation of a recent pgsql-novice question, this code did not work as intended in any modern PG version, maybe not ever. Allowing such a thing would only create ambiguity anyway, so it seems better to remove it than fix it.
* Adjust max_standby_delay documentation to be clearer, and mention thatBruce Momjian2010-03-02
| | | | | two adjacent long-running queries have much less than max_standby_delay before query cancel is possible.
* Add missing library and include dir for XSLT in MSVC buildsAndrew Dunstan2010-03-02
|
* Document the effect of max_standby_delay on increasing the delay of dataBruce Momjian2010-03-02
| | | | | from master to slave, and discourage its use during slave/master keep-xid-alive connections.
* Update keywords list for 9.0Peter Eisentraut2010-03-02
|
* Do not run regression tests for contrib/xml2 on MSVC unless building with XMLAndrew Dunstan2010-03-02
|
* Cause plpgsql to throw an error if "INTO rowtype_var" is followed by a comma.Tom Lane2010-03-02
| | | | | | Per bug #5352, this helps to provide a useful error message if the user tries to do something presently unsupported, namely use a rowtype variable as a member of a multiple-item INTO list.
* Add XSLT defines for MSVC buildsAndrew Dunstan2010-03-02
|
* Fix translation of strings in psql \d output (translation in headers worked,Heikki Linnakangas2010-03-01
| | | | but not in cells).
* Fix numericlocale psql option when used with a null string and latex and troffHeikki Linnakangas2010-03-01
| | | | | | | | | | formats; a null string must not be formatted as a numeric. The more exotic formats latex and troff also incorrectly formatted all strings as numerics when numericlocale was on. Backpatch to 8.1 where numericlocale option was added. This fixes bug #5355 reported by Andy Lester.
* Fix contrib/xml2 so regression test still works when it's built without libxslt.Tom Lane2010-03-01
| | | | | | | 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.
* It's clearly now pointless to do backwards compatible parsing of this,Magnus Hagander2010-03-01
| | | | | since we released a version without it, so remove the comment that says we might want to do that.
* Buildfarm still unhappy, so I'll bet it's EACCES not EPERM.Tom Lane2010-03-01
|
* Remove xmlCleanupParser calls from contrib/xml2.Tom Lane2010-03-01
| | | | | | | 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.
* add EPERM to the list of return codes to expect from opening directories ↵Greg Stark2010-03-01
| | | | based on Vista results
* Fix up memory management problems in contrib/xml2.Tom Lane2010-02-28
| | | | | | | | | | | | | | | | | | | | | 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.
* Second try at fsyncing directories in CREATE DATABASE. Let's see what the ↵Greg Stark2010-02-28
| | | | build farm says of opening directories read-only and ignoring EBADF from fsync of directories
* Assorted code cleanup for contrib/xml2. No change in functionality,Tom Lane2010-02-28
| | | | just make it a bit less ugly in places.
* Update complex locale example in the documentation.Bruce Momjian2010-02-28
|
* *** empty log message ***Bruce Momjian2010-02-28
|
* Make sure ecpg uses the same header files in the same order as the backend.Michael Meskes2010-02-27
|
* Insert a hack into get_float8_nan (both core and ecpg copies) to deal withTom Lane2010-02-27
| | | | | | | | | | 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
* Back out unintended change to pg_locale.c.Bruce Momjian2010-02-27
|
* Document ATAPI FLUSH CACHE EXT.Bruce Momjian2010-02-27
|
* Document trace_recovery_messages() parameter as an enum, not string.Bruce Momjian2010-02-27
| | | | Fujii Masao
* Document max_standby_delay=-1 option, now that it's allowed again.Heikki Linnakangas2010-02-27
|
* Entity-ify a few new uses of literal <, >, and &.Tom Lane2010-02-27
|
* Undo some more pgindent breakage. Per buildfarm.Tom Lane2010-02-27
|
* Use <> for libpq #include in example programs, per suggestion from Josh Berkus.Bruce Momjian2010-02-27
|
* Document ATAPI drive flush command, and mention SSD drives.Bruce Momjian2010-02-27
|
* Suggest gmake installcheck-world for pgindent testing.Bruce Momjian2010-02-26
|
* Revert pgindent changes to ecpg include files that are part of ecpgBruce Momjian2010-02-26
| | | | | regession test output, and update pgindent script to avoid them in the future.
* Wording improvements to README.Bruce Momjian2010-02-26
|
* Update pgindent docs to use maintainer-clean.Bruce Momjian2010-02-26
|
* Document why pgindent wants a fresh CVS checkout.Bruce Momjian2010-02-26
|
* In vacuumdb --help, call analyze "statistics", not "hints".Bruce Momjian2010-02-26
|
* Call output file typedefs.list; update README.Bruce Momjian2010-02-26
|
* Document pg_restore --jobs as a performance enhancement.Bruce Momjian2010-02-26
|
* Update pgindent instructions.Bruce Momjian2010-02-26
|
* pgindent run for 9.0Bruce Momjian2010-02-26
|
* Add pgindent typedefs file to CVS.Bruce Momjian2010-02-26
|
* Update pgindent instructions to avoid changes to flex output files.Bruce Momjian2010-02-26
|
* Remove 'emphasis' markup inside literal; not allowed.Bruce Momjian2010-02-26
|
* Document that after triggers that need to see changed rows should not beBruce Momjian2010-02-25
| | | | marked stable.
* Allow predicate_refuted_by() to deduce that NOT A refutes A.Tom Lane2010-02-25
| | | | | | | | | | | | | | | | | | | | | 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.
* Document clearly the meaning of none/all for log_statements.Bruce Momjian2010-02-25
|
* Add C comment that do_to_timestamp() lacks error checking.Bruce Momjian2010-02-25
|
* Clearly document that timestamp alone means timestamp without timezone,Bruce Momjian2010-02-25
| | | | per SQL standard, and mention 7.3 behavior at the end.
* Add configuration parameter ssl_renegotiation_limit to controlMagnus Hagander2010-02-25
| | | | | | | | 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.