OSDN Git Service

pg-rex/syncrep.git
21 years agoUpdate trigger discussion.
Bruce Momjian [Tue, 26 Nov 2002 19:43:53 +0000 (19:43 +0000)]
Update trigger discussion.

21 years agoUpdate build rules for /HISTORY.
Bruce Momjian [Tue, 26 Nov 2002 19:22:16 +0000 (19:22 +0000)]
Update build rules for /HISTORY.

21 years agoAdd to trigger thread.
Bruce Momjian [Tue, 26 Nov 2002 18:54:26 +0000 (18:54 +0000)]
Add to trigger thread.

21 years agoFix typo in release notes.
Bruce Momjian [Tue, 26 Nov 2002 05:16:59 +0000 (05:16 +0000)]
Fix typo in release notes.

21 years agoAllocate proper length for sprintf string, from Tatsuo.
Bruce Momjian [Tue, 26 Nov 2002 03:08:00 +0000 (03:08 +0000)]
Allocate proper length for sprintf string, from Tatsuo.

21 years agoUse Params, rather than run-time-modified Const nodes, to handle
Tom Lane [Tue, 26 Nov 2002 03:01:59 +0000 (03:01 +0000)]
Use Params, rather than run-time-modified Const nodes, to handle
sublink results and COPY's domain constraint checking.  A Const that
isn't really constant is just a Bad Idea(tm).  Remove hacks in
parse_coerce and other places that were needed because of the former
klugery.

21 years agoGuard against 0 length string encoding conversion case.
Tatsuo Ishii [Tue, 26 Nov 2002 02:22:29 +0000 (02:22 +0000)]
Guard against 0 length string encoding conversion case.

21 years agoRemove check for pg_group file as part of initdb -W password assignment
Bruce Momjian [Mon, 25 Nov 2002 21:41:46 +0000 (21:41 +0000)]
Remove check for pg_group file as part of initdb -W password assignment
--- not needed.

21 years agoRemove unused constisset and constiscast fields of Const nodes. Clean
Tom Lane [Mon, 25 Nov 2002 21:29:42 +0000 (21:29 +0000)]
Remove unused constisset and constiscast fields of Const nodes.  Clean
up code and documentation associated with Param nodes.

21 years agoRestructure outfuncs and readfuncs to use macros in the same style as
Tom Lane [Mon, 25 Nov 2002 18:12:12 +0000 (18:12 +0000)]
Restructure outfuncs and readfuncs to use macros in the same style as
just done for copyfuncs/equalfuncs.  Read functions in particular get
a lot shorter than before, and it's much easier to compare an out function
with the corresponding read function to make sure they agree.
initdb forced due to small changes in nodestring format (regularizing
a few cases that were formerly idiosyncratic).

21 years agoUn-break triggers declared for INSERT OR DELETE OR UPDATE. This worked
Tom Lane [Mon, 25 Nov 2002 03:36:50 +0000 (03:36 +0000)]
Un-break triggers declared for INSERT OR DELETE OR UPDATE.  This worked
okay in 7.3, so I think it must have been busted in the recent triggers
patch.

21 years agoRestructure the code in copyfuncs and equalfuncs to put much heavier
Tom Lane [Mon, 25 Nov 2002 03:33:27 +0000 (03:33 +0000)]
Restructure the code in copyfuncs and equalfuncs to put much heavier
reliance on macros, in hopes of eliminating silly typos (like copying
to the wrong field) and just generally making it easier to see the forest
instead of the trees.  As an example, here is the new code for A_Indices:

static A_Indices *
_copyAIndices(A_Indices *from)
{
A_Indices  *newnode = makeNode(A_Indices);

COPY_NODE_FIELD(lidx);
COPY_NODE_FIELD(uidx);

return newnode;
}

static bool
_equalAIndices(A_Indices *a, A_Indices *b)
{
COMPARE_NODE_FIELD(lidx);
COMPARE_NODE_FIELD(uidx);

return true;
}

I plan to redo outfuncs/readfuncs in a similar style, but am committing
what I've got.

21 years agoI'm sending you a small patch to pgdb.py module. This
D'Arcy J.M. Cain [Mon, 25 Nov 2002 03:11:15 +0000 (03:11 +0000)]
I'm sending you a small patch to pgdb.py module.  This
raises pgdb.DatabaseError when any of the fetch*
methods was invoked but previous call to execute* did
not produce any result set or no call was issued yet.
Also, raises pgdb.NotSupportedError when .nextset() is
invoked, instead of NameError.

This behaviour complies with DB-API 2.0.

Thanks for your work!

Timur Irmatov.

21 years agoChange the pkey method so that the caller can optionally set the dictionary
D'Arcy J.M. Cain [Mon, 25 Nov 2002 02:15:13 +0000 (02:15 +0000)]
Change the pkey method so that the caller can optionally set the dictionary
used for the primary key lookup.  This will prevent a database lookup
for each connection object that gets created.  This could be a significant
optimization on a busy system.

Similarly, the get_attnames method allows for the attributes dictionary
to be installed directly.

21 years agoChange the debug variable to allow better control by the caller over how
D'Arcy J.M. Cain [Mon, 25 Nov 2002 01:28:32 +0000 (01:28 +0000)]
Change the debug variable to allow better control by the caller over how
debug output is managed.  The user can continue to use the current method
of passing a formatting string to have a replacement done and output will
be sent to the standard output exactly as it did before.  In addition they
can set it to a file object, sys.stderr for example, and the query string
will be printed to it.  Thay can also set it to a method (function) and the
query string will be passed to that method giving them the maximum flexibility
to do whatever they want with the query string.

I will be working with the PyGreSQL documentation shortly and at that time
will properly document this feature.

21 years agoRestructure planning of nestloop inner indexscans so that the set of usable
Tom Lane [Sun, 24 Nov 2002 21:52:15 +0000 (21:52 +0000)]
Restructure planning of nestloop inner indexscans so that the set of usable
joinclauses is determined accurately for each join.  Formerly, the code only
considered joinclauses that used all of the rels from the outer side of the
join; thus for example
FROM (a CROSS JOIN b) JOIN c ON (c.f1 = a.x AND c.f2 = b.y)
could not exploit a two-column index on c(f1,f2), since neither of the
qual clauses would be in the joininfo list it looked in.  The new code does
this correctly, and also is able to eliminate redundant clauses, thus fixing
the problem noted 24-Oct-02 by Hans-Jürgen Schönig.

21 years ago7.4devel now supports SQL:1999's "enhanced trigger capability" (which
Bruce Momjian [Sun, 24 Nov 2002 03:15:55 +0000 (03:15 +0000)]
7.4devel now supports SQL:1999's "enhanced trigger capability" (which
is just FOR EACH STATEMENT triggers, AFAICS); this patch updates the
SQL conformance docs to note that.

Neil Conway

21 years agoSplit:
Bruce Momjian [Sun, 24 Nov 2002 03:14:01 +0000 (03:14 +0000)]
Split:

> * -Support statement-level triggers (Neil)
> * Support triggers on columns (Neil)

21 years agoFix inappropriate quoting in dblink. From Joe Conway.
Tom Lane [Sat, 23 Nov 2002 18:59:25 +0000 (18:59 +0000)]
Fix inappropriate quoting in dblink.  From Joe Conway.

21 years agoFix regression test breakage from triggers patch.
Tom Lane [Sat, 23 Nov 2002 18:42:37 +0000 (18:42 +0000)]
Fix regression test breakage from triggers patch.

21 years agoFix compile warnings from truncate patch.
Tom Lane [Sat, 23 Nov 2002 18:26:45 +0000 (18:26 +0000)]
Fix compile warnings from truncate patch.

21 years agoUpdate regression for new patches. Bump up catversion.
Bruce Momjian [Sat, 23 Nov 2002 18:13:22 +0000 (18:13 +0000)]
Update regression for new patches. Bump up catversion.

21 years agoHeres a patch which will create the sql_help.h file on Win32 if it
Bruce Momjian [Sat, 23 Nov 2002 04:06:32 +0000 (04:06 +0000)]
Heres a patch which will create the sql_help.h file on Win32 if it
doesn't already exist using an installed copy of perl. I've tested it
using perl v5.6.1 from ActiveState and all appears to work.

Al Sutton

21 years agoTransaction safe Truncate
Bruce Momjian [Sat, 23 Nov 2002 04:05:52 +0000 (04:05 +0000)]
Transaction safe Truncate

Rod Taylor

21 years agoThis minor patch corrects an error in the function docs: it's
Bruce Momjian [Sat, 23 Nov 2002 04:04:43 +0000 (04:04 +0000)]
This minor patch corrects an error in the function docs: it's
"version()", not "version".

Neil Conway

21 years agoThis patch implements FOR EACH STATEMENT triggers, per my email to
Bruce Momjian [Sat, 23 Nov 2002 03:59:09 +0000 (03:59 +0000)]
This patch implements FOR EACH STATEMENT triggers, per my email to
-hackers a couple days ago.

Notes/caveats:

        - added regression tests for the new functionality, all
          regression tests pass on my machine

        - added pg_dump support

        - updated PL/PgSQL to support per-statement triggers; didn't
          look at the other procedural languages.

        - there's (even) more code duplication in trigger.c than there
          was previously. Any suggestions on how to refactor the
          ExecXXXTriggers() functions to reuse more code would be
          welcome -- I took a brief look at it, but couldn't see an
          easy way to do it (there are several subtly-different
          versions of the code in question)

        - updated the documentation. I also took the liberty of
          removing a big chunk of duplicated syntax documentation in
          the Programmer's Guide on triggers, and moving that
          information to the CREATE TRIGGER reference page.

        - I also included some spelling fixes and similar small
          cleanups I noticed while making the changes. If you'd like
          me to split those into a separate patch, let me know.

Neil Conway

21 years agoDone:
Bruce Momjian [Sat, 23 Nov 2002 03:52:44 +0000 (03:52 +0000)]
Done:

> * -Support statement-level triggers and triggers on columns (Neil)

21 years agoWhen I made the cube(text) function for 7.3, I neglected to add a
Bruce Momjian [Sat, 23 Nov 2002 03:50:50 +0000 (03:50 +0000)]
When I made the cube(text) function for 7.3, I neglected to add a
matching create cast command. The attached diff adds a create cast as
assignment to cube.sql.in .

Bruno Wolff III

21 years agoUpdate ports list from recent regression-test-database entries.
Tom Lane [Sat, 23 Nov 2002 03:50:34 +0000 (03:50 +0000)]
Update ports list from recent regression-test-database entries.

21 years agoThis is a patch to make cube output work like double precision output
Bruce Momjian [Sat, 23 Nov 2002 03:50:21 +0000 (03:50 +0000)]
This is a patch to make cube output work like double precision output
with regard to the extra_float_digits setting.

Since builtins.h was already included, I just deleted the extern
statement (and accompaning comments).

 Bruno Wolff III

21 years agoRelease note improvements (Neil, Tom)
Tom Lane [Sat, 23 Nov 2002 02:41:03 +0000 (02:41 +0000)]
Release note improvements (Neil, Tom)

21 years agoRemove inappropriate double-quoting in connectby() code; adjust
Tom Lane [Sat, 23 Nov 2002 01:54:09 +0000 (01:54 +0000)]
Remove inappropriate double-quoting in connectby() code; adjust
regression test to avoid using VALUE as a name.  From Joe Conway.

21 years agoRedesign internal logic of nodeLimit so that it does not need to fetch
Tom Lane [Fri, 22 Nov 2002 22:10:01 +0000 (22:10 +0000)]
Redesign internal logic of nodeLimit so that it does not need to fetch
one more row from the subplan than the COUNT would appear to require.
This costs a little more logic but a number of people have complained
about the old implementation.

21 years agoFix a dozen or so places that were passing unpredictable data strings
Tom Lane [Fri, 22 Nov 2002 16:25:32 +0000 (16:25 +0000)]
Fix a dozen or so places that were passing unpredictable data strings
as elog format strings.  Hai-Chen Tu pointed out the problem in
contrib/dbmirror, but it wasn't the only such error.

21 years agoFix elog in dbmirror to use %s.
Bruce Momjian [Fri, 22 Nov 2002 16:04:41 +0000 (16:04 +0000)]
Fix elog in dbmirror to use %s.

Hai-Chen Tu

21 years agoQuote database name properly when invoking pg_dump. Per report from
Tom Lane [Fri, 22 Nov 2002 03:09:43 +0000 (03:09 +0000)]
Quote database name properly when invoking pg_dump.  Per report from
Christopher Kings-Lynne.

21 years agoTAS code originally written for s390 (32-bit) does not work for s390x
Tom Lane [Fri, 22 Nov 2002 01:13:16 +0000 (01:13 +0000)]
TAS code originally written for s390 (32-bit) does not work for s390x
(64-bit).  Fix it.  Per report from Permaine Cheung.

21 years agoFixups for man pages
Peter Eisentraut [Thu, 21 Nov 2002 23:34:43 +0000 (23:34 +0000)]
Fixups for man pages

21 years agoRegenerate
Peter Eisentraut [Thu, 21 Nov 2002 23:33:22 +0000 (23:33 +0000)]
Regenerate

21 years agoFix breakage in new-in-7.3 timetz_zone() function: was giving random
Tom Lane [Thu, 21 Nov 2002 23:31:20 +0000 (23:31 +0000)]
Fix breakage in new-in-7.3 timetz_zone() function: was giving random
results due to doing arithmetic on uninitialized values.  Add some
documentation about the AT TIME ZONE construct.  Update some other
date/time documentation that seemed out of date for 7.3.

21 years agoWups, stuck ORDER BY on wrong query while trying to eliminate random
Tom Lane [Thu, 21 Nov 2002 22:26:02 +0000 (22:26 +0000)]
Wups, stuck ORDER BY on wrong query while trying to eliminate random
ordering of GROUP BY output due to hash-based aggregation.

21 years agoAdd:
Bruce Momjian [Thu, 21 Nov 2002 19:15:04 +0000 (19:15 +0000)]
Add:

> * Have sequence dependency track use of DEFAULT sequences, seqname.nextval

21 years agoAdd mention of kern.ipc.shm_use_phys for locking shared memory.
Bruce Momjian [Thu, 21 Nov 2002 18:19:51 +0000 (18:19 +0000)]
Add mention of kern.ipc.shm_use_phys for locking shared memory.

21 years agoCode review for superuser_reserved_connections patch. Don't try to do
Tom Lane [Thu, 21 Nov 2002 06:36:08 +0000 (06:36 +0000)]
Code review for superuser_reserved_connections patch.  Don't try to do
database access outside a transaction; revert bogus performance improvement
in SIBackendInit(); improve comments; add documentation (this part courtesy
Neil Conway).

21 years agoNetBSD versions 1.6 and (we hope) later can use the standard geometry
Tom Lane [Thu, 21 Nov 2002 04:40:26 +0000 (04:40 +0000)]
NetBSD versions 1.6 and (we hope) later can use the standard geometry
comparison file, instead of geometry-positive-zeros.  Per report from
Patrick Welche.

21 years agoDone:
Bruce Momjian [Thu, 21 Nov 2002 01:02:34 +0000 (01:02 +0000)]
Done:

> * -Add hash for evaluating GROUP BY aggregates (Tom)

21 years agoFinish implementation of hashed aggregation. Add enable_hashagg GUC
Tom Lane [Thu, 21 Nov 2002 00:42:20 +0000 (00:42 +0000)]
Finish implementation of hashed aggregation.  Add enable_hashagg GUC
parameter to allow it to be forced off for comparison purposes.
Add ORDER BY clauses to a bunch of regression test queries that will
otherwise produce randomly-ordered output in the new regime.

21 years agoUpdate ports list.
Bruce Momjian [Wed, 20 Nov 2002 22:01:57 +0000 (22:01 +0000)]
Update ports list.

21 years agoFix a dumb cut and paste error from my last commit and update some of the
Barry Lind [Wed, 20 Nov 2002 20:37:53 +0000 (20:37 +0000)]
Fix a dumb cut and paste error from my last commit and update some of the
jdbc3 metadata responses

 Modified Files:
  jdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java
  jdbc/org/postgresql/jdbc3/AbstractJdbc3DatabaseMetaData.java

21 years agoFixed bug reported by Marko Strukelj and Keith Wannamaker. Using executeBatch
Barry Lind [Wed, 20 Nov 2002 07:34:32 +0000 (07:34 +0000)]
Fixed bug reported by Marko Strukelj and Keith Wannamaker.  Using executeBatch
on a preparedStatement would reset the prepared statment causing subsequent
uses of the preparedStatement to fail (i.e. the following series of calls
would fail: addBatch() executeBatch() addBatch() executBatch()).  This is
a regression from 7.2 where this worked correctly.  The regression test has
also been modified to explicitly test for this case.

 Modified Files:
  jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
  jdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java
  jdbc/org/postgresql/test/jdbc2/BatchExecuteTest.java

21 years agoAdd an at-least-marginally-plausible method of estimating the number
Tom Lane [Tue, 19 Nov 2002 23:22:00 +0000 (23:22 +0000)]
Add an at-least-marginally-plausible method of estimating the number
of groups produced by GROUP BY.  This improves the accuracy of planning
estimates for grouped subselects, and is needed to check whether a
hashed aggregation plan risks memory overflow.

21 years agoAdd my name:
Bruce Momjian [Tue, 19 Nov 2002 20:35:13 +0000 (20:35 +0000)]
Add my name:

> * Allow savepoints / nested transactions [transactions] (Bruce)

21 years agoUpdate regression for ALL missing from CLUSTER.
Bruce Momjian [Tue, 19 Nov 2002 17:39:00 +0000 (17:39 +0000)]
Update regression for ALL missing from CLUSTER.

21 years agoMost of the code follows the American spelling of the word, which is
Bruce Momjian [Tue, 19 Nov 2002 17:21:40 +0000 (17:21 +0000)]
Most of the code follows the American spelling of the word, which is
"canceled", so I changed the one remaining usage of the British
spelling ("cancelled") over to the former, and updated the translation
files appropriately.

Neil Conway

21 years agoBack out NetBSD/arm32 port.
Bruce Momjian [Tue, 19 Nov 2002 17:17:48 +0000 (17:17 +0000)]
Back out NetBSD/arm32 port.

21 years agoUpdate ports list.
Bruce Momjian [Tue, 19 Nov 2002 16:40:05 +0000 (16:40 +0000)]
Update ports list.

21 years agoFix typo and markup.
Peter Eisentraut [Mon, 18 Nov 2002 18:10:59 +0000 (18:10 +0000)]
Fix typo and markup.

21 years agoUpdate SGML problem in ports.
Bruce Momjian [Mon, 18 Nov 2002 17:15:27 +0000 (17:15 +0000)]
Update SGML problem in ports.

21 years agoRemove ALL from CLUSTER ALL. Use just CLUSTER.
Bruce Momjian [Mon, 18 Nov 2002 17:12:07 +0000 (17:12 +0000)]
Remove ALL from CLUSTER ALL.  Use just CLUSTER.

21 years agoUpdate ports list.
Bruce Momjian [Mon, 18 Nov 2002 05:02:08 +0000 (05:02 +0000)]
Update ports list.

21 years agoPut back error test for DECLARE CURSOR outside a transaction block ...
Tom Lane [Mon, 18 Nov 2002 01:17:39 +0000 (01:17 +0000)]
Put back error test for DECLARE CURSOR outside a transaction block ...
but do it correctly now.

21 years agoSuppress compile warning, avoid possible problems with signed vs. unsigned
Tom Lane [Mon, 18 Nov 2002 00:40:46 +0000 (00:40 +0000)]
Suppress compile warning, avoid possible problems with signed vs. unsigned
comparisons in recently-added CheckPointWarning code.

21 years agoRe-order REINDEX options in manual for consistency. REINDEX
Bruce Momjian [Sun, 17 Nov 2002 23:43:32 +0000 (23:43 +0000)]
Re-order REINDEX options in manual for consistency.  REINDEX
DATABASE/TABLE/INDEX is the proper order.

21 years agoReduce need for palloc/pfree overhead in varstr_cmp() by using fixed-size
Tom Lane [Sun, 17 Nov 2002 23:01:30 +0000 (23:01 +0000)]
Reduce need for palloc/pfree overhead in varstr_cmp() by using fixed-size
buffers on stack for short strings.

21 years agoRevise SQL features list.
Peter Eisentraut [Sun, 17 Nov 2002 13:28:43 +0000 (13:28 +0000)]
Revise SQL features list.

21 years agoFix CLUSTER regression failure caused by new patch, from Neil Conway
Bruce Momjian [Sat, 16 Nov 2002 03:25:22 +0000 (03:25 +0000)]
Fix CLUSTER regression failure caused by new patch, from Neil Conway

21 years agoAdd relcache support for system catalogs with attnotnull columns.
Tom Lane [Fri, 15 Nov 2002 17:18:49 +0000 (17:18 +0000)]
Add relcache support for system catalogs with attnotnull columns.
The code was not making TupleConstr structs for such catalogs in
several places; with the consequence that the not-null constraint
wasn't actually enforced.  With this change,
INSERT INTO pg_proc VALUES('sdf');
generates a 'Fail to add null value' error instead of a core dump.

21 years agoSynced parser.
Michael Meskes [Fri, 15 Nov 2002 15:47:44 +0000 (15:47 +0000)]
Synced parser.

21 years agoSGML markup fixes.
Bruce Momjian [Fri, 15 Nov 2002 03:22:30 +0000 (03:22 +0000)]
SGML markup fixes.

21 years agoSGML improvements.
Bruce Momjian [Fri, 15 Nov 2002 03:11:18 +0000 (03:11 +0000)]
SGML improvements.

Neil Conway

21 years agoNew version attached. The following is implemented:
Bruce Momjian [Fri, 15 Nov 2002 03:09:39 +0000 (03:09 +0000)]
New version attached.  The following is implemented:

- CLUSTER ALL clusters all the tables that have some index with
  indisclustered set and the calling user owns.
- CLUSTER tablename clusters the named table, using the index with
  indisclustered set.  If no index has the bit set, throws elog(ERROR).
- The multi-relation version (CLUSTER ALL) uses a multitransaction
  approach, similar to what VACUUM does.

Alvaro Herrera

21 years agoClean up psql:
Bruce Momjian [Fri, 15 Nov 2002 03:07:52 +0000 (03:07 +0000)]
Clean up psql:

Add simple ALTER DATABASE, ALTER TRIGGER, CHECK POINT, CREATE
CONVERSION, CREATE DOMAIN, CREATE LANGUAGE, DEALLOCATE, DROP CONVERSION,
DROP DOMAIN, DROP LANGUAGE, EXECUTE, PREPARE

Complete CAST in CREATE CAST and DROP CAST but doesn't suggest what
should follow.

Add many more SET / SHOW variables to the list.  Taken from SHOW ALL
output.

Complete a case sensitive search to allow \dD, \dd, \dS, \ds, \h, \H to
complete properly.  But there are no matches, then try a case
insensitive search to allow case conversion.  Add all missing help
options.

\Q<tab>    -> \q
\dD<tab>   -> \dD
\dd<tab>   -> \dd
\D<tab><tab><tab> -> \d (with listing of \d? commands)
sel<tab>   -> SELECT

Rod Taylor

21 years agoOpenSSL 0.9.6g in Debian/unstable stopped working with pgcrypto. This
Bruce Momjian [Fri, 15 Nov 2002 02:54:44 +0000 (02:54 +0000)]
OpenSSL 0.9.6g in Debian/unstable stopped working with pgcrypto.  This
is pgcrypto bug as it assumed too much about inner workings of OpenSSL.

Following patch stops pgcrypto using EVP* functions for ciphers and lets
it manage ciphers itself.

This patch supports Blowfish, DES and CAST5 algorithms.

Marko Kreen

21 years agopg_dump for domain constraints.
Bruce Momjian [Fri, 15 Nov 2002 02:52:18 +0000 (02:52 +0000)]
pg_dump for domain constraints.

Rod Taylor

21 years agoAdd DOMAIN check constraints.
Bruce Momjian [Fri, 15 Nov 2002 02:50:21 +0000 (02:50 +0000)]
Add DOMAIN check constraints.

Rod Taylor

21 years agoAdd checkpoint_warning to warn of excessive checkpoints caused by too
Bruce Momjian [Fri, 15 Nov 2002 02:44:57 +0000 (02:44 +0000)]
Add checkpoint_warning to warn of excessive checkpoints caused by too
few WAL files.

21 years agoPush qual clauses containing subplans to the back of the qual list
Tom Lane [Fri, 15 Nov 2002 02:36:53 +0000 (02:36 +0000)]
Push qual clauses containing subplans to the back of the qual list
at each plan node.  Per gripe from Ross Reedstrom.

21 years agoRename hostname_lookup to log_hostname.
Bruce Momjian [Fri, 15 Nov 2002 01:57:28 +0000 (01:57 +0000)]
Rename hostname_lookup to log_hostname.

21 years agoRename show_source_port to log_source_port.
Bruce Momjian [Fri, 15 Nov 2002 01:40:20 +0000 (01:40 +0000)]
Rename show_source_port to log_source_port.

21 years agoRename show_btree_build_stats to log_btree_build_stats
Bruce Momjian [Fri, 15 Nov 2002 01:26:09 +0000 (01:26 +0000)]
Rename show_btree_build_stats to log_btree_build_stats

21 years agoRename:
Bruce Momjian [Fri, 15 Nov 2002 00:47:22 +0000 (00:47 +0000)]
Rename:

! #show_parser_stats = false
! #show_planner_stats = false
! #show_executor_stats = false
! #show_statement_stats = false

TO:

! #log_parser_stats = false
! #log_planner_stats = false
! #log_executor_stats = false
! #log_statement_stats = false

21 years agoRename server_min_messages to log_min_messages. Part of consolidation
Bruce Momjian [Thu, 14 Nov 2002 23:53:27 +0000 (23:53 +0000)]
Rename server_min_messages to log_min_messages.  Part of consolidation
of log_ settings.

21 years agoImprove warning messages from tsearch trigger function; clean up some
Tom Lane [Thu, 14 Nov 2002 20:10:00 +0000 (20:10 +0000)]
Improve warning messages from tsearch trigger function; clean up some
casting infelicities.  Allow char(n) fields to be indexed.  Per
Bjoern Metzdorf.

21 years agoFix planning bug introduced in recent code reorganization for hashed
Tom Lane [Thu, 14 Nov 2002 19:00:36 +0000 (19:00 +0000)]
Fix planning bug introduced in recent code reorganization for hashed
aggregates: tuple_fraction has to be adjusted before passing it to
compare_fractional_path_costs().

21 years agoUpdate ports list.
Bruce Momjian [Thu, 14 Nov 2002 18:39:43 +0000 (18:39 +0000)]
Update ports list.

21 years agoFix Magnus's name.
Bruce Momjian [Thu, 14 Nov 2002 14:53:29 +0000 (14:53 +0000)]
Fix Magnus's name.

21 years agoFix version number for FreeBSD/alpha on ports list.
Bruce Momjian [Thu, 14 Nov 2002 14:51:38 +0000 (14:51 +0000)]
Fix version number for FreeBSD/alpha on ports list.

21 years agoUpdate ports list.
Bruce Momjian [Thu, 14 Nov 2002 14:23:59 +0000 (14:23 +0000)]
Update ports list.

21 years agoApplied patch submitted by Mats Lofkvist fixing serious threading problem introduced...
Barry Lind [Thu, 14 Nov 2002 05:35:45 +0000 (05:35 +0000)]
Applied patch submitted by Mats Lofkvist fixing serious threading problem introduced in beta3.
Fixed bug with using setNull()(or setXXX(x, null))  and serverside prepare statements.
Improved error message when using a connection object that has already been closed.

 Modified Files:
  jdbc/org/postgresql/errors.properties
  jdbc/org/postgresql/core/Encoding.java
  jdbc/org/postgresql/core/QueryExecutor.java
  jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java
  jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java

21 years agoUpdate ports list.
Bruce Momjian [Thu, 14 Nov 2002 04:59:15 +0000 (04:59 +0000)]
Update ports list.

21 years agoThere was an error in the gcc portion of the patch I sent you. Here is
Bruce Momjian [Thu, 14 Nov 2002 04:07:27 +0000 (04:07 +0000)]
There was an error in the gcc portion of the patch I sent you.  Here is
the  fix.

Billy G. Allie

21 years agoUpdate ports list.
Bruce Momjian [Thu, 14 Nov 2002 03:59:46 +0000 (03:59 +0000)]
Update ports list.

21 years agoAllow +1300 as a numeric timezone specifier; we already accept FJST as meaning +1300.
Tom Lane [Wed, 13 Nov 2002 17:24:05 +0000 (17:24 +0000)]
Allow +1300 as a numeric timezone specifier; we already accept FJST as meaning +1300.

21 years agoUse cat instead of echo or awk, to avoid portability problems with backslashes.
Tom Lane [Wed, 13 Nov 2002 16:40:23 +0000 (16:40 +0000)]
Use cat instead of echo or awk, to avoid portability problems with backslashes.

21 years agoUpdate xact.c comments for clarity.
Bruce Momjian [Wed, 13 Nov 2002 03:12:05 +0000 (03:12 +0000)]
Update xact.c comments for clarity.

21 years agoAdd:
Bruce Momjian [Wed, 13 Nov 2002 02:10:26 +0000 (02:10 +0000)]
Add:

> * Fix SELECT ... INTO and CREATE TABLE AS to have appopriate OID column
>  o -MOVE 0 should not move to end of cursor (Bruce)

21 years agoMake MOVE/FETCH 0 actually move/fetch 0. Add MOVE LAST to move to end
Bruce Momjian [Wed, 13 Nov 2002 00:44:09 +0000 (00:44 +0000)]
Make MOVE/FETCH 0 actually move/fetch 0.  Add MOVE LAST to move to end
of cursor.

21 years agoAdd new palloc0 call as merge of palloc and MemSet(0).
Bruce Momjian [Wed, 13 Nov 2002 00:39:48 +0000 (00:39 +0000)]
Add new palloc0 call as merge of palloc and MemSet(0).

21 years agoSplit MemSet into three parts to constant comparisons can be optimized
Bruce Momjian [Wed, 13 Nov 2002 00:37:06 +0000 (00:37 +0000)]
Split MemSet into three parts to constant comparisons can be optimized
away by the compiler;  used by palloc0.

21 years agoAdd AIX as supported platform.
Bruce Momjian [Tue, 12 Nov 2002 20:19:55 +0000 (20:19 +0000)]
Add AIX as supported platform.