]> granicus.if.org Git - postgresql/log
postgresql
22 years agoStamp for 7.3 beta3.
Bruce Momjian [Thu, 24 Oct 2002 03:03:37 +0000 (03:03 +0000)]
Stamp for 7.3 beta3.

22 years agoFix include files for new PageOutput call.
Bruce Momjian [Thu, 24 Oct 2002 01:33:50 +0000 (01:33 +0000)]
Fix include files for new PageOutput call.

22 years agoAdd fseeko/ftello prototypes for BSD/OS only to c.h.
Bruce Momjian [Wed, 23 Oct 2002 23:37:47 +0000 (23:37 +0000)]
Add fseeko/ftello prototypes for BSD/OS only to c.h.

22 years agoAdd mention of postgres signals to reference page
Bruce Momjian [Wed, 23 Oct 2002 23:33:08 +0000 (23:33 +0000)]
Add mention of postgres signals to reference page

Joseph Shraibman

22 years agoImprove coding style of new function.
Bruce Momjian [Wed, 23 Oct 2002 21:39:27 +0000 (21:39 +0000)]
Improve coding style of new function.

22 years agoMake BSD/OS fseeko thread-safe.
Bruce Momjian [Wed, 23 Oct 2002 21:16:17 +0000 (21:16 +0000)]
Make BSD/OS fseeko thread-safe.

22 years agoAdd comments on bsd/os handling.
Bruce Momjian [Wed, 23 Oct 2002 20:59:03 +0000 (20:59 +0000)]
Add comments on bsd/os handling.

22 years agoAdd fseeko/ftello using fsetpos/fgetpos for BSD/OS.
Bruce Momjian [Wed, 23 Oct 2002 20:56:24 +0000 (20:56 +0000)]
Add fseeko/ftello using fsetpos/fgetpos for BSD/OS.

22 years agoPage \h output and centralize psql paging code in PageOutput().
Bruce Momjian [Wed, 23 Oct 2002 19:23:57 +0000 (19:23 +0000)]
Page \h output and centralize psql paging code in PageOutput().

22 years agoPerform transaction cleanup operations in a less ad-hoc, more
Tom Lane [Tue, 22 Oct 2002 22:44:36 +0000 (22:44 +0000)]
Perform transaction cleanup operations in a less ad-hoc, more
principled order; in particular ensure that all shared resources
are released before we release transaction locks.  The code used
to release locks before buffer pins, which might explain an ancient
note I have about a bufmgr assertion failure I'd seen once several
years ago, and been unable to reproduce since.  (Theory: someone
trying to drop a relation might be able to reach FlushRelationBuffers
before the last user of the relation had gotten around to dropping
his buffer pins.)

22 years agoUpdated German FAQ, from Ian Barwick
Bruce Momjian [Tue, 22 Oct 2002 21:44:51 +0000 (21:44 +0000)]
Updated German FAQ, from Ian Barwick

22 years agocreate_index test must run after create_misc test.
Tom Lane [Tue, 22 Oct 2002 20:20:10 +0000 (20:20 +0000)]
create_index test must run after create_misc test.

22 years agoUpdate build system.
Peter Eisentraut [Tue, 22 Oct 2002 20:03:09 +0000 (20:03 +0000)]
Update build system.

22 years agoUpdate for test changes.
Peter Eisentraut [Tue, 22 Oct 2002 20:01:15 +0000 (20:01 +0000)]
Update for test changes.

22 years agoAdd DLLIMPORT declarations required by contrib with asserts enabled.
Peter Eisentraut [Tue, 22 Oct 2002 20:00:48 +0000 (20:00 +0000)]
Add DLLIMPORT declarations required by contrib with asserts enabled.

22 years agoAllow 8-byte off_t to properly pg_dump, from Philip Warner with mods by Bruce.
Bruce Momjian [Tue, 22 Oct 2002 19:15:23 +0000 (19:15 +0000)]
Allow 8-byte off_t to properly pg_dump, from Philip Warner with mods by Bruce.

22 years agoSpecify that we need bison >= 1.50.
Tom Lane [Tue, 22 Oct 2002 13:46:59 +0000 (13:46 +0000)]
Specify that we need bison >= 1.50.

22 years agoMove libpgeasy.sgml to gborg.
Bruce Momjian [Mon, 21 Oct 2002 23:14:10 +0000 (23:14 +0000)]
Move libpgeasy.sgml to gborg.

22 years agoMove odbc.sgml to gborg ODBC project.
Bruce Momjian [Mon, 21 Oct 2002 23:10:09 +0000 (23:10 +0000)]
Move odbc.sgml to gborg ODBC project.

22 years agoFix places that were using IsTransactionBlock() as an (inadequate) check
Tom Lane [Mon, 21 Oct 2002 22:06:20 +0000 (22:06 +0000)]
Fix places that were using IsTransactionBlock() as an (inadequate) check
that they'd get to commit immediately on finishing.  There's now a
centralized routine PreventTransactionChain() that implements the
necessary tests.

22 years agoAdd:
Bruce Momjian [Mon, 21 Oct 2002 20:35:07 +0000 (20:35 +0000)]
Add:

> * Allow pg_dump to dump a specific schema

22 years agoSmall update for the removal of some memory leaks in plpython SGML example.
Bruce Momjian [Mon, 21 Oct 2002 20:34:09 +0000 (20:34 +0000)]
Small update for the removal of some memory leaks in plpython SGML example.

Nigel J. Andrews

22 years agoWhen I removed the cube based stuff from eathdistance I accidentally
Bruce Momjian [Mon, 21 Oct 2002 20:33:21 +0000 (20:33 +0000)]
When I removed the cube based stuff from eathdistance I accidentally
left a reference to cube in a comment in the regression test (that also
shows up in the expected output). This doesn't cause any real problem,
but people who read the comment might be confused. Attached is a diff to
remove the reference.

Bruno Wolff III

22 years agoCleanup for CLUSTERDB failure:
Bruce Momjian [Mon, 21 Oct 2002 20:32:33 +0000 (20:32 +0000)]
Cleanup for CLUSTERDB failure:

On Sat, Oct 19, 2002 at 12:11:32AM +0200, Peter Eisentraut wrote:
> $ ./clusterdb
> psql: could not connect to server: No such file or directory
>         Is the server running locally and accepting
>         connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
> psql: could not connect to server: No such file or directory
>         Is the server running locally and accepting
>         connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
> clusterdb: While clustering peter, the following failed:
> $
>
> This could probably handled a little more gracefully.

Yes, sorry.  A patch for this is attached.  Please apply.

Alvaro Herrera

22 years agoFix ALTER TABLE ... ADD COLUMN for inheritance cases.
Bruce Momjian [Mon, 21 Oct 2002 20:31:52 +0000 (20:31 +0000)]
Fix ALTER TABLE ... ADD COLUMN for inheritance cases.

Alvaro Herrera

22 years agoRemove unnecessary (and inadequate) check of IsTransactionBlock() in
Tom Lane [Mon, 21 Oct 2002 19:59:14 +0000 (19:59 +0000)]
Remove unnecessary (and inadequate) check of IsTransactionBlock() in
pgstat_vacuum_tabstat().  Assume that caller (namely, VACUUM) has done
the appropriate state checking beforehand.

22 years agoAvoid using IsTransactionBlock() in DeferredTriggerSetState(); no real
Tom Lane [Mon, 21 Oct 2002 19:55:49 +0000 (19:55 +0000)]
Avoid using IsTransactionBlock() in DeferredTriggerSetState(); no real
need for this optimization, and it's too easily fooled anyway.

22 years agoMake CREATE/ALTER/DROP USER/GROUP transaction-safe, or at least pretty
Tom Lane [Mon, 21 Oct 2002 19:46:45 +0000 (19:46 +0000)]
Make CREATE/ALTER/DROP USER/GROUP transaction-safe, or at least pretty
nearly so, by postponing write of flat password file until transaction
commit.

22 years agoAdd DLLIMPORT declarations needed by contrib modules.
Peter Eisentraut [Mon, 21 Oct 2002 18:57:35 +0000 (18:57 +0000)]
Add DLLIMPORT declarations needed by contrib modules.

22 years agoNeed sys/param.h for endianness macros.
Peter Eisentraut [Mon, 21 Oct 2002 18:56:30 +0000 (18:56 +0000)]
Need sys/param.h for endianness macros.

22 years agoMight need to link with -lcrypt.
Peter Eisentraut [Mon, 21 Oct 2002 18:55:10 +0000 (18:55 +0000)]
Might need to link with -lcrypt.

22 years agoAdd guards against double inclusion.
Peter Eisentraut [Mon, 21 Oct 2002 18:53:20 +0000 (18:53 +0000)]
Add guards against double inclusion.

22 years agoTranslation updates
Peter Eisentraut [Mon, 21 Oct 2002 18:51:03 +0000 (18:51 +0000)]
Translation updates

22 years agoRemove obsoleted stuff merged in from branch.
Peter Eisentraut [Mon, 21 Oct 2002 18:05:24 +0000 (18:05 +0000)]
Remove obsoleted stuff merged in from branch.

22 years agoImprove ECPG documentation.
Peter Eisentraut [Mon, 21 Oct 2002 18:04:05 +0000 (18:04 +0000)]
Improve ECPG documentation.

22 years agoMerged ecpg_big_bison back into HEAD
Michael Meskes [Mon, 21 Oct 2002 13:09:31 +0000 (13:09 +0000)]
Merged ecpg_big_bison back into HEAD

22 years agoUpdate multibyte Japanese document
Tatsuo Ishii [Mon, 21 Oct 2002 05:14:06 +0000 (05:14 +0000)]
Update multibyte Japanese document

22 years agoSince ANY is a reserved word, better suggest that ANY be quoted when
Tom Lane [Mon, 21 Oct 2002 04:33:39 +0000 (04:33 +0000)]
Since ANY is a reserved word, better suggest that ANY be quoted when
used for the input type of an aggregate.

22 years agoFix documented sizes of geometric types.
Tom Lane [Mon, 21 Oct 2002 02:12:08 +0000 (02:12 +0000)]
Fix documented sizes of geometric types.

22 years agoFix example of doing a restore.
Tom Lane [Mon, 21 Oct 2002 02:11:37 +0000 (02:11 +0000)]
Fix example of doing a restore.

22 years agoSET autocommit no longer needed in /contrib because pg_regress.sh does
Bruce Momjian [Mon, 21 Oct 2002 01:42:14 +0000 (01:42 +0000)]
SET autocommit no longer needed in /contrib because pg_regress.sh does
it automatically now on regression session startup.

22 years agoUpdates from Ian Barwick.
Bruce Momjian [Mon, 21 Oct 2002 00:47:44 +0000 (00:47 +0000)]
Updates from Ian Barwick.

22 years agoDone:
Bruce Momjian [Mon, 21 Oct 2002 00:36:24 +0000 (00:36 +0000)]
Done:

> * -Move /contrib/retep to gborg.postgresql.org

22 years agoCompletely remove /contrib/retep, with Peter's approval; now on Source
Bruce Momjian [Mon, 21 Oct 2002 00:35:41 +0000 (00:35 +0000)]
Completely remove /contrib/retep, with Peter's approval;  now on Source
Forge.

22 years agoFirst step to removing /contrib/retep, with Peter Mount's approval.
Bruce Momjian [Mon, 21 Oct 2002 00:12:46 +0000 (00:12 +0000)]
First step to removing /contrib/retep, with Peter Mount's approval.

22 years agoRemove trailing blanks in cvs.sgml.
Bruce Momjian [Sun, 20 Oct 2002 20:58:02 +0000 (20:58 +0000)]
Remove trailing blanks in cvs.sgml.

22 years agoFix potential problem with btbulkdelete deleting an indexscan's current
Tom Lane [Sun, 20 Oct 2002 20:47:31 +0000 (20:47 +0000)]
Fix potential problem with btbulkdelete deleting an indexscan's current
item, if the page containing the current item is split while the indexscan
is stopped and holds no read-lock on the page.  The current item might
move right onto a page that the indexscan holds no pin on.  In the prior
code this would allow btbulkdelete to reach and possibly delete the item,
causing 'my bits moved right off the end of the world!' when the indexscan
finally resumes.  Fix by chaining read-locks to the right during
_bt_restscan and requiring btbulkdelete to LockBufferForCleanup on every
page it scans, not only those with deletable items.  Per my pghackers
message of 25-May-02.  (Too bad no one could think of a better way.)

22 years agoFix core dump recently introduced into pgbench.
Tom Lane [Sun, 20 Oct 2002 19:38:10 +0000 (19:38 +0000)]
Fix core dump recently introduced into pgbench.

22 years agoReturns exit status 1 if invalid encoding name or
Tatsuo Ishii [Sun, 20 Oct 2002 11:33:48 +0000 (11:33 +0000)]
Returns exit status 1 if invalid encoding name or
encoding number is given.

22 years agoUpdate description of numeric constants to match 7.3 reality.
Tom Lane [Sun, 20 Oct 2002 05:05:46 +0000 (05:05 +0000)]
Update description of numeric constants to match 7.3 reality.
Miscellaneous other copy-editing.

22 years agoUpdate char/varchar()/text/bytea to mention they have similar performance
Bruce Momjian [Sun, 20 Oct 2002 02:58:56 +0000 (02:58 +0000)]
Update char/varchar()/text/bytea to mention they have similar performance
characteristics.

22 years agoApplied patch from Teofilis Martisius to improve performance.
Barry Lind [Sun, 20 Oct 2002 02:55:50 +0000 (02:55 +0000)]
Applied patch from Teofilis Martisius to improve performance.
Also removed some unused files and fixed the which needed a small change
after the previous patch to build.xml.

 Modified Files:
  jdbc/Makefile jdbc/org/postgresql/core/Encoding.java
  jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java
 Removed Files:
  jdbc/utils/CheckVersion.java jdbc/utils/buildDriver
  jdbc/utils/changelog.pl

22 years agoAdd:
Bruce Momjian [Sun, 20 Oct 2002 02:51:21 +0000 (02:51 +0000)]
Add:

> * Make a transaction-safe TRUNCATE

22 years agoUpdate Japanese FAQ, from Jun Kuwamura.
Bruce Momjian [Sun, 20 Oct 2002 02:37:49 +0000 (02:37 +0000)]
Update Japanese FAQ, from Jun Kuwamura.

22 years agoAdd:
Bruce Momjian [Sun, 20 Oct 2002 02:30:04 +0000 (02:30 +0000)]
Add:

>  o Add GUC parameter to control the maximum number of rewrite cycles

22 years agoAdd warning that autocommit=off is not well-supported yet.
Tom Lane [Sun, 20 Oct 2002 01:43:32 +0000 (01:43 +0000)]
Add warning that autocommit=off is not well-supported yet.

22 years agoMove BeOS and QNX4 to unsupported-platform list, until someone cares
Tom Lane [Sun, 20 Oct 2002 01:38:18 +0000 (01:38 +0000)]
Move BeOS and QNX4 to unsupported-platform list, until someone cares
to expend the effort to update them for new semaphore code.

22 years agoRule rewriter was doing the wrong thing with conditional INSTEAD rules
Tom Lane [Sun, 20 Oct 2002 00:58:55 +0000 (00:58 +0000)]
Rule rewriter was doing the wrong thing with conditional INSTEAD rules
whose conditions might yield NULL.  The negated qual to attach to the
original query is properly 'x IS NOT TRUE', not 'NOT x'.  This fix
produces correct behavior, but we may be taking a performance hit because
the planner is much stupider about IS NOT TRUE than it is about NOT
clauses.  Future TODO: teach prepqual, other parts of planner how to
cope with BooleanTest clauses more effectively.

22 years agoDisallow aggregate functions in rule WHERE clauses. Per gripe from
Tom Lane [Sun, 20 Oct 2002 00:31:53 +0000 (00:31 +0000)]
Disallow aggregate functions in rule WHERE clauses.  Per gripe from
Fritz Lehmann-Grube back in January.

22 years agoApplied patch submitted by Mike Beachy to give a better error message if
Barry Lind [Sun, 20 Oct 2002 00:10:55 +0000 (00:10 +0000)]
Applied patch submitted by Mike Beachy to give a better error message if
configure hasn't been run before trying to build.
Also cleaned up the README file and removed some obsolete files.

 Modified Files:
  jdbc/README jdbc/build.xml
 Removed Files:
  jdbc/CHANGELOG jdbc/Implementation jdbc/jdbc.jpx

22 years agoFix inconsistent formatting.
Tom Lane [Sat, 19 Oct 2002 23:09:20 +0000 (23:09 +0000)]
Fix inconsistent formatting.

22 years agoFix incomplete definition of ALTER TABLE ADD/DROP CONSTRAINT syntax.
Tom Lane [Sat, 19 Oct 2002 22:51:45 +0000 (22:51 +0000)]
Fix incomplete definition of ALTER TABLE ADD/DROP CONSTRAINT syntax.
Add some verbiage about recent tweaks to behavior of ADD and DROP
COLUMN when there are descendant tables.

22 years agoFix within-function memory leaks in the various PLs' interfaces to
Tom Lane [Sat, 19 Oct 2002 22:10:58 +0000 (22:10 +0000)]
Fix within-function memory leaks in the various PLs' interfaces to
SPI_prepare: they all save the prepared plan into topCxt, and so the
procCxt copy that's actually returned by SPI_prepare ought to be freed.
Diagnosis and plpython fix by Nigel Andrews, followup for other PLs
by Tom Lane.

22 years agoApplied patch submitted by Kris Jurka to result in a better error message
Barry Lind [Sat, 19 Oct 2002 22:10:36 +0000 (22:10 +0000)]
Applied patch submitted by Kris Jurka to result in a better error message
under some circumstances and handle negative money values better.

 Modified Files:
  jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java

22 years agoFix pltcl self-test for recent changes to elog.
Tom Lane [Sat, 19 Oct 2002 22:01:45 +0000 (22:01 +0000)]
Fix pltcl self-test for recent changes to elog.

22 years agoBacked out part of the change from 1.6. The attempt to support int8 binds
Barry Lind [Sat, 19 Oct 2002 21:53:42 +0000 (21:53 +0000)]
Backed out part of the change from 1.6.  The attempt to support int8 binds
in such a way that indexes on int8 columns would be used (by quoting the value)
caused other problems.  Will need to wait for the backend to properly fix
the root problem.

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

22 years agoFix case where a function in FROM returns a scalar type, but is
Tom Lane [Sat, 19 Oct 2002 21:23:20 +0000 (21:23 +0000)]
Fix case where a function in FROM returns a scalar type, but is
referred to with whole-tuple syntax.

22 years agoMake psql's \df display functions that return sets as having return type
Tom Lane [Sat, 19 Oct 2002 20:50:44 +0000 (20:50 +0000)]
Make psql's \df display functions that return sets as having return type
'setof something'; formerly you could not tell at all that the function
returns set.

22 years agoInvert logic in pg_exec_query_string() so that we set a snapshot for
Tom Lane [Sat, 19 Oct 2002 20:15:09 +0000 (20:15 +0000)]
Invert logic in pg_exec_query_string() so that we set a snapshot for
all utility statement types *except* a short list, per discussion a few
days ago.  Add missing SetQuerySnapshot calls in VACUUM and REINDEX,
and guard against calling REINDEX DATABASE from a function (has same
problem as VACUUM).

22 years agoFix rewrite code so that rules are in fact executed in order by name,
Tom Lane [Sat, 19 Oct 2002 19:00:47 +0000 (19:00 +0000)]
Fix rewrite code so that rules are in fact executed in order by name,
rather than being reordered according to INSTEAD attribute for
implementation convenience.
Also, increase compiled-in recursion depth limit from 10 to 100 rewrite
cycles.  10 seems pretty marginal for situations where multiple rules
exist for the same query.  There was a complaint about this recently,
so I'm going to bump it up.  (Perhaps we should make the limit a GUC
parameter, but that's too close to being a new feature to do in beta.)

22 years agoBack out Alvaro's patch until regression tests pass.
Bruce Momjian [Sat, 19 Oct 2002 03:01:09 +0000 (03:01 +0000)]
Back out Alvaro's patch until regression tests pass.

22 years agoFix range-query estimation to not double-exclude NULLs, per gripe from
Tom Lane [Sat, 19 Oct 2002 02:56:16 +0000 (02:56 +0000)]
Fix range-query estimation to not double-exclude NULLs, per gripe from
Ray Ontko 28-June-02.  Also, fix prefix_selectivity for NAME lefthand
variables (it was bogusly assuming binary compatibility), and adjust
make_greater_string() to not call pg_mbcliplen() with invalid multibyte
data (this last per bug report that I can't find at the moment, but it
was in July '02).

22 years agoAdd:
Bruce Momjian [Sat, 19 Oct 2002 02:31:10 +0000 (02:31 +0000)]
Add:

> * Move /contrib/retep to gborg.postgresql.org

22 years agoFix compile failure caused by new patch.
Bruce Momjian [Sat, 19 Oct 2002 02:25:51 +0000 (02:25 +0000)]
Fix compile failure caused by new patch.

22 years agoRemove mention of utils/getopt.c. Not used anymore.
Bruce Momjian [Sat, 19 Oct 2002 02:23:26 +0000 (02:23 +0000)]
Remove mention of utils/getopt.c.  Not used anymore.

22 years agoIt includes
Bruce Momjian [Sat, 19 Oct 2002 02:16:40 +0000 (02:16 +0000)]
It includes
-Support for mirroring tables in different Schema's
-Improved documentation for compiling with 7.1.x and 7.2.x
-Fixes a buffer overrun bug.

Steven Singer

22 years ago> Huh, I don't know where I got the idea you were (or someone else was?)
Bruce Momjian [Sat, 19 Oct 2002 02:09:45 +0000 (02:09 +0000)]
> Huh, I don't know where I got the idea you were (or someone else was?)
> in the position that attislocal should be reset.  I'll clean everything
> up and submit the patch I had originally made.

All right, this is it.  This patch merely checks if child tables have
the column.  If atttypid and atttypmod are the same, the attributes'
attinhcount is incremented; else the operation is aborted.  If child
tables don't have the column, recursively add it.

attislocal is not touched in any case.

Alvaro Herrera

22 years agoThis patch adds some missing functions for float8 math operations,
Bruce Momjian [Sat, 19 Oct 2002 02:08:19 +0000 (02:08 +0000)]
This patch adds some missing functions for float8 math operations,
specifically ceil(), floor(), and sign(). There may be other functions
that need to be added, but this is a start. I've included some simple
regression tests.

Neil Conway

22 years agoMake regression tests safe for autocommit = 'off'.
Bruce Momjian [Sat, 19 Oct 2002 01:35:43 +0000 (01:35 +0000)]
Make regression tests safe for autocommit = 'off'.

22 years agoAdd missing #include <errno.h>.
Tom Lane [Sat, 19 Oct 2002 00:25:36 +0000 (00:25 +0000)]
Add missing #include <errno.h>.

22 years agoFix psql's \copy to accept table names containing schemas, as well as
Tom Lane [Sat, 19 Oct 2002 00:22:14 +0000 (00:22 +0000)]
Fix psql's \copy to accept table names containing schemas, as well as
a column list.  Bring its parsing of quoted names and quoted strings
somewhat up to speed --- I believe it now handles all non-error cases
the same way the backend would, but weird boundary conditions are not
necessarily done the same way.

22 years agoImprove formatting of --help output.
Peter Eisentraut [Fri, 18 Oct 2002 22:05:36 +0000 (22:05 +0000)]
Improve formatting of --help output.

22 years agoFix breakage that had crept into setlocale() usage: once again we've
Tom Lane [Fri, 18 Oct 2002 20:44:02 +0000 (20:44 +0000)]
Fix breakage that had crept into setlocale() usage: once again we've
been bit by the fact that the locale functions return pointers to
modifiable variables.  I added some comments that might help us avoid
the mistake in future.

22 years agoMake 'dummy' declarations in header files be 'extern int no_such_variable'
Tom Lane [Fri, 18 Oct 2002 20:33:57 +0000 (20:33 +0000)]
Make 'dummy' declarations in header files be 'extern int no_such_variable'
instead of 'extern int errno'; the latter is unsafe according to the
ANSI C standard, as well as in practice on some platforms.

22 years agoUn-break createlang build.
Tom Lane [Fri, 18 Oct 2002 19:35:28 +0000 (19:35 +0000)]
Un-break createlang build.

22 years agoClean up for dblink autocommit OFF handling.
Bruce Momjian [Fri, 18 Oct 2002 19:11:27 +0000 (19:11 +0000)]
Clean up for dblink autocommit OFF handling.

22 years agoUpdate /contrib for "autocommit TO 'on'".
Bruce Momjian [Fri, 18 Oct 2002 18:41:22 +0000 (18:41 +0000)]
Update /contrib for "autocommit TO 'on'".

Create objects in public schema.

Make spacing/capitalization consistent.

Remove transaction block use for object creation.

Remove unneeded function GRANTs.

22 years agoImprove discussion of FOR UPDATE.
Tom Lane [Fri, 18 Oct 2002 18:26:22 +0000 (18:26 +0000)]
Improve discussion of FOR UPDATE.

22 years agoUpdate for tables returning function, item 5.3, from Joe Conway.
Bruce Momjian [Thu, 17 Oct 2002 23:34:10 +0000 (23:34 +0000)]
Update for tables returning function, item 5.3, from Joe Conway.

22 years agoFix in updateable result sets to handle binding null values correctly
Barry Lind [Thu, 17 Oct 2002 19:17:08 +0000 (19:17 +0000)]
Fix in updateable result sets to handle binding null values correctly
Patch submitted by Kris Jurka (applied with some modifications)

 Modified Files:
  jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java

22 years agoFix free-slot search in PgSetResultId so it actually works.
Tom Lane [Thu, 17 Oct 2002 14:53:32 +0000 (14:53 +0000)]
Fix free-slot search in PgSetResultId so it actually works.

22 years agoImprove formatting of error message.
Tom Lane [Thu, 17 Oct 2002 14:51:50 +0000 (14:51 +0000)]
Improve formatting of error message.

22 years agoFixed support in jdbc for 7.3 server autocommit. With these changes the
Barry Lind [Thu, 17 Oct 2002 05:33:52 +0000 (05:33 +0000)]
Fixed support in jdbc for 7.3 server autocommit.  With these changes the
jdbc regression tests pass for both autocommit on and autocommit off

 Modified Files:
  jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java
  jdbc/org/postgresql/test/jdbc2/ConnectionTest.java

22 years agoAdd:
Bruce Momjian [Thu, 17 Oct 2002 03:58:22 +0000 (03:58 +0000)]
Add:

>  o Allow copy to understand \x as hex

22 years agoPut the disk information all in one chapter.
Peter Eisentraut [Wed, 16 Oct 2002 22:06:33 +0000 (22:06 +0000)]
Put the disk information all in one chapter.

22 years agoMake pg_dump save for autocommit = off.
Bruce Momjian [Wed, 16 Oct 2002 05:46:54 +0000 (05:46 +0000)]
Make pg_dump save for autocommit = off.

22 years agoFix from Joe on timeout code.
Bruce Momjian [Wed, 16 Oct 2002 04:38:00 +0000 (04:38 +0000)]
Fix from Joe on timeout code.

22 years agoImprove appearance of SET command.
Bruce Momjian [Wed, 16 Oct 2002 03:44:28 +0000 (03:44 +0000)]
Improve appearance of SET command.

22 years agoFix script to handle autocommit = 'off' by prepending autocommit 'on' to
Bruce Momjian [Wed, 16 Oct 2002 03:24:09 +0000 (03:24 +0000)]
Fix script to handle autocommit = 'off' by prepending autocommit 'on' to
the start of the psql commandline.  This is better than adding BEGIN/END
because it handles multiple queries well, and allows the return code for
psql to return the proper value.

22 years agoFix connection_timeout to use time() and handle timeout == 1.
Bruce Momjian [Wed, 16 Oct 2002 02:55:30 +0000 (02:55 +0000)]
Fix connection_timeout to use time() and handle timeout == 1.

Code cleanup.