Commit graph

14157 commits

Author SHA1 Message Date
Bruce Momjian
44f47eba8d Backpatch extra slash removal into 7.3.X. HEAD already has it. 2003-01-07 22:54:03 +00:00
Bruce Momjian
a4ee77543f Fix doc chmod .pgpass line in 7.3.X. Head already fixed. 2003-01-07 22:52:50 +00:00
Bruce Momjian
9ee86665ef Upgrade to my2pg 1.9 2003-01-07 22:18:49 +00:00
Bruce Momjian
b2353a3db6 Upgrade to even newer ora2pg 2.0. 2003-01-07 22:17:23 +00:00
Bruce Momjian
de1096bd8e Upgrade to ora2pg 1.10. Backpatch to 7.3.X. 2003-01-07 22:16:19 +00:00
Tom Lane
2e0e101b42 Fix inherited UPDATE for cases where child column numbering doesn't
match parent table.  This used to work, but was broken in 7.3 by
rearrangement of code that handles targetlist sorting.  Add a regression
test to catch future breakage.
2003-01-05 00:56:56 +00:00
Tom Lane
f159bce09f Add missing include --- seems include file references are different in
CVS tip than in this branch.
2003-01-05 00:49:59 +00:00
Peter Eisentraut
b19a0c70d2 Translation updates 2003-01-04 10:26:28 +00:00
Hiroshi Inoue
4bd41a4d50 Add casts between oid and lo in contrib. 2003-01-03 15:43:33 +00:00
Bruce Momjian
3c06dd7f3d Fix BSD/OS thread file locking bug in new fseeko code.
Backpatch to 7.3.X.
2003-01-02 06:01:02 +00:00
Tom Lane
573fe25203 fastpath code neglected to check whether user has privileges to call the
target function.  Also, move SetQuerySnapshot() call to avoid assert
failure when a fastpath call is attempted in an aborted transaction.
2003-01-01 21:57:18 +00:00
Tom Lane
51225120eb Awhile back I wrote that freebsd.h was probably broken in the places where
it diverged from netbsd.h and openbsd.h.  This has now been confirmed.
Accordingly, make all three exactly alike.
2003-01-01 20:35:54 +00:00
Tom Lane
5271e60ff3 Point does not return a center of lseg.
Kenji Sugita
2002-12-30 02:18:39 +00:00
Tom Lane
629df5f489 Adjust hash table sizing algorithm to avoid integer overflow in
ExecHashJoinGetBatch().  Fixes core dump on large hash joins, as in
example from Rae Stiening.
2002-12-29 22:29:03 +00:00
Tom Lane
b37d6373f0 Deliver better error message when a relation name is used in an expression.
Per report from Ian Barwick.
2002-12-27 20:06:28 +00:00
Tom Lane
d5a0f78848 Remove overenthusiastic free'ing of comment dependencies; could lead to
core dump in pg_dump when dumping views having comments.  See bug #855.
2002-12-27 17:10:55 +00:00
Bruce Momjian
0b91b448f4 Small fix in documentation and some examples of usage. Please, apply to
7.3 and current CVS

Oleg Bartunov
2002-12-27 14:10:49 +00:00
Bruce Momjian
31f7f574bd Trivial patch to increase max_fsm_pages as per earlier discussion.
Philip Warner
2002-12-27 14:07:14 +00:00
Bruce Momjian
7c3e3cd96a Update SSL error message for improper permissions. Backpatch to 7.3.X. 2002-12-23 22:19:26 +00:00
Tom Lane
a3feaba9aa Fix possible buffer overrun in \d command: substr(..., 128) produces
a result of at most 128 chars, but that could be more than 128 bytes.
Also ensure we don't try to pfree uninitialized pointers during error
cleanup.
2002-12-21 01:07:21 +00:00
Bruce Momjian
96bce9f689 Update 7.3.1 to give proper attribution to pg_dump item. 2002-12-20 00:24:29 +00:00
Peter Eisentraut
9e04de0e8d Fix release notes and installation instructions for 7.3.1 release. 2002-12-18 23:38:08 +00:00
Bruce Momjian
c4a389599c Update Russian FAQ. Update all FAQ's for 7.3.X branch. 2002-12-18 20:39:31 +00:00
Bruce Momjian
9c8ace7f0e Update RELEASE checklist. 2002-12-18 20:07:43 +00:00
Bruce Momjian
de34661de1 Update INSTALL file for 7.3.1. 2002-12-18 20:07:02 +00:00
PostgreSQL Daemon
d2f0761b82 From the SSL_CTX_new man page:
"SSLv23_method(void), SSLv23_server_method(void), SSLv23_client_method(void)

 A TLS/SSL connection established with these methods will understand the SSLv2,
 SSLv3, and TLSv1 protocol. A client will send out SSLv2 client hello messages
 and will indicate that it also understands SSLv3 and TLSv1. A server will
 understand SSLv2, SSLv3, and TLSv1 client hello messages. This is the best
 choice when compatibility is a concern."

This will maintain backwards compatibility for those us that don't use
TLS connections ...
2002-12-18 13:20:03 +00:00
Bruce Momjian
bb501dcaaf Update FAQ for 7.3.1. 2002-12-18 04:41:06 +00:00
Bruce Momjian
148e7e06bf Stamp 7.3.1. 2002-12-18 02:07:30 +00:00
Tom Lane
f599d56f51 Fix ALTER TABLE ADD COLUMN to disallow the same column types that are
disallowed by CREATE TABLE (eg, pseudo-types); also disallow these types
from being introduced by the range-function syntax.  While at it, allow
CREATE TABLE to create zero-column tables, per recent pghackers discussion.
I am back-patching this into 7.3 since failure to disallow pseudo-types
is arguably a security hole.
2002-12-16 18:39:57 +00:00
Bruce Momjian
750b3f3825 The actual segfault was caused by a double pfree(), but ISTM that
failing to find pg_hba.conf should be a fatal error anyway, so I
increased the priority of the elog() from LOG to FATAL and refactored
the code a little bit.

Neil Conway
2002-12-14 18:49:43 +00:00
Bruce Momjian
96e9574037 Ok, I think I've gotten this figured out now. I saw this comment in
pqcomm.c, switched the ERROR logs to COMMERROR logs and it all works.
I've attached a patch to be-secure.c that fixes all my problems.

Nathan Mueller
2002-12-14 18:39:39 +00:00
Bruce Momjian
77a9708f85 Backpatch SSL fixes into 7.3.1. 2002-12-13 22:20:22 +00:00
Bruce Momjian
9056af5b63 Increment libpq major number for 7.3.1 and minor for 7.4. 2002-12-13 22:18:22 +00:00
Bruce Momjian
8fba8caba6 This patch fixes minor bugs in dictionary generator in contrib/tsearch
(contrib/tsearch/makedict/makedict.pl)

[ Backpatched to 7.3.]

Teodor Sigaev
2002-12-13 05:50:41 +00:00
Tom Lane
1c432d60d7 Guard against overrunning CTZName buffer when TZ is bogus. 2002-12-12 19:17:04 +00:00
Tom Lane
68df4f7ca8 Back-patch fix to prevent core dump in EXPLAIN if optimizer has
simplified function call to a constant.  (7.3 won't actually execute
such a plan anyway, but core dump is bad regardless.)
2002-12-12 16:16:58 +00:00
Bruce Momjian
20606b46fd Mark SCO Openserver 5.0.4. supported by 7.3.1 as per chat report from user.
template/sco updated.
2002-12-11 22:27:34 +00:00
Bruce Momjian
bab9c3d555 Fix line count error reporting in config files, like pg_hba.conf, per
report from Oliver Elphick.

Backpatch to 7.3.
2002-12-11 22:17:31 +00:00
Bruce Momjian
f28802cac8 Bump version for 7.3 and 7.4. 2002-12-11 04:08:05 +00:00
Peter Eisentraut
ac3534f973 Translation updates 2002-12-10 20:00:27 +00:00
Bruce Momjian
7ba47bf961 This patch updates doc/src/sgml/runtime.sgml to refer to "MacOS X", not
"OS/X".

Neil Conway
2002-12-09 21:03:42 +00:00
Peter Eisentraut
39610c8f03 Fix Latin1/Unicode conversion by selecting the right table. 2002-12-09 19:42:31 +00:00
Bruce Momjian
a92a4010a7 As far as I figured from the source code this function only deals with
cleaning up locale names and nothing else. Since all the locale names
are in plain  ASCII I think it will be safe to use ASCII-only lower-case
conversion.

Nicolai Tufar
2002-12-09 17:45:17 +00:00
Tom Lane
b3b39591c1 Explain's code for showing quals of SubqueryScan nodes has been broken
all along; not noticed till now.  It's a scan not an upper qual ...
2002-12-06 19:28:13 +00:00
Bruce Momjian
ab6e38e40a Thank you very much, you catch it :). This bug had a long life, because it
exists if and only if locale of postmaster
was a different from C (or ru_RU.KOI8-R).

Please, apply patch for current CVS & 7.3.1

Magnus Naeslund(f) wrote:
> Ok, I nailed the bug, but i'm not sure what the correct fix is.
> Attached tsearch_morph.diff that remedies this problem by avoiding it.
> Also there's a debug aid patch if someone would like to know how i
> finally found it out :)
>
> There problem in the lemmatize() function is that GETDICT(...) returned
> a value not handled (BYLOCALE).
> The value (-1) and later used as an index into the dicts[] array.
> After that everything went berserk stack went crazy somehow so trapping
> the fault sent me to the wrong place, and every time i read the value it
> was positive ;)
>
> So now i just return the initial word passed to the lemmatize function,
> because i don't know what to do with it.

Magnus Naeslund
2002-12-06 05:15:32 +00:00
Tom Lane
500677c40f localbuf.c must be able to do blind writes. 2002-12-05 22:48:10 +00:00
Tom Lane
0e98ae22d3 Avoid pulling up sublinks from a subselect's targetlist. Works around
problems that occur if sublink is referenced via a join alias variable.
Perhaps this can be improved later, but a simple and safe fix is needed
for 7.3.1.
2002-12-05 21:46:55 +00:00
Bruce Momjian
530bf204f0 It looks like the problem was introduced when the "SET autocommit" and
"SET search_path"  commands were added to the beginning of the script.

The attatched patch should fix the problem. It probably should be
applied  against the 7.3 and 7.4 branches.

Steven Singer
2002-12-05 21:04:14 +00:00
Bruce Momjian
24536e5b3f Allow 'password' encryption even when pg_shadow has MD5 passwords, per
report from Terry Yapt and Hiroshi.

Backpatch to 7.3.
2002-12-05 18:40:08 +00:00
Dave Cramer
0ea3b7b86f changed sort of column names to sort by attnum, not attname 2002-12-05 01:09:58 +00:00