Tom Lane [Wed, 13 Oct 2004 22:09:20 +0000 (22:09 +0000)]
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 ...
Tom Lane [Wed, 13 Oct 2004 21:56:22 +0000 (21:56 +0000)]
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.)
Tom Lane [Fri, 17 Sep 2004 18:29:54 +0000 (18:29 +0000)]
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.
Tom Lane [Sat, 20 Mar 2004 18:12:50 +0000 (18:12 +0000)]
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.
Hiroshi Inoue [Mon, 1 Oct 2001 09:38:14 +0000 (09:38 +0000)]
Keep the contents of TIDs not the pointers.
Tid scan has been broken for 7.1.
Tom Lane [Wed, 12 Sep 2001 17:14:39 +0000 (17:14 +0000)]
Back-patch deadlock recovery fix into 7.1 tree, in case someone needs it.
Marc G. Fournier [Fri, 17 Aug 2001 17:10:16 +0000 (17:10 +0000)]
Add a changelog file for 7.1.3 from 7.1.2
Peter Eisentraut [Thu, 16 Aug 2001 19:44:49 +0000 (19:44 +0000)]
update version to 7.1.3
Bruce Momjian [Thu, 16 Aug 2001 15:21:53 +0000 (15:21 +0000)]
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
Bruce Momjian [Wed, 15 Aug 2001 19:32:50 +0000 (19:32 +0000)]
just a test
Bruce Momjian [Wed, 15 Aug 2001 19:32:33 +0000 (19:32 +0000)]
update
Bruce Momjian [Wed, 15 Aug 2001 19:32:05 +0000 (19:32 +0000)]
update
Bruce Momjian [Wed, 15 Aug 2001 19:31:41 +0000 (19:31 +0000)]
test
Bruce Momjian [Tue, 14 Aug 2001 21:22:08 +0000 (21:22 +0000)]
Add HISTORY for 7.1.3. Packaging done.
Tom Lane [Mon, 13 Aug 2001 20:09:03 +0000 (20:09 +0000)]
Hmm, looks like Bruce's auto-run-autoconf script doesn't work for
old branches...
Tom Lane [Mon, 13 Aug 2001 19:54:00 +0000 (19:54 +0000)]
Make hashjoin give the right answer with toasted input data.
Hiroshi Inoue [Thu, 9 Aug 2001 19:22:24 +0000 (19:22 +0000)]
fix my old fault.
Bruce Momjian [Thu, 9 Aug 2001 16:39:20 +0000 (16:39 +0000)]
Update branding for 7.1.3, no HISTORY yet.
Tom Lane [Thu, 9 Aug 2001 13:52:15 +0000 (13:52 +0000)]
Fix Cygwin build, per Jason Tishler.
Tom Lane [Wed, 8 Aug 2001 22:32:29 +0000 (22:32 +0000)]
Back-patch fix to disallow COPY TO/FROM a view (or anything else that's
not a plain relation).
Tom Lane [Wed, 8 Aug 2001 22:25:45 +0000 (22:25 +0000)]
Back-patch fix to prevent infinite loop when $PGDATA is not writable.
Bruce Momjian [Tue, 7 Aug 2001 18:36:52 +0000 (18:36 +0000)]
Commit BEOS patch to 7.1.X.
Tom Lane [Fri, 3 Aug 2001 20:14:07 +0000 (20:14 +0000)]
Back-patch fixes for dumping user-defined types and dumping comments
on views.
Tom Lane [Tue, 31 Jul 2001 18:39:13 +0000 (18:39 +0000)]
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.
Tom Lane [Sun, 29 Jul 2001 22:12:49 +0000 (22:12 +0000)]
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.
Tatsuo Ishii [Fri, 6 Jul 2001 02:13:04 +0000 (02:13 +0000)]
Fix typo. createdb -t --> createdb -T
Tom Lane [Mon, 2 Jul 2001 19:34:41 +0000 (19:34 +0000)]
In any case, it seems the REL7_1 branch needs the update too...
Tom Lane [Fri, 29 Jun 2001 16:34:49 +0000 (16:34 +0000)]
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.
Tom Lane [Wed, 13 Jun 2001 01:02:59 +0000 (01:02 +0000)]
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.
Tom Lane [Tue, 12 Jun 2001 18:54:53 +0000 (18:54 +0000)]
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.
Tom Lane [Wed, 6 Jun 2001 17:18:56 +0000 (17:18 +0000)]
Back-patch change to not keep WAL segments just for UNDO information.
Bruce Momjian [Thu, 31 May 2001 21:50:47 +0000 (21:50 +0000)]
Forgot SGML section section id tag for 7.1.
Tom Lane [Thu, 31 May 2001 17:33:03 +0000 (17:33 +0000)]
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.
Tatsuo Ishii [Mon, 28 May 2001 01:01:09 +0000 (01:01 +0000)]
Fix a message error in utf_to_local
Thomas G. Lockhart [Tue, 22 May 2001 14:46:46 +0000 (14:46 +0000)]
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...
Marc G. Fournier [Tue, 22 May 2001 13:34:07 +0000 (13:34 +0000)]
add a ChangeLog file
Tom Lane [Fri, 18 May 2001 16:00:11 +0000 (16:00 +0000)]
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.
Bruce Momjian [Thu, 17 May 2001 13:29:36 +0000 (13:29 +0000)]
Add HISTORY items for 7.1.2.
Tom Lane [Thu, 17 May 2001 00:48:45 +0000 (00:48 +0000)]
Back-patch fix for race condition in heap_update (make sure we hold
the buffer lock while checking page free space).
Bruce Momjian [Tue, 15 May 2001 17:05:28 +0000 (17:05 +0000)]
Update crypto with patch for computation.
Bruce Momjian [Tue, 15 May 2001 04:45:35 +0000 (04:45 +0000)]
Well, the correct code - that corresponds to current
encode - is below. I even got the linefeed stuff wrong.
--
marko
Tom Lane [Tue, 15 May 2001 00:34:02 +0000 (00:34 +0000)]
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.
Tom Lane [Mon, 14 May 2001 20:25:36 +0000 (20:25 +0000)]
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.
Bruce Momjian [Mon, 14 May 2001 15:11:31 +0000 (15:11 +0000)]
Fix 'set path' for csh, path -> $path.
Pierce Tyler
Peter Eisentraut [Sun, 13 May 2001 11:36:58 +0000 (11:36 +0000)]
Cope with configure arguments that contain spaces.
Bruce Momjian [Sun, 13 May 2001 03:27:49 +0000 (03:27 +0000)]
update.
Tom Lane [Sat, 12 May 2001 23:36:44 +0000 (23:36 +0000)]
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.
Bruce Momjian [Sat, 12 May 2001 20:45:45 +0000 (20:45 +0000)]
Backpatch jdbc1 compile failure fix.
Philip Warner [Sat, 12 May 2001 01:09:47 +0000 (01:09 +0000)]
- 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)
Peter Eisentraut [Fri, 11 May 2001 22:26:30 +0000 (22:26 +0000)]
no more Andy Piper tools
Bruce Momjian [Fri, 11 May 2001 01:35:47 +0000 (01:35 +0000)]
Can't run autoconf on rel, so just manually update.
Bruce Momjian [Fri, 11 May 2001 01:34:42 +0000 (01:34 +0000)]
Stamp for 7.1.2. Ready when you are...
Peter Eisentraut [Wed, 9 May 2001 16:28:31 +0000 (16:28 +0000)]
Fix remaining RI permission problems (cascaded update/delete, restrict,
set null/default).
Tom Lane [Tue, 8 May 2001 19:48:02 +0000 (19:48 +0000)]
Append and SubqueryScan nodes were not passing changed-parameter signals down
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 :-(
Tom Lane [Tue, 8 May 2001 01:02:03 +0000 (01:02 +0000)]
Un-break exec_move_row() for case that a NULL tuple and tupdesc are
passed, which occurs when no rows are retrieved by a SELECT.
Mea maxima culpa ... I should have caught this.
Peter Eisentraut [Sun, 6 May 2001 21:44:32 +0000 (21:44 +0000)]
Fix collateral damage from previous (rev 1.49) patch.
Marc G. Fournier [Sat, 5 May 2001 20:23:57 +0000 (20:23 +0000)]
add in the changelog file I forgot about
Bruce Momjian [Sat, 5 May 2001 02:57:40 +0000 (02:57 +0000)]
UPdate for release tomorrow.
Tom Lane [Fri, 4 May 2001 23:11:37 +0000 (23:11 +0000)]
COMMIT_DELAY and COMMIT_SIBLINGS were missing from the list of WAL
configuration parameters in chapter 3.
Bruce Momjian [Fri, 4 May 2001 22:08:53 +0000 (22:08 +0000)]
Update TODO list.
Tom Lane [Fri, 4 May 2001 22:01:03 +0000 (22:01 +0000)]
Makefile should have automatic dependency for parser.o too, if it's
going to have any at all.
Bruce Momjian [Fri, 4 May 2001 20:48:14 +0000 (20:48 +0000)]
Update TODO list.
Tom Lane [Fri, 4 May 2001 18:39:16 +0000 (18:39 +0000)]
Seems like we should not hold off cancel/die interrupts while we are
running deferred triggers. They are really part of the regular
transaction, and they could take awhile.
Bruce Momjian [Fri, 4 May 2001 02:54:33 +0000 (02:54 +0000)]
Add missing tag.
Tom Lane [Thu, 3 May 2001 22:53:07 +0000 (22:53 +0000)]
Consolidate several near-identical uses of mktime() into a single
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.
Bruce Momjian [Thu, 3 May 2001 21:38:45 +0000 (21:38 +0000)]
BTW it does not add encodign it just patches existing one (KOI8) to
support two - KOI8-R and KOI8-U (latter is superset of the former if
not to take to the account pseudographics)
Andy Rysin
Tom Lane [Thu, 3 May 2001 21:16:48 +0000 (21:16 +0000)]
Permission checking wasn't quite right for insert/update/delete rules,
either :-(.
Bruce Momjian [Thu, 3 May 2001 20:39:52 +0000 (20:39 +0000)]
pg_dump can dump 7.0 databases.
Bruce Momjian [Thu, 3 May 2001 19:20:24 +0000 (19:20 +0000)]
apply a little patch:
Oleg Bartunov
Tom Lane [Thu, 3 May 2001 19:00:37 +0000 (19:00 +0000)]
Ensure that btree sort ordering functions and boolean comparison operators
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.
Tom Lane [Thu, 3 May 2001 17:50:55 +0000 (17:50 +0000)]
Describe handling of multiply-inherited fields correctly.
Tom Lane [Thu, 3 May 2001 17:47:49 +0000 (17:47 +0000)]
Permissions were not checked correctly when one view invokes another.
Per bug report from Lieven Van Acker, 5/2/01.
Bruce Momjian [Thu, 3 May 2001 17:28:13 +0000 (17:28 +0000)]
Update shared memory docs.
Bruce Momjian [Thu, 3 May 2001 17:20:14 +0000 (17:20 +0000)]
Improve list.
Bruce Momjian [Thu, 3 May 2001 17:17:41 +0000 (17:17 +0000)]
Final stamp for 7.1.1. All done.
Bruce Momjian [Thu, 3 May 2001 16:47:58 +0000 (16:47 +0000)]
Updates for 7.1.1. Not done yet.
Bruce Momjian [Thu, 3 May 2001 16:43:26 +0000 (16:43 +0000)]
autoconf
Bruce Momjian [Thu, 3 May 2001 16:26:21 +0000 (16:26 +0000)]
Some updates for 7.1.1.
Tom Lane [Thu, 3 May 2001 16:18:02 +0000 (16:18 +0000)]
Correct pg_description entry for type macaddr.
Tom Lane [Thu, 3 May 2001 16:07:52 +0000 (16:07 +0000)]
Fixes to make ecpg work on Cygwin, from Jason Tishler <Jason.Tishler@dothill.com>.
D'Arcy J.M. Cain [Thu, 3 May 2001 12:32:13 +0000 (12:32 +0000)]
Initial checkin of a contributed type that handles passwords efficiently.
Bruce Momjian [Wed, 2 May 2001 20:35:21 +0000 (20:35 +0000)]
In the outputs section the NOTICE reads:
aggregate 'agg' for 'type' does not exist.
Mismatch with synopsis, agg must be name here.
Frank Wegmann
Bruce Momjian [Wed, 2 May 2001 17:04:53 +0000 (17:04 +0000)]
Added mention of SHMALL and removed BSD/OS-specific table.
Bruce Momjian [Wed, 2 May 2001 14:46:33 +0000 (14:46 +0000)]
description of the command line option echo should read:
Echo the queries that createuser generates and sends to the backend.
^^^^^^^^^^
Frank Wegmann
Tom Lane [Wed, 2 May 2001 14:23:40 +0000 (14:23 +0000)]
Previous commit mistakenly converted all newlines to DOS style (CR/LF).
Convert back to Unix style --- it seems some versions of nmake insist
on this.
D'Arcy J.M. Cain [Wed, 2 May 2001 11:21:57 +0000 (11:21 +0000)]
Add note explaining why inserts take longer as tables grow. Also suggest
the way to handle this.
D'Arcy J.M. Cain [Wed, 2 May 2001 11:17:24 +0000 (11:17 +0000)]
Change "|zzlzzzz" argument specification to "|zzizzzz" so that the code works
properly on 64 bit systems.
Change submitted by Marc Poinot (Marc.Poinot@onera.fr)
Peter Eisentraut [Tue, 1 May 2001 10:50:26 +0000 (10:50 +0000)]
Bump version to 7.1.1. Now run over to hub to rebuild documentation
before release...
Peter Eisentraut [Tue, 1 May 2001 10:48:57 +0000 (10:48 +0000)]
More markup fixes
Tom Lane [Tue, 1 May 2001 03:00:28 +0000 (03:00 +0000)]
Fix slightly confused description of debug options.
Tom Lane [Tue, 1 May 2001 02:33:55 +0000 (02:33 +0000)]
Synced gram.y and preproc.y.
Thomas G. Lockhart [Tue, 1 May 2001 01:36:10 +0000 (01:36 +0000)]
Allow a string argument to the EXTRACT() function.
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.
Hiroshi Inoue [Tue, 1 May 2001 00:47:06 +0000 (00:47 +0000)]
1) fix bugs reported by Andrea Aime.
2) fix a bug reported by Jan Wieck.
psqlodbc is 7.01.0005 now.
Tom Lane [Mon, 30 Apr 2001 23:55:26 +0000 (23:55 +0000)]
Update FAQ_HPUX now that we have reports of out-of-the-box build
on HPUX 11.
Tom Lane [Mon, 30 Apr 2001 22:22:34 +0000 (22:22 +0000)]
Document pltcl's return_null command.
Tom Lane [Mon, 30 Apr 2001 22:21:22 +0000 (22:21 +0000)]
Repair freshly-broken markup.
Tom Lane [Mon, 30 Apr 2001 20:05:40 +0000 (20:05 +0000)]
exec_move_row() should be more forgiving of tuples with a different
number of columns than it was expecting, for reasons that are now
documented in the code...
Tom Lane [Mon, 30 Apr 2001 19:24:47 +0000 (19:24 +0000)]
Suppress pull-up of subqueries that are in the nullable side of an outer
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.
Bruce Momjian [Mon, 30 Apr 2001 17:38:00 +0000 (17:38 +0000)]
Break up PQexec() result functions into subsections to be clearer. Both
libpq and libpq++ reorganized.
Bruce Momjian [Mon, 30 Apr 2001 15:57:01 +0000 (15:57 +0000)]
Update TODO list.