Re: [PATCH] Add result_types column to pg_prepared_statements view - Mailing list pgsql-hackers

From Dagfinn Ilmari Mannsåker
Subject Re: [PATCH] Add result_types column to pg_prepared_statements view
Date
Msg-id 87mtdnkixx.fsf@wibble.ilmari.org
Whole thread Raw
In response to Re: [PATCH] Add result_types column to pg_prepared_statements view  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
List 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 by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [PATCH] Add result_types column to pg_prepared_statements view
Next
From: Tatsuo Ishii
Date:
Subject: Re: Wrong provolatile value for to_timestamp (1 argument)