summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2003-01-28Convert variable name to canonical spelling before checking for matchesTom Lane
in GUCArrayAdd/GUCArrayDelete. This prevents the multiple-entry bug exhibited by Frank Lupo 28-Jan-2003.
2003-01-28Revert off setting mention for client_min_messages.Bruce Momjian
Set log_min_error_messages to the proper and agreed-upon default, PANIC (off). (BACKPATCH)
2003-01-27Prevent core dump when die_horribly() is called with null AH pointer.Tom Lane
Problem reported and fixed by Oliver Elphick.
2003-01-24Back-patch fix for not shell-quoting editor name, as it also fixesTom Lane
silly buffer overrun (someone needs to learn to count characters...)
2003-01-23Fix obsolete error message (isImmutable doesn't exist).Tom Lane
2003-01-23Change CREATE TABLE AS / SELECT INTO to create the new table with OIDs,Tom Lane
for backwards compatibility with pre-7.3 behavior. Per discussion on pgsql-general and pgsql-hackers.
2003-01-22Make estimation of mergejoin scan selectivities more robust, per recentTom Lane
example from RaÇl GutiÅrrez.
2003-01-21Fix coredump problem in plpgsql's RETURN NEXT. When a SELECT INTOTom Lane
that's selecting into a RECORD variable returns zero rows, make it assign an all-nulls row to the RECORD; this is consistent with what happens when the SELECT INTO target is not a RECORD. In support of this, tweak the SPI code so that a valid tuple descriptor is returned even when a SPI select returns no rows.
2003-01-21Back-patch typprtlen fix, two other minor post-7.3 fixes.Tom Lane
2003-01-16Fix bogus formatting of DROP DATABASE command, per Christopher Kings-Lynne.Tom Lane
2003-01-16Repair an embarrassingly large number of alphabetization mistakes in theTom Lane
datetime token tables. Even more embarrassing, the regression tests revealed some of the problems --- but evidently the bogus output wasn't questioned. Add code to postmaster startup to directly check the tables for correct ordering, in hopes of not being embarrassed like this again.
2003-01-15More comment cleanups for shared_buffers in postgresql.conf.Bruce Momjian
2003-01-15Update shared_buffer comment in postgresql.conf.Bruce Momjian
2003-01-14Bumped up build number to 107Barry Lind
2003-01-14Backport to 7.3 of patch to correctly handle fractional secondsBarry Lind
Modified Files: Tag: REL7_3_STABLE jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java jdbc/org/postgresql/test/jdbc2/TimestampTest.java
2003-01-14Patch from Kris Jurka to improve the performance of getImportedKeys(). TheBarry Lind
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-11Cause symlinks for shared-library versioning to run in the standardTom Lane
direction on HP-UX; our former approach has been obsolete since HPUX 9. Giles Lean
2003-01-11Fix typo in an error messagesTatsuo Ishii
2003-01-11> > This patch improves the documentation for the shared_buffers GUC param.Bruce Momjian
> > 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-11A tiny patch to fix a typo in configure.in and another one inBruce Momjian
RELEASE_CHANGES. Manfred Koizar
2003-01-10Add missing <limits.h> for INT64_IS_BUSTED case.Tom Lane
2003-01-09Fix indenting of log_min_error_statement.Bruce Momjian
2003-01-09Repair inconsistent rounding behavior for timestamp, time, interval,Tom Lane
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-08Remove 'const' from secure_write, to prevent compiler warning.Bruce Momjian
2003-01-08The second was that renegotiation was just plain broken. I can'tBruce Momjian
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-08I was playing around with 7.3.1 and found some more SSL problems. TheBruce Momjian
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-08Fix dumping of DEFERRABLE/INITIALLY DEFERRED:Bruce Momjian
> 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-08Repair bug noticed by Deepak Bhole: a shell type should have a dependencyTom Lane
on its namespace, so that it will go away if the schema is dropped.
2003-01-08Fix pgpass to work with PQconnectDB().Bruce Momjian
Backpatch to 7.3.X. Report from ljb.
2003-01-08Fix for bug #866. 7.3 contains new logic for avoiding redundant calls toTom Lane
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-05Fix inherited UPDATE for cases where child column numbering doesn'tTom Lane
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-05Add missing include --- seems include file references are different inTom Lane
CVS tip than in this branch.
2003-01-04Translation updatesPeter Eisentraut
2003-01-02Fix BSD/OS thread file locking bug in new fseeko code.Bruce Momjian
Backpatch to 7.3.X.
2003-01-01fastpath code neglected to check whether user has privileges to call theTom Lane
target function. Also, move SetQuerySnapshot() call to avoid assert failure when a fastpath call is attempted in an aborted transaction.
2003-01-01Awhile back I wrote that freebsd.h was probably broken in the places whereTom Lane
it diverged from netbsd.h and openbsd.h. This has now been confirmed. Accordingly, make all three exactly alike.
2002-12-30Point does not return a center of lseg.Tom Lane
Kenji Sugita
2002-12-29Adjust hash table sizing algorithm to avoid integer overflow inTom Lane
ExecHashJoinGetBatch(). Fixes core dump on large hash joins, as in example from Rae Stiening.
2002-12-27Deliver better error message when a relation name is used in an expression.Tom Lane
Per report from Ian Barwick.
2002-12-27Remove overenthusiastic free'ing of comment dependencies; could lead toTom Lane
core dump in pg_dump when dumping views having comments. See bug #855.
2002-12-27Trivial patch to increase max_fsm_pages as per earlier discussion.Bruce Momjian
Philip Warner
2002-12-23Update SSL error message for improper permissions. Backpatch to 7.3.X.Bruce Momjian
2002-12-21Fix possible buffer overrun in \d command: substr(..., 128) producesREL7_3_1Tom Lane
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-18Update RELEASE checklist.Bruce Momjian
2002-12-18From the SSL_CTX_new man page:PostgreSQL Daemon
"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-18Stamp 7.3.1.Bruce Momjian
2002-12-16Fix ALTER TABLE ADD COLUMN to disallow the same column types that areTom Lane
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-14The actual segfault was caused by a double pfree(), but ISTM thatBruce Momjian
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-14Ok, I think I've gotten this figured out now. I saw this comment inBruce Momjian
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-13Backpatch SSL fixes into 7.3.1.Bruce Momjian