Commit Graph

14174 Commits

Author SHA1 Message Date
3f479efa2f Backport to 7.3 of patch to correctly handle fractional seconds
Modified Files:
  Tag: REL7_3_STABLE
 	jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java
 	jdbc/org/postgresql/test/jdbc2/TimestampTest.java
2003-01-14 09:15:35 +00:00
3ff4496454 Patch from Kris Jurka to improve the performance of getImportedKeys(). The
fix uses explicit joins to avoid using the genetic query optimizer for
consistent results.

 Modified Files:
  Tag: REL7_3_STABLE
 	jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
2003-01-14 05:07:56 +00:00
fbc590fd6c Fix capitalization. 2003-01-11 21:03:21 +00:00
7680826848 Cause symlinks for shared-library versioning to run in the standard
direction on HP-UX; our former approach has been obsolete since HPUX 9.

Giles Lean
2003-01-11 17:22:34 +00:00
8b434d647e Fix typo in an error messages 2003-01-11 06:59:30 +00:00
8ca66703e2 > > This patch improves the documentation for the shared_buffers GUC param.
>
> I'd suggest that the runtime.sgml description explicitly say "values of
> at least a few thousand are recommended for production installations".

Neil Conway
2003-01-11 05:04:27 +00:00
295ece4a0c A tiny patch to fix a typo in configure.in and another one in
RELEASE_CHANGES.

Manfred Koizar
2003-01-11 04:59:08 +00:00
e2123a9708 Add missing <limits.h> for INT64_IS_BUSTED case. 2003-01-10 23:51:46 +00:00
4a9588f671 Fix indenting of log_min_error_statement. 2003-01-09 05:19:18 +00:00
9ecfdbcae1 Repair inconsistent rounding behavior for timestamp, time, interval,
per gripe from Csaba Nagy.  There is still potential for platform-specific
behavior for values that are exactly halfway between integers, but at
least we now get the expected answer for all other cases.
2003-01-09 01:07:18 +00:00
9260e79d11 Remove 'const' from secure_write, to prevent compiler warning. 2003-01-08 23:34:37 +00:00
ce83fc68aa The second was that renegotiation was just plain broken. I can't
believe I didn't notice this before -- once 64k was sent to/from the
server the client would crash.  Basicly, in 7.3 the server SSL code set
the initial state to "about to renegotiate" without actually starting
the renegotiation.  In addition, the server and client didn't properly
handle the SSL_ERROR_WANT_(READ|WRITE) error.  This is fixed in the
second patch.

Nathan Mueller
2003-01-08 23:18:35 +00:00
671231f588 I was playing around with 7.3.1 and found some more SSL problems. The
first, that I missed when checking over 7.3.1, was that the client
method was switched to SSLv23 along with the server.  The SSLv23 client
method does SSLv2 by default, but can also understand SSLv3.  In our
situation the SSLv2 backwords compatibility is really only needed on the
server.  This is the first patch.

The last thing is that I found a way for the server to understand SSLv2
HELLO messages (sent by pre-7.3 clients) but then get them to talk
SSLv3.  This is the last one.

Nathan Mueller
2003-01-08 22:57:05 +00:00
fdb1c80747 Fix dumping of DEFERRABLE/INITIALLY DEFERRED:
> The big problem is that while pg_dump's dump_trigger() looks at
> tginitdeferred and dumps accordingly, pg_get_constraintdef doesn't look
> at tginitdeferred, and therefore doesn't record the requirement as part
> of ALTER TABLE ADD CONSTRAINT.

pg_get_constraintdef should probably be looking at condeferrable and
condeferred in the pg_constraint row it's looking at.  Maybe something
like the attached.

(Added, output only non-default values.)

Stephan Szabo
2003-01-08 22:54:36 +00:00
a899179c8c Repair bug noticed by Deepak Bhole: a shell type should have a dependency
on its namespace, so that it will go away if the schema is dropped.
2003-01-08 21:40:49 +00:00
c8b0ab0bd3 Fix pgpass to work with PQconnectDB().
Backpatch to 7.3.X.

Report from ljb.
2003-01-08 21:33:53 +00:00
40cb1361a6 Fix for bug #866. 7.3 contains new logic for avoiding redundant calls to
the index AM when we know we are fetching a unique row.  However, this
logic did not consider the possibility that it would be asked to fetch
backwards.  Also fix mark/restore to work correctly in this scenario.
2003-01-08 19:41:57 +00:00
44f47eba8d Backpatch extra slash removal into 7.3.X. HEAD already has it. 2003-01-07 22:54:03 +00:00
a4ee77543f Fix doc chmod .pgpass line in 7.3.X. Head already fixed. 2003-01-07 22:52:50 +00:00
9ee86665ef Upgrade to my2pg 1.9 2003-01-07 22:18:49 +00:00
b2353a3db6 Upgrade to even newer ora2pg 2.0. 2003-01-07 22:17:23 +00:00
de1096bd8e Upgrade to ora2pg 1.10. Backpatch to 7.3.X. 2003-01-07 22:16:19 +00:00
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
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
b19a0c70d2 Translation updates 2003-01-04 10:26:28 +00:00
4bd41a4d50 Add casts between oid and lo in contrib. 2003-01-03 15:43:33 +00:00
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
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
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
5271e60ff3 Point does not return a center of lseg.
Kenji Sugita
2002-12-30 02:18:39 +00:00
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
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
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
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
31f7f574bd Trivial patch to increase max_fsm_pages as per earlier discussion.
Philip Warner
2002-12-27 14:07:14 +00:00
7c3e3cd96a Update SSL error message for improper permissions. Backpatch to 7.3.X. 2002-12-23 22:19:26 +00:00
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.
REL7_3_1
2002-12-21 01:07:21 +00:00
96bce9f689 Update 7.3.1 to give proper attribution to pg_dump item. 2002-12-20 00:24:29 +00:00
9e04de0e8d Fix release notes and installation instructions for 7.3.1 release. 2002-12-18 23:38:08 +00:00
c4a389599c Update Russian FAQ. Update all FAQ's for 7.3.X branch. 2002-12-18 20:39:31 +00:00
9c8ace7f0e Update RELEASE checklist. 2002-12-18 20:07:43 +00:00
de34661de1 Update INSTALL file for 7.3.1. 2002-12-18 20:07:02 +00:00
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
bb501dcaaf Update FAQ for 7.3.1. 2002-12-18 04:41:06 +00:00
148e7e06bf Stamp 7.3.1. 2002-12-18 02:07:30 +00:00
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
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
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
77a9708f85 Backpatch SSL fixes into 7.3.1. 2002-12-13 22:20:22 +00:00
9056af5b63 Increment libpq major number for 7.3.1 and minor for 7.4. 2002-12-13 22:18:22 +00:00