Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o8bCl-0006ma-9m for pgsql-hackers@arkaria.postgresql.org; Tue, 05 Jul 2022 05:34:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1o8bCk-0001fi-1K for pgsql-hackers@arkaria.postgresql.org; Tue, 05 Jul 2022 05:34:34 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o8bCj-0001fZ-OY for pgsql-hackers@lists.postgresql.org; Tue, 05 Jul 2022 05:34:33 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o8bCf-0002o5-Rx for pgsql-hackers@lists.postgresql.org; Tue, 05 Jul 2022 05:34:32 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 55B945C00A8; Tue, 5 Jul 2022 01:34:28 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Tue, 05 Jul 2022 01:34:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1656999268; x= 1657085668; bh=HvEIARcsiikeFfWGOehE0azD91OKmkP3sSpWuZkSPYI=; b=r myJHmdVwQiVdLGonm/sfxZIbbQQcMh1TP0LXjjTVsPgE7yGkUXsRWFzY1rY9R8dj cFWqt5k3zWFfivGPmg5DrvYAq2Rbo45wx29bSbtyQzMnxPWn4GTC48MmVUjS4jyz yVL0OMs61afZA0lHZuXlLjmSZRvYV0u2V9zK56cYkrt7yhhvAEV/X54eb64R0UIy 8h/NB1tzKmLBDL72hstNBp6mz6ys1W4miJuGq3rJ0yPWj4ZRaBpFjNgWSW36GvFe Mg3iLGdJEE2pBRCCo7MatANmWmVmwJiQ30Wawh2DqI7Tl6aAsLi/urJuiqtxxCyu jWACP3p3uaTJCLKm5yoTQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudeitddgleehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpefrvght vghrucfgihhsvghnthhrrghuthcuoehpvghtvghrrdgvihhsvghnthhrrghuthesvghnth gvrhhprhhishgvuggsrdgtohhmqeenucggtffrrghtthgvrhhnpefhjeduueelfeehuedt udefteejveegieeiueejueehfeektddtueeiieeitefhveenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehpvghtvghrrdgvihhsvghnthhrrghu thesvghnthgvrhhprhhishgvuggsrdgtohhm X-ME-Proxy: Feedback-ID: i131946ab:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 5 Jul 2022 01:34:27 -0400 (EDT) Message-ID: <5a1f587b-0d89-3ade-ea7e-4878e1d3e144@enterprisedb.com> Date: Tue, 5 Jul 2022 07:34:24 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH] Add result_types column to pg_prepared_statements view Content-Language: en-US To: =?UTF-8?Q?Dagfinn_Ilmari_Manns=c3=a5ker?= , Tom Lane Cc: pgsql-hackers@lists.postgresql.org References: <871qwpo7te.fsf@wibble.ilmari.org> <58307e2c-a26c-d438-27f7-5bef9f693943@enterprisedb.com> <87v8shj9w7.fsf@wibble.ilmari.org> From: Peter Eisentraut In-Reply-To: <87v8shj9w7.fsf@wibble.ilmari.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 01.07.22 14:27, Dagfinn Ilmari Mannsåker wrote: > Peter Eisentraut 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.