]> granicus.if.org Git - postgresql/log
postgresql
21 years agoFix portability bugs: char values passed to <ctype.h> functions must
Tom Lane [Sun, 4 Jan 2004 04:17:14 +0000 (04:17 +0000)]
Fix portability bugs: char values passed to <ctype.h> functions must
be cast to unsigned char.  We have learned this the hard way before.

21 years agoFix discrepancy in prototypes for HPUX pg_dlerror.
Tom Lane [Sun, 4 Jan 2004 04:06:45 +0000 (04:06 +0000)]
Fix discrepancy in prototypes for HPUX pg_dlerror.

21 years agoFix ReadOffset() to work correctly when off_t is wider than int.
Tom Lane [Sun, 4 Jan 2004 04:02:22 +0000 (04:02 +0000)]
Fix ReadOffset() to work correctly when off_t is wider than int.

21 years agoRemove trailing semicolons from macro initializations in plpython.
Bruce Momjian [Sun, 4 Jan 2004 00:14:55 +0000 (00:14 +0000)]
Remove trailing semicolons from macro initializations in plpython.

Problem report on True64 Unix by Nikola Milutinovic.
]

21 years agoDo an explicit fflush after writing a progress message with puts.
Tom Lane [Thu, 1 Jan 2004 19:27:28 +0000 (19:27 +0000)]
Do an explicit fflush after writing a progress message with puts.
This ensures stdout is kept in sync with messages on stderr.
Per report from Olaf Ferger.

21 years agoBackpatch Solaris non-gcc thread compile fix to 7.4.X.
Bruce Momjian [Thu, 1 Jan 2004 17:35:32 +0000 (17:35 +0000)]
Backpatch Solaris non-gcc thread compile fix to 7.4.X.

21 years agoAvoid running out of memory during hash_create, by not passing a
Tom Lane [Tue, 30 Dec 2003 20:05:15 +0000 (20:05 +0000)]
Avoid running out of memory during hash_create, by not passing a
number-of-buckets that exceeds the size we actually plan to allow
the hash table to grow to.  Per trouble report from Sean Shanny.

21 years agoAdded missing whitespaces to array argument parsing.
Michael Meskes [Mon, 29 Dec 2003 13:53:17 +0000 (13:53 +0000)]
Added missing whitespaces to array argument parsing.

21 years agoFix sanity-check code that mistakenly assumed error and notice messages
Tom Lane [Sun, 28 Dec 2003 17:44:05 +0000 (17:44 +0000)]
Fix sanity-check code that mistakenly assumed error and notice messages
could never exceed 30K.  Per report from Andreas Pflug.

21 years agoAvoid infinite loop if connection is lost during PQexecStart() or
Tom Lane [Sun, 28 Dec 2003 17:29:51 +0000 (17:29 +0000)]
Avoid infinite loop if connection is lost during PQexecStart() or
PQexecFinish().  Per report from Andreas Pflug.

21 years agoFixed segfault in parsing of EXEC SQL SELECT * FROM foo() AS TBL( c int, i int);
Michael Meskes [Wed, 24 Dec 2003 22:05:06 +0000 (22:05 +0000)]
Fixed segfault in parsing of EXEC SQL SELECT * FROM foo() AS TBL( c int, i int);

21 years agoMore bogosity in alter_table test: sometimes causes prepare test to fail
Tom Lane [Tue, 23 Dec 2003 20:34:51 +0000 (20:34 +0000)]
More bogosity in alter_table test: sometimes causes prepare test to fail
by means of arbitrarily renaming tables the other test depends on.

21 years agoalter_table test sometimes failed in parallel mode, because of transient
Tom Lane [Tue, 23 Dec 2003 20:17:55 +0000 (20:17 +0000)]
alter_table test sometimes failed in parallel mode, because of transient
table name conflict against rangefuncs test.

21 years agoRegenerate HISTORY for release.
Bruce Momjian [Mon, 22 Dec 2003 07:28:46 +0000 (07:28 +0000)]
Regenerate HISTORY for release.

21 years agoUpdate HISTORY for 7.4.1 release. REL7_4_1
Tom Lane [Sun, 21 Dec 2003 23:44:40 +0000 (23:44 +0000)]
Update HISTORY for 7.4.1 release.

21 years agoFix broken markup, adjust 7.4.1 release date, re-sync HEAD with branch.
Tom Lane [Sun, 21 Dec 2003 18:06:26 +0000 (18:06 +0000)]
Fix broken markup, adjust 7.4.1 release date, re-sync HEAD with branch.

21 years agoSome refining of release notes. Markup is still broken by someone else,
Peter Eisentraut [Sun, 21 Dec 2003 16:36:34 +0000 (16:36 +0000)]
Some refining of release notes.  Markup is still broken by someone else,
so I cannot remake HISTORY.

21 years agoUpdate 7.4.1 release notes in preparation for release.
Bruce Momjian [Sun, 21 Dec 2003 05:24:00 +0000 (05:24 +0000)]
Update 7.4.1 release notes in preparation for release.

21 years agoDept. of third thoughts: in fact, libpq should support SCM_CREDS challenge
Tom Lane [Sat, 20 Dec 2003 18:46:02 +0000 (18:46 +0000)]
Dept. of third thoughts: in fact, libpq should support SCM_CREDS challenge
even when HAVE_GETPEEREID is defined, else it will be unable to connect to
pre-7.4 backends that are using IDENT authentication.

21 years agoFix broken IDENT support for FreeBSD (appears to have been broken by
Tom Lane [Sat, 20 Dec 2003 18:25:02 +0000 (18:25 +0000)]
Fix broken IDENT support for FreeBSD (appears to have been broken by
ill-considered conditional logic in getpeereid patch of 3-Dec-2002).
Per bug #1021.

21 years agoUpdate INSTALL file for 7.4.1.
Peter Eisentraut [Sat, 20 Dec 2003 15:32:18 +0000 (15:32 +0000)]
Update INSTALL file for 7.4.1.

21 years agoUpdate HISTORY file for 7.4.1.
Bruce Momjian [Sat, 20 Dec 2003 00:57:32 +0000 (00:57 +0000)]
Update HISTORY file for 7.4.1.

21 years agoBackpatch pg_service.conf file change to not default dbname to match
Bruce Momjian [Fri, 19 Dec 2003 23:32:36 +0000 (23:32 +0000)]
Backpatch pg_service.conf file change to not default dbname to match
service name.

21 years agoSupress ecpg thread test if configure didn't enable threads. Fix
Bruce Momjian [Fri, 19 Dec 2003 23:29:29 +0000 (23:29 +0000)]
Supress ecpg thread test if configure didn't enable threads.  Fix
tools/thread to run even if configure didn't enable threads because this
test is used before enabling threads for the OS.

21 years ago7.4.1 release note improvements
Peter Eisentraut [Fri, 19 Dec 2003 20:06:14 +0000 (20:06 +0000)]
7.4.1 release note improvements

21 years agoForbid REVOKE on untrusted languages, and don't dump privileges of
Peter Eisentraut [Fri, 19 Dec 2003 14:21:43 +0000 (14:21 +0000)]
Forbid REVOKE on untrusted languages, and don't dump privileges of
untrusted languages (in case they sneak in).

21 years agoAdd missing $(X).
Peter Eisentraut [Fri, 19 Dec 2003 11:54:23 +0000 (11:54 +0000)]
Add missing $(X).

21 years agoMake to_hex() behave portably on negative input values (treat them as
Tom Lane [Fri, 19 Dec 2003 04:56:54 +0000 (04:56 +0000)]
Make to_hex() behave portably on negative input values (treat them as
unsigned integers).  Per report from Jim Crate.

21 years agoUse a shutdown callback to ensure proper clean up when rescanning
Joe Conway [Fri, 19 Dec 2003 00:00:27 +0000 (00:00 +0000)]
Use a shutdown callback to ensure proper clean up when rescanning
partially-evaluated SRFs. Per report found here:
http://archives.postgresql.org/pgsql-general/2003-12/msg00851.php

21 years agoFix memory leak with SSL connections due to missing X509_free() calls.
Tom Lane [Thu, 18 Dec 2003 22:49:34 +0000 (22:49 +0000)]
Fix memory leak with SSL connections due to missing X509_free() calls.
Per Neil Conway.

21 years agoUse a shutdown callback to clear setArgsValid in a FuncExprState that is
Tom Lane [Thu, 18 Dec 2003 22:23:55 +0000 (22:23 +0000)]
Use a shutdown callback to clear setArgsValid in a FuncExprState that is
evaluating a set-valued function.  This fixes some additional problems
with rescanning partially-evaluated SRFs.

21 years agoForgot to change one compatlib.h.
Peter Eisentraut [Thu, 18 Dec 2003 20:25:57 +0000 (20:25 +0000)]
Forgot to change one compatlib.h.

21 years agoEnsure set-returning functions in the targetlist of a plan node will be
Tom Lane [Thu, 18 Dec 2003 20:21:53 +0000 (20:21 +0000)]
Ensure set-returning functions in the targetlist of a plan node will be
shut down cleanly if the plan node is ReScanned before the SRFs are run
to completion.  This fixes the problem for SQL-language functions, but
still need work on functions using the SRF_XXX() macros.

21 years agoMove Informix compatibility include files out of the way. compatlib.h
Peter Eisentraut [Thu, 18 Dec 2003 18:55:06 +0000 (18:55 +0000)]
Move Informix compatibility include files out of the way.  compatlib.h
was integrated into ecpg_informix.h, the other ones go into their own
subdirectory that is automatically considered by the embedded preprocessor
when in Informix mode.

21 years agopatch for new OID74Test
Dave Cramer [Thu, 18 Dec 2003 04:18:15 +0000 (04:18 +0000)]
patch for new OID74Test

21 years agobackpatch for OID74Test to conform with jdbc tests
Dave Cramer [Thu, 18 Dec 2003 04:10:12 +0000 (04:10 +0000)]
backpatch for OID74Test to conform with jdbc tests

21 years agobackpatch for rs.previous from Kris Jurka, reported by Andrew Fyfe
Dave Cramer [Thu, 18 Dec 2003 03:35:55 +0000 (03:35 +0000)]
backpatch for rs.previous from Kris Jurka, reported by Andrew Fyfe

21 years agopatch for building for an alternate port
Dave Cramer [Thu, 18 Dec 2003 03:32:05 +0000 (03:32 +0000)]
patch for building for an alternate port

21 years agoback patch by Kris Jurka to get the correct protocol version from the server
Dave Cramer [Thu, 18 Dec 2003 03:29:12 +0000 (03:29 +0000)]
back patch by Kris Jurka to get the correct protocol version from the server

21 years agoAdjust rules output for unknown-vs-any change (affects expected contents
Tom Lane [Thu, 18 Dec 2003 01:48:59 +0000 (01:48 +0000)]
Adjust rules output for unknown-vs-any change (affects expected contents
of pg_stats view definition).

21 years agoinformation_schema.constraint_column_usage and key_column_usage should
Tom Lane [Wed, 17 Dec 2003 22:11:42 +0000 (22:11 +0000)]
information_schema.constraint_column_usage and key_column_usage should
not discriminate against system columns, since we support constraints on
system columns, and in fact constraints on OID are moderately useful.

21 years agoFix DecodeInterval to handle '-0.1' sanely, per gripe from Tilo Schwarz.
Tom Lane [Wed, 17 Dec 2003 21:45:51 +0000 (21:45 +0000)]
Fix DecodeInterval to handle '-0.1' sanely, per gripe from Tilo Schwarz.

21 years agoRepair badly broken estimation of output buffer size in lquery_out().
Tom Lane [Wed, 17 Dec 2003 20:15:53 +0000 (20:15 +0000)]
Repair badly broken estimation of output buffer size in lquery_out().

21 years agoReorder tests in parse_coerce so that ANY/ANYELEMENT/ANYARRAY coercion
Tom Lane [Wed, 17 Dec 2003 19:49:52 +0000 (19:49 +0000)]
Reorder tests in parse_coerce so that ANY/ANYELEMENT/ANYARRAY coercion
does not affect UNKNOWN-type literals or Params.  This fixes the recent
complaint about count('x') being broken, and improves consistency in
a few other respects too.

21 years agoRepair planner failure when there are multiple IN clauses, each with
Tom Lane [Wed, 17 Dec 2003 17:08:06 +0000 (17:08 +0000)]
Repair planner failure when there are multiple IN clauses, each with
a join in its subselect.  In this situation we *must* build a bushy
plan because there are no valid left-sided or right-sided join trees.
Accordingly, hoary sanity check needs an update.  Per report from
Alessandro Depase.

21 years agoback patching fix for compat 7.1 binary stream issues with the new protocol
Dave Cramer [Wed, 17 Dec 2003 15:48:40 +0000 (15:48 +0000)]
back patching fix for compat 7.1 binary stream issues with the new protocol
added test for same

21 years agoApplied all bug fixes from head also to 7.4. Just bugfixes, no new features.
Michael Meskes [Wed, 17 Dec 2003 15:31:51 +0000 (15:31 +0000)]
Applied all bug fixes from head also to 7.4. Just bugfixes, no new features.

21 years agoRestore information schema upgrade instructions of Peter.
Bruce Momjian [Wed, 17 Dec 2003 07:07:46 +0000 (07:07 +0000)]
Restore information schema upgrade instructions of Peter.

21 years agoFix constraint_column_usage for foreign keys.
Peter Eisentraut [Tue, 16 Dec 2003 14:56:34 +0000 (14:56 +0000)]
Fix constraint_column_usage for foreign keys.

21 years agoRepair name.
Peter Eisentraut [Tue, 16 Dec 2003 09:46:12 +0000 (09:46 +0000)]
Repair name.

21 years agoMention ecpg SET CONNECTION is not thread-aware.
Bruce Momjian [Tue, 16 Dec 2003 01:06:51 +0000 (01:06 +0000)]
Mention ecpg SET CONNECTION is not thread-aware.

21 years agoOverride some of the changes in DocBook DSSSL stylesheets 1.78 to restore
Peter Eisentraut [Mon, 15 Dec 2003 23:58:33 +0000 (23:58 +0000)]
Override some of the changes in DocBook DSSSL stylesheets 1.78 to restore
previous behavior of <literal>, <envar>, <acronym>, and others.

21 years agoUpdate INSTALL for 7.4.1.
Bruce Momjian [Mon, 15 Dec 2003 22:31:04 +0000 (22:31 +0000)]
Update INSTALL for 7.4.1.

21 years agoUpdate HISTORY and release notes for 7.4.1.
Bruce Momjian [Mon, 15 Dec 2003 22:25:29 +0000 (22:25 +0000)]
Update HISTORY and release notes for 7.4.1.

21 years agoAdd Czech FAQ to 7.4.X branch.
Bruce Momjian [Mon, 15 Dec 2003 15:30:17 +0000 (15:30 +0000)]
Add Czech FAQ to 7.4.X branch.

21 years agoStamp 7.4.1.
Bruce Momjian [Sat, 13 Dec 2003 16:57:36 +0000 (16:57 +0000)]
Stamp 7.4.1.

Update 7.4.1 FAQ's to current.

21 years agopatch for returning database metadata as system objects from Kris Jurka
Dave Cramer [Sat, 13 Dec 2003 00:59:19 +0000 (00:59 +0000)]
patch for returning database metadata as system objects from Kris Jurka

21 years agoadd missing SQLState by Patrick Higgins
Dave Cramer [Fri, 12 Dec 2003 18:39:01 +0000 (18:39 +0000)]
add missing SQLState by Patrick Higgins

21 years agocancel row updates sets values to null by Kris Jurka
Dave Cramer [Fri, 12 Dec 2003 18:38:19 +0000 (18:38 +0000)]
cancel row updates sets values to null by Kris Jurka

21 years agopatch to indicate why test cases failed from Oliver Jowett
Dave Cramer [Fri, 12 Dec 2003 18:37:06 +0000 (18:37 +0000)]
patch to indicate why test cases failed from Oliver Jowett

21 years agofix casting pooled connections to PGStatement problem patch by JariP
Dave Cramer [Fri, 12 Dec 2003 18:06:25 +0000 (18:06 +0000)]
fix casting pooled connections to PGStatement problem patch by JariP

21 years agopatch to build under jdk1.1 from Richard Scranton
Dave Cramer [Fri, 12 Dec 2003 17:59:08 +0000 (17:59 +0000)]
patch to build under jdk1.1 from Richard Scranton

21 years agobinary stream patch by Kris Jurka fixes empty stream failure
Dave Cramer [Fri, 12 Dec 2003 00:27:41 +0000 (00:27 +0000)]
binary stream patch by Kris Jurka fixes empty stream failure

21 years agometadata encoding patch from Kris Jurka
Dave Cramer [Fri, 12 Dec 2003 00:24:13 +0000 (00:24 +0000)]
metadata encoding patch from Kris Jurka

21 years agoFix instructions how to shut down postmaster.
Peter Eisentraut [Thu, 11 Dec 2003 19:57:24 +0000 (19:57 +0000)]
Fix instructions how to shut down postmaster.

21 years agopatch for unique foreign keys and test case from Kris Jurka
Dave Cramer [Thu, 11 Dec 2003 19:25:08 +0000 (19:25 +0000)]
patch for unique foreign keys and test case from Kris Jurka

21 years agopatch to make PSQLState serializable, and a test case for it
Dave Cramer [Thu, 11 Dec 2003 03:59:37 +0000 (03:59 +0000)]
patch to make PSQLState serializable, and a test case for it
added a test case for getLastOID

21 years agoincremented the build number to 210
Dave Cramer [Wed, 10 Dec 2003 18:25:11 +0000 (18:25 +0000)]
incremented the build number to 210

21 years agoquery_tree_mutator should copy RangeTblEntry nodes even when it's not
Tom Lane [Tue, 9 Dec 2003 01:56:41 +0000 (01:56 +0000)]
query_tree_mutator should copy RangeTblEntry nodes even when it's not
planning to modify them itself.  Otherwise we end up with shared RTE
substructure, which breaks inheritance_planner because the rte->inh
flag needs to be independent in each copied subquery.  Per bug report
from Chris Piker.

21 years agoMinor autovacuum fixes from Matthew O'Connor.
Tom Lane [Mon, 8 Dec 2003 21:54:05 +0000 (21:54 +0000)]
Minor autovacuum fixes from Matthew O'Connor.

21 years agoAdd fflush() before sleeping, per Matthew O'Connor.
Tom Lane [Mon, 8 Dec 2003 21:51:37 +0000 (21:51 +0000)]
Add fflush() before sleeping, per Matthew O'Connor.

21 years agoWhole-row references were broken for subqueries and functions, because
Tom Lane [Mon, 8 Dec 2003 18:20:10 +0000 (18:20 +0000)]
Whole-row references were broken for subqueries and functions, because
attr_needed/attr_widths optimization failed to allow for Vars with attno
zero in this case.  Per report from Tatsuo Ishii.

21 years agoReplace unportable and overflow-prone use of 'long long' with safer
Tom Lane [Sun, 7 Dec 2003 19:56:07 +0000 (19:56 +0000)]
Replace unportable and overflow-prone use of 'long long' with safer
'double' arithmetic, per recent discussion.

21 years agoRemove test on c.relkind from check_constraints view; unnecessary and
Tom Lane [Sun, 7 Dec 2003 19:43:13 +0000 (19:43 +0000)]
Remove test on c.relkind from check_constraints view; unnecessary and
prevents view from showing constraints on domains.  This addresses the
other half of Claus Colloseus' bug report.

21 years agoFix typmod interpretation for bit types. (It was erroneously assumed that
Peter Eisentraut [Sun, 7 Dec 2003 10:18:50 +0000 (10:18 +0000)]
Fix typmod interpretation for bit types.  (It was erroneously assumed that
for bit(x), the typmod stores x+4, like for the character types.)

21 years agoRepair indexed bytea like operations, and related selectivity
Joe Conway [Sun, 7 Dec 2003 04:12:50 +0000 (04:12 +0000)]
Repair indexed bytea like operations, and related selectivity
functionality. Per bug report by Alvar Freude:
http://archives.postgresql.org/pgsql-bugs/2003-12/msg00022.php

21 years agobackpatch for driver threadsafe problems
Dave Cramer [Fri, 5 Dec 2003 21:22:03 +0000 (21:22 +0000)]
backpatch for driver threadsafe problems

21 years agopatch from Kris Jurka to allow the server end port to be specified when running
Dave Cramer [Fri, 5 Dec 2003 21:06:12 +0000 (21:06 +0000)]
patch from Kris Jurka to allow the server end port to be specified when running
regression tests, this is a backpatch to 7.4

21 years agoGuard against bug in Solaris' bsearch(), per Michael Wildpaner.
Tom Lane [Fri, 5 Dec 2003 15:50:39 +0000 (15:50 +0000)]
Guard against bug in Solaris' bsearch(), per Michael Wildpaner.

21 years agoOne more fix confusion
Teodor Sigaev [Fri, 5 Dec 2003 15:38:30 +0000 (15:38 +0000)]
One more fix confusion

21 years agoAvoid confusion start_parse_str function with tsearch V1
Teodor Sigaev [Fri, 5 Dec 2003 14:28:21 +0000 (14:28 +0000)]
Avoid confusion start_parse_str function with tsearch V1

21 years agoPlanner failed to be smart about binary-compatible expressions in pathkeys
Tom Lane [Wed, 3 Dec 2003 17:45:38 +0000 (17:45 +0000)]
Planner failed to be smart about binary-compatible expressions in pathkeys
and hash bucket-size estimation.  Issue has been there awhile but is more
critical in 7.4 because it affects varchar columns.  Per report from
Greg Stark.

21 years agoFix for word with several infinitives
Teodor Sigaev [Wed, 3 Dec 2003 16:06:59 +0000 (16:06 +0000)]
Fix for word with several infinitives

21 years agoUpdate release notes for 7.3.5.
Tom Lane [Tue, 2 Dec 2003 16:14:38 +0000 (16:14 +0000)]
Update release notes for 7.3.5.

21 years agoThe attached patch enables contrib/cube to build cleanly under Cygwin
Bruce Momjian [Tue, 2 Dec 2003 12:40:08 +0000 (12:40 +0000)]
The attached patch enables contrib/cube to build cleanly under Cygwin
(again).  Please consider this patch for the 7.4.1 branch (if there
will be one) too.

Jason Tishler

21 years agoI've run across a pretty serious problem with pg_autovacuum.
Bruce Momjian [Mon, 1 Dec 2003 23:19:54 +0000 (23:19 +0000)]
I've run across a pretty serious problem with pg_autovacuum.
pg_autovacuum looses track of any table that's ever been truncated
(possibly other situations too).   When i truncate a table it gets a
new relfilenode in pg_class.  This is a problem because pg_autovacuum
assumes pg_class.relfilenode will join to pg_stats_all_tables.relid.
pg_stats_all_tables.relid is actallly the oid from pg_class, not the
relfilenode.   These two values start out equal so pg_autovacuum works
initially, but it fails later on because of this incorrect assumption.

This patch fixes that problem.  Applied to HEAD and 7.4.X.

Brian Hirt

21 years agoI noticed in the 7.4 release that in contrib/pg_autovacuum, args->logfile is
Bruce Momjian [Mon, 1 Dec 2003 23:14:29 +0000 (23:14 +0000)]
I noticed in the 7.4 release that in contrib/pg_autovacuum, args->logfile is
not initialized if a log file is not specified on the command line.  This
causes an immediate segfault on systems that fill allocated memory with some
value other than zero (my FreeBSD machine uses 0xD0).

Several crashes later I discovered that args->user, password, host, and port
are also used without being initialized.

This doesn't appear to be fixed in CVS and I came up empty on a mailing list
search -- hope it hasn't been reported already.

Craig Boston

21 years agoMinor wordsmithing in datetime docs to try to address gripes raised by
Tom Lane [Mon, 1 Dec 2003 20:35:04 +0000 (20:35 +0000)]
Minor wordsmithing in datetime docs to try to address gripes raised by
cnliou.

21 years agonetmask() and hostmask() functions should return maximum-length masklen,
Tom Lane [Mon, 1 Dec 2003 18:50:29 +0000 (18:50 +0000)]
netmask() and hostmask() functions should return maximum-length masklen,
per gripe from Joe Sunday.

21 years agoFix typos noted by Halley Pacheco de Oliveira.
Tom Lane [Mon, 1 Dec 2003 17:58:38 +0000 (17:58 +0000)]
Fix typos noted by Halley Pacheco de Oliveira.

21 years agoForce zero_damaged_pages to be effectively ON during recovery from WAL,
Tom Lane [Mon, 1 Dec 2003 16:53:30 +0000 (16:53 +0000)]
Force zero_damaged_pages to be effectively ON during recovery from WAL,
since there is no need to worry about damaged pages when we are going to
overwrite them anyway from the WAL.  Per recent discussion.

21 years agoMake PQescapeBytea and byteaout consistent with each other, and
Joe Conway [Sun, 30 Nov 2003 20:53:43 +0000 (20:53 +0000)]
Make PQescapeBytea and byteaout consistent with each other, and
octal escape all octets outside the range 0x20 to 0x7e. This fixes
the problem pointed out by Sergey Yatskevich here:
http://archives.postgresql.org/pgsql-bugs/2003-11/msg00140.php

21 years agoBackpatch Borland thread.c fix to 7.4.X.
Bruce Momjian [Sun, 30 Nov 2003 06:02:40 +0000 (06:02 +0000)]
Backpatch Borland thread.c fix to 7.4.X.

21 years agoUpdate TODO 7.4 mention.
Bruce Momjian [Sun, 30 Nov 2003 03:41:56 +0000 (03:41 +0000)]
Update TODO 7.4 mention.

21 years agoUpdate Russian FAQ, both branches.
Bruce Momjian [Fri, 28 Nov 2003 20:20:45 +0000 (20:20 +0000)]
Update Russian FAQ, both branches.

Viktor Vislobokov

21 years agoFix regression in dblink_disconnect() reported by Eduardo Stern:
Joe Conway [Fri, 28 Nov 2003 05:03:48 +0000 (05:03 +0000)]
Fix regression in dblink_disconnect() reported by Eduardo Stern:
persistent_conn was left dangling after a disconnect in the
unnamed connection case, causing a subsequent disconnect to
crash the backend.

21 years agoFixes about word with several infiniteve
Teodor Sigaev [Thu, 27 Nov 2003 16:08:41 +0000 (16:08 +0000)]
Fixes about word with several infiniteve

21 years agoSecond try at fixing no-room-to-move-down PANIC in compact_fsm_storage.
Tom Lane [Wed, 26 Nov 2003 20:50:26 +0000 (20:50 +0000)]
Second try at fixing no-room-to-move-down PANIC in compact_fsm_storage.
Ward's report that it can still happen in RC2 forces me to realize that
this is not a can't-happen condition after all, and that the compaction
code had better cope rather than panicking.

21 years agoAdded missing SPI_finish() calls to get_tuple_of_interest(). Fixes bug
Joe Conway [Wed, 26 Nov 2003 20:44:13 +0000 (20:44 +0000)]
Added missing SPI_finish() calls to get_tuple_of_interest(). Fixes bug
reported by Andrea Grassi.

21 years agoAdd NetBSD Sparc as supported.
Peter Eisentraut [Wed, 26 Nov 2003 15:57:22 +0000 (15:57 +0000)]
Add NetBSD Sparc as supported.