summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2000-12-15Change ET_WARN to ET_NOTICE to match internal codes, leave message asBruce Momjian
WARNING. Fix German FAQ mention about warning.
2000-12-15Make algorithm for resolving UNKNOWN function/operator inputs beTom Lane
insensitive to the order of arguments. Per pghackers discussion 12/10/00.
2000-12-15here is a patch fixing today's bug report:Bruce Momjian
> Date: Thu, 14 Dec 2000 12:44:47 +0100 (CET) > From: Kovacs Zoltan Sandor <tip@pc10.radnoti-szeged.sulinet.hu> > To: pgsql-bugs@postgresql.org > Subject: [BUGS] to_char() causes backend to close connection > > Hi, this query gives different strange results: > > select to_char(now()::abstime,'YYMMDDHH24MI'); > > I get e.g. a "backend closed the channel unexpectedly..." error with > successful or failed resetting attempt (indeterministic) Again thanks Kovacs, you found really designing bug, that appear if anyone write bad format template to "number" version of to_char() (as you with 'DD'). Karel
2000-12-15there is one problem with Zoltan patches commited into the tree:Bruce Momjian
if we set autocommit off and issued COMMIT (or ROLLBACK) on a connection new transaction is not started Max Khon
2000-12-15List .o file explicitly as dependency, to work around a gmake bugPeter Eisentraut
(intermediate .o file gets deleted and rebuild on next make invocation).
2000-12-15Remove obsolete comment.Tom Lane
2000-12-15Print the error message before attempting to reset the connection after aPeter Eisentraut
backend crash.
2000-12-15Remove a few remaining vestiges of elog(WARN).Tom Lane
2000-12-14BugfixJan Wieck
Trying to connect to template0 left a global referenced buffer because the scan of pg_database wasn't ended properly before elog(FATAL). Jan
2000-12-14Planner speedup hacking. Avoid saving useless pathkeys, so that pathTom Lane
comparison does not consider paths different when they differ only in uninteresting aspects of sort order. (We had a special case of this consideration for indexscans already, but generalize it to apply to ordered join paths too.) Be stricter about what is a canonical pathkey to allow faster pathkey comparison. Cache canonical pathkeys and dispersion stats for left and right sides of a RestrictInfo's clause, to avoid repeated computation. Total speedup will depend on number of tables in a query, but I see about 4x speedup of planning phase for a sample seven-table query.
2000-12-14Make sure to not handle deactivated system indexesHiroshi Inoue
2000-12-14Change StoreCatalogInheritance() to work from a list of parent relationTom Lane
OIDs rather than names. Aside from being simpler and faster, this way doesn't blow up in the face of 'create temp table foo () inherits (foo)'. Which is a rather odd thing to do, but it seems some people want to.
2000-12-13Fix thinko for case of outer join where inner table is empty: shouldTom Lane
output first outer tuple before advancing...
2000-12-12Cache eval cost of qualification expressions in RestrictInfo nodes toTom Lane
avoid repeated evaluations in cost_qual_eval(). This turns out to save a useful fraction of planning time. No change to external representation of RestrictInfo --- although that node type doesn't appear in stored rules anyway.
2000-12-11Remove elog for online log files.Vadim B. Mikheev
2000-12-11Make all ODBCVER = 2.50Bruce Momjian
2000-12-11Allow resultmap file to be missing, for use in contrib self-tests.Tom Lane
2000-12-11Fix ODBC compile, prevent ODBCVER warning, though the version numbers goBruce Momjian
not match.
2000-12-11elog(LOG)-->elog(DEBUG) for skipped logs.Vadim B. Mikheev
2000-12-11Add Darwin-specific geometry test file.Tom Lane
2000-12-11Tweak Darwin patch to get right include order.Tom Lane
2000-12-11Resolve complie error(was my fault).Hiroshi Inoue
2000-12-11*redo: Heap move* neglects to set t_cmin for MOVED_IN tuples.Hiroshi Inoue
2000-12-11Fix ILIKE bug (only in multi-byte case)Tatsuo Ishii
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.