summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-02-02Avoid generating invalid character encoding sequences in make_greater_string.Tom Lane
Not sure how this mistake evaded detection for so long.
2004-02-02Use Tcl_PutEnv() in place of putenv() in libpgtcl, as the latter canNeil Conway
apparently corrupt the Tcl runtime. Per suggestion from Michael Brusser <michael@synchronicity.com>
2004-01-31Fix text_position to not scan past end of source string in multibyteTom Lane
case, per report from Korea PostgreSQL Users' Group.
2004-01-28- Fixed prototype for ECPGprepared_statement to not moan about "const char"Michael Meskes
- Fixed parsing of nested structures.
2004-01-28Fix oversight in check_ungrouped_columns optimization that avoidsTom Lane
unnecessary checks for complex grouping expressions: we cannot check whether the expressions are simple Vars until after we apply flatten_join_alias_vars, because in the case of FULL JOIN that routine can introduce non-Var expressions. Per example from Joel Knight.
2004-01-28simplify_function() mustn't try to evaluate functions that returnTom Lane
composite types, because TupleTableSlots aren't Datums and can't be stored in Const nodes. We can remove this restriction if we ever adopt a cleaner runtime representation for whole-tuple results, but at the moment it's broken. Per example from Thomas Hallgren.
2004-01-27Run stats test separately, not as part of a parallel group, to avoidTom Lane
possible failures due to stats collector not updating fast enough under heavy load. Per report from Jeremy Yoder.
2004-01-26Repair incorrect order of operations in GetNewTransactionId(). We mustTom Lane
complete ExtendCLOG() before advancing nextXid, so that if that routine fails, the next incoming transaction will try it again. Per trouble report from Christopher Kings-Lynne.
2004-01-26Docs fix from Kris Jurka <books@ejurka.com>Teodor Sigaev
2004-01-24Fix problems with dropped columns in pltcl triggers, per report from Patrick ↵Tom Lane
Samson.
2004-01-24Repair planner failure for cases involving Cartesian products insideTom Lane
IN (sub-SELECT) constructs. We must force a clauseless join of the sub-select member relations, but it wasn't happening because the code thought it would be able to use the join clause arising from the IN.
2004-01-22Translation updatePeter Eisentraut
2004-01-22Fix incorrect dumping of database LOCATION from 7.0.* servers.Tom Lane
Per report from Mattias Kregert.
2004-01-22Fix oversight in optimization that avoids an unnecessary projection stepTom Lane
when scanning a table that we need all the columns from. In case of SELECT INTO, we have to check that the hasoids flag matches the desired output type, too. Per report from Mike Mascari.
2004-01-21Ensure fflush(stdout) happens in all cases, per gripe from Jon Sablatnig.Tom Lane
2004-01-21Back-patch repairs for --disable-shared support.Tom Lane
2004-01-21Added WHENEVER NOT_FOUND to SELECT/INSERT/UPDATE/DELETE.Michael Meskes
2004-01-19Correct type for isalnumTeodor Sigaev
2004-01-19Fix typo.Peter Eisentraut
2004-01-18Translation updatePeter Eisentraut
2004-01-18Don't use %s-with-precision format spec to truncate data being displayedTom Lane
in a COPY error message. It seems that glibc gets indigestion if it is asked to truncate strings that contain invalid UTF-8 encoding sequences. vsnprintf will return -1 in such cases, leading to looping and eventual memory overflow in elog.c. Instead use our own, more robust pg_mbcliplen routine. I believe this problem accounts for several recent reports of unexpected 'out of memory' errors during COPY IN.
2004-01-18Repair faulty plan generation in cases where we choose to implement anTom Lane
IN clause by mergejoin, and a type coercion is needed just above the subplan. A more extensive patch will follow in HEAD.
2004-01-14Translation updatesDennis Bjorklund
2004-01-14pg_settings should have UPDATE privilege allowed to public.Tom Lane
(Can't force initdb for this in 7.4 branch, but we can at least see to it that post-7.4.2 installations will get it right.)
2004-01-14The no-updates-to-system-catalogs-unless-usecatupd restriction shouldTom Lane
not apply to system views. It never mattered before 7.4, but it does now.
2004-01-14Revert ill-starred change of 13-Feb-02: it appeared to fix a problem ofTom Lane
incorrect permissions checking, but in fact disabled most all permissions checks for view updates. This corrects problems reported by Sergey Yatskevich among others, at the cost of re-introducing the problem previously reported by Tim Burgess. However, since we'd lived with that problem for quite awhile without knowing it, we can live with it awhile longer until a proper fix can be made in 7.5.
2004-01-13Fix format string error.Peter Eisentraut
2004-01-13Translation updatePeter Eisentraut
2004-01-11Translation updatesDennis Bjorklund
2004-01-11Mark string for translation.Dennis Bjorklund
2004-01-10Fix subquery pullup logic to not be fooled when a view that appearsTom Lane
'simple' references another view that is not simple. Must recheck conditions after performing recursive pullup. Per example from Laurent Perez, 9-Jan-04.
2004-01-09Fix incorrect SQL syntax emitted when -E is given without -P.Tom Lane
Report and fix from Martin Pitt.
2004-01-08Remove broken (and unnecessary) definition of operator <> for _int4Tom Lane
datatype; the generic array comparators added in 7.4 supersede this. Per report and patch from Korea PostgreSQL Users' Group.
2004-01-08Update OSF thread flags for non-gcc compiles.Bruce Momjian
2004-01-08Translation updatesDennis Bjorklund
2004-01-08Update Solaris thread setting for non-gcc compilers.Bruce Momjian
2004-01-07Translation updatesPeter Eisentraut
2004-01-05Translation updatesPeter Eisentraut
2004-01-04Correct gettext URL.Peter Eisentraut
2004-01-04Fixed bug in GRANT OPTION FOR parsing.Michael Meskes
2004-01-04Fix portability bugs: char values passed to <ctype.h> functions mustTom Lane
be cast to unsigned char. We have learned this the hard way before.
2004-01-04Fix discrepancy in prototypes for HPUX pg_dlerror.Tom Lane
2004-01-04Fix ReadOffset() to work correctly when off_t is wider than int.Tom Lane
2004-01-04Remove trailing semicolons from macro initializations in plpython.Bruce Momjian
Problem report on True64 Unix by Nikola Milutinovic. ]
2004-01-01Do an explicit fflush after writing a progress message with puts.Tom Lane
This ensures stdout is kept in sync with messages on stderr. Per report from Olaf Ferger.
2004-01-01Backpatch Solaris non-gcc thread compile fix to 7.4.X.Bruce Momjian
2003-12-30Avoid running out of memory during hash_create, by not passing aTom Lane
number-of-buckets that exceeds the size we actually plan to allow the hash table to grow to. Per trouble report from Sean Shanny.
2003-12-29Added missing whitespaces to array argument parsing.Michael Meskes
2003-12-28Fix sanity-check code that mistakenly assumed error and notice messagesTom Lane
could never exceed 30K. Per report from Andreas Pflug.
2003-12-28Avoid infinite loop if connection is lost during PQexecStart() orTom Lane
PQexecFinish(). Per report from Andreas Pflug.