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

From Andreas Zeugswetter
Subject Re: [HACKERS] Re: [INTERFACES] retrieving varchar size
Date
Msg-id 01BD71C9.2288AE70@zeugswettera.user.lan.at
Whole thread Raw
Responses Re: [HACKERS] Re: [INTERFACES] retrieving varchar size
List 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





pgsql-hackers by date:

Previous
From: "Jose' Soares Da Silva"
Date:
Subject: Re: [HACKERS] escape character \
Next
From: dg@illustra.com (David Gould)
Date:
Subject: Re: [HACKERS] Agregates in update?