aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Add an explicit caution about how to use pg_do_encoding_conversion withTom Lane2008-11-11
| | | | non-null-terminated input. Per discussion with ITAGAKI Takahiro.
* Add support for input and output of interval values formatted per ISO 8601;Tom Lane2008-11-11
| | | | | | | | specifically, we can input either the "format with designators" or the "alternative format", and we can output the former when IntervalStyle is set to iso_8601. Ron Mayer
* Fix a case of string building.Alvaro Herrera2008-11-10
|
* Fix bugs in sqlchar_to_unicode and unicode_to_sqlchar: both were measuringTom Lane2008-11-10
| | | | | | the length of a UTF8 character with pg_mblen (wrong if DB encoding isn't UTF8), and the latter was blithely assuming that a static buffer would somehow revert to all zeroes for each use.
* Fix 'Q' format char parsing in the new to_timestamp() code. Used to crash.Heikki Linnakangas2008-11-10
|
* Add a --locale switch to createdb, to ease the creation of databases withAlvaro Herrera2008-11-10
| | | | | | | | | different locales. This is just syntactical sweetener over --lc-collate and --lc-ctype. Per discussion. While at it, properly document --lc-ctype and --lc-collate in SGML docs, which apparently were forgotten (or purposefully ommited?) when they were created.
* pg_do_encoding_conversion cannot return NULL (at least not unless the inputTom Lane2008-11-10
| | | | is NULL), so remove some useless tests for the case.
* Fix old bug in contrib/sslinfo: X509_NAME_to_text freed the BIO_s_mem bufferTom Lane2008-11-10
| | | | | | | | it was using too soon. In a situation where pg_do_encoding_conversion is a no-op, this led to garbage data returned. In HEAD, also modify the code that's ensuring null termination to make it a tad more obvious what's happening.
* Make relhasrules and relhastriggers work like relhasindex, namely we letTom Lane2008-11-10
| | | | VACUUM reset them to false rather than trying to clean 'em up during DROP.
* Replace pg_class.reltriggers with relhastriggers, which is just a boolean hintTom Lane2008-11-09
| | | | | | | | | | | | | ("there might be triggers") rather than an exact count. This is necessary catalog infrastructure for the upcoming patch to reduce the strength of locking needed for trigger addition/removal. Split out and committed separately for ease of reviewing/testing. In passing, also get rid of the unused pg_class columns relukeys, relfkeys, and relrefs, which haven't been maintained in many years and now have no chance of ever being maintained (because of wishing to avoid locking). Simon Riggs
* Add a startup check that pg_xlog and pg_xlog/archive_status exist.Tom Lane2008-11-09
| | | | | | | If the latter doesn't exist, automatically recreate it. (We don't do this for pg_xlog, though, per discussion.) Jonah Harris
* Add some documentation about handling of fractions in interval input.Tom Lane2008-11-09
| | | | (It's always worked like this, but we never documented it before.)
* Add a new GUC variable called "IntervalStyle" that decouples interval outputTom Lane2008-11-09
| | | | | | | | | | from DateStyle, and create a new interval style that produces output matching the SQL standard (at least for interval values that fall within the standard's restrictions). IntervalStyle is also used to resolve the conflict between the standard and traditional Postgres rules for interpreting negative interval input. Ron Mayer
* Fix recently added code for SQL years-months interval syntax so thatTom Lane2008-11-08
| | | | | it behaves correctly for a leading minus sign, zero year value, and nonzero month value. Per discussion with Ron Mayer.
* Add some more citext test cases, per David Wheeler. Also remove theTom Lane2008-11-07
| | | | | | | citext-to-and-from-xml tests, since those caused variation between installations with or without libxml without really proving much. Instead repurpose citext_1.out as the expected results in glibc en_US (and probably other) locales.
* Improve documentation of pg_typeof, per gripe from David Wheeler.Tom Lane2008-11-07
|
* Implement ALTER DATABASE SET TABLESPACE to move a whole database (or at leastTom Lane2008-11-07
| | | | | | as much of it as lives in its default tablespace) to a new tablespace. Guillaume Lelarge, with some help from Bernd Helmle and Tom Lane
* Improve bulk-insert performance by keeping the current target buffer pinnedTom Lane2008-11-06
| | | | | | | (but not locked, as that would risk deadlocks). Also, make it work in a small ring of buffers to avoid having bulk inserts trash the whole buffer arena. Robert Haas, after an idea of Simon Riggs'.
* Improve psql's \dC command to take a pattern parameter. Casts are shownTom Lane2008-11-06
| | | | | if their source or target types match the pattern (using the same definition of "match" as \dT does). Per recent discussion.
* The logic in systable_beginscan to translate heap attribute numbers toHeikki Linnakangas2008-11-06
| | | | | index column numbers needs to handle the case where you have more than one scankey on the same index column. toast_fetch_datum_slice() needs it.
* This maneuver really requires a comment ...Tom Lane2008-11-05
|
* change fix for suppress_redundant_updates_trigger() where relation has Oids, ↵Andrew Dunstan2008-11-05
| | | | to only apply if present Oid is invalid, per second thought from TGL
* fix suppress_redundant_updates_trigger() where relation has Oids, per gripe ↵Andrew Dunstan2008-11-05
| | | | from KaiGai Kohei
* A few additional test cases for array functionalityPeter Eisentraut2008-11-05
|
* Rename several aliases for PLpgSQL_datum.dno to also be called dno.Tom Lane2008-11-05
| | | | | | Hopefully this will forestall future confusion about their roles. Jonah Harris
* Document that SSL is only possible on tcp/ip connections in theBruce Momjian2008-11-04
| | | | postgresql.conf 'ssl' section.
* Document that 'sslmode' is ignored for Unix domain socket communication;Bruce Momjian2008-11-04
| | | | backpatch to 8.3.X.
* Revert unwanted patch, per Tom.Alvaro Herrera2008-11-04
|
* Remove unused rfno from PLpgSQL_recfieldAlvaro Herrera2008-11-04
| | | | Jonah Harris
* Fix bug introduced in recent patch to make plpython cope with OUT arguments:Tom Lane2008-11-04
| | | | | the proc->argnames array has to be initialized to zero immediately on creation, since the error recovery path will try to free its elements.
* Experimental new support for building man pages via docbook2x, an XSL-basedPeter Eisentraut2008-11-04
| | | | | tool chain. With some polishing, this might help us get rid of our ancient and crufty man page build mechanism.
* ADD array_ndims functionPeter Eisentraut2008-11-04
| | | | Author: Robert Haas <robertmhaas@gmail.com>
* Fix compiler warning about uninitialized variablePeter Eisentraut2008-11-04
|
* Add missing colon to docs.Bruce Momjian2008-11-04
|
* Remove tabs from SGML file.Bruce Momjian2008-11-04
|
* Disallow LOCK TABLE outside a transaction block (or function), since this caseTom Lane2008-11-04
| | | | | almost certainly represents user error. Per a gripe from Sebastian Böhm and subsequent discussion.
* Fix compiler warnings (including a seriously bogus elog call); minorTom Lane2008-11-04
| | | | code beautification.
* Use bool for a boolean flag.Tom Lane2008-11-03
|
* Allow uuid_in() to parse a wider variety of variant input formats for the UUIDPeter Eisentraut2008-11-03
| | | | | | | data type. This patch takes the approach of allowing an optional hyphen after each group of four hex digits. Author: Robert Haas <robertmhaas@gmail.com>
* Dept of second thoughts: seems it'd be safer if pg_typeof is markedTom Lane2008-11-03
| | | | stable not immutable, since it depends on system catalog contents.
* Clean up the messy semantics (not to mention inefficiency) of PageGetTempPageTom Lane2008-11-03
| | | | | | by splitting it into three functions with better-defined behaviors. Zdenek Kotala
* suppress_redundant_updates_trigger function.Andrew Dunstan2008-11-03
|
* Fix silly typo in previous commit.Alvaro Herrera2008-11-03
|
* Fix TransactionIdSetStatusBit so that it doesn't try to change a transactionAlvaro Herrera2008-11-03
| | | | | | | | from COMMITTED to SUBCOMMITTED during recovery. This wasn't previously possible, but it is now due to the recent changes on clog commit protocol for subtransactions. Simon Riggs
* Fix two error-recovery bugs in describeOneTableDetails(), and make the codeTom Lane2008-11-03
| | | | | | | | to dump sequence values cope with sequences outside the search path and/or having names that need quoting. No back-patch needed because these are new problems in 8.4. Kris Jurka (also a little bit of code beautification by tgl)
* Reduce the acceptable staleness of pgstat data for autovacuum, per theAlvaro Herrera2008-11-03
| | | | longstanding note in the source that this patch removes.
* Add pg_typeof() function.Tom Lane2008-11-03
| | | | Brendan Jurd
* Small shell syntax improvement.Bruce Momjian2008-11-03
|
* Update URL to Docbook DSSSL stylesheets, per Gabriele Bartolini.Alvaro Herrera2008-11-03
|
* Fix mistakes in comment headersAlvaro Herrera2008-11-03
|