Re: [HACKERS] Re: [INTERFACES] retrieving varchar size - Mailing list pgsql-interfaces

From Peter T Mount
Subject Re: [HACKERS] Re: [INTERFACES] retrieving varchar size
Date
Msg-id Pine.LNX.3.95.980426165802.8970A-100000@retep.org.uk
Whole thread Raw
In response to Re: [HACKERS] Re: [INTERFACES] retrieving varchar size  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-interfaces
On Sun, 26 Apr 1998, Bruce Momjian wrote:

[snip]

> > I think for libpq, that would be a good idea, but it would mean that there
> > is a difference in behaviour between the interfaces.
> >
> > The JDBC spec allows for multiple ResultSet's to be returned from a query,
> > and our driver handles this already.
>
> Oh.  That prevents us from changing the backend to ignore returning more
> than one result for multiple queries in a PQexec.  Perhaps we need a new
> return query protocol character like 'J' to denote query returns that
> are not the LAST return, so libpq can throw them away, and jdbc and
> process them as normal, but also figure out when it gets the last one.

That should be easy enough to implement.

--
Peter T Mount  peter@retep.org.uk or petermount@earthling.net
Main Homepage: http://www.demon.co.uk/finder (moving soon to www.retep.org.uk)
************ Someday I may rebuild this signature completely ;-) ************
Work Homepage: http://www.maidstone.gov.uk Work EMail: peter@maidstone.gov.uk


pgsql-interfaces by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Re: [INTERFACES] retrieving varchar size
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] Re: [INTERFACES] retrieving varchar size