summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2001-08-07Commit BEOS patch to 7.1.X.Bruce Momjian
2001-08-03Back-patch fixes for dumping user-defined types and dumping commentsTom Lane
on views.
2001-07-31Fix optimizer to not try to push WHERE clauses down into a sub-SELECT thatTom Lane
has a DISTINCT ON clause, per bug report from Anthony Wood. While at it, improve the DISTINCT-ON-clause recognizer routine to not be fooled by out- of-order DISTINCT lists. Also, back-patch earlier fix to not push down into sub-SELECT with LIMIT.
2001-07-29Arrange for GRANT/REVOKE on a view to be dumped at the right time,Tom Lane
namely after the view definition rather than before it. Bug introduced in 7.1 by changes to dump stuff in OID ordering.
2001-07-02In any case, it seems the REL7_1 branch needs the update too...Tom Lane
2001-06-29Fix longstanding error in VACUUM: sometimes would examine a buffer pageTom Lane
after writing/unpinning it. An actual failure is unlikely, unless the system is tremendously short of buffers ... but a bug is a bug.
2001-06-13Back-patch fix for attempt to pfree a value that's not palloc'dTom Lane
(it's a field of a tuple). I see Jan has already fixed this in current sources, but 7.1.* is pretty badly broken here.
2001-06-12Repair problem with multi-action rules in combination with any nontrivialTom Lane
manipulation of rtable/jointree by planner. Rewriter was generating actions that shared rtable/jointree substructure, which caused havoc when planner got to the later actions that it'd already mucked up.
2001-06-06Back-patch change to not keep WAL segments just for UNDO information.Tom Lane
2001-05-31RI triggers would fail for datatypes using old-style equal function,Tom Lane
because cached fmgr info contained reference to a shorter-lived data structure. Also guard against possibility that fmgr_info could fail, leaving an incomplete entry present in the hash table.
2001-05-28Fix a message error in utf_to_localTatsuo Ishii
2001-05-22Patch from Barry Lind to correctly decode time zones in timestamp results.REL7_1_2Thomas G. Lockhart
Without patch, the time zone field is ignored and the returned time is not correct. Already applied to the development tree...
2001-05-18Correct recently-broken avg(interval) definition. We can't force anTom Lane
initdb to fix this in 7.1 installations, but it seems better to be shipping a correct entry than a wrong one.
2001-05-17Back-patch fix for race condition in heap_update (make sure we holdTom Lane
the buffer lock while checking page free space).
2001-05-15Update crypto with patch for computation.Bruce Momjian
2001-05-15EvalPlanQual was thoroughly broken for concurrent update/delete on inheritanceTom Lane
trees (mostly my fault). Repair. Also fix long-standing bug in ExecReplace: after recomputing a concurrently updated tuple, we must recheck constraints. Make EvalPlanQual leak memory with somewhat less enthusiasm than before, although plugging leaks fully will require more changes than I care to risk in a dot-release.
2001-05-14Current implementation of FOR UPDATE has no hope of working correctlyTom Lane
for relations on the nullable side of an OUTER JOIN. For now I think we'd better refuse such queries.
2001-05-13Cope with configure arguments that contain spaces.Peter Eisentraut
2001-05-12proisstrict must be assumed FALSE when dumping from a 7.0 database,Tom Lane
not TRUE. Otherwise we break pl call handler functions. fmgr_oldstyle will take care of making sure the semantics are the same for C functions. Clean up some slightly grotty coding in 7.0 pg_class reading, also.
2001-05-12Backpatch jdbc1 compile failure fix.Bruce Momjian
2001-05-12 - Don't dump COMMENTs in data-only dumpsPhilip Warner
- Fix view dumping SQL for V7.0 - Fix bug when getting view oid with long view names - Treat SEQUENCE SET TOC entries as data entries rather than schema entries. - Make allowance for data entries that did not have a data dumper routine (eg. SEQUENCE SET)
2001-05-11Stamp for 7.1.2. Ready when you are...Bruce Momjian
2001-05-09Fix remaining RI permission problems (cascaded update/delete, restrict,Peter Eisentraut
set null/default).
2001-05-08Append and SubqueryScan nodes were not passing changed-parameter signals downTom Lane
to their children, leading to misbehavior if they had any children that paid attention to chgParam (most plan node types don't). Append's bug has been there a long time, but nobody had noticed because it used to be difficult to create a query where an Append would be used below the top level of a plan; so there were never any parameters getting passed down. SubqueryScan is new in 7.1 ... and I'd modeled its behavior on Append :-(
2001-05-08Un-break exec_move_row() for case that a NULL tuple and tupdesc areTom Lane
passed, which occurs when no rows are retrieved by a SELECT. Mea maxima culpa ... I should have caught this.
2001-05-06Fix collateral damage from previous (rev 1.49) patch.Peter Eisentraut
2001-05-04Makefile should have automatic dependency for parser.o too, if it'sTom Lane
going to have any at all.
2001-05-04Seems like we should not hold off cancel/die interrupts while we areTom Lane
running deferred triggers. They are really part of the regular transaction, and they could take awhile.
2001-05-03Consolidate several near-identical uses of mktime() into a singleTom Lane
routine DetermineLocalTimeZone(). In that routine, be more wary of broken mktime() implementations than the original code was: don't allow mktime to change the already-set y/m/d/h/m/s information, and don't use tm_gmtoff if mktime failed. Possibly this will resolve some of the complaints we've been hearing from users of Middle Eastern timezones on RedHat.
2001-05-03BTW it does not add encodign it just patches existing one (KOI8) toBruce Momjian
support two - KOI8-R and KOI8-U (latter is superset of the former if not to take to the account pseudographics) Andy Rysin
2001-05-03Permission checking wasn't quite right for insert/update/delete rules,Tom Lane
either :-(.
2001-05-03apply a little patch:Bruce Momjian
Oleg Bartunov
2001-05-03Ensure that btree sort ordering functions and boolean comparison operatorsTom Lane
give consistent results for all datatypes. Types float4, float8, and numeric were broken for NaN values; abstime, timestamp, and interval were broken for INVALID values; timetz was just plain broken (some possible pairs of values were neither < nor = nor >). Also clean up text, bpchar, varchar, and bit/varbit to eliminate duplicate code and thereby reduce the probability of similar inconsistencies arising in the future.
2001-05-03Permissions were not checked correctly when one view invokes another.Tom Lane
Per bug report from Lieven Van Acker, 5/2/01.
2001-05-03Improve list.Bruce Momjian
2001-05-03Updates for 7.1.1. Not done yet.Bruce Momjian
2001-05-03Correct pg_description entry for type macaddr.Tom Lane
2001-05-03Fixes to make ecpg work on Cygwin, from Jason Tishler ↵Tom Lane
<Jason.Tishler@dothill.com>.
2001-05-02Previous commit mistakenly converted all newlines to DOS style (CR/LF).Tom Lane
Convert back to Unix style --- it seems some versions of nmake insist on this.
2001-05-02Add note explaining why inserts take longer as tables grow. Also suggestD'Arcy J.M. Cain
the way to handle this.
2001-05-02Change "|zzlzzzz" argument specification to "|zzizzzz" so that the code worksD'Arcy J.M. Cain
properly on 64 bit systems. Change submitted by Marc Poinot (Marc.Poinot@onera.fr)
2001-05-01Synced gram.y and preproc.y.Tom Lane
2001-05-01Allow a string argument to the EXTRACT() function.Thomas G. Lockhart
This is an extension to the SQL9x standard, but is consistant with usage of the underlying date_part() function used to implement it. Example: EXTRACT('YEAR',...) No impact on regression tests.
2001-05-011) fix bugs reported by Andrea Aime.Hiroshi Inoue
2) fix a bug reported by Jan Wieck. psqlodbc is 7.01.0005 now.
2001-04-30exec_move_row() should be more forgiving of tuples with a differentTom Lane
number of columns than it was expecting, for reasons that are now documented in the code...
2001-04-30Suppress pull-up of subqueries that are in the nullable side of an outerTom Lane
join. This is needed to avoid improper evaluation of expressions that should be nulled out, as in Victor Wagner's bug report of 4/27/01. Pretty ugly solution, but no time to do anything better for 7.1.1.
2001-04-29Add missing Unicode support for Cyrillic encodings.Tatsuo Ishii
Patches contributed by Victor Wagner.
2001-04-26Remove bogus Assert from AbsoluteTimeIsBefore(). (If you don't thinkTom Lane
it's bogus, try building a btree index on the regress tests' abstime_tbl.)
2001-04-25Tweak nestloop costing to weight restart cost of inner path more heavily.Tom Lane
Without this, it was making some pretty silly decisions about whether an expensive sub-SELECT should be the inner or outer side of a join...
2001-04-25- Fixed CONSTRAINT TRIGGER dump to record tgconstrelid properlyPhilip Warner
- pgsql v7.0 compatbility