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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

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