]> granicus.if.org Git - postgresql/log
postgresql
22 years agoUpdate FAQ's in head and 7.3.X.
Bruce Momjian [Fri, 14 Feb 2003 14:05:52 +0000 (14:05 +0000)]
Update FAQ's in head and 7.3.X.

22 years agoRepair incorrect indexing for atttypmod, per Brad McLean.
Tom Lane [Thu, 13 Feb 2003 23:06:19 +0000 (23:06 +0000)]
Repair incorrect indexing for atttypmod, per Brad McLean.

22 years agoResult of lo_read() is int, not size_t. Per Oleg Drokin.
Tom Lane [Thu, 13 Feb 2003 22:56:59 +0000 (22:56 +0000)]
Result of lo_read() is int, not size_t.  Per Oleg Drokin.

22 years agoParser was dropping foreign-key constraints on the floor if present in
Tom Lane [Thu, 13 Feb 2003 22:50:09 +0000 (22:50 +0000)]
Parser was dropping foreign-key constraints on the floor if present in
an ALTER TABLE ADD COLUMN command.  Per bug #896.

22 years agoRepair rule permissions-checking bug reported by Tim Burgess 10-Feb-02:
Tom Lane [Thu, 13 Feb 2003 21:40:00 +0000 (21:40 +0000)]
Repair rule permissions-checking bug reported by Tim Burgess 10-Feb-02:
the table(s) modified by the original query would get checked for the
type of write permission needed by a rule query.

22 years agoPrevent timetz2tm() from scribbling on its input in HAVE_INT64_TIMESTAMP case.
Tom Lane [Thu, 13 Feb 2003 17:04:24 +0000 (17:04 +0000)]
Prevent timetz2tm() from scribbling on its input in HAVE_INT64_TIMESTAMP case.

22 years ago> > They work the same as table constraints with in-line declaration (no
Bruce Momjian [Thu, 13 Feb 2003 05:32:58 +0000 (05:32 +0000)]
> > They work the same as table constraints with in-line declaration (no
> > comma).
>
> OK. But the documentation implies there is a comma, so it should probably
> get chenged then.

Yes, it should. (attached)

[ Backpatched to 7.3.X too.]

Rod Taylor

22 years agoApplied patch to update translation file, submitted by Zhenbang Wei
Barry Lind [Wed, 12 Feb 2003 20:39:53 +0000 (20:39 +0000)]
Applied patch to update translation file, submitted by Zhenbang Wei
Modified Files:
  Tag: REL7_3_STABLE
  jdbc/org/postgresql/errors_zh_TW.properties

22 years agoBackport patch from Fernando Nasser and Harald Krake to fix an invalid datatype problem.
Barry Lind [Wed, 12 Feb 2003 17:14:49 +0000 (17:14 +0000)]
Backport patch from Fernando Nasser and Harald Krake to fix an invalid datatype problem.

 Modified Files:
  Tag: REL7_3_STABLE
  jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java

22 years agoBackport a patch from Kris Jurka to 7.3. Allows getTables() method to work
Barry Lind [Wed, 12 Feb 2003 06:01:02 +0000 (06:01 +0000)]
Backport a patch from Kris Jurka to 7.3.  Allows getTables() method to work
against 7.1 servers.

 Modified Files:
  Tag: REL7_3_STABLE
  jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java

22 years agoUse a varno not chosen at random for dummy variables in the top-level
Tom Lane [Tue, 11 Feb 2003 04:13:39 +0000 (04:13 +0000)]
Use a varno not chosen at random for dummy variables in the top-level
targetlist of a set-operation tree.  I'm not sure that this solution
will really stand the test of time --- perhaps we need to make a special
RTE for such vars to refer to.  But this quick hack fixes Brandon Craig
Rhodes' complaint of 10-Feb-02 about EXCEPT in CREATE RULE, while not
changing any behavior in the better-tested cases where leftmostRTI is
one anyway.

22 years agoup build # to 108
Barry Lind [Sun, 9 Feb 2003 23:43:41 +0000 (23:43 +0000)]
up build # to 108

22 years agoMerge changes from head to 7.3 branch: better error message on character set conversi...
Barry Lind [Sun, 9 Feb 2003 23:41:46 +0000 (23:41 +0000)]
Merge changes from head to 7.3 branch: better error message on character set conversion problems and patch from Kris Jurka for numeric scale
 Modified Files:
  Tag: REL7_3_STABLE
  jdbc/org/postgresql/errors.properties
  jdbc/org/postgresql/core/Encoding.java
  jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java

22 years agoRevise mechanism for getting rid of temp tables at backend shutdown.
Tom Lane [Fri, 7 Feb 2003 01:33:39 +0000 (01:33 +0000)]
Revise mechanism for getting rid of temp tables at backend shutdown.
Instead of grovelling through pg_class to find them, make use of the
handy dandy dependency mechanism: just delete everything that depends
on our temp schema.  Unlike the pg_class scan, the dependency mechanism
is smart enough to delete things in an order that doesn't fall foul of
any dependency restrictions.  Fixes problem reported by David Heggie:
a temp table with a serial column may cause a backend FATAL exit at
shutdown time, if it chances to try to delete the temp sequence first.

22 years agoAvoid generating relid lists with duplicate entries. Fixes bugs
Tom Lane [Fri, 7 Feb 2003 00:02:43 +0000 (00:02 +0000)]
Avoid generating relid lists with duplicate entries.  Fixes bugs
reported by Stefanos Harhalakis 2/2/2003.

22 years agoFix core dump when pltcl_elog is called with wrong number of parameters,
Tom Lane [Thu, 6 Feb 2003 17:02:22 +0000 (17:02 +0000)]
Fix core dump when pltcl_elog is called with wrong number of parameters,
per report from Ian Harding.

22 years agoFix regexp slowness reported by Wade Klaver.
Tatsuo Ishii [Thu, 6 Feb 2003 00:00:24 +0000 (00:00 +0000)]
Fix regexp slowness reported by Wade Klaver.

22 years agoAllow qualified type names in CREATE CAST, DROP CAST. Also allow the
Tom Lane [Wed, 5 Feb 2003 20:16:55 +0000 (20:16 +0000)]
Allow qualified type names in CREATE CAST, DROP CAST.  Also allow the
construction 'SETOF type[]' which for some reason was previously
overlooked (you'd have to name the array type directly to make it work).

22 years agoFix for rollback SQLException from Kris Jurka
Dave Cramer [Tue, 4 Feb 2003 11:16:00 +0000 (11:16 +0000)]
Fix for rollback SQLException from Kris Jurka

22 years agoAdd mention of CURRENT_SCHEMA for object creation. REL7_3_2
Bruce Momjian [Mon, 3 Feb 2003 15:57:03 +0000 (15:57 +0000)]
Add mention of CURRENT_SCHEMA for object creation.

22 years agoBrand 7.3.2.
Tom Lane [Sun, 2 Feb 2003 19:56:46 +0000 (19:56 +0000)]
Brand 7.3.2.

22 years agoUpdate release history for 7.3.2.
Tom Lane [Sun, 2 Feb 2003 19:48:30 +0000 (19:48 +0000)]
Update release history for 7.3.2.

22 years agoFix nodeUnique to behave correctly when reversing direction after reaching
Tom Lane [Sun, 2 Feb 2003 19:09:08 +0000 (19:09 +0000)]
Fix nodeUnique to behave correctly when reversing direction after reaching
either end of subplan results.  This prevents misbehavior of cursors
on SELECT DISTINCT ... queries.  Per bug report 1-Feb-02.

22 years agoRemove restriction that cast functions cannot be volatile. This
Tom Lane [Sat, 1 Feb 2003 22:09:41 +0000 (22:09 +0000)]
Remove restriction that cast functions cannot be volatile.  This
restriction was debatable to begin with, but it has now become obvious
that it breaks forward-porting of user-defined types; contrib/lo being
the most salient example.

22 years agoCleaner solution to the problem of loading pre-7.3 dumps containing
Tom Lane [Sat, 1 Feb 2003 22:07:14 +0000 (22:07 +0000)]
Cleaner solution to the problem of loading pre-7.3 dumps containing
columns of type lo (see contrib/lo).  Rather than hacking the function
definitions on-the-fly, just modify the queries issued by FixupBlobRefs
so that they work even if CREATE CAST hasn't been issued.

22 years agoChanges of 6-Sep-02 broke pg_restore's ability to recognize tar-format
Tom Lane [Sat, 1 Feb 2003 19:29:26 +0000 (19:29 +0000)]
Changes of 6-Sep-02 broke pg_restore's ability to recognize tar-format
files.  Fix it.

22 years agoFix assign_session_authorization() to not be confused by all-numeric
Tom Lane [Sat, 1 Feb 2003 18:31:37 +0000 (18:31 +0000)]
Fix assign_session_authorization() to not be confused by all-numeric
user names.  Per recent reports.

22 years agoPrevent core dump from calling Tcl_DontCallWhenDeleted() with a null
Tom Lane [Sat, 1 Feb 2003 00:22:23 +0000 (00:22 +0000)]
Prevent core dump from calling Tcl_DontCallWhenDeleted() with a null
interp pointer.  Per report from Gerhard Hintermayer.

22 years agoApply ljb's patch to prevent both memory leak and core dump during
Tom Lane [Sat, 1 Feb 2003 00:07:19 +0000 (00:07 +0000)]
Apply ljb's patch to prevent both memory leak and core dump during
connection shutdown.  This is a grotty workaround for a Tcl bug, but
said bug has been there long enough that I'm not holding my breath
for a real fix.  Per discussions and testing from ljb and g.hintermayer.

22 years agoMake plpython's spi_execute interface handle NULLs properly.
Tom Lane [Fri, 31 Jan 2003 22:35:27 +0000 (22:35 +0000)]
Make plpython's spi_execute interface handle NULLs properly.
From Andrew Bosma.

22 years agoClean up plpython error reporting so that its regression test passes
Tom Lane [Fri, 31 Jan 2003 22:25:18 +0000 (22:25 +0000)]
Clean up plpython error reporting so that its regression test passes
with some amount of cleanliness.  I see no need to report the internal
Python name rather than the SQL procedure name in error tracebacks.

22 years agoTweak bison build rules so that we get the same error messages from
Tom Lane [Fri, 31 Jan 2003 20:58:28 +0000 (20:58 +0000)]
Tweak bison build rules so that we get the same error messages from
bison 1.875 and later as we did from earlier bison releases.  Eventually
we will probably want to adopt the newer message spelling ... but not yet.
Per recent discussion on pgpatches.
Note: I didn't change the build rules for bootstrap, ecpg, or plpgsql
grammars, since these do not affect regression test results.

22 years agoHandle mixed-case names properly in plpgsql_parse_tripwordtype.
Tom Lane [Fri, 31 Jan 2003 00:32:00 +0000 (00:32 +0000)]
Handle mixed-case names properly in plpgsql_parse_tripwordtype.
From Neil Conway.

22 years agoFix regression in .pgpass support. From Neil Conway.
Tom Lane [Thu, 30 Jan 2003 19:50:07 +0000 (19:50 +0000)]
Fix regression in .pgpass support.  From Neil Conway.

22 years agoUpdate release history for 7.2.4.
Tom Lane [Wed, 29 Jan 2003 22:13:56 +0000 (22:13 +0000)]
Update release history for 7.2.4.

22 years agoSPI_exec shouldn't return SPI_OK_SELECT if it hasn't actually returned
Tom Lane [Wed, 29 Jan 2003 15:24:57 +0000 (15:24 +0000)]
SPI_exec shouldn't return SPI_OK_SELECT if it hasn't actually returned
a tuple table.  Fixes core dump in pltcl (and probably other PLs) when
executing a query rewritten by a rule.  Per bug report from Wolfgang Walter.

22 years agoRepair array subscript overrun identified by Yichen Xie. Reduce the
Tom Lane [Wed, 29 Jan 2003 01:09:03 +0000 (01:09 +0000)]
Repair array subscript overrun identified by Yichen Xie.  Reduce the
value of MAX_TIME_PRECISION in floating-point-timestamp-storage case
from 13 to 10, which is as much as time_out is actually willing to print.
(The alternative of increasing the number of digits we are willing to
print looks risky; we might find ourselves printing roundoff garbage.)

22 years agoFix array subscript overruns identified by Yichen Xie.
Tom Lane [Wed, 29 Jan 2003 01:01:15 +0000 (01:01 +0000)]
Fix array subscript overruns identified by Yichen Xie.

22 years agoConvert variable name to canonical spelling before checking for matches
Tom Lane [Tue, 28 Jan 2003 18:04:13 +0000 (18:04 +0000)]
Convert variable name to canonical spelling before checking for matches
in GUCArrayAdd/GUCArrayDelete.  This prevents the multiple-entry bug
exhibited by Frank Lupo 28-Jan-2003.

22 years agoRevert off setting mention for client_min_messages.
Bruce Momjian [Tue, 28 Jan 2003 03:44:09 +0000 (03:44 +0000)]
Revert off setting mention for client_min_messages.

Set log_min_error_messages to the proper and agreed-upon default, PANIC
(off).  (BACKPATCH)

22 years agoPrevent core dump when die_horribly() is called with null AH pointer.
Tom Lane [Mon, 27 Jan 2003 00:23:49 +0000 (00:23 +0000)]
Prevent core dump when die_horribly() is called with null AH pointer.
Problem reported and fixed by Oliver Elphick.

22 years agoBack-patch fix for not shell-quoting editor name, as it also fixes
Tom Lane [Fri, 24 Jan 2003 05:23:55 +0000 (05:23 +0000)]
Back-patch fix for not shell-quoting editor name, as it also fixes
silly buffer overrun (someone needs to learn to count characters...)

22 years agoFix obsolete error message (isImmutable doesn't exist).
Tom Lane [Thu, 23 Jan 2003 15:18:50 +0000 (15:18 +0000)]
Fix obsolete error message (isImmutable doesn't exist).

22 years agoChange CREATE TABLE AS / SELECT INTO to create the new table with OIDs,
Tom Lane [Thu, 23 Jan 2003 05:10:57 +0000 (05:10 +0000)]
Change CREATE TABLE AS / SELECT INTO to create the new table with OIDs,
for backwards compatibility with pre-7.3 behavior.  Per discussion on
pgsql-general and pgsql-hackers.

22 years agoUpdate 'Mathematical Functions' table to reflect 7.3 addition of float8
Tom Lane [Thu, 23 Jan 2003 01:23:14 +0000 (01:23 +0000)]
Update 'Mathematical Functions' table to reflect 7.3 addition of float8
forms of ceil(), floor(), sign().  Back-patch this and other recent
doc fixes in this file to the 7.3 branch.

22 years agoMake estimation of mergejoin scan selectivities more robust, per recent
Tom Lane [Wed, 22 Jan 2003 20:17:07 +0000 (20:17 +0000)]
Make estimation of mergejoin scan selectivities more robust, per recent
example from RaÇl GutiÅrrez.

22 years agoFix coredump problem in plpgsql's RETURN NEXT. When a SELECT INTO
Tom Lane [Tue, 21 Jan 2003 22:06:36 +0000 (22:06 +0000)]
Fix coredump problem in plpgsql's RETURN NEXT.  When a SELECT INTO
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.

22 years agoBack-patch typprtlen fix, two other minor post-7.3 fixes.
Tom Lane [Tue, 21 Jan 2003 19:57:50 +0000 (19:57 +0000)]
Back-patch typprtlen fix, two other minor post-7.3 fixes.

22 years agoFix bogus formatting of DROP DATABASE command, per Christopher Kings-Lynne.
Tom Lane [Thu, 16 Jan 2003 15:28:06 +0000 (15:28 +0000)]
Fix bogus formatting of DROP DATABASE command, per Christopher Kings-Lynne.

22 years agoRepair an embarrassingly large number of alphabetization mistakes in the
Tom Lane [Thu, 16 Jan 2003 00:27:17 +0000 (00:27 +0000)]
Repair an embarrassingly large number of alphabetization mistakes in the
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.

22 years agoMore comment cleanups for shared_buffers in postgresql.conf.
Bruce Momjian [Wed, 15 Jan 2003 20:50:18 +0000 (20:50 +0000)]
More comment cleanups for shared_buffers in postgresql.conf.

22 years agoUpdate shared_buffer comment in postgresql.conf.
Bruce Momjian [Wed, 15 Jan 2003 20:41:33 +0000 (20:41 +0000)]
Update shared_buffer comment in postgresql.conf.

22 years agoThis patch fixes an incorrect statement and makes a few cleanups to
Bruce Momjian [Wed, 15 Jan 2003 16:45:34 +0000 (16:45 +0000)]
This patch fixes an incorrect statement and makes a few cleanups to
contrib/fulltextindex/README.fti

Backpatched to 7.3.X too.

Neil Conway

22 years agoBumped up build number to 107
Barry Lind [Tue, 14 Jan 2003 09:40:48 +0000 (09:40 +0000)]
Bumped up build number to 107

22 years agoBackport to 7.3 of patch to correctly handle fractional seconds
Barry Lind [Tue, 14 Jan 2003 09:15:35 +0000 (09:15 +0000)]
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

22 years agoPatch from Kris Jurka to improve the performance of getImportedKeys(). The
Barry Lind [Tue, 14 Jan 2003 05:07:56 +0000 (05:07 +0000)]
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

22 years agoFix capitalization.
Bruce Momjian [Sat, 11 Jan 2003 21:03:21 +0000 (21:03 +0000)]
Fix capitalization.

22 years agoCause symlinks for shared-library versioning to run in the standard
Tom Lane [Sat, 11 Jan 2003 17:22:34 +0000 (17:22 +0000)]
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

22 years agoFix typo in an error messages
Tatsuo Ishii [Sat, 11 Jan 2003 06:59:30 +0000 (06:59 +0000)]
Fix typo in an error messages

22 years ago> > This patch improves the documentation for the shared_buffers GUC param.
Bruce Momjian [Sat, 11 Jan 2003 05:04:27 +0000 (05:04 +0000)]
> > 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

22 years agoA tiny patch to fix a typo in configure.in and another one in
Bruce Momjian [Sat, 11 Jan 2003 04:59:08 +0000 (04:59 +0000)]
A tiny patch to fix a typo in configure.in and another one in
RELEASE_CHANGES.

Manfred Koizar

22 years agoAdd missing <limits.h> for INT64_IS_BUSTED case.
Tom Lane [Fri, 10 Jan 2003 23:51:46 +0000 (23:51 +0000)]
Add missing <limits.h> for INT64_IS_BUSTED case.

22 years agoFix indenting of log_min_error_statement.
Bruce Momjian [Thu, 9 Jan 2003 05:19:18 +0000 (05:19 +0000)]
Fix indenting of log_min_error_statement.

22 years agoRepair inconsistent rounding behavior for timestamp, time, interval,
Tom Lane [Thu, 9 Jan 2003 01:07:18 +0000 (01:07 +0000)]
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.

22 years agoRemove 'const' from secure_write, to prevent compiler warning.
Bruce Momjian [Wed, 8 Jan 2003 23:34:37 +0000 (23:34 +0000)]
Remove 'const' from secure_write, to prevent compiler warning.

22 years agoThe second was that renegotiation was just plain broken. I can't
Bruce Momjian [Wed, 8 Jan 2003 23:18:35 +0000 (23:18 +0000)]
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

22 years agoI was playing around with 7.3.1 and found some more SSL problems. The
Bruce Momjian [Wed, 8 Jan 2003 22:57:05 +0000 (22:57 +0000)]
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

22 years agoFix dumping of DEFERRABLE/INITIALLY DEFERRED:
Bruce Momjian [Wed, 8 Jan 2003 22:54:36 +0000 (22:54 +0000)]
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

22 years agoRepair bug noticed by Deepak Bhole: a shell type should have a dependency
Tom Lane [Wed, 8 Jan 2003 21:40:49 +0000 (21:40 +0000)]
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.

22 years agoFix pgpass to work with PQconnectDB().
Bruce Momjian [Wed, 8 Jan 2003 21:33:53 +0000 (21:33 +0000)]
Fix pgpass to work with PQconnectDB().

Backpatch to 7.3.X.

Report from ljb.

22 years agoFix for bug #866. 7.3 contains new logic for avoiding redundant calls to
Tom Lane [Wed, 8 Jan 2003 19:41:57 +0000 (19:41 +0000)]
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.

22 years agoBackpatch extra slash removal into 7.3.X. HEAD already has it.
Bruce Momjian [Tue, 7 Jan 2003 22:54:03 +0000 (22:54 +0000)]
Backpatch extra slash removal into 7.3.X. HEAD already has it.

22 years agoFix doc chmod .pgpass line in 7.3.X. Head already fixed.
Bruce Momjian [Tue, 7 Jan 2003 22:52:50 +0000 (22:52 +0000)]
Fix doc chmod .pgpass line in 7.3.X.  Head already fixed.

22 years agoUpgrade to my2pg 1.9
Bruce Momjian [Tue, 7 Jan 2003 22:18:49 +0000 (22:18 +0000)]
Upgrade to my2pg 1.9

22 years agoUpgrade to even newer ora2pg 2.0.
Bruce Momjian [Tue, 7 Jan 2003 22:17:23 +0000 (22:17 +0000)]
Upgrade to even newer ora2pg 2.0.

22 years agoUpgrade to ora2pg 1.10. Backpatch to 7.3.X.
Bruce Momjian [Tue, 7 Jan 2003 22:16:19 +0000 (22:16 +0000)]
Upgrade to ora2pg 1.10.  Backpatch to 7.3.X.

22 years agoFix inherited UPDATE for cases where child column numbering doesn't
Tom Lane [Sun, 5 Jan 2003 00:56:56 +0000 (00:56 +0000)]
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.

22 years agoAdd missing include --- seems include file references are different in
Tom Lane [Sun, 5 Jan 2003 00:49:59 +0000 (00:49 +0000)]
Add missing include --- seems include file references are different in
CVS tip than in this branch.

22 years agoTranslation updates
Peter Eisentraut [Sat, 4 Jan 2003 10:26:28 +0000 (10:26 +0000)]
Translation updates

22 years agoAdd casts between oid and lo in contrib.
Hiroshi Inoue [Fri, 3 Jan 2003 15:43:33 +0000 (15:43 +0000)]
Add casts between oid and lo in contrib.

22 years agoFix BSD/OS thread file locking bug in new fseeko code.
Bruce Momjian [Thu, 2 Jan 2003 06:01:02 +0000 (06:01 +0000)]
Fix BSD/OS thread file locking bug in new fseeko code.

Backpatch to 7.3.X.

22 years agofastpath code neglected to check whether user has privileges to call the
Tom Lane [Wed, 1 Jan 2003 21:57:18 +0000 (21:57 +0000)]
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.

22 years agoAwhile back I wrote that freebsd.h was probably broken in the places where
Tom Lane [Wed, 1 Jan 2003 20:35:54 +0000 (20:35 +0000)]
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.

22 years agoPoint does not return a center of lseg.
Tom Lane [Mon, 30 Dec 2002 02:18:39 +0000 (02:18 +0000)]
Point does not return a center of lseg.

Kenji Sugita

22 years agoAdjust hash table sizing algorithm to avoid integer overflow in
Tom Lane [Sun, 29 Dec 2002 22:29:03 +0000 (22:29 +0000)]
Adjust hash table sizing algorithm to avoid integer overflow in
ExecHashJoinGetBatch().  Fixes core dump on large hash joins, as in
example from Rae Stiening.

22 years agoDeliver better error message when a relation name is used in an expression.
Tom Lane [Fri, 27 Dec 2002 20:06:28 +0000 (20:06 +0000)]
Deliver better error message when a relation name is used in an expression.
Per report from Ian Barwick.

22 years agoRemove overenthusiastic free'ing of comment dependencies; could lead to
Tom Lane [Fri, 27 Dec 2002 17:10:55 +0000 (17:10 +0000)]
Remove overenthusiastic free'ing of comment dependencies; could lead to
core dump in pg_dump when dumping views having comments.  See bug #855.

22 years agoSmall fix in documentation and some examples of usage. Please, apply to
Bruce Momjian [Fri, 27 Dec 2002 14:10:49 +0000 (14:10 +0000)]
Small fix in documentation and some examples of usage. Please, apply to
7.3 and current CVS

Oleg Bartunov

22 years agoTrivial patch to increase max_fsm_pages as per earlier discussion.
Bruce Momjian [Fri, 27 Dec 2002 14:07:14 +0000 (14:07 +0000)]
Trivial patch to increase max_fsm_pages as per earlier discussion.

Philip Warner

22 years agoUpdate SSL error message for improper permissions. Backpatch to 7.3.X.
Bruce Momjian [Mon, 23 Dec 2002 22:19:26 +0000 (22:19 +0000)]
Update SSL error message for improper permissions.  Backpatch to 7.3.X.

22 years agoFix possible buffer overrun in \d command: substr(..., 128) produces REL7_3_1
Tom Lane [Sat, 21 Dec 2002 01:07:21 +0000 (01:07 +0000)]
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.

22 years agoUpdate 7.3.1 to give proper attribution to pg_dump item.
Bruce Momjian [Fri, 20 Dec 2002 00:24:29 +0000 (00:24 +0000)]
Update 7.3.1 to give proper attribution to pg_dump item.

22 years agoFix release notes and installation instructions for 7.3.1 release.
Peter Eisentraut [Wed, 18 Dec 2002 23:38:08 +0000 (23:38 +0000)]
Fix release notes and installation instructions for 7.3.1 release.

22 years agoUpdate Russian FAQ. Update all FAQ's for 7.3.X branch.
Bruce Momjian [Wed, 18 Dec 2002 20:39:31 +0000 (20:39 +0000)]
Update Russian FAQ.  Update all FAQ's for 7.3.X branch.

22 years agoUpdate RELEASE checklist.
Bruce Momjian [Wed, 18 Dec 2002 20:07:43 +0000 (20:07 +0000)]
Update RELEASE checklist.

22 years agoUpdate INSTALL file for 7.3.1.
Bruce Momjian [Wed, 18 Dec 2002 20:07:02 +0000 (20:07 +0000)]
Update INSTALL file for 7.3.1.

22 years agoFrom the SSL_CTX_new man page:
PostgreSQL Daemon [Wed, 18 Dec 2002 13:20:03 +0000 (13:20 +0000)]
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 ...

22 years agoUpdate FAQ for 7.3.1.
Bruce Momjian [Wed, 18 Dec 2002 04:41:06 +0000 (04:41 +0000)]
Update FAQ for 7.3.1.

22 years agoStamp 7.3.1.
Bruce Momjian [Wed, 18 Dec 2002 02:07:30 +0000 (02:07 +0000)]
Stamp 7.3.1.

22 years agoFix ALTER TABLE ADD COLUMN to disallow the same column types that are
Tom Lane [Mon, 16 Dec 2002 18:39:57 +0000 (18:39 +0000)]
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.