]> granicus.if.org Git - postgresql/log
postgresql
22 years agopg_type has a typnamespace column; system now supports creating types
Tom Lane [Fri, 29 Mar 2002 19:06:29 +0000 (19:06 +0000)]
pg_type has a typnamespace column; system now supports creating types
in different namespaces.  Also, cleanup work on relation namespace
support: drop, alter, rename commands work for tables in non-default
namespaces.

22 years agoUpgrade to Autoconf version 2.53. Replaced many custom macro
Peter Eisentraut [Fri, 29 Mar 2002 17:32:55 +0000 (17:32 +0000)]
Upgrade to Autoconf version 2.53.  Replaced many custom macro
calls with new or now-built-in versions.  Make sure that all
calls to AC_DEFINE have a third argument, for possible use of
autoheader in the future.

22 years agoFix ODBC warnings about missing parens and pg_ismb not used (added
Bruce Momjian [Fri, 29 Mar 2002 07:48:56 +0000 (07:48 +0000)]
Fix ODBC warnings about missing parens and pg_ismb not used (added
#ifdef NOT_USED).

22 years agoFox for old python PyMem_DEL, was PyMem_Del,
Bruce Momjian [Fri, 29 Mar 2002 07:45:39 +0000 (07:45 +0000)]
Fox for old python PyMem_DEL, was PyMem_Del,

22 years agoFix '#' commant to be proper C comment.
Bruce Momjian [Fri, 29 Mar 2002 07:21:25 +0000 (07:21 +0000)]
Fix '#' commant to be proper C comment.

22 years ago[2002-03-28]
Hiroshi Inoue [Thu, 28 Mar 2002 08:08:07 +0000 (08:08 +0000)]
[2002-03-28]
1) Prepare to separate 4 kinds of Descriptor handles.
2) Detect the transaction status more naturally.
3) Improve Parse Statement functionality for the use
   of updatable cursors.
4) Improve updatable cursors.
5) Implement SQLGetDescField() and improve SQLColAttribute().
6) etc.

22 years agoDon't mark up as acronym that which is not an acronym.
Peter Eisentraut [Wed, 27 Mar 2002 19:19:23 +0000 (19:19 +0000)]
Don't mark up as acronym that which is not an acronym.

22 years agoReset parenthesis level counter upon \r.
Peter Eisentraut [Wed, 27 Mar 2002 19:16:13 +0000 (19:16 +0000)]
Reset parenthesis level counter upon \r.

22 years agoapplied patch from Liam Stewart fixing a message in the properties file
Barry Lind [Wed, 27 Mar 2002 05:33:27 +0000 (05:33 +0000)]
applied patch from Liam Stewart fixing a message in the properties file
also fixed a NPE when calling the next() method on a result set after the
connection or resultset has been closed. (bug reported by Hans Deragon)

22 years agoImprove spelling of lock names, and some other editing.
Peter Eisentraut [Wed, 27 Mar 2002 02:36:51 +0000 (02:36 +0000)]
Improve spelling of lock names, and some other editing.

22 years agopg_class has a relnamespace column. You can create and access tables
Tom Lane [Tue, 26 Mar 2002 19:17:02 +0000 (19:17 +0000)]
pg_class has a relnamespace column.  You can create and access tables
in schemas other than the system namespace; however, there's no search
path yet, and not all operations work yet on tables outside the system
namespace.

22 years agoapplied patch submitted by Florian (mailing-list@urbanet.ch) for BigDecimal support
Barry Lind [Tue, 26 Mar 2002 06:33:21 +0000 (06:33 +0000)]
applied patch submitted by Florian (mailing-list@urbanet.ch) for BigDecimal support

22 years agoChanged QueryExecutor.java to correctly read responses from the backend.
Barry Lind [Tue, 26 Mar 2002 05:52:50 +0000 (05:52 +0000)]
Changed QueryExecutor.java to correctly read responses from the backend.
Fixed NPE when database name was not passed on the jdbc connection URL
Fixed Connection.isClosed() to not hit the DB for every call

22 years agoUpdate release list.
Bruce Momjian [Tue, 26 Mar 2002 05:34:33 +0000 (05:34 +0000)]
Update release list.

22 years agoUpdate sgml version properly.
Bruce Momjian [Tue, 26 Mar 2002 05:33:23 +0000 (05:33 +0000)]
Update sgml version properly.

22 years agoFurther changes following discussion on INTERFACES mailing list:
D'Arcy J.M. Cain [Tue, 26 Mar 2002 01:50:14 +0000 (01:50 +0000)]
Further changes following discussion on INTERFACES mailing list:

  - Use PyObject_Del() rather than macro version
  - Check version and drop back to PyMem_Del() for older systems.

22 years agoNew wording:
Bruce Momjian [Mon, 25 Mar 2002 21:24:08 +0000 (21:24 +0000)]
New wording:

 Allow EXECUTE of "CREATE TABLE AS ... SELECT" in PL/PgSQL (Tom)

22 years agoAdd to HISTORY:
Bruce Momjian [Mon, 25 Mar 2002 20:58:05 +0000 (20:58 +0000)]
Add to HISTORY:

 Allow CREATE TABLE AS ... SELECT in PL/PgSQL (Tom)

22 years agoUpdate for temp views:
Bruce Momjian [Mon, 25 Mar 2002 20:56:08 +0000 (20:56 +0000)]
Update for temp views:

< * Automatically make a view temporary if it uses a temporary table
> * Require view using temporary tables to be temporary views

22 years agoRe-allow CREATE AS (but not SELECT INTO) in EXECUTE.
Tom Lane [Mon, 25 Mar 2002 07:41:10 +0000 (07:41 +0000)]
Re-allow CREATE AS (but not SELECT INTO) in EXECUTE.

22 years agoAdd:
Bruce Momjian [Mon, 25 Mar 2002 03:37:01 +0000 (03:37 +0000)]
Add:
>  o Fix problems with complex temporary table creation/destruction
>    without using PL/PgSQL EXECUTE

22 years agoFix for ODBC compile warnings.
Bruce Momjian [Mon, 25 Mar 2002 01:53:55 +0000 (01:53 +0000)]
Fix for ODBC compile warnings.

22 years agoAdd:
Bruce Momjian [Sun, 24 Mar 2002 22:37:20 +0000 (22:37 +0000)]
Add:

> * Automatically make a view temporary if it uses a temporary table

22 years agoIndenting #if commands is not portable, is it?
Tom Lane [Sun, 24 Mar 2002 18:22:21 +0000 (18:22 +0000)]
Indenting #if commands is not portable, is it?

22 years agoTweak labeling of plan qual conditions for more consistency.
Tom Lane [Sun, 24 Mar 2002 17:11:37 +0000 (17:11 +0000)]
Tweak labeling of plan qual conditions for more consistency.

22 years agoFix cut-and-paste-o.
Tom Lane [Sun, 24 Mar 2002 16:57:29 +0000 (16:57 +0000)]
Fix cut-and-paste-o.

22 years agoEXPLAIN output now comes out as a query result, not a NOTICE message.
Tom Lane [Sun, 24 Mar 2002 04:31:09 +0000 (04:31 +0000)]
EXPLAIN output now comes out as a query result, not a NOTICE message.
Also, fix debug logging of parse/plan trees so that the messages actually
go through elog(), not directly to stdout.

22 years agoCreate the pg_namespace system catalog. Doesn't do much yet, but it's
Tom Lane [Fri, 22 Mar 2002 21:34:44 +0000 (21:34 +0000)]
Create the pg_namespace system catalog.  Doesn't do much yet, but it's
there and CREATE SCHEMA will make entries in it...

22 years agoImprove catalog commentary.
Tom Lane [Fri, 22 Mar 2002 20:14:42 +0000 (20:14 +0000)]
Improve catalog commentary.

22 years agoSpell checking and markup additions
Peter Eisentraut [Fri, 22 Mar 2002 19:20:45 +0000 (19:20 +0000)]
Spell checking and markup additions

22 years agoA little further progress on schemas: push down RangeVars into
Tom Lane [Fri, 22 Mar 2002 02:56:37 +0000 (02:56 +0000)]
A little further progress on schemas: push down RangeVars into
addRangeTableEntry calls.  Remove relname field from RTEs, since
it will no longer be a useful unique identifier of relations;
we want to encourage people to rely on the relation OID instead.
Further work on dumping qual expressions in EXPLAIN, too.

22 years agoChange the aclchk.c routines to uniformly use OIDs to identify the
Tom Lane [Thu, 21 Mar 2002 23:27:25 +0000 (23:27 +0000)]
Change the aclchk.c routines to uniformly use OIDs to identify the
objects to be privilege-checked.  Some change in their APIs would be
necessary no matter what in the schema environment, and simply getting
rid of the name-based interface entirely seems like the best way.

22 years agoFix minor syntax error.
Tom Lane [Thu, 21 Mar 2002 18:28:07 +0000 (18:28 +0000)]
Fix minor syntax error.

22 years agoFirst phase of SCHEMA changes, concentrating on fixing the grammar and
Tom Lane [Thu, 21 Mar 2002 16:02:16 +0000 (16:02 +0000)]
First phase of SCHEMA changes, concentrating on fixing the grammar and
the parsetree representation.  As yet we don't *do* anything with schema
names, just drop 'em on the floor; but you can enter schema-compatible
command syntax, and there's even a primitive CREATE SCHEMA command.
No doc updates yet, except to note that you can now extract a field
from a function-returning-row's result with (foo(...)).fieldname.

22 years agoRemove -mips2 flag, which breaks the build on some MIPS systems.
Peter Eisentraut [Thu, 21 Mar 2002 15:21:41 +0000 (15:21 +0000)]
Remove -mips2 flag, which breaks the build on some MIPS systems.

Report from Ryan Murray via Debian

22 years agoAdded typedef patches and a new option '-c' to automatically create C typedefs from...
Michael Meskes [Thu, 21 Mar 2002 09:42:52 +0000 (09:42 +0000)]
Added typedef patches and a new option '-c' to automatically create C typedefs from SQL ones.

22 years agoRemove long-dead 'fix for SELECT NULL' to stop current coredump.
Tom Lane [Thu, 21 Mar 2002 06:21:04 +0000 (06:21 +0000)]
Remove long-dead 'fix for SELECT NULL' to stop current coredump.

22 years agoFix pg_dump help option alignment.
Bruce Momjian [Thu, 21 Mar 2002 05:47:14 +0000 (05:47 +0000)]
Fix pg_dump help option alignment.

22 years agoTwo versions of QueryExecutor, currently only version 2 works 100%
Dave Cramer [Thu, 21 Mar 2002 03:20:30 +0000 (03:20 +0000)]
Two versions of QueryExecutor, currently only version 2 works 100%
these versions adhere to the backend protocol better than previous version
fixes problem when an error occurs on the backend, and the connection is still used
previous versions were throwing an exception half way through the protocol, leaving it
indeterminate.
also removes empty query code, should speed things up a bit

22 years agomodifications to the way the protocol is handled to be consistent with
Dave Cramer [Thu, 21 Mar 2002 02:52:37 +0000 (02:52 +0000)]
modifications to the way the protocol is handled to be consistent with
QueryExecutor. This includes:
1) only exit after we receive a 'Z' packet
2) append error messages to a buffer and throw the exception at the end

22 years agoPart of Anders Bengtsson's patch to clean up Connection.java
Dave Cramer [Thu, 21 Mar 2002 02:40:03 +0000 (02:40 +0000)]
Part of Anders Bengtsson's patch to clean up Connection.java

22 years agoApplied Anders patch to move the startup code out of Connection into StartupPacket
Dave Cramer [Thu, 21 Mar 2002 02:39:06 +0000 (02:39 +0000)]
Applied Anders patch to move the startup code out of Connection into StartupPacket
* Introduces a new class, StartupPacket.
* Moves a lot of constants from Connection to StartupPacket.
* Makes two instance variables in Connection into locals.

22 years agoJust one more test case.
Michael Meskes [Wed, 20 Mar 2002 21:00:24 +0000 (21:00 +0000)]
Just one more test case.

22 years agoCode review for DOMAIN patch.
Tom Lane [Wed, 20 Mar 2002 19:45:13 +0000 (19:45 +0000)]
Code review for DOMAIN patch.

22 years agoTweak behavior of array slicing operations: seems like it ought to be
Tom Lane [Wed, 20 Mar 2002 19:41:47 +0000 (19:41 +0000)]
Tweak behavior of array slicing operations: seems like it ought to be
okay to omit low-order dimensions when accessing an array slice.

22 years agoPyGreSQL causes a segfault when used with a Python executable that was
D'Arcy J.M. Cain [Wed, 20 Mar 2002 14:36:06 +0000 (14:36 +0000)]
PyGreSQL causes a segfault when used with a Python executable that was
compiled with --with-pymalloc.  This change fixes that.  Thanks to
Dave Wallace <dwallace@udel.edu>

22 years agoPut back development status section overwritten by Bruce.
Tom Lane [Tue, 19 Mar 2002 18:53:01 +0000 (18:53 +0000)]
Put back development status section overwritten by Bruce.

22 years agoMake CREATE DOMAIN emit CREATE DOMAIN on completion, per Peter E.
Bruce Momjian [Tue, 19 Mar 2002 16:10:48 +0000 (16:10 +0000)]
Make CREATE DOMAIN emit CREATE DOMAIN on completion, per Peter E.

22 years ago> > Users of contrib/tsearch needs after upgrading of module (compiling, installing)
Bruce Momjian [Tue, 19 Mar 2002 14:15:55 +0000 (14:15 +0000)]
> > Users of contrib/tsearch needs after upgrading of module (compiling, installing)
> > to perform sql command:
> >  update pg_amop set amopreqcheck = true where amopclaid =
> >       (select oid from pg_opclass where opcname = 'gist_txtidx_ops');
>
> Oleg, sorry, I don't understand where this should appear.  In the README
> file, and if so, where?  Is this something only for people upgrading
> from 7.2?

Sorry Bruce, I was unclear. I have attached patch to Readme.tsearch
Also, It'd be worth to mention in Changes to point users of tsearch
about importang upgrade notices.

Oleg Bartunov

22 years ago> > Users of contrib/tsearch needs after upgrading of module (compiling, installing)
Bruce Momjian [Tue, 19 Mar 2002 14:14:44 +0000 (14:14 +0000)]
> > Users of contrib/tsearch needs after upgrading of module (compiling, installing)
> > to perform sql command:
> >  update pg_amop set amopreqcheck = true where amopclaid =
> >       (select oid from pg_opclass where opcname = 'gist_txtidx_ops');
>
> Oleg, sorry, I don't understand where this should appear.  In the README
> file, and if so, where?  Is this something only for people upgrading
> from 7.2?

Sorry Bruce, I was unclear. I have attached patch to Readme.tsearch
Also, It'd be worth to mention in Changes to point users of tsearch
about importang upgrade notices.

Oleg Bartunov

22 years agoBump version number to match tree.
D'Arcy J.M. Cain [Tue, 19 Mar 2002 13:21:14 +0000 (13:21 +0000)]
Bump version number to match tree.

22 years agoFix name in comments and add info about this module's place in PyGreSQL.
D'Arcy J.M. Cain [Tue, 19 Mar 2002 13:20:52 +0000 (13:20 +0000)]
Fix name in comments and add info about this module's place in PyGreSQL.

22 years agoJust adds a regressions test suite for the ALTER TABLE/ADD PRIMARY KEY
Bruce Momjian [Tue, 19 Mar 2002 12:59:08 +0000 (12:59 +0000)]
Just adds a regressions test suite for the ALTER TABLE/ADD PRIMARY KEY
feature.

I'll do ALTER TABLE / DROP CONSTRAINT next...

Christopher Kings-Lynne

22 years agoAdd missing trailing semicolons to ecpg rules.
Bruce Momjian [Tue, 19 Mar 2002 12:56:38 +0000 (12:56 +0000)]
Add missing trailing semicolons to ecpg rules.

Neil Conway

22 years agoFix DOMAIN breakage.
Bruce Momjian [Tue, 19 Mar 2002 12:52:22 +0000 (12:52 +0000)]
Fix DOMAIN breakage.

22 years agoAdd
Bruce Momjian [Tue, 19 Mar 2002 03:05:38 +0000 (03:05 +0000)]
Add

> * -Add domain capability [domain] (Rod Taylor)

22 years agopsql \? cleanups by Ian Barwick
Bruce Momjian [Tue, 19 Mar 2002 03:01:01 +0000 (03:01 +0000)]
psql \? cleanups by Ian Barwick

22 years agoThe attached patch cleans up the implementation of the TRUNCATE command;
Bruce Momjian [Tue, 19 Mar 2002 02:58:20 +0000 (02:58 +0000)]
The attached patch cleans up the implementation of the TRUNCATE command;
in the current code, the authentication logic (check user, check the
relation we're operating on, etc) is done in tcop/utility.c, whereas the
actual TRUNCATE command in done in TruncateRelation() in
commands/createinh.c (which is really just a wrapper over
heap_truncate() in catalog/heap.c). This patch moves the authentication
logic into TruncateRelation(), as well as making some minor code
cleanups.

Neil Conway

22 years agoFix for trigger handling:
Bruce Momjian [Tue, 19 Mar 2002 02:57:15 +0000 (02:57 +0000)]
Fix for trigger handling:

         * We should not even consider checking the row if it is no longer
         * valid since it was either deleted (doesn't matter) or updated
         * (in which case it'll be checked with its final values).

Stephan Szabo

22 years ago>Added ServerEncoding
Bruce Momjian [Tue, 19 Mar 2002 02:48:45 +0000 (02:48 +0000)]
>Added ServerEncoding
>       Korean (JOHAB), Thai (WIN874),
>       Vietnamese (TCVN), Arabic (WIN1256)
>
>Added ClientEncoding
>       Simplified Chinese (GBK), Korean (UHC)
>
>Add PsqlODBC and document ...etc patch.

"JDBC patch" is delivered, too. :-)

Eiji Tokuya

22 years ago> I am backing out this patch. Please resubmit with this corrected. Thanks.
Bruce Momjian [Tue, 19 Mar 2002 02:47:57 +0000 (02:47 +0000)]
> I am backing out this patch.  Please resubmit with this corrected.  Thanks.
>
> I am running Python 1.5.

Therein lies the problem... :)

Since it appears you have the requirement of supporting old python
versions, attached is just the pgdb.py part of the patch (with a fix for
DateTime handling). It has the same functionality but certainly won't be
quite as fast. Given the absence of _PyString_Join in python1.5, it's a
pain to get the C variants working for all versions. The pgdb.py patch
does leaves the hooks in, should someone wish to do the optimization at a
later point.

Elliot Lee

22 years agoAdd psql \dD listing of domains, from Jonathan Eisler.
Bruce Momjian [Tue, 19 Mar 2002 02:32:21 +0000 (02:32 +0000)]
Add psql \dD listing of domains, from Jonathan Eisler.

22 years agoAdd DOMAIN support. Includes manual pages and regression tests, from
Bruce Momjian [Tue, 19 Mar 2002 02:18:25 +0000 (02:18 +0000)]
Add DOMAIN support.  Includes manual pages and regression tests, from
Rod Taylor.

22 years agoapplied patch from Liam Stewart
Dave Cramer [Tue, 19 Mar 2002 01:32:48 +0000 (01:32 +0000)]
applied patch from Liam Stewart

If one is trying to compile a JDBC 1 driver and junit.jar is in the
CLASSPATH, then the build fails as ant tries to build the JDBC 2 test
classes. This patch fixes this problem by excluding the jdbc 2 files
unless the jdk1.2+ property is set.

22 years agoComment patch:
Bruce Momjian [Tue, 19 Mar 2002 01:14:41 +0000 (01:14 +0000)]
Comment patch:

This one better describes the problem.

heap.c needs to be updated to include 'Hard coded badness' for that
table.
--
Rod Taylor

22 years agoImprove wording of bug fix:
Bruce Momjian [Tue, 19 Mar 2002 00:12:09 +0000 (00:12 +0000)]
Improve wording of bug fix:

Ensure that sequence counters do not go backwards after a crash

22 years agoUpdate for 7.2.1.
Bruce Momjian [Mon, 18 Mar 2002 23:03:13 +0000 (23:03 +0000)]
Update for 7.2.1.

22 years agoUpdate FAQ.
Bruce Momjian [Mon, 18 Mar 2002 19:35:10 +0000 (19:35 +0000)]
Update FAQ.

22 years agoFixes bug where query hangs if there is an error in the query, went back to
Dave Cramer [Mon, 18 Mar 2002 04:16:33 +0000 (04:16 +0000)]
Fixes bug where query hangs if there is an error in the query, went back to
code before QueryExecutor class was created and copied behaviour

22 years agoImprove documentation about array I/O representation.
Tom Lane [Sun, 17 Mar 2002 19:59:57 +0000 (19:59 +0000)]
Improve documentation about array I/O representation.

22 years agoTry to make array_in's behavior a tad less bizarre. Leading whitespace
Tom Lane [Sat, 16 Mar 2002 22:47:13 +0000 (22:47 +0000)]
Try to make array_in's behavior a tad less bizarre.  Leading whitespace
before a data item is now always skipped, rather than only sometimes.
Backslashes not within double-quoted text are treated reasonably, as
are multiple sequences of quoted text in a single data item.  But it
still seems rather prone to misbehavior if the input is not completely
syntactically correct --- in particular, garbage following a right brace
will be ignored.

22 years agofixed QueryExecuter to deal with multiple errors
Dave Cramer [Sat, 16 Mar 2002 02:15:23 +0000 (02:15 +0000)]
fixed QueryExecuter to deal with multiple errors
previously it was throwing a SQLException as soon as the error message was
received from the backend. This did not allow the protocol to finish properly
now, simply collects error messages from the backend until the query is done
and throws exception at the end
Also added setLogLevel to Driver.java, and made the log levels public

22 years agoManually clean up indenting of ecpg lex/yacc files, OK'ed by Michael
Bruce Momjian [Fri, 15 Mar 2002 21:46:59 +0000 (21:46 +0000)]
Manually clean up indenting of ecpg lex/yacc files, OK'ed by Michael
Meskes.  These files are not touched by pgindent so this has to be
manually done.

22 years agoRepair two problems with WAL logging of sequence nextvalI() ops, as
Tom Lane [Fri, 15 Mar 2002 19:20:36 +0000 (19:20 +0000)]
Repair two problems with WAL logging of sequence nextvalI() ops, as
per recent pghackers discussion: force a new WAL record at first nextval
after a checkpoint, and ensure that xlog is flushed to disk if a nextval
record is the only thing emitted by a transaction.

22 years agoBack out EXCEPT/DIFFERENCE patch. Seems I forgot the details of this.
Bruce Momjian [Fri, 15 Mar 2002 16:16:31 +0000 (16:16 +0000)]
Back out EXCEPT/DIFFERENCE patch.  Seems I forgot the details of this.

22 years agoFix for docs from Patrick Welche:
Bruce Momjian [Fri, 15 Mar 2002 15:55:58 +0000 (15:55 +0000)]
Fix for docs from Patrick Welche:

!  DIFFERENCE (&minus; or &setmn;): builds the set difference of
   two tables. Let <classname>R</classname> and
<classname>S</classname>
again be two tables with the same
   arity. <classname>R</classname> - <classname>S</classname>
--- 488,494 ----

        <listitem>
        <para>
!  EXCEPT (&minus; or &setmn;): builds the set difference of

22 years agopatch from Alexey Slynko
Dave Cramer [Fri, 15 Mar 2002 04:11:49 +0000 (04:11 +0000)]
patch from Alexey Slynko
This patch solve problems with arrays in latest development JDBC driver

22 years agoThe attached patch changes ALTER TABLE OWNER to also change the
Bruce Momjian [Thu, 14 Mar 2002 22:44:50 +0000 (22:44 +0000)]
The attached patch changes ALTER TABLE OWNER to also change the
ownership of any toast tables that belong to the table that is being
operated upon (as suggested by Tom Lane).

Neil Conway

22 years ago1) Internal improvements to handle updatable cursors(1st cut).
Hiroshi Inoue [Thu, 14 Mar 2002 05:42:04 +0000 (05:42 +0000)]
1) Internal improvements to handle updatable cursors(1st cut).
2) Fix a bug in SQLColAttribute().

22 years agoMove
Peter Eisentraut [Wed, 13 Mar 2002 00:05:06 +0000 (00:05 +0000)]
Move
  src/GNUmakefile.in to src/Makefile
and
  src/backend/port/Makefile.in to src/backend/port/Makefile

All configure substitutions are now done in Makefile.global.

22 years agoChange "head -1" to "sort q" as suggested for POSIX compatibility.
Bruce Momjian [Tue, 12 Mar 2002 21:44:18 +0000 (21:44 +0000)]
Change "head -1" to "sort q" as suggested for POSIX compatibility.

22 years agoRestructure representation of join alias variables. An explicit JOIN
Tom Lane [Tue, 12 Mar 2002 00:52:10 +0000 (00:52 +0000)]
Restructure representation of join alias variables.  An explicit JOIN
now has an RTE of its own, and references to its outputs now are Vars
referencing the JOIN RTE, rather than CASE-expressions.  This allows
reverse-listing in ruleutils.c to use the correct alias easily, rather
than painfully reverse-engineering the alias namespace as it used to do.
Also, nested FULL JOINs work correctly, because the result of the inner
joins are simple Vars that the planner can cope with.  This fixes a bug
reported a couple times now, notably by Tatsuo on 18-Nov-01.  The alias
Vars are expanded into COALESCE expressions where needed at the very end
of planning, rather than during parsing.
Also, beginnings of support for showing plan qualifier expressions in
EXPLAIN.  There are probably still cases that need work.
initdb forced due to change of stored-rule representation.

22 years agoMore pgsql \? cleanup for Peter E.
Bruce Momjian [Mon, 11 Mar 2002 18:26:20 +0000 (18:26 +0000)]
More pgsql \? cleanup for Peter E.

22 years agoCorrect optional args in psql \? as pointed out by Ian Barwick.
Bruce Momjian [Mon, 11 Mar 2002 18:22:03 +0000 (18:22 +0000)]
Correct optional args in psql \? as pointed out by Ian Barwick.

22 years agoPleas apply it for 7.2.1 and current CVS.
Bruce Momjian [Mon, 11 Mar 2002 16:54:27 +0000 (16:54 +0000)]
Pleas apply it for 7.2.1 and current CVS.

Patch fixes using lc.lang instead of lc.lc_ctype.

Teodor Sigaev

22 years agoMention time() and interval() are also changed in 7.2.
Bruce Momjian [Mon, 11 Mar 2002 16:41:44 +0000 (16:41 +0000)]
Mention time() and interval() are also changed in 7.2.

22 years agoInlined a patch to add the libpq setNoticeProcessor capability to
Bruce Momjian [Mon, 11 Mar 2002 15:08:18 +0000 (15:08 +0000)]
Inlined a patch to add the libpq setNoticeProcessor capability to
libpq++.

Ofir Reichenberg

22 years agoChanged the version numbers, but did not commit the Makefiles.
Michael Meskes [Mon, 11 Mar 2002 12:56:02 +0000 (12:56 +0000)]
Changed the version numbers, but did not commit the Makefiles.

22 years agoBug fixes for the 2002-03-08 change.
Hiroshi Inoue [Mon, 11 Mar 2002 10:25:57 +0000 (10:25 +0000)]
Bug fixes for the 2002-03-08 change.
1) Put back the error message for SQLError().
2) Change Disallow premature to handle the SELECTed
   result.
3) Put back the behavior of AUTUCOMMIT mode change.
4) Fix SQLColumns for ODBC3.0.

5) Improve the handling of variable bookmark in ODBC3.0.
6) Enable Recognize Unique Index Button.

22 years agoFix markup
Peter Eisentraut [Mon, 11 Mar 2002 05:03:52 +0000 (05:03 +0000)]
Fix markup

22 years agoUppercase class selectors, to work with browsers that follow the standards.
Peter Eisentraut [Mon, 11 Mar 2002 05:02:04 +0000 (05:02 +0000)]
Uppercase class selectors, to work with browsers that follow the standards.

22 years agoBack out this for Peter:
Bruce Momjian [Mon, 11 Mar 2002 04:39:14 +0000 (04:39 +0000)]
Back out this for Peter:

>       This simple patch fixes broken Makefile, broken ApplySnapshot and
>       makes all utilities honour --verbose command line option.
>
>       --
>       Yours, Alexey V. Borzov, Webmaster of RDW.ru
>

22 years agoFixed two bugs in define command in pgc.l
Michael Meskes [Sun, 10 Mar 2002 12:09:54 +0000 (12:09 +0000)]
Fixed two bugs in define command in pgc.l

22 years agoUpdate and remove items:
Bruce Momjian [Sun, 10 Mar 2002 06:12:23 +0000 (06:12 +0000)]
Update and remove items:

< * Remove brackets as multi-statement rule grouping, must use parens (Bruce)
> * -Remove brackets as multi-statement rule grouping, must use parens (Bruce)
458d457
< * Remove USING clause from pg_get_indexdef() if index is btree (Bruce)

22 years agoAdd DEFAULT_INDEX_TYPE == "btree", for clarity.
Bruce Momjian [Sun, 10 Mar 2002 06:02:24 +0000 (06:02 +0000)]
Add DEFAULT_INDEX_TYPE == "btree", for clarity.

22 years agoDisable brackets in multi-statement rules, as discussed.
Bruce Momjian [Sun, 10 Mar 2002 06:00:15 +0000 (06:00 +0000)]
Disable brackets in multi-statement rules, as discussed.

22 years agoGuard against NULL strings in SET key=val constructs.
Thomas G. Lockhart [Sat, 9 Mar 2002 17:37:16 +0000 (17:37 +0000)]
Guard against NULL strings in SET key=val constructs.
 Problem noted by Fernando Nasser.

22 years agoAdded a check for not calling next() before getting objects from the result set,
Dave Cramer [Sat, 9 Mar 2002 17:36:14 +0000 (17:36 +0000)]
Added a check for not calling next() before getting objects from the result set,
moved the check for columnIndex into same call
check at the top of all getXXX
added appropriate error

22 years agoCode review for improved-hashing patch. Fix some portability issues
Tom Lane [Sat, 9 Mar 2002 17:35:37 +0000 (17:35 +0000)]
Code review for improved-hashing patch.  Fix some portability issues
(char != unsigned char, Datum != uint32); make use of new hash code in
dynahash hash tables and hash joins.

22 years agoHere is a small patch that cleans up some error reporting in the JDBC driver. PSQLExc...
Dave Cramer [Sat, 9 Mar 2002 17:08:39 +0000 (17:08 +0000)]
Here is a small patch that cleans up some error reporting in the JDBC driver. PSQLExceptions are thrown instead of SQLExceptions and if a warning is received while waiting for the backend secret key, that warning is chained to the new Connection object instead of generating an exception. A couple new error messages have been added.