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

From Peter Eisentraut
Subject Re: [PATCH] Add result_types column to pg_prepared_statements view
Date
Msg-id 5a1f587b-0d89-3ade-ea7e-4878e1d3e144@enterprisedb.com
Whole thread Raw
In response to Re: [PATCH] Add result_types column to pg_prepared_statements view  (Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>)
Responses Re: [PATCH] Add result_types column to pg_prepared_statements view
List pgsql-hackers
On 01.07.22 14:27, Dagfinn Ilmari Mannsåker wrote:
> Peter Eisentraut <peter.eisentraut@enterprisedb.com> writes:
> 
>> On 19.05.22 17:34, Dagfinn Ilmari Mannsåker wrote:
>>> Prompted by a question on IRC, here's a patch to add a result_types
>>> column to the pg_prepared_statements view, so that one can see the types
>>> of the columns returned by a prepared statement, not just the parameter
>>> types.
>>> I'm not quite sure about the column name, suggestions welcome.
>>
>> I think this patch is sensible.

> The arguments about client-side type-specific value handling for
> RowDescription don't apply here IMO, since this view is more
> user-facing.

I agree.  It's also easy to change if needed.  Committed as is.



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: AIX support - alignment issues
Next
From: Tom Lane
Date:
Subject: Re: AIX support - alignment issues