Skip site navigation (1) Skip section navigation (2)

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

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: andreas(dot)zeugswetter(at)telecom(dot)at (Andreas Zeugswetter)
Cc: hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Re: [INTERFACES] retrieving varchar size
Date: 1998-04-27 13:27:00
Message-ID: 199804271327.JAA02610@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
> 
> >> 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.
> 
> I think this is also a leftover from postgres 4.2, where one query could return multiple
> result sets (with different columns).
> 
> >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.
> 
> This might be hard to do with a select rule, that triggers other result sets.
> (Is this still possible ?)

We are going to use a separate end-of-query-results packet instead.

-- 
Bruce Momjian                          |  830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

In response to

pgsql-hackers by date

Next:From: Matthew N. DoddDate: 1998-04-27 13:41:27
Subject: Re: [HACKERS] Re: [QUESTIONS] PostgreSQL and LDAP ?
Previous:From: Bruce MomjianDate: 1998-04-27 13:25:37
Subject: Re: [HACKERS] Agregates in update?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group