OSDN Git Service

pg-rex/syncrep.git
23 years agoDump/display 'timestamp' as 'timestamp with time zone', to make room for a
Peter Eisentraut [Mon, 5 Feb 2001 17:35:04 +0000 (17:35 +0000)]
Dump/display 'timestamp' as 'timestamp with time zone', to make room for a
future 'timestamp without time zone', which SQL claims is equivalent to
plain 'timestamp'.

23 years agoMove PL docs to programmer's guide, "storage" chapter to admin guide,
Peter Eisentraut [Sun, 4 Feb 2001 15:28:18 +0000 (15:28 +0000)]
Move PL docs to programmer's guide, "storage" chapter to admin guide,
clean up some things in the affected areas.

23 years agoCheck for -lresolv.
Peter Eisentraut [Sun, 4 Feb 2001 14:09:33 +0000 (14:09 +0000)]
Check for -lresolv.

23 years agoPass LDFLAGS along with LIBS to the Python build stuff, especially to pick
Peter Eisentraut [Sun, 4 Feb 2001 13:21:46 +0000 (13:21 +0000)]
Pass LDFLAGS along with LIBS to the Python build stuff, especially to pick
up -L options.

23 years agoMust run jadetex three times to get correct page numbers. Add support for
Peter Eisentraut [Sun, 4 Feb 2001 12:23:11 +0000 (12:23 +0000)]
Must run jadetex three times to get correct page numbers.  Add support for
pdfjadetex.

23 years agoWhen making xrefs to refsects, the linkend should point to the refsect and
Peter Eisentraut [Sun, 4 Feb 2001 12:18:08 +0000 (12:18 +0000)]
When making xrefs to refsects, the linkend should point to the refsect and
the endterm to the title element, not both to the title.  At least
docbook2man prefers it that way.

23 years agoRe-add Peter E's changes.
Bruce Momjian [Sat, 3 Feb 2001 21:50:45 +0000 (21:50 +0000)]
Re-add Peter E's changes.

23 years agoFix inappropriate attempt to push down qual clauses into a view that
Tom Lane [Sat, 3 Feb 2001 21:17:52 +0000 (21:17 +0000)]
Fix inappropriate attempt to push down qual clauses into a view that
has UNION/INTERSECT/EXCEPT operations.  Per bug report from Ferrier.

23 years agoUse elog() instead of exit() for fatal scanner errors.
Peter Eisentraut [Sat, 3 Feb 2001 20:13:05 +0000 (20:13 +0000)]
Use elog() instead of exit() for fatal scanner errors.

23 years agoImproved wording, from Albert REINER <areiner@tph.tuwien.ac.at>.
Peter Eisentraut [Sat, 3 Feb 2001 19:09:46 +0000 (19:09 +0000)]
Improved wording, from Albert REINER <areiner@tph.tuwien.ac.at>.

23 years agoUpdate, polish, consistencify preface/intro sections.
Peter Eisentraut [Sat, 3 Feb 2001 19:03:27 +0000 (19:03 +0000)]
Update, polish, consistencify preface/intro sections.

23 years agoChange description.
Bruce Momjian [Sat, 3 Feb 2001 04:13:22 +0000 (04:13 +0000)]
Change description.

23 years agoRuntime tree recovery is implemented, just testing is left -:)
Vadim B. Mikheev [Fri, 2 Feb 2001 19:49:15 +0000 (19:49 +0000)]
Runtime tree recovery is implemented, just testing is left -:)

23 years agoApply patches for QNX from Maurizio
Bruce Momjian [Fri, 2 Feb 2001 18:21:59 +0000 (18:21 +0000)]
Apply patches for QNX from Maurizio

23 years agoA patch for the GROUP BY/HAVING example. p.date should be s.date.
Bruce Momjian [Thu, 1 Feb 2001 19:13:47 +0000 (19:13 +0000)]
A patch for the GROUP BY/HAVING example.  p.date should be s.date.

Robert B. Easter

23 years ago Please replace with the one attached to this email message. The
Bruce Momjian [Thu, 1 Feb 2001 18:31:10 +0000 (18:31 +0000)]
    Please replace with the one attached to this email message. The
previous version depended on the below patch, this one does not. It is
also a bit cleaner and has a few more helpful comments.

Ryan Kirkpatrick

23 years agoApplied two bug fixes by Christof Petig.
Michael Meskes [Wed, 31 Jan 2001 16:12:34 +0000 (16:12 +0000)]
Applied two bug fixes by Christof Petig.

23 years agoWed Jan 31 08:46:00 GMT 2001 peter@retep.org.uk
Peter Mount [Wed, 31 Jan 2001 09:23:45 +0000 (09:23 +0000)]
Wed Jan 31 08:46:00 GMT 2001 peter@retep.org.uk
        - Some minor additions to Statement to make our own extensions more
          portable.
        - Statement.close() will now call ResultSet.close() rather than just
          dissasociating with it.

23 years agoTue Jan 30 22:24:00 GMT 2001 peter@retep.org.uk
Peter Mount [Wed, 31 Jan 2001 08:26:02 +0000 (08:26 +0000)]
Tue Jan 30 22:24:00 GMT 2001 peter@retep.org.uk
        - Fixed bug where Statement.setMaxRows() was a global setting. Now
          limited to just itself.
        - Changed LargeObject.read(byte[],int,int) to return the actual number
          of bytes read (used to be void).
        - LargeObject now supports InputStream's!
        - PreparedStatement.setBinaryStream() now works!
        - ResultSet.getBinaryStream() now returns an InputStream that doesn't
          copy the blob into memory first!
        - Connection.isClosed() now tests to see if the connection is still alive
          rather than if it thinks it's alive.

23 years agoCouple additional functions to fix tree at runtime.
Vadim B. Mikheev [Wed, 31 Jan 2001 01:08:36 +0000 (01:08 +0000)]
Couple additional functions to fix tree at runtime.
Need in one more function to handle "my bits moved..."
case. FixBTree is still FALSE.

23 years agoUpdate /contrib README and add init.d from Ryan.
Bruce Momjian [Tue, 30 Jan 2001 17:37:49 +0000 (17:37 +0000)]
Update /contrib README and add init.d from Ryan.

23 years agoUpdate HISTORY/release with current changes.
Bruce Momjian [Mon, 29 Jan 2001 18:58:45 +0000 (18:58 +0000)]
Update HISTORY/release with current changes.

23 years agoUpdate TODO list.
Bruce Momjian [Mon, 29 Jan 2001 17:57:41 +0000 (17:57 +0000)]
Update TODO list.

23 years agoRemove unused TODO.detail functions.
Bruce Momjian [Mon, 29 Jan 2001 17:57:26 +0000 (17:57 +0000)]
Remove unused TODO.detail functions.

23 years agoRemove subquery.
Bruce Momjian [Mon, 29 Jan 2001 17:52:47 +0000 (17:52 +0000)]
Remove subquery.

23 years agoUpdate TODO list.
Bruce Momjian [Mon, 29 Jan 2001 17:50:26 +0000 (17:50 +0000)]
Update TODO list.

23 years agoUpdate TODO list.
Bruce Momjian [Mon, 29 Jan 2001 17:48:11 +0000 (17:48 +0000)]
Update TODO list.

23 years agoUpdate to PyGreSQL-3.1
Bruce Momjian [Mon, 29 Jan 2001 16:27:48 +0000 (16:27 +0000)]
Update to PyGreSQL-3.1

23 years agoCall _bt_fixroot() from _bt_insertonpg.
Vadim B. Mikheev [Mon, 29 Jan 2001 07:28:17 +0000 (07:28 +0000)]
Call _bt_fixroot() from _bt_insertonpg.

23 years agoupdate configure to beta4
Marc G. Fournier [Mon, 29 Jan 2001 02:52:30 +0000 (02:52 +0000)]
update configure to beta4

Install a ChangeLog file from beta3->beta4

23 years agoUpdate FAQ.
Bruce Momjian [Mon, 29 Jan 2001 01:23:36 +0000 (01:23 +0000)]
Update FAQ.

23 years agoClean up handling of tuple descriptors so that result-tuple descriptors
Tom Lane [Mon, 29 Jan 2001 00:39:20 +0000 (00:39 +0000)]
Clean up handling of tuple descriptors so that result-tuple descriptors
allocated by plan nodes are not leaked at end of query.  This doesn't
really matter for normal queries, but it sure does for queries invoked
repetitively inside SQL functions.  Clean up some other grotty code
associated with tupdescs, and fix a few other memory leaks exposed by
tests with simple SQL functions.

23 years agoThe following patch is required for successful compilation on Irix.
Bruce Momjian [Mon, 29 Jan 2001 00:11:41 +0000 (00:11 +0000)]
The following patch is required for successful compilation on Irix.

Robert E. Bruccole

23 years agoUpdate FAQ.
Bruce Momjian [Sun, 28 Jan 2001 17:43:54 +0000 (17:43 +0000)]
Update FAQ.

23 years agoUpdate FAQ.
Bruce Momjian [Sun, 28 Jan 2001 17:42:12 +0000 (17:42 +0000)]
Update FAQ.

23 years agoUpdate FAQ.
Bruce Momjian [Sun, 28 Jan 2001 17:39:44 +0000 (17:39 +0000)]
Update FAQ.

23 years agoUpdate TODO list.
Bruce Momjian [Sun, 28 Jan 2001 15:42:42 +0000 (15:42 +0000)]
Update TODO list.

23 years agoUpdate TODO list.
Bruce Momjian [Sun, 28 Jan 2001 15:41:58 +0000 (15:41 +0000)]
Update TODO list.

23 years agoUpdate FAQ.
Bruce Momjian [Sun, 28 Jan 2001 15:18:45 +0000 (15:18 +0000)]
Update FAQ.

23 years agoUpdate TODO list.
Bruce Momjian [Sun, 28 Jan 2001 05:05:11 +0000 (05:05 +0000)]
Update TODO list.

23 years agoUsed LEFT OUTER JOIN for various queries
Philip Warner [Sun, 28 Jan 2001 03:47:49 +0000 (03:47 +0000)]
Used LEFT OUTER JOIN for various queries

23 years agoApplied (slightly modified) patches from Tatsuo:
Philip Warner [Sun, 28 Jan 2001 02:57:06 +0000 (02:57 +0000)]
Applied (slightly modified) patches from Tatsuo:

Ok. I have made patches for fixing some of pg_dump problems(see
attached patches). The patches address the problem with user defined
functions, operators and aggregates.

23 years agoHere is an update on the Win32 patch. Modified files are 'config.h.win32'
Bruce Momjian [Sat, 27 Jan 2001 21:49:59 +0000 (21:49 +0000)]
Here is an update on the Win32 patch. Modified files are 'config.h.win32'
and two 'win32.mak'. Addresses the following:

1) Oops. Spelled fcntl.h wrong in the last one. D'uh.
2) PG_VERSION changed to be defined with " around it. psql/command.c failed
to compile without that.
3) Changed makefiles to use "/MD" and link both psql and libpq.dll against
MSVCRT.DLL instead of a static library. This takes care of the
crash-upon-free in psql.

I *think* this is what is on the "Open 7.1 Items" list as "Magnus Hagander
ODBC Issues?". It has nothing to do with ODBC, but it's the only issue I've
been involved with...

Magnus Hagander

23 years agoUpdate FAQ.
Bruce Momjian [Sat, 27 Jan 2001 20:19:34 +0000 (20:19 +0000)]
Update FAQ.

23 years agoAdd 'foreign' file.
Bruce Momjian [Sat, 27 Jan 2001 19:49:45 +0000 (19:49 +0000)]
Add 'foreign' file.

23 years agoAdd missing pgaccess files.
Bruce Momjian [Sat, 27 Jan 2001 18:36:24 +0000 (18:36 +0000)]
Add missing pgaccess files.

23 years agoUpdate to pgaccess 0.98.7.
Bruce Momjian [Sat, 27 Jan 2001 18:34:38 +0000 (18:34 +0000)]
Update to pgaccess 0.98.7.

23 years agoWhen dropping the schema, reconnect as owner of each object.
Philip Warner [Sat, 27 Jan 2001 12:35:29 +0000 (12:35 +0000)]
When dropping the schema, reconnect as owner of each object.

23 years agoMake into appendix, correct some items.
Peter Eisentraut [Sat, 27 Jan 2001 11:12:53 +0000 (11:12 +0000)]
Make into appendix, correct some items.

23 years agoAdd permission check for CHECKPOINT.
Peter Eisentraut [Sat, 27 Jan 2001 10:19:52 +0000 (10:19 +0000)]
Add permission check for CHECKPOINT.

23 years agoFix failure to create sequences for more than one SERIAL column in a
Tom Lane [Sat, 27 Jan 2001 07:23:48 +0000 (07:23 +0000)]
Fix failure to create sequences for more than one SERIAL column in a
table.

23 years agoUpdate TODO list.
Bruce Momjian [Sat, 27 Jan 2001 05:49:12 +0000 (05:49 +0000)]
Update TODO list.

23 years agoUpdate TODO list.
Bruce Momjian [Sat, 27 Jan 2001 05:40:51 +0000 (05:40 +0000)]
Update TODO list.

23 years agoLooks like I broke cases involving combinations of deferred update/delete
Tom Lane [Sat, 27 Jan 2001 05:16:58 +0000 (05:16 +0000)]
Looks like I broke cases involving combinations of deferred update/delete
triggers ... oops ... but the regress tests should have covered this ...

23 years agoin the tutorial, chapter 2., "Relational Data Model Formalities"
Bruce Momjian [Sat, 27 Jan 2001 05:07:28 +0000 (05:07 +0000)]
in the tutorial, chapter 2., "Relational Data Model Formalities"
(sql490.htm), there is

"set of all k-tuples v1, v2, ... vk, such that v1 [isin] D1, v1 [isin] D1"

i assume it should be
"set of all k-tuples v1, v2, ... vk, such that v1 [isin] D1, v2 [isin] D2"

Divide by Zero

23 years agoUpdate TODO list.
Bruce Momjian [Sat, 27 Jan 2001 04:42:56 +0000 (04:42 +0000)]
Update TODO list.

23 years agoDon't crash if subquery appears multiple times in jointree. This should
Tom Lane [Sat, 27 Jan 2001 04:42:32 +0000 (04:42 +0000)]
Don't crash if subquery appears multiple times in jointree.  This should
not happen anyway, but let's try not to get completely confused if it does
(due to rewriter bugs or whatever).

23 years agoRepair bug reported by Huxton, 1/24/01. We need to include a rule's
Tom Lane [Sat, 27 Jan 2001 04:40:59 +0000 (04:40 +0000)]
Repair bug reported by Huxton, 1/24/01.  We need to include a rule's
original table ('OLD' table) in its join tree if OLD is referenced by
either the rule action, the rule qual, or the original query qual that
will be added to the rule action.  However, we only want one instance
of the original table to be included; so beware of the possibility that
the rule action already has a jointree entry for OLD.

23 years agoUpdate FAQ.
Bruce Momjian [Sat, 27 Jan 2001 04:38:54 +0000 (04:38 +0000)]
Update FAQ.

23 years agoUpdate FAQ.
Bruce Momjian [Sat, 27 Jan 2001 04:35:16 +0000 (04:35 +0000)]
Update FAQ.

23 years ago Just a quick patch to make the geometry test on Sparc/Linux
Bruce Momjian [Sat, 27 Jan 2001 04:26:37 +0000 (04:26 +0000)]
    Just a quick patch to make the geometry test on Sparc/Linux
regression tests for Pgsql 7.1beta3 pass. This is very similr to the one I
submitted back in July for Linux/Alpha. Apparently non-x86 Linux machines
like to compute nth place float point digits like Sun/Solaris does?
        Otherwise, 7.1beta3 runs without problems (i.e. all other
regression tests pass) on my Sparc 20 running Debian GNU/Linux 2.2.

Ryan Kirkpatrick

23 years agoRefuse to try to attach a condition to a NOTIFY or other utility statement,
Tom Lane [Sat, 27 Jan 2001 01:44:20 +0000 (01:44 +0000)]
Refuse to try to attach a condition to a NOTIFY or other utility statement,
rather than coredumping (as prior 7.1 code did) or silently dropping the
condition (as 7.0 did).  This is annoying but there doesn't seem to be
any good way to fix it, short of a major querytree restructuring.

23 years agoSuppress coredump when EXPLAINing query that is rewritten to include
Tom Lane [Sat, 27 Jan 2001 01:41:19 +0000 (01:41 +0000)]
Suppress coredump when EXPLAINing query that is rewritten to include
a NOTIFY.

23 years agoRe-read Unix-socket lock file every so often (every CheckPoint interval,
Tom Lane [Sat, 27 Jan 2001 00:05:31 +0000 (00:05 +0000)]
Re-read Unix-socket lock file every so often (every CheckPoint interval,
actually) to ensure that its file access time doesn't get old enough to
tempt a /tmp directory cleaner to remove it.  Still another reason we
should never have put the sockets in /tmp in the first place ...

23 years agoClean up markup, add description of contrib/array operators by Joel Burton
Peter Eisentraut [Fri, 26 Jan 2001 23:40:39 +0000 (23:40 +0000)]
Clean up markup, add description of contrib/array operators by Joel Burton
<jburton@scw.org>.

23 years agoChange float8-to-int8 conversion to round to nearest, rather than
Tom Lane [Fri, 26 Jan 2001 22:50:26 +0000 (22:50 +0000)]
Change float8-to-int8 conversion to round to nearest, rather than
truncating to integer.  Remove regress test that checks whether
4567890123456789 can be converted to float without loss; since that's
52 bits, it's on the hairy edge of failing with IEEE float8s, and indeed
rint seems to give platform-dependent results for it.

23 years agoodbc1.diff changes the text on the Protocol Radio buttons on the driver
Bruce Momjian [Fri, 26 Jan 2001 22:41:59 +0000 (22:41 +0000)]
odbc1.diff changes the text on the Protocol Radio buttons on the driver
dialogue from '6.4/6.5' to '6.5+' and removes some C++ comments from
resource.h (which VC++ insists on putting there).

odbc2.diff adds code to query the PostgreSQL version upon connection. This
is then used to determine what values to return for from SQLGetInfo for
SQL_DBMS_VER, SQL_MAX_ROW_SIZE, SQL_MAX_STATEMENT_LEN, SQL_OJ_CAPABILITIES
and SQL_OUTER_JOINS. The version string as returned by SELECT vERSION() (as
a char array) and the major.minor version number (as a flost) have been
added to the ConnectionClass structure.

Dave Page

23 years agogcc complains about improperly terminated comment.
Tom Lane [Fri, 26 Jan 2001 22:25:36 +0000 (22:25 +0000)]
gcc complains about improperly terminated comment.

23 years agoUpdate TODO list.
Bruce Momjian [Fri, 26 Jan 2001 22:17:52 +0000 (22:17 +0000)]
Update TODO list.

23 years agoAdd some links from data type chapter to section on literal constants.
Peter Eisentraut [Fri, 26 Jan 2001 22:04:22 +0000 (22:04 +0000)]
Add some links from data type chapter to section on literal constants.

23 years agoUpdate TODO list.
Bruce Momjian [Fri, 26 Jan 2001 21:34:25 +0000 (21:34 +0000)]
Update TODO list.

23 years agoUpdate TODO list.
Bruce Momjian [Fri, 26 Jan 2001 21:17:25 +0000 (21:17 +0000)]
Update TODO list.

23 years agoUpdate TODO list.
Bruce Momjian [Fri, 26 Jan 2001 21:16:15 +0000 (21:16 +0000)]
Update TODO list.

23 years agoUpdate TODO list.
Bruce Momjian [Fri, 26 Jan 2001 20:59:00 +0000 (20:59 +0000)]
Update TODO list.

23 years agoUpdate TODO list.
Bruce Momjian [Fri, 26 Jan 2001 20:35:41 +0000 (20:35 +0000)]
Update TODO list.

23 years agoSpecial case in ProcSleep() wasn't sufficiently general: must check to
Tom Lane [Fri, 26 Jan 2001 18:23:12 +0000 (18:23 +0000)]
Special case in ProcSleep() wasn't sufficiently general: must check to
see if we shouldn't block whenever we insert ourselves anywhere before
the end of the queue, not only at the front.

23 years agoFirst step in attempt to fix tree at runtime: create upper levels
Vadim B. Mikheev [Fri, 26 Jan 2001 01:24:31 +0000 (01:24 +0000)]
First step in attempt to fix tree at runtime: create upper levels
and new root page if old root one was splitted but new root page
wasn't created.
New code is protected by FixBTree bool flag setted to FALSE, so
nothing should be affected by this untested approach.

23 years agoSynced gram.y and preproc.y.
Michael Meskes [Thu, 25 Jan 2001 20:35:19 +0000 (20:35 +0000)]
Synced gram.y and preproc.y.

23 years agoFor missing owner of database, default to superuser.
Peter Eisentraut [Thu, 25 Jan 2001 17:28:15 +0000 (17:28 +0000)]
For missing owner of database, default to superuser.

23 years agoAvoid bogus failures due to 'ps x | grep postmaster' detecting 'grep
Peter Eisentraut [Thu, 25 Jan 2001 16:32:25 +0000 (16:32 +0000)]
Avoid bogus failures due to 'ps x | grep postmaster' detecting 'grep
postmaster' process.

23 years agoAdded an alternative constructor to PGSQLException so that debugging
Peter Mount [Thu, 25 Jan 2001 09:16:36 +0000 (09:16 +0000)]
Added an alternative constructor to PGSQLException so that debugging
          some more osteric bugs is easier. If only 1 arg is supplied and it's
          of type Exception, then that Exception's stacktrace is now included.

This was done as there's been a report of an unusual bug during connection.
This will make this sort of bug hunting easier from now on.

23 years agoAdd to TODO.detail.
Bruce Momjian [Thu, 25 Jan 2001 03:53:25 +0000 (03:53 +0000)]
Add to TODO.detail.

23 years agoUpdate TODO list.
Bruce Momjian [Thu, 25 Jan 2001 03:50:31 +0000 (03:50 +0000)]
Update TODO list.

23 years agoUpdate TODO list.
Bruce Momjian [Thu, 25 Jan 2001 03:50:11 +0000 (03:50 +0000)]
Update TODO list.

23 years agoWhoops, forgot to do ProcLockWakeup() after deadlock checker
Tom Lane [Thu, 25 Jan 2001 03:45:50 +0000 (03:45 +0000)]
Whoops, forgot to do ProcLockWakeup() after deadlock checker
rearranges wait queues.

23 years agoAdd.
Bruce Momjian [Thu, 25 Jan 2001 03:36:34 +0000 (03:36 +0000)]
Add.

23 years agoRe-implement deadlock detection and resolution, per design notes posted
Tom Lane [Thu, 25 Jan 2001 03:31:16 +0000 (03:31 +0000)]
Re-implement deadlock detection and resolution, per design notes posted
to pghackers on 18-Jan-01.

23 years agoFurther to the previous ODBC patches I posted today, I found a couple of
Bruce Momjian [Thu, 25 Jan 2001 03:28:27 +0000 (03:28 +0000)]
Further to the previous ODBC patches I posted today, I found a couple of
problems with char array sizes having set a couple of constants to 0 for
unlimited query length and row length. This additional patch cleans those
problems up by defining a new constant (STD_STATEMENT_LEN) to 65536 and
using that in place of MAX_STATEMENT_LEN.

Another constant (MAX_MESSAGE_LEN) was defined as 2*BLCKSZ, but is now
65536. This is used to define the length of the message buffer in a number
of places and as I understand it (probably not that well!) therefore also
places a limit on the query length. Fixing this properly is beyond my
capabilities but 65536 should hopefully be large enough for most people.

Apologies for being over-enthusiastic and posting 3 patches in one day
rather than 1 better tested one!

Regards,

Dave Page

23 years ago> From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Bruce Momjian [Thu, 25 Jan 2001 03:27:47 +0000 (03:27 +0000)]
> From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
> Sent: 24 January 2001 16:51
> To: Dave Page
> Subject: Re: [PATCHES] ODBC Patch for OJs/Large Querys & Rows
>
>
> > SQL_OJ_LEFT = Left outer joins are supported.
>
> Yes.
<snip>

In addition to my earlier patch, this one adds support for SQLGetInfo
SQL_OJ_CAPABILITIES to the ODBC driver.

Dave Page

23 years agoI decided to give this a go after all :-) The attached patch does the
Bruce Momjian [Thu, 25 Jan 2001 03:27:05 +0000 (03:27 +0000)]
I decided to give this a go after all :-) The attached patch does the
following but it does *not* check whether the user is connected to
PostgreSQL 7.0.x or 7.1 first (as would be required for some of the
features) - the driver doesn't do this at all afaik and it's beyond my
capabilities to implement such checking in code that doesn't look like it
was written by my 1 year old daughter!

1) The driver now reports no maximum query length (SQL_MAX_QUERY_SIZE).
2) The driver now reports no maximum row length (SQL_MAX_ROW_SIZE).
3) The driver now reports that Outer Joins are supported (SQL_OUTER_JOINS),
but still does not report oj capabilities (SQL_OJ_CAPABILITIES).
4) The version number has been incremented to 7.1.0000 in psqlodbc.h *and*
psqlodbc.rc

Regards,

Dave Page

23 years agoThis patch fixes an arrayindexoutofbounds exception that was just
Bruce Momjian [Thu, 25 Jan 2001 00:02:58 +0000 (00:02 +0000)]
This patch fixes an arrayindexoutofbounds exception that was just
introduced into the code.  The fix is a fix to
org.postgresql.core.ByteArrayDim1.java.

Barry Lind

23 years agoAdd ./include/config.h.win32 to RELEASE update list.
Bruce Momjian [Thu, 25 Jan 2001 00:01:17 +0000 (00:01 +0000)]
Add ./include/config.h.win32 to RELEASE update list.

23 years agoAdd to inheritance
Bruce Momjian [Thu, 25 Jan 2001 00:00:48 +0000 (00:00 +0000)]
Add to inheritance

23 years agoUpdate TODO list.
Bruce Momjian [Wed, 24 Jan 2001 23:55:32 +0000 (23:55 +0000)]
Update TODO list.

23 years agoAttached is a revised patch that removes the static SimpleDateFormat
Bruce Momjian [Wed, 24 Jan 2001 23:41:04 +0000 (23:41 +0000)]
Attached is a revised patch that removes the static SimpleDateFormat
objects that Thomas pointed out might be a problem.

PPS.  I have included and updated the comments from the original patch
request to reflect the changes made in this revised patch.

> Attached is a set of patches for a couple of bugs dealing with
> timestamps in JDBC.
>
> Bug#1) Incorrect timestamp stored in DB if client timezone different
> than DB.
> The buggy implementation of setTimestamp() in PreparedStatement simply
> used the toString() method of the java.sql.Timestamp object to convert
> to a string to send to the database.  The format of this is yyyy-MM-dd
> hh:mm:ss.SSS which doesn't include any timezone information.  Therefore
> the DB assumes its timezone since none is specified.  That is OK if the
> timezone of the client and server are the same, however if they are
> different the wrong timestamp is received by the server.  For example if
> the client is running in timezone GMT and wants to send the timestamp
> for noon to a server running in PST (GMT-8 hours), then the server will
> receive 2000-01-12 12:00:00.0 and interprete it as 2000-01-12
> 12:00:00-08 which is 2000-01-12 04:00:00 in GMT.  The fix is to send a
> format to the server that includes the timezone offset.  For simplicity
> sake the fix uses a SimpleDateFormat object with its timezone set to GMT
> so that '+00' can be used as the timezone for postgresql.  This is done
> as SimpleDateFormat doesn't support formating timezones in the way
> postgresql expects.
>
> Bug#2) Incorrect handling of partial seconds in getting timestamps from
> the DB
>
> When the SimpleDateFormat object parses a string with a format like
> yyyy-MM-dd hh:mm:ss.SS it expects the fractional seconds to be three
> decimal places (time precision in java is miliseconds = three decimal
> places).  This seems like a bug in java to me, but it is unlikely to be
> fixed anytime soon, so the postgresql code needed modification to
> support the java behaviour.  So for example a string of '2000-01-12
> 12:00:00.12-08' coming from the database was being converted to a
> timestamp object with a value of 2000-01-12 12:00:00.012GMT-08:00.  The
> fix was to check for a '.' in the string and if one is found append on
> an extra zero to the fractional seconds part.
>
>
> I also did some cleanup in ResultSet.getTimestamp().  This method has
> had multiple patches applied some of which resulted in code that was no
> longer needed.  For example the ISO timestamp format that postgresql
> uses specifies the timezone as an offset like '-08'.  Code was added at
> one point to convert the postgresql format to the java one which is
> GMT-08:00, however the old code was left around which did nothing.  So
> there was code that looked for yyyy-MM-dd hh:mm:sszzzzzzzzz and
> yyyy-MM-dd hh:mm:sszzz.  This second format would never be encountered
> because zzz (i.e. -08) would be converted into the former (also note
> that the SimpleDateFormat object treats zzzzzzzzz and zzz the same, the
> number of z's does not matter).
>
>
> There was another problem/fix mentioned on the email lists today by
> mcannon@internet.com which is also fixed by this patch:
>
> Bug#3) Fractional seconds lost when getting timestamp from the DB
> A patch by Jan Thomea handled the case of yyyy-MM-dd hh:mm:sszzzzzzzzz
> but not the fractional seconds version yyyy-MM-dd hh:mm:ss.SSzzzzzzzzz.
> The code is fixed to handle this case as well.

Barry Lind

23 years agoWAL documentation, from Oliver Elphick and Vadim Mikheev.
Peter Eisentraut [Wed, 24 Jan 2001 23:15:19 +0000 (23:15 +0000)]
WAL documentation, from Oliver Elphick and Vadim Mikheev.

23 years agoUpdate based on documentation written by Vadim Mikheev and Oliver Elphick.
Peter Eisentraut [Wed, 24 Jan 2001 21:56:23 +0000 (21:56 +0000)]
Update based on documentation written by Vadim Mikheev and Oliver Elphick.

23 years agoChange Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group.
Bruce Momjian [Wed, 24 Jan 2001 19:43:33 +0000 (19:43 +0000)]
Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group.

23 years agoUpdate TODO list.
Bruce Momjian [Wed, 24 Jan 2001 19:33:36 +0000 (19:33 +0000)]
Update TODO list.

23 years agoFix bogus pattern for STRING.
Peter Eisentraut [Wed, 24 Jan 2001 19:01:31 +0000 (19:01 +0000)]
Fix bogus pattern for STRING.