aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* Add PL/PgSQL FOUND and GET DIAGNOSTICS support for RETURN QUERYBruce Momjian2009-02-05
| | | | | | statement Pavel Stehule
* Mixing long and int entries of a union only works on some architectures.Michael Meskes2009-02-05
|
* Fix an old corner-case error in match_unsorted_outer(): don't considerTom Lane2009-02-05
| | | | | | | | | | | | the cheapest-total inner path as a new candidate while truncating the sort key list, if it already matched the full sort key list. This is too much of a corner case to be worth back-patching, since it's unusual for the cheapest total path to be sorted, and anyway no real harm is done (except in JOIN_SEMI/ANTI cases where cost_mergejoin is a bit broken at the moment). But it wasn't behaving as intended, so fix it. Noted while examining a test case from Kevin Grittner. This error doesn't explain his issue, but it does explain why "set enable_seqscan = off" seemed to reproduce it for me.
* Fix some SGML-compiler warnings on -wxml mode.Alvaro Herrera2009-02-04
|
* Update read committed documentation to better explain undesirableBruce Momjian2009-02-04
| | | | | | | behavior of concurrent commands in cases where rows are being added and removed from matching query criteria. Minor word-smithing.
* Added result checks for calls to gmtime().Michael Meskes2009-02-04
|
* Argh, wrong line copied again.Michael Meskes2009-02-03
|
* Fixed copy&paste mistake that made library use uninitialized variable.Michael Meskes2009-02-03
|
* allow alternative names for tclsh used on WindowsAndrew Dunstan2009-02-03
|
* Add a failure check for syslogger's use of _beginthreadex(), and removeTom Lane2009-02-03
| | | | | unnecessary thread address output parameter, to make this code look more like that in pg_restore.
* Document the longstanding behavior of LIMIT NULL and OFFSET NULL,Tom Lane2009-02-02
| | | | | | per gripe from David Wheeler that this was mentioned nowhere. In passing, editorialize a bit on the description of the SQL:2008 equivalent syntax.
* Fix plpgsql to not treat INSERT INTO as an INTO-variables clause anywhereTom Lane2009-02-02
| | | | | | | | in the string, not just at the start. Per bug #4629 from Martin Blazek. Back-patch to 8.2; prior versions don't have the problem, at least not in the reported case, because they don't try to recognize INTO in non-SELECT statements. (IOW, this is really fallout from the RETURNING patch.)
* Provide for parallel restoration from a custom format archive. Each data andAndrew Dunstan2009-02-02
| | | | | | | | post-data step is run in a separate worker child (a thread on Windows, a child process elsewhere) up to the concurrent number specified by the new pg_restore command-line --multi-thread | -m switch. Andrew Dunstan, with some editing by Tom Lane.
* Allow reloption names to have qualifiers, initially supporting a TOASTAlvaro Herrera2009-02-02
| | | | | | | | qualifier, and add support for this in pg_dump. This allows TOAST tables to have user-defined fillfactor, and will also enable us to move the autovacuum parameters to reloptions without taking away the possibility of setting values for TOAST tables.
* When changing a regression test file one should also change the expected ↵Michael Meskes2009-02-02
| | | | output file.
* Set memory segment to '0', just to be sure.Michael Meskes2009-02-02
|
* Fixed auto allocation for binary data types.Michael Meskes2009-02-02
|
* Fixed bug in %s handling.Michael Meskes2009-02-02
|
* Put pg_user_mapping section into the right (alphabetical) order.Peter Eisentraut2009-02-02
|
* Fix unnest() to handle a toasted input array safely. Per report fromTom Lane2009-01-30
| | | | Alvaro.
* Check that connection limit is within valid range. IOW, not < -1.Heikki Linnakangas2009-01-30
| | | | | | It's missing in older versions too, but it doesn't seem worth back-porting. All negative are just harmlessly treated as "no limit", and tightening the check might even brake an application that relies on it.
* Make messages consistent with existing onesPeter Eisentraut2009-01-30
|
* Whitespace fix in messagePeter Eisentraut2009-01-30
|
* Update back-branch release notes.Tom Lane2009-01-30
|
* Update time zone data files to tzdata release 2009a: introduces Asia/KathmanduTom Lane2009-01-29
| | | | | as the preferred spelling of that zone name, corrects historical DST information for Switzerland and Cuba.
* Replace argument-checking Asserts with regular test-and-elog checks in allTom Lane2009-01-29
| | | | | | | | | | | | encoding conversion functions. These are not can't-happen cases because it's possible to create a conversion with the wrong conversion function for the specified encoding pair. That would lead to an Assert crash in an Assert-enabled build, or incorrect conversion otherwise, neither of which is desirable. This would be a DOS issue if production databases were customarily built with asserts enabled, but fortunately that's not so. Per an observation by Heikki. Back-patch to all supported branches.
* Fix incorrect dereferencing of char* to array's index.Teodor Sigaev2009-01-29
| | | | Per Tommy Gildseth <tommy.gildseth@usit.uio.no> report
* Message fixPeter Eisentraut2009-01-29
|
* Fix bug with multiple evaluation of tsearch2 compatibility trigger, triggerTeodor Sigaev2009-01-28
| | | | | data should be restored. Backpatch only for 8.3 because previous versions haven't such layer.
* Change warning-silencing code not to cast the pointer type, insteadMagnus Hagander2009-01-28
| | | | | | casting the value of the variable later. Per comments from Tom.
* Go over all OpenSSL return values and make sure we compare themMagnus Hagander2009-01-28
| | | | | | | | to the documented API value. The previous code got it right as it's implemented, but accepted too much/too little compared to the API documentation. Per comment from Zdenek Kotala.
* Support running as a service on Windows 7, by not specifyingMagnus Hagander2009-01-28
| | | | | | the JOB_OBJECT_UILIMIT_HANDLES flag. Dave Page & Magnus Hagander
* Silence compiler warning on win32.Magnus Hagander2009-01-27
| | | | ITAGAKI Takahiro
* Silence compiler warnings in new win32 locale codeMagnus Hagander2009-01-27
| | | | | | when building on mingw. ITAGAKI Takahiro
* Revert updatable viewsPeter Eisentraut2009-01-27
|
* Allow extracting and parsing of reloptions from a bare pg_class tuple, andAlvaro Herrera2009-01-26
| | | | | | refactor the relcache code that used to do that. This allows other callers (particularly autovacuum) to do the same without necessarily having to open and lock a table.
* Message format tuningPeter Eisentraut2009-01-26
|
* Tweak the existing special case for AIX in pg_getaddrinfo_all() to handleTom Lane2009-01-23
| | | | | yet another failure case in AIX's getaddrinfo(). Per report and patch by Andrew Chernow.
* Document that SELECT ... ORDER BY .. FOR UPDATE/SHARE might returnBruce Momjian2009-01-23
| | | | results out of order because of locking, per bug report 4593
* Message style reviewPeter Eisentraut2009-01-23
|
* Put back fast-path for the case that there's no backup blocks inHeikki Linnakangas2009-01-23
| | | | | RestoreBkpBlocks. Went missing in my recent refactoring patch, as pointed out by Simon's hot standby patch.
* Recreate ecpg_config.h with a stamp file created by config.status, samePeter Eisentraut2009-01-22
| | | | | way pg_config.h is handled. This avoids reruns of config.status on every build, if configure has been rerun.
* Support column-level privileges, as required by SQL standard.Tom Lane2009-01-22
| | | | Stephen Frost, with help from KaiGai Kohei and others
* Only skip pages marked as clean in the visibility map, if the last 32Heikki Linnakangas2009-01-22
| | | | | | | pages were marked as clean as well. The idea is to avoid defeating OS readahead by skipping a page here and there, and also makes it less likely that we miss an opportunity to advance relfrozenxid, for the sake of only a few skipped pages.
* Update comments to reflect that tgenabled is not a boolean anymore.Heikki Linnakangas2009-01-22
| | | | Jonah Harris, with minor tinkering by me.
* Automatic view update rulesPeter Eisentraut2009-01-22
| | | | Bernd Helmle
* Explicitly bind gettext to the correct encoding on Windows.Magnus Hagander2009-01-22
| | | | Original patch from Hiroshi Inoue.
* Remove stray ' character at end of line.Magnus Hagander2009-01-21
| | | | | For some reason it broke OpenBSD compile even when it's inside a #ifdef WIN32 block.....
* Forgot to handle the new SPI_OK_REWRITTEN result code in a couple places.Heikki Linnakangas2009-01-21
|
* Add new SPI_OK_REWRITTEN return code to SPI_execute and friends, for theHeikki Linnakangas2009-01-21
| | | | | | | case that the command is rewritten into another type of command. The old behavior to return the command tag of the last executed command was pretty surprising. In PL/pgSQL, for example, it meant that if a command was rewritten to a utility statement, FOUND wasn't set at all.