RE: [HACKERS] FYI: snapshot 4/28/1999 (fwd)

From: Peter Mount <petermount(at)it(dot)maidstone(dot)gov(dot)uk>
To: Michael J Davis <michael(dot)j(dot)davis(at)tvguide(dot)com>, "Peter Mount (Home)" <peter(at)retep(dot)org(dot)uk>, PostgreSQL Hackers List <hackers(at)postgresql(dot)org>
Subject: RE: [HACKERS] FYI: snapshot 4/28/1999 (fwd)
Date: 1999-04-29 07:31:43
Message-ID: A9DCBD548069D211924000C00D001C4420BBB9@exchange.maidstone.gov.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

The weird thing is that the JDBC driver hasn't been sending an empty
string since 6.2.x. Starting from 6.3, I replaced the empty string with
a query to fetch the current DATESTYLE so the date and time code would
work properly.

It would be interesting to see if this patch fixes it however.

Peter (@work)

--
Peter T Mount, IT Section
petermount(at)it(dot)maidstone(dot)gov(dot)uk
Anything I write here are my own views, and cannot be taken as the
official words of Maidstone Borough Council

-----Original Message-----
From: Michael J Davis [mailto:michael(dot)j(dot)davis(at)tvguide(dot)com]
Sent: Thursday, April 29, 1999 7:04 AM
To: 'Peter T Mount'; PostgreSQL Hackers List
Subject: RE: [HACKERS] FYI: snapshot 4/28/1999 (fwd)

The following patch was posted this evening by Tom Lane that could fix
your
problem. It fixed a similar problem I was having with ODBC.

If you don't have CVS access and don't want to wait for tonight's
snapshot,
here is the patch:
*** src/backend/tcop/dest.c~ Wed Apr 28 18:15:07 1999
--- src/backend/tcop/dest.c Wed Apr 28 18:15:45 1999
***************
*** 336,342 ****
* tell the fe that we saw an empty query string
* ----------------
*/
! pq_putbytes("I", 1);
break;

case Local:
--- 336,342 ----
* tell the fe that we saw an empty query string
* ----------------
*/
! pq_putbytes("I", 2); /* note we send I and \0 */
break;

case Local:

-----Original Message-----
From: Peter T Mount [SMTP:peter(at)retep(dot)org(dot)uk]
Sent: Wednesday, April 28, 1999 11:50 PM
To: PostgreSQL Hackers List
Subject: [HACKERS] FYI: snapshot 4/28/1999 (fwd)

I just received this. Any ideas ?

--
Peter T Mount peter(at)retep(dot)org(dot)uk
Main Homepage: http://www.retep.org.uk
PostgreSQL JDBC Faq: http://www.retep.org.uk/postgres
Java PDF Generator: http://www.retep.org.uk/pdf

---------- Forwarded message ----------
Date: Wed, 28 Apr 1999 16:36:56 -0500
From: Brian P Millett <bpm(at)ec-group(dot)com>
To: Peter T Mount <peter(at)retep(dot)org(dot)uk>
Subject: FYI: snapshot 4/28/1999

Peter, thought that you would like to know that the snapshot for
today
will not allow a jdbc connection. I don't know if this is a jdk
security thing, or not. The snapshot from Monday, allows
connections.

I'm using jdk1.2.1, solaris 2.7, WorkShop Compilers 5.0 98/12/15
C
5.0

--
Brian Millett
Enterprise Consulting Group "Heaven can not exist,
(314) 205-9030 If the family is not eternal"
bpm(at)ec-group(dot)com F. Ballard Washburn

Browse pgsql-hackers by date

  From Date Subject
Next Message Dirk Lutzebaeck 1999-04-29 08:06:18 Re: [SQL] LIMIT
Previous Message Michael J Davis 1999-04-29 06:03:53 RE: [HACKERS] FYI: snapshot 4/28/1999 (fwd)