summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2000-12-11Darwin porting patches from Peter Bierman <bierman@apple.com>Tom Lane
2000-12-10Here is patch to the ODBC driver to update the version to 2.5 and allowBruce Momjian
all forms of foreign keys be exposed to SQLForeignKeys. This patch is in addition to the ones I mailed yesterday (forget had I changed that as well....) Michael Fork - CCNA - MCP - A+ Network Support - Toledo Internet Access - Toledo Ohio
2000-12-10Here is a diff to info.c in interfaces/odbc that updates SQLForeignKeys toBruce Momjian
return foreign key information based on the pg_trigger system table. I have tested the patch with (what I believe) is all possible primary/foreign key combinations -- however I may have missed some, so if anyone feels like taking the patch for a test drive, here are some useful links: Michael Fork
2000-12-10Correct one description, add one.Peter Eisentraut
2000-12-09Portability fix from Ryan Kirkpatrick's Alpha patches. I believe thisTom Lane
is the only diff not accounted for by fmgr rewrite...
2000-12-09Suppress compiler warnings.Tom Lane
2000-12-09Fix a bug in conversion from big5 to EUC_TW (CNS 11643-1992 Plane 3)Tatsuo Ishii
Thanks Chih-Chang Hsieh <cch@cc.kmu.edu.tw> for finding the bug.
2000-12-08Repair erroneous use of hashvarlena() for MACADDR, which is not aTom Lane
varlena type. (I did not force initdb, but you won't see the fix unless you do one.) Also, make sure all index support operators and functions are careful not to leak memory for toasted inputs; I had missed some hash and rtree support ops on this point before.
2000-12-08Resurrect -F switch: it controls fsyncs again, though the fsyncs areTom Lane
mostly just on the WAL logfile nowadays. But if people want to disable fsync for performance, why should we say no?
2000-12-08Add missing copyright and RCS identification header.Tom Lane
2000-12-08Remove error check that disallowed setval() on a sequence with cacheTom Lane
value greater than one. The behavior this sought to disallow doesn't seem any less confusing than the other behaviors of cached sequences. Improve wording of some error messages, too. Update documentation accordingly. Also add an explanation that aborted transactions do not roll back their nextval() calls; this seems to be a FAQ, so it ought to be mentioned here...
2000-12-08Cache invalidation for vacuum of system tables.Hiroshi Inoue
2000-12-08REINDEX under WAL.Hiroshi Inoue
2000-12-08Improve error message for erroneous use of 'opaque' as plperl argumentTom Lane
or return type.
2000-12-08Improve error message for erroneous use of 'opaque' as pltcl argumentTom Lane
or return type.
2000-12-08Improve error message for erroneous use of 'opaque' as plpgsql argumentTom Lane
or return type.
2000-12-07Change lpad() and rpad() to behave more Oracle-compatibly when targetTom Lane
length is less than original string length.
2000-12-07Do not use 'ar cq' to build library archives, use 'ar cr' instead.Peter Eisentraut
2000-12-07checkretval() failed to cope with an empty SQL function body.Tom Lane
2000-12-07Make OVERLAPS operators conform to SQL92 spec regarding NULL handling.Tom Lane
As I read it, the spec requires a non-null result in some cases where one of the inputs is NULL: specifically, if the other endpoint of that interval is between the endpoints of the other interval, then the result is known TRUE despite the missing endpoint. The spec could've been a lot simpler if they did not intend this behavior. I did not force an initdb for this change, but if you don't do one you'll still see the old strict-function behavior.
2000-12-07RecordTransactionAbort() shouldn't log XLOG_XACT_ABORTHiroshi Inoue
if the transaction has already been committed ?
2000-12-07Silence compiler warning.Tom Lane
2000-12-07Silence compiler warning.Tom Lane
2000-12-07Make application of FOR UPDATE to a view work exactly like the parser'sTom Lane
transformForUpdate does: it should recurse into subqueries.
2000-12-07transformForUpdate() mustn't assume rowMarks list is initially empty.Tom Lane
It could be recursing into a sub-query where there was already a FOR UPDATE clause.
2000-12-06Clean up handling of FOR UPDATE inside views and subselects ... make itTom Lane
work where we can (given that the executor only handles it at top level) and generate an error where we can't. Note that while the parser has been allowing views to say SELECT FOR UPDATE for a few weeks now, that hasn't actually worked until just now.
2000-12-06-L linker options are now in LDFLAGS, not LIBS. The word hadn't gottenPeter Eisentraut
through to here yet.
2000-12-06Don't include miscadmin.h in elog.h, since the former is not part ofTom Lane
the installed header file set.
2000-12-05I've just seen what happens when the MEMORY_CONTEXT_CHECKING code firesTom Lane
an error at end of transaction ... and I did *not* like it. Reduce ERROR to NOTICE so that this situation doesn't cause an infinite loop.
2000-12-05In SELECT FOR UPDATE, silently ignore null CTIDs, rather than generatingTom Lane
an error as we used to. In an OUTER JOIN scenario, retrieving a null CTID from one of the input relations is entirely expected. We still want to lock the input rows from the other relations, so just ignore the null and keep going.
2000-12-05From Stephan Szabo:Tom Lane
I believe this should fix the issue that Philip Warner noticed about the check for unique constraints meeting the referenced keys of a foreign key constraint allowing the specification of a subset of a foreign key instead of rejecting it. I also added tests for a base case of this to the foreign key and alter table tests and patches for expected output.
2000-12-05Add regress test case for INSERT ... SELECT in rules.Tom Lane
2000-12-05Repair breakage of rules containing INSERT ... SELECT actions, per bugTom Lane
report from Joel Burton. Turns out that my simple idea of turning the SELECT into a subquery does not interact well *at all* with the way the rule rewriter works. Really what we need to make INSERT ... SELECT work cleanly is to decouple targetlists from rangetables: an INSERT ... SELECT wants to have two levels of targetlist but only one rangetable. No time for that for 7.1, however, so I've inserted some ugly hacks to make the rewriter know explicitly about the structure of INSERT ... SELECT queries. Ugh :-(
2000-12-03correctionsPeter Eisentraut
2000-12-03Ensure that all uses of <ctype.h> functions are applied to unsigned-charTom Lane
values, whether the local char type is signed or not. This is necessary for portability. Per discussion on pghackers around 9/16/00.
2000-12-03Update for new tests. These are extrapolations and will need to be confirmedTom Lane
correct on the relevant platforms.
2000-12-03Update for new tests.Tom Lane
2000-12-03Don't use 'private' as a parameter name in visible headers ... makes C++Tom Lane
very unhappy ...
2000-12-03Fix counting of lines in scripts with 'copy from stdin'.Peter Eisentraut
2000-12-03Repair usage of the OVERLAPS operator.Thomas G. Lockhart
Allow some operator-like tokens to be used as function names. Flesh out support for time, timetz, and interval operators and interactions. Regression tests pass, but non-reference-platform horology test results will need to be updated.
2000-12-03Convert files from DOS format to normal text.Thomas G. Lockhart
2000-12-03Support IBM S/390. Patches from Neale Ferguson@softwareAG-usa.com.Thomas G. Lockhart
2000-12-03Final(?) GUC clean-up. Update psql tab completion.Peter Eisentraut
2000-12-03Disable elog(ERROR|FATAL) in signal handlers inVadim B. Mikheev
critical sections of code.
2000-12-02Avoid memory leakage during regular COPY when outputting toasted values.Tom Lane
COPY BINARY is still broken for toasted data, however.
2000-12-02Avoid repeated detoasting (and possible memory leaks) when processingTom Lane
a toasted datum in VACUUM ANALYZE.
2000-12-02Don't cause --enable-cassert to define COPY_PARSE_PLAN_TREES automaticallyTom Lane
anymore. That won't teach us anything new for the rest of this release cycle, so it seems better to keep the --assert environment more like the non-assert environment for beta. I'm going to leave CLOBBER_FREED_MEMORY and MEMORY_CONTEXT_CHECKING turned on by --enable-cassert for now, however.
2000-12-01Make tuple receive/print routines TOAST-aware. Formerly, printtup wouldTom Lane
leak memory when printing a toasted attribute, and printtup_internal didn't work at all...
2000-12-01Fix inadequate tree-walking code in exec_eval_clear_fcache.Tom Lane
2000-12-01Make elog() switch to ErrorContext while invoking libpq output routines,Tom Lane
since those routines may do palloc's. We want to be fairly sure we can send the error message to the client even under low-memory conditions. That's what we stashed away 8K in ErrorContext for, after all ...