Re: [HACKERS] Re: [INTERFACES] retrieving varchar size

From: Peter T Mount <psqlhack(at)retep(dot)org(dot)uk>
To: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
Cc: byronn(at)insightdist(dot)com, tgl(at)sss(dot)pgh(dot)pa(dot)us, pgsql-hackers(at)postgresql(dot)org, pgsql-interfaces(at)postgresql(dot)org
Subject: Re: [HACKERS] Re: [INTERFACES] retrieving varchar size
Date: 1998-04-26 15:59:33
Message-ID: Pine.LNX.3.95.980426165802.8970A-100000@retep.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers 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(at)retep(dot)org(dot)uk or petermount(at)earthling(dot)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(at)maidstone(dot)gov(dot)uk

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1998-04-26 16:57:24 Re: [HACKERS] Re: [INTERFACES] retrieving varchar size
Previous Message Bruce Momjian 1998-04-26 14:24:29 Re: [HACKERS] Re: [INTERFACES] retrieving varchar size

Browse pgsql-interfaces by date

  From Date Subject
Next Message Tom Lane 1998-04-26 16:57:24 Re: [HACKERS] Re: [INTERFACES] retrieving varchar size
Previous Message Bruce Momjian 1998-04-26 14:24:29 Re: [HACKERS] Re: [INTERFACES] retrieving varchar size