Commit graph

9715 commits

Author SHA1 Message Date
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...
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
Bruce Momjian
1d211a6be3 Can't run autoconf on rel, so just manually update. 2001-05-11 01:35:47 +00:00
Bruce Momjian
4dc661984b Stamp for 7.1.2. Ready when you are... 2001-05-11 01:34:42 +00:00
Peter Eisentraut
c33b72e1e8 Fix remaining RI permission problems (cascaded update/delete, restrict,
set null/default).
2001-05-09 16:28:31 +00:00
Tom Lane
931e309402 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 :-(
2001-05-08 19:48:02 +00:00
Tom Lane
8c2fca17d8 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.
2001-05-08 01:02:03 +00:00
Peter Eisentraut
7d7ab8a29b Fix collateral damage from previous (rev 1.49) patch. 2001-05-06 21:44:32 +00:00
Marc G. Fournier
ed65860638 add in the changelog file I forgot about 2001-05-05 20:23:57 +00:00
Bruce Momjian
1564bd11e3 UPdate for release tomorrow. 2001-05-05 02:57:40 +00:00
Tom Lane
e669b8d751 COMMIT_DELAY and COMMIT_SIBLINGS were missing from the list of WAL
configuration parameters in chapter 3.
2001-05-04 23:11:37 +00:00
Bruce Momjian
8d2fe903b0 Update TODO list. 2001-05-04 22:08:53 +00:00
Tom Lane
28ac24e4dd Makefile should have automatic dependency for parser.o too, if it's
going to have any at all.
2001-05-04 22:01:03 +00:00
Bruce Momjian
9278262181 Update TODO list. 2001-05-04 20:48:14 +00:00
Tom Lane
e2e19ca0cd 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.
2001-05-04 18:39:16 +00:00
Bruce Momjian
602b742507 Add missing tag. 2001-05-04 02:54:33 +00:00
Tom Lane
f5ba72ea04 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.
2001-05-03 22:53:07 +00:00
Bruce Momjian
0cec2bb0cd 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
2001-05-03 21:38:45 +00:00
Tom Lane
d05b4bd7c6 Permission checking wasn't quite right for insert/update/delete rules,
either :-(.
2001-05-03 21:16:48 +00:00
Bruce Momjian
c434ae3539 pg_dump can dump 7.0 databases. 2001-05-03 20:39:52 +00:00
Bruce Momjian
3f8e21c34a apply a little patch:
Oleg Bartunov
2001-05-03 19:20:24 +00:00
Tom Lane
2792374cff 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.
2001-05-03 19:00:37 +00:00
Tom Lane
77fe28f33e Describe handling of multiply-inherited fields correctly. 2001-05-03 17:50:55 +00:00
Tom Lane
f2122d092f Permissions were not checked correctly when one view invokes another.
Per bug report from Lieven Van Acker, 5/2/01.
2001-05-03 17:47:49 +00:00
Bruce Momjian
d31b9f3101 Update shared memory docs. 2001-05-03 17:28:13 +00:00
Bruce Momjian
645553eaf6 Improve list. 2001-05-03 17:20:14 +00:00
Bruce Momjian
7efc878104 Final stamp for 7.1.1. All done. 2001-05-03 17:17:41 +00:00
Bruce Momjian
3bc0ab783b Updates for 7.1.1. Not done yet. 2001-05-03 16:47:58 +00:00
Bruce Momjian
c0f5b4c82c autoconf 2001-05-03 16:43:26 +00:00
Bruce Momjian
13e9cea634 Some updates for 7.1.1. 2001-05-03 16:26:21 +00:00
Tom Lane
8571e6c6e5 Correct pg_description entry for type macaddr. 2001-05-03 16:18:02 +00:00
Tom Lane
f13cb7e524 Fixes to make ecpg work on Cygwin, from Jason Tishler <Jason.Tishler@dothill.com>. 2001-05-03 16:07:52 +00:00
D'Arcy J.M. Cain
b95ff0c542 Initial checkin of a contributed type that handles passwords efficiently. 2001-05-03 12:32:13 +00:00
Bruce Momjian
4ad073cf4c In the outputs section the NOTICE reads:
aggregate 'agg' for 'type' does not exist.

Mismatch with synopsis, agg must be name here.

Frank Wegmann
2001-05-02 20:35:21 +00:00
Bruce Momjian
8e393fc501 Added mention of SHMALL and removed BSD/OS-specific table. 2001-05-02 17:04:53 +00:00
Bruce Momjian
4929d85e50 description of the command line option echo should read:
Echo the queries that createuser generates and sends to the backend.
                      ^^^^^^^^^^

Frank Wegmann
2001-05-02 14:46:33 +00:00