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

Поиск
Список
Период
Сортировка
От Andreas Zeugswetter
Тема Re: [HACKERS] Re: [INTERFACES] retrieving varchar size
Дата
Msg-id 01BD71C9.2288AE70@zeugswettera.user.lan.at
обсуждение исходный текст
Ответы Re: [HACKERS] Re: [INTERFACES] retrieving varchar size
Список 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 по дате отправления: