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

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

From: Andreas Zeugswetter <andreas(dot)zeugswetter(at)telecom(dot)at>
To: "'hackers(at)postgresql(dot)org'" <hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] Re: [INTERFACES] retrieving varchar size
Date: 1998-04-27 08:41:32
Message-ID: 01BD71C9.2288AE70@zeugswettera.user.lan.at (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 ?)

Andreas 





Responses

pgsql-hackers by date

Next:From: David GouldDate: 1998-04-27 08:49:10
Subject: Re: [HACKERS] Agregates in update?
Previous:From: Vadim B. MikheevDate: 1998-04-27 07:26:10
Subject: Re: [HACKERS] Agregates in update?

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