Re: [PATCH] Add result_types column to pg_prepared_statements view

Поиск
Список
Период
Сортировка
От Dagfinn Ilmari Mannsåker
Тема Re: [PATCH] Add result_types column to pg_prepared_statements view
Дата
Msg-id 87mtdnkixx.fsf@wibble.ilmari.org
обсуждение исходный текст
Ответ на Re: [PATCH] Add result_types column to pg_prepared_statements view  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Список pgsql-hackers
Peter Eisentraut <peter.eisentraut@enterprisedb.com> writes:

> There was a problem that we didn't cover: Not all prepared statements
> have result descriptors (e.g., DML statements), so that would crash as 
> written. 

D'oh!

> I have changed it to return null for result_types in that case, and
> added a test case.

Thanks for spotting and fixing that.

- ilmari



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [PATCH] Add result_types column to pg_prepared_statements view
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: Wrong provolatile value for to_timestamp (1 argument)