Commit graph

6221 commits

Author SHA1 Message Date
Tom Lane
16f1cfcb87 Back-patch fix for bogus plans involving non-mark/restorable plan
as inner plan of a mergejoin.
2000-09-08 02:11:33 +00:00
Tatsuo Ishii
4fc8465398 Fix psql crash. If MULTIBYTE is enabled, \l+ dumps core due to
SQL buffer in listAllDbs is just too small.
2000-09-07 04:53:32 +00:00
Tom Lane
dae17e5ad1 Back-patch fix to ensure we abort any open transaction at backend exit. 2000-08-30 21:19:32 +00:00
Marc G. Fournier
a2661b57e1 oops, in v7.x its USE_SYSLOG, not ENABLE_SYSLOG
modify config.h.in so that it gets set by configure properly
2000-08-28 20:27:32 +00:00
Marc G. Fournier
6b359b5e58 backpatch the --enable-syslog functionality to REL7_0 branch 2000-08-28 20:04:39 +00:00
Tom Lane
91319022c4 Back-patch primary fix for planner recursion bug. 2000-07-27 23:53:29 +00:00
Tatsuo Ishii
daee6ca585 SELECT ... FOR UPDATE neglects duplicate key checking.
patches submitted by Hiroshi Inoue.
2000-07-26 13:09:30 +00:00
Tom Lane
0a77af6727 Backpatch backwards-index-scan fix. 2000-07-13 05:52:18 +00:00
Tom Lane
da1017659a Back-patch StrNCpy fix. 2000-07-07 21:29:57 +00:00
Tom Lane
d914334dd6 Back-patch COPY WITH OIDS leak fix. 2000-06-28 06:13:01 +00:00
Tom Lane
55742d4b1c Back-patch large-object fix. 2000-06-15 06:10:27 +00:00
Bruce Momjian
c545ec54f8 Backpatch jdbc fixes into 7.0.X. 2000-06-15 04:12:41 +00:00
Bruce Momjian
2d1433517e Brand 7.1 release. Also update jdbc version in release branch. 2000-06-12 22:37:07 +00:00
Tom Lane
51a1820ede Backpatch SearchSysCacheTupleCopy fix for init_fcache. 2000-06-06 17:45:05 +00:00
Tom Lane
91ccad9f89 Back-patch typeTypeName() fix into REL7_0. 2000-06-06 16:51:24 +00:00
Bruce Momjian
d57dcbf33e Fix error message wording 2000-06-05 11:13:55 +00:00
Bruce Momjian
48f25ca5a4 Update for 7.0.2. 2000-06-05 10:59:19 +00:00
Tom Lane
30d17f3195 Lexer defended us against overlength plain identifiers, but not against
overlength quoted identifiers.  Death and destruction ensue...
2000-06-01 22:23:10 +00:00
Bruce Momjian
78cb38ccfb Fixups for 7.0.1 2000-06-01 05:14:35 +00:00
Tom Lane
7192cbb07d Back-patch fix to recognize clause pairs involving Params
as being range queries.
2000-05-31 15:43:31 +00:00
Bruce Momjian
dbb7553bc9 Update pg_hba.conf with more examples 2000-05-30 17:40:14 +00:00
Bruce Momjian
6a8dab2981 Update pg_hba.conf.sample with better examples and descriptions 2000-05-30 17:18:43 +00:00
Bruce Momjian
27266b7071 Copy pg_ident.conf.sample into /lib directory. Rename USERAUTH to
AUTHTYPE in config file.  Patch both branches.
2000-05-30 16:36:34 +00:00
Tom Lane
4fd3e0dde9 Back-patch tz name length fixes into REL7_0. 2000-05-29 19:19:07 +00:00
Tom Lane
e193acd801 array_map() needs to guard against a NULL input array. This problem
should go away in 7.1 with the new fmgr, but for 7.0.1 ...
2000-05-28 17:43:34 +00:00
Tom Lane
4b72779f7b fastpath neglected to pass a valid isNull flag to the function being
called.  We hadn't noticed this because C-coded functions mostly don't
pay attention to isNull anyway ... but plpgsql functions sure do ...
This is fixed in another way for 7.1, but 7.0.1 needs this patch.
2000-05-28 15:40:25 +00:00
Tatsuo Ishii
67f6b333ac Make EUC_CN support more robust. 2000-05-28 04:57:06 +00:00
Bruce Momjian
3a38bb5bed Add README.kerbros 2000-05-27 03:42:49 +00:00
Bruce Momjian
ba1578aa8f Improve pg_hba.conf examples 2000-05-27 01:32:01 +00:00
Tom Lane
b71761d280 Reduce eqsel()'s fudge-factor for estimating the frequency of values
other than the most common value in a column.  We had had 0.5, make it
0.1 to make it more likely that an indexscan will be chosen.  Really
need better statistics instead, but this should stem the bleeding
meanwhile ...
2000-05-26 17:19:15 +00:00
Bruce Momjian
be6e7717db Fix \h SELECT to not show SELECT INTO. 2000-05-26 15:47:18 +00:00
Tatsuo Ishii
23b0387a94 Fix too long syslog message problem 2000-05-26 12:17:48 +00:00
Tom Lane
8bba4b4e0e Generate a reasonable error message when an aggregate function is applied
to an undecorated relation name (cf. example from Ed Loehr, 5/25/00).
2000-05-26 03:56:40 +00:00
Bruce Momjian
cf169e0088 Spell fix 2000-05-26 03:15:18 +00:00
Tom Lane
d4e27596cf More paranoia about global variables containing references to long-
since-closed file descriptors...
2000-05-26 01:38:08 +00:00
Tom Lane
2af53f3762 After closing frontend socket, set MyProcPort->sock = -1 to ensure that
subsequent I/O attempts fail cleanly.  I'm speculating about failure
scenarios in which we do pq_close, then something in a proc_exit routine
opens a file (re-using that kernel FD number), then something else
fails and tries to write an elog message to the frontend ... message
ends up in opened file, oops.  No known examples of this but it seems
like a potential hole.
2000-05-26 01:26:19 +00:00
Tom Lane
39725e56e8 Add some elog(DEBUG)'s to help diagnose mdblindwrt failures. 2000-05-25 23:30:20 +00:00
Tom Lane
92286bd576 Clean up sloppy coding of _outAExpr(). 2000-05-25 22:43:12 +00:00
Tom Lane
ff566b2241 Modify raw parsetree representation returned by gram.y for SubLinks:
the oper field should be a valid Node structure so it can be dumped by
outfuncs.c without risk of coredump.  (We had been using a raw pointer
to character string, which surely is NOT a valid Node.)  This doesn't
cause any backwards compatibility problems for stored rules, since
raw unanalyzed parsetrees are never stored.
2000-05-25 22:42:19 +00:00
Tom Lane
610abfd57b Do table renaming in a sane order: physical file rename must happen
*last*, after all updating of system catalogs.  In old code, an error
detected during TypeRename left the relation hosed.  Also, add a call
to flush the relation's relcache entry, rather than trusting to shared
cache invalidation to flush it for us.
2000-05-25 21:30:20 +00:00
Tom Lane
445f1acf7a heap_drop() should flush the relcache entry for the
relation being dropped.
2000-05-25 21:25:32 +00:00
Tom Lane
69cc16f47e Quote database name so that not-all-lowercase names are handled safely. 2000-05-25 20:18:15 +00:00
Bruce Momjian
61f5e13c43 ! * Users doing non-blocking connections need to handle the reset
!        * themselves, they'll need to check the connection status if we
!        * return an error.

Alfred Perlstein
2000-05-25 19:09:55 +00:00
Tatsuo Ishii
07d4d36aae On solaris, createdb/dropdb fails because of strange behavior of system().
(it returns error with errno ECHILD upon successful completion of commands).
This fix ignores an error from system() if errno == ECHILD.
2000-05-25 06:53:43 +00:00
Tom Lane
c439756ffd Make the world safe for QNX's busted shell ... 2000-05-24 22:43:59 +00:00
Tom Lane
ae8a2c3589 Make the world safe for QNX's busted shell ... 2000-05-24 22:32:59 +00:00
Marc G. Fournier
69b323f4bc add a --with-setproctitle switch to configure that leaves the use of setproctitle()
disabled by default ...
2000-05-24 14:58:21 +00:00
Bruce Momjian
f19ae14612 Update so init displays status with setproctitle too, like the rest of them. 2000-05-24 00:24:17 +00:00
Bruce Momjian
a267c88d3b Make setproctitle update for every query. 2000-05-24 00:14:26 +00:00
Bruce Momjian
962c258027 Comment out no-op ps updates for setproctitle(), until we figure out
what to do.
2000-05-23 22:50:55 +00:00