aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* 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
|
* Hashed LEFT JOIN would miss outer tuples with no inner match if the joinTom Lane2004-09-17
| | | | | | was large enough to be batched and the tuples fell into a batch where there were no inner tuples at all. Thanks to Xiaoyu Wang for finding a test case that exposed this long-standing bug.
* Translation updatePeter Eisentraut2004-09-13
|
* Protected access to variable m_preparedCount via synchronizedKris Jurka2004-09-13
| | | | | | | | function to prevent multiple threads using automatic cursors on the same connection from stomping over each others cursor. Originally Jan Wieck, re-reported by Jack Orenstein after accidental removal.
* ResultSet.moveToCurrentRow was checking the cached updateability flagKris Jurka2004-09-13
| | | | | | | | | | assuming it had been set instead of correctly calling the isUpdateable() method which sets the flag if needed. This usually worked because moveToCurrentRow is only useful after a moveToInsertRow call which would set the flag, but this is not required. David Bucciarelli
* Back-patch fix to disallow BEGIN/COMMIT/ROLLBACK inside SQL functions.Tom Lane2004-09-06
| | | | | Not sure why this isn't causing serious problems in some simple tests, but it definitely isn't going to do anything desirable...
* Repair 'expected both swapped tables to have TOAST tables' bug in 7.4Tom Lane2004-08-31
| | | | | branch. I wasn't excited about doing this when the first report came in, but now that we have two of 'em, I suppose it had better get fixed.
* Prevent pg_ctl restart from adding -D datadir multiple times.Bruce Momjian2004-08-28
|
* Make gistindex_keytest safe against NULL values. Same fix was alreadyTom Lane2004-08-27
| | | | | made in passing for 8.0, but now that we have a bug report showing it's needed, we should put it into 7.4 branch.
* Translation updatePeter Eisentraut2004-08-24
|
* Brand 7.4.5 ... now that was our shortest-lived release ever ...REL7_4_5Tom Lane2004-08-18
|
* Fix bug introduced into _bt_getstackbuf() on 2003-Feb-21: the initialTom Lane2004-08-17
| | | | | | | | | | value of 'start' could be past the end of the page, if the page was split by some concurrent inserting process since we visited it. In this situation the code could look at bogus entries and possibly find a match (since after all those entries still contain what they had before the split). This would lead to 'specified item offset is too large' followed by 'PANIC: failed to add item to the page', as reported by Joe Conway for scenarios involving heavy concurrent insertion activity.
* Stamp 7.4.4.REL7_4_4Tom Lane2004-08-15
|
* Back-patch fix for \r\n line endings in psql's COPY support.Tom Lane2004-08-14
| | | | Andrew Dunstan.
* Translation updatePeter Eisentraut2004-08-14
|
* Translation updatePeter Eisentraut2004-08-13
|
* New build for the 7.4.4 release.Kris Jurka2004-08-13
|
* Avoid crashing when restoring a saved GUC session_authorization valueTom Lane2004-08-11
| | | | that refers to a now-deleted userid. Per gripe from Chris Ochs.
* Decode V3 notice messages instead of leaving them in raw form.Kris Jurka2004-08-11
| | | | From Donald Fraser.
* DatabaseMetaData.getSearchString escape was a \ short of workingKris Jurka2004-08-11
| | | | | because both Java's String constructor and pg's input parser strip off backslashes.
* Fix failure to guarantee that a checkpoint will write out pg_clog updatesTom Lane2004-08-11
| | | | | | for transaction commits that occurred just before the checkpoint. This is an EXTREMELY serious bug --- kudos to Satoshi Okada for creating a reproducible test case to prove its existence.
* Translation updatePeter Eisentraut2004-08-10
|
* Change declared encodingPeter Eisentraut2004-07-25
|
* New translationPeter Eisentraut2004-07-25
|
* Fixed handling of cyclic defines.Michael Meskes2004-07-20
|
* Fix incorrect tracking of session authorization in the presence of ACLsTom Lane2004-07-19
| | | | | that contain rights granted by non-owners. Per bug report from Nishad Prakash.
* When renaming a column that participates in a foreign key, we mustTom Lane2004-07-17
| | | | | | force relcache rebuild for the other table as well as the column's own table. Otherwise, already-cached foreign key triggers will stop working. Per example from Alexander Pravking.
* When retrieving an array of numerics it attempted to set the scale onKris Jurka2004-07-15
| | | | | | the retrieved data to zero, which doesn't work for non-integer values. Oliver Dauben
* Test HAVING condition before computing targetlist of an Aggregate node.Tom Lane2004-07-10
| | | | | | | This is required by SQL spec to avoid failures in cases like SELECT sum(win)/sum(lose) FROM ... GROUP BY ... HAVING sum(lose) > 0; AFAICT we have gotten this wrong since day one. Kudos to Holger Jakobs for being the first to notice.
* OK, another try at Darwin threads.Bruce Momjian2004-07-08
|
* Remove OSX thread flags. No consistent report.Bruce Momjian2004-07-08
|
* Add OSX thread support for next 7.4.XBruce Momjian2004-07-07
|
* Fix broken logic for pretty-printing parenthesis-suppression in UNIONTom Lane2004-07-06
| | | | et al.
* Added free() calls against memory leak in interval.c.Michael Meskes2004-07-05
|
* Translation updatePeter Eisentraut2004-07-02
|
* - Only use typedefs inside their scope.Michael Meskes2004-06-27
| | | | | - Variables that are out of scope, were not removed all the time. - Make a varchar NULL set everything to 0 when not using indicators.
* Fix apparently harmless typo. {$srcdir} -> ${srcdir}Kris Jurka2004-06-24
| | | | Markus Schaber
* Close the existing socket connection when reverting to the V2Kris Jurka2004-06-22
| | | | | | protocol, or encountering other connection failures. Laurent Sylvain
* Fix some problems with result sets positioned before the start orKris Jurka2004-06-21
| | | | | after the end of results. You could still call a number of methods on them like getXXX, updateXXX, and updateRow().