1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-08 06:02:22 +03:00
Commit Graph

9749 Commits

Author SHA1 Message Date
Tom Lane
1af623c861 Remove stray semicolons in old ecpg preproc grammar ... modern bison
versions won't compile it at all with those there.  Probably of only
academic interest now, but ...
2004-10-13 22:09:20 +00:00
Tom Lane
199fb54b61 Fix breakage in hashjoin from recent backpatch of left-join bug fix.
(That's what I get for not testing the back branches *before* committing.)
2004-10-13 21:56:22 +00:00
Tom Lane
f4d5c52a83 Hashed LEFT JOIN would miss outer tuples with no inner match if the join
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.
2004-09-17 18:29:54 +00:00
Tom Lane
3c06653fbd Repair multiple memory leaks in getTables(), including one that could
easily exhaust memory on databases with more than a few hundred triggers.
I don't expect any more releases of these old versions, but let's put the
fix in CVS just so it's archived.
2004-03-20 18:12:50 +00:00
Hiroshi Inoue
a59881aae1 Keep the contents of TIDs not the pointers.
Tid scan has been broken for 7.1.
2001-10-01 09:38:14 +00:00
Tom Lane
e419d86fe2 Back-patch deadlock recovery fix into 7.1 tree, in case someone needs it. 2001-09-12 17:14:39 +00:00
Marc G. Fournier
8c78169c4a Add a changelog file for 7.1.3 from 7.1.2 REL7_1_3 2001-08-17 17:10:16 +00:00
Peter Eisentraut
347ff0a526 update version to 7.1.3 2001-08-16 19:44:49 +00:00
Bruce Momjian
8b97a098e1 This patch fixes the well-known but unfixed bug that fetchone() always
returns the first result in the DB-API compliant wrapper. It turned out
that the bug was way down in the C code.

Gerhard Häring
2001-08-16 15:21:53 +00:00
Bruce Momjian
c43d241891 just a test 2001-08-15 19:32:50 +00:00
Bruce Momjian
8572fadfd1 update 2001-08-15 19:32:33 +00:00
Bruce Momjian
3ac8aea3e3 update 2001-08-15 19:32:05 +00:00
Bruce Momjian
36fe4ac8f5 test 2001-08-15 19:31:41 +00:00
Bruce Momjian
03eb74312e Add HISTORY for 7.1.3. Packaging done. 2001-08-14 21:22:08 +00:00
Tom Lane
bbdf4ab494 Hmm, looks like Bruce's auto-run-autoconf script doesn't work for
old branches...
2001-08-13 20:09:03 +00:00
Tom Lane
70e0191395 Make hashjoin give the right answer with toasted input data. 2001-08-13 19:54:00 +00:00
Hiroshi Inoue
59e0a858f9 fix my old fault. 2001-08-09 19:22:24 +00:00
Bruce Momjian
1dcabacd45 Update branding for 7.1.3, no HISTORY yet. 2001-08-09 16:39:20 +00:00
Tom Lane
12c8c6af15 Fix Cygwin build, per Jason Tishler. 2001-08-09 13:52:15 +00:00
Tom Lane
6281f348df Back-patch fix to disallow COPY TO/FROM a view (or anything else that's
not a plain relation).
2001-08-08 22:32:29 +00:00
Tom Lane
a11c8be973 Back-patch fix to prevent infinite loop when $PGDATA is not writable. 2001-08-08 22:25:45 +00:00
Bruce Momjian
7d03946ffb Commit BEOS patch to 7.1.X. 2001-08-07 18:36:52 +00:00
Tom Lane
7df68bdd50 Back-patch fixes for dumping user-defined types and dumping comments
on views.
2001-08-03 20:14:07 +00:00
Tom Lane
a1e17cd5c5 Fix optimizer to not try to push WHERE clauses down into a sub-SELECT that
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-31 18:39:13 +00:00
Tom Lane
d6b1a407f4 Arrange for GRANT/REVOKE on a view to be dumped at the right time,
namely after the view definition rather than before it.  Bug introduced
in 7.1 by changes to dump stuff in OID ordering.
2001-07-29 22:12:49 +00:00
Tatsuo Ishii
a88408be08 Fix typo. createdb -t --> createdb -T 2001-07-06 02:13:04 +00:00
Tom Lane
e0c8f4bbad In any case, it seems the REL7_1 branch needs the update too... 2001-07-02 19:34:41 +00:00
Tom Lane
1d15afda13 Fix longstanding error in VACUUM: sometimes would examine a buffer page
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-29 16:34:49 +00:00
Tom Lane
807a262657 Back-patch fix for attempt to pfree a value that's not palloc'd
(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-13 01:02:59 +00:00
Tom Lane
deab4a4692 Repair problem with multi-action rules in combination with any nontrivial
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-12 18:54:53 +00:00
Tom Lane
ef20c6991d Back-patch change to not keep WAL segments just for UNDO information. 2001-06-06 17:18:56 +00:00
Bruce Momjian
92e0535dbb Forgot SGML section section id tag for 7.1. 2001-05-31 21:50:47 +00:00
Tom Lane
6ab6f872c1 RI triggers would fail for datatypes using old-style equal function,
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-31 17:33:03 +00:00
Tatsuo Ishii
d216f6ec8f Fix a message error in utf_to_local 2001-05-28 01:01:09 +00:00
Thomas G. Lockhart
0b471cc338 Patch from Barry Lind to correctly decode time zones in timestamp results.
Without patch, the time zone field is ignored and the returned time is
 not correct.
 Already applied to the development tree...
REL7_1_2
2001-05-22 14:46:46 +00:00
Marc G. Fournier
041c752fce add a ChangeLog file 2001-05-22 13:34:07 +00:00
Tom Lane
1bf1481963 Correct recently-broken avg(interval) definition. We can't force an
initdb to fix this in 7.1 installations, but it seems better to be
shipping a correct entry than a wrong one.
2001-05-18 16:00:11 +00:00
Bruce Momjian
d524c5a2be Add HISTORY items for 7.1.2. 2001-05-17 13:29:36 +00:00
Tom Lane
a246bf935f Back-patch fix for race condition in heap_update (make sure we hold
the buffer lock while checking page free space).
2001-05-17 00:48:45 +00:00
Bruce Momjian
6d85003098 Update crypto with patch for computation. 2001-05-15 17:05:28 +00:00
Bruce Momjian
6099009eae Well, the correct code - that corresponds to current
encode - is below.  I even got the linefeed stuff wrong.

--
marko
2001-05-15 04:45:35 +00:00
Tom Lane
a8bc265bad EvalPlanQual was thoroughly broken for concurrent update/delete on inheritance
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-15 00:34:02 +00:00
Tom Lane
096e865438 Current implementation of FOR UPDATE has no hope of working correctly
for relations on the nullable side of an OUTER JOIN.  For now I think
we'd better refuse such queries.
2001-05-14 20:25:36 +00:00
Bruce Momjian
2c632e6259 Fix 'set path' for csh, path -> $path.
Pierce Tyler
2001-05-14 15:11:31 +00:00
Peter Eisentraut
fb029f0b36 Cope with configure arguments that contain spaces. 2001-05-13 11:36:58 +00:00
Bruce Momjian
02a062c121 update. 2001-05-13 03:27:49 +00:00
Tom Lane
e6903c49a5 proisstrict must be assumed FALSE when dumping from a 7.0 database,
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-12 23:36:44 +00:00
Bruce Momjian
631b3e4691 Backpatch jdbc1 compile failure fix. 2001-05-12 20:45:45 +00:00
Philip Warner
e94a214de9 - Don't dump COMMENTs in data-only dumps
- 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-12 01:09:47 +00:00
Peter Eisentraut
bebd0938b6 no more Andy Piper tools 2001-05-11 22:26:30 +00:00