aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* 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.
* Stamp release 7.4.7.Tom Lane2005-01-30
|
* 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.
* 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.
* 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 :-(
* Our interface code for Spencer's regexp package was checking for regexpTom Lane2004-11-24
| | | | | | | error conditions during regexp compile, but not during regexp execution; any sort of "can't happen" errors would be treated as no-match instead of being reported as they should be. Noticed while trying to duplicate a reported Tcl bug.
* Back-patch fix for ALTER DATABASE failing to flush pg_database changesTom Lane2004-11-18
| | | | | to disk right away. This is just a one-liner change rather than trying to use FlushRelationBuffers().
* Fix off-by-one memory allocation, as reported by Rod Taylor. AlsoTom Lane2004-11-17
| | | | avoid repalloc'ing twice when once is sufficient.
* Backpatch fix from HEAD:Neil Conway2004-11-17
| | | | | | | | | Prevent a backend crash when processing CREATE TABLE commands with more than 65K columns, or when the created table has more than 65K columns due to adding inherited columns from parent relations. Fix a similar crash when processing SELECT queries with more than 65K target list entries. In all three cases we would eventually detect the error and elog, but the check was being made too late.
* Translation updatePeter Eisentraut2004-11-16
|
* List VALUE as a keyword.Michael Meskes2004-11-10
|
* In PGSharedMemoryIsInUse, assume that EACCES indicates a shmem segmentTom Lane2004-11-09
| | | | | | | | that is of no concern to us --- it must belong to a different userid, which means it is not a Postgres shmem segment (or at least, not one that is relevant to our data directory). I plan a more extensive fix in HEAD, but this is a simple change that prevents failure-to-reboot problems for single-postmaster installations.
* Fix unportable code in SockAddr_cidr_mask: you can't assume thatTom Lane2004-11-08
| | | | | shifting left by full word width gives zero. Per bug report from Tyson Thomson.
* fixed bug in REVOKE statement cat_str only has 8 argumentsDave Cramer2004-11-01
|
* New translationsPeter Eisentraut2004-10-30
|
* Rearrange order of pre-commit operations: must close cursors before doingTom Lane2004-10-29
| | | | ON COMMIT actions. Per bug report from Michael Guerin.
* Translation updatePeter Eisentraut2004-10-27
|
* Stamp release 7.4.6.REL7_4_6Tom Lane2004-10-22
|
* Prevent pg_ctl from being run as root. Since it uses configuration filesTom Lane2004-10-22
| | | | | | | | owned by postgres, doing "pg_ctl start" as root could allow a privilege escalation attack, as pointed out by iDEFENSE. Of course the postmaster would fail, but we ought to fail a little sooner to protect sysadmins unfamiliar with Postgres. The chosen fix is to disable root use of pg_ctl in all cases, just to be confident there are no other holes.
* Correctly cast the return value of a CallableStatement when getShortKris Jurka2004-10-21
| | | | | | | | is called. getByte presents a can't happen situation as no function can return a TINYINT because pg doesn't have an equivalent type. Make this throw an exception if we get to this point. Thanks to Christian Niles.
* Repair possible failure to update hint bits back to disk, perTom Lane2004-10-13
| | | | | | http://archives.postgresql.org/pgsql-hackers/2004-10/msg00464.php. I plan a more permanent fix in HEAD, but for the back branches it seems best to just touch the places that actually have a problem.
* Translation updatePeter Eisentraut2004-10-12
|
* '::' is no longer interpreted as a variable in a prepare statement.Michael Meskes2004-10-05
|
* Convert pg_stat_get_backend_idset to use the existing SRF support.Tom Lane2004-10-01
| | | | | | This seems the cleanest way of fixing its lack of a shutdown callback, which was preventing it from working correctly in a query that didn't run it to completion. Per bug report from Szima GÄbor.
* Translation updatePeter Eisentraut2004-09-27
|
* Repair bug that would allow libpq to think a command had succeeded whenTom Lane2004-09-26
| | | | | it really hadn't, due to double output of previous command's response. Fix prevents recursive entry to libpq routines. Found by Jan Wieck.
* Translation updatePeter Eisentraut2004-09-20
|
* Translation updatePeter Eisentraut2004-09-20
|
* Fix memory leak in tokenize_file, per report from Vadim Passynkov.Tom Lane2004-09-18
|