aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Add comment about permissions on pg_ts* tablesTeodor Sigaev2005-04-19
|
* When positioned before the start of a ResultSet issuing relative(0)Kris Jurka2005-04-18
| | | | | results in an exception being thrown when it really should be a no-op.
* Don't try to constant-fold functions returning RECORD, since the optimizerTom Lane2005-04-14
| | | | | isn't presently set up to pass them an expected tuple descriptor. Bug has been there since 7.3 but was just recently reported by Thomas Hallgren.
* Make constant-folding produce sane output for COALESCE(NULL,NULL),Tom Lane2005-04-10
| | | | | that is a plain NULL and not a COALESCE with no inputs. Fixes crash reported by Michael Williamson.
* In cost_mergejoin, the early-exit effect should not apply to theTom Lane2005-04-04
| | | | outer side of an outer join. Per andrew@supernews.
* Flush any remaining statistics counts out to the collector at processTom Lane2005-03-31
| | | | | | | | exit. Without this, operations triggered during backend exit (such as temp table deletions) won't be counted ... which given heavy usage of temp tables can lead to pg_autovacuum falling way behind on the need to vacuum pg_class and pg_attribute. Per reports from Steve Crawford and others.
* Fix various comparing functionsTeodor Sigaev2005-03-31
|
* Prevent to_char(interval) from dumping core on month-related formatsTom Lane2005-03-26
| | | | when a zero-month interval is given. Per discussion with Karel.
* array_map can't use the fn_extra field of the provided fcinfo struct asTom Lane2005-03-24
| | | | | its private storage, because that belongs to the function that it is supposed to call. Per report from Ezequiel Tolnay.
* Previous "64-bit fix" for intagg didn't actually work. This is alreadyTom Lane2005-03-23
| | | | | fixed properly in CVS tip, but we need a band-aid for back branches. Per report from Ron Mayer.
* Fix ALTER DATABASE RENAME to allow the operation if user is a superuserTom Lane2005-03-12
| | | | | who for some reason isn't marked usecreatedb. Per report from Alexander Pravking. Also fix sloppy coding in have_createdb_privilege().
* Some builds (depends on crypto engine support?) of OpenSSLNeil Conway2005-03-12
| | | | | | | | | | | | 0.9.7x have EVP_DigestFinal function which which clears all of EVP_MD_CTX. This makes pgcrypto crash in functions which re-use one digest context several times: hmac() and crypt() with md5 algorithm. Following patch fixes it by carring the digest info around EVP_DigestFinal and re-initializing cipher. Marko Kreen.
* Prevent rank change in case of duplicate search termsTeodor Sigaev2005-03-05
|
* Release proclock immediately in RemoveFromWaitQueue() if it representsTom Lane2005-03-01
| | | | | | no held locks. This maintains the invariant that proclocks are present only for procs that are holding or awaiting a lock; when this is not true, LockRelease will fail. Per report from Stephen Clouse.
* Document that only a table's owner may TRUNCATE it. Per Keith Worthington.Tom Lane2005-02-22
|
* Ensure that the resolved datatype of any unknown Param is propagatedTom Lane2005-02-19
| | | | | into the sub-SELECT targetlist when it appears in the context INSERT INTO foo SELECT $1 ... Per report from Abhijit Menon-Sen.
* ALTER LANGUAGE RENAME has never worked. Per Sergey Yatskevich.Tom Lane2005-02-14
|
* Back-patch fix for a typo that unintentionally disabled backward scansTom Lane2005-02-10
| | | | for all SPI-created cursors.
* If we're gonna check for array overrun, we really should do so beforeTom Lane2005-02-08
| | | | overrunning the array, not after.
* Prevent 4 more buffer overruns in the PL/PgSQL parser. This is just aNeil Conway2005-02-07
| | | | | minimally-invasive fix for stable branches; a cleaner fix will be committed to HEAD soon.
* Repair CLUSTER failure after ALTER TABLE SET WITHOUT OIDS. Turns outTom Lane2005-02-06
| | | | | | | there are corner cases involving dropping toasted columns in which the previous coding would fail, too: the new version of the table might not have any TOAST table, but we'd still propagate possibly-wide values of dropped columns forward.
* Back-port heap_deformtuple() into 7.4 branch; needed for planned fix forTom Lane2005-02-06
| | | | CLUSTER failure after ALTER TABLE SET WITHOUT OIDS.
* Recommend security@postgresql.org as the contact point for security-related ↵REL7_4_7Tom Lane2005-01-30
| | | | bugs.
* Stamp release 7.4.7.Tom Lane2005-01-30
|
* We haven't had a fixed limit on rule recursion depth since 7.3 ...Tom Lane2005-01-29
| | | | but the documentation still said so.
* Make sure contrib C functions are marked strict where needed.Tom Lane2005-01-29
| | | | Kris Jurka
* Check that aggregate creator has the right to execute the transitionTom Lane2005-01-27
| | | | functions of the aggregate, at both aggregate creation and execution times.
* Now that I look at it, int_array_enum() didn't work either.Tom Lane2005-01-27
|
* Fix security and 64-bit issues in contrib/intagg. This code couldTom Lane2005-01-27
| | | | | stand to be rewritten altogether, but for now just stick a finger in the dike.
* Back-patch 8.0 version of plperl_hash_from_tuple() into prior releasesTom Lane2005-01-26
| | | | | to fix failure to cope with quote marks in field values; not to mention that it is shorter and faster. Per report from Charles Haron.
* Mark the text_soundex() function as "strict", to avoid crashing on NULLNeil Conway2005-01-26
| | | | input. Also, may as well mark it "cacheable" as well. From Kris Jurka.
* Disallow LOAD to non-superusers. Per report from John Heasman.Tom Lane2005-01-24
|
* Fix memory leak in rtdosplit, per report from Clive Page.Tom Lane2005-01-24
|
* The result of a FULL or RIGHT join can't be assumed to be sorted by theTom Lane2005-01-23
| | | | | left input's sorting, because null rows may be inserted at various points. Per report from Ferenc Lutischá¸n.
* Prevent overrunning a heap-allocated buffer if more than 1024 parametersNeil Conway2005-01-21
| | | | | | to a refcursor declaration are specified. This is a minimally-invasive fix for the buffer overrun -- a more thorough cleanup will be checked into HEAD.
* Fix mapping infinite timestamp values to arbitrary dates.Kris Jurka2005-01-13
| | | | Report from Oliver Siegmar.
* interval_out failed to mention 'ago' for negative intervals in SQL andTom Lane2005-01-11
| | | | GERMAN datestyles. Ancient bug reported by Terry Lee Tucker.
* Avoid memory leakage during VACUUM FULL when an index expression orTom Lane2004-12-23
| | | | | index predicate uses temporary memory for evaluation. Per example from Jean-Gerard Pailloncy.
* Make array_cat more paranoid about checking datatypes in empty arrays.Tom Lane2004-12-17
|
* array_map failed to insert correct result type in an empty array.Tom Lane2004-12-17
| | | | Per example from Florian Pflug.
* Avoid generating excess (and illegal) parentheses around an aliased JOINTom Lane2004-12-13
| | | | in prettyprint mode. Andreas Pflug
* Back-patch copyOject fix for EXPLAIN/PREPARE.Tom Lane2004-12-13
|
* Translation updatePeter Eisentraut2004-12-11
|
* Translation updatePeter Eisentraut2004-12-11
|
* Use StrNCpy not strncpy to fill hash key, to ensure the resulting keyTom Lane2004-12-03
| | | | | | is null-terminated. I think this is not a real bug because the parser would always have truncated the identifier to NAMEDATALEN-1 already, but let's be safe. Per report from Klocwork.
* Translation fix by Julien CristauPeter Eisentraut2004-12-03
|
* Teach regex_fixed_prefix() the correct handling of advanced regexTom Lane2004-12-02
| | | | | | escapes --- they aren't simply quoted characters. Problem noted by Antti Salmela. Also fix problem with incorrect handling of multibyte characters when followed by a quantifier.
* Fix timestamptz_age() to do calculation in local timezone not GMT, per bug 1332.Tom Lane2004-12-01
|
* Avoid scribbling on original parsetree during DECLARE CURSOR. ThisTom Lane2004-11-28
| | | | | | prevents problems when the DECLARE is in a portal and is executed repeatedly, as is possible in v3 protocol. Per analysis by Oliver Jowett, though I didn't use his patch exactly.
* Install Tcl regex fixes to sync our regex engine with Tcl 8.4.8 (up fromTom Lane2004-11-24
| | | | | 8.4.1). This corrects some curious regex bugs, though not the greediness issue I was hoping to find a solution for :-(