From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: bzm@2bz.de
Subject: BUG #17957: psql-16beta1 \df+ does not show the function body
Date: Thu, 01 Jun 2023 17:57:19 +0000
Message-ID: <17957-e1db8b1c15af444a@postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 17957
Logged by: Boris Z
Email address: bzm@2bz.de
PostgreSQL version: 16beta1
Operating system: OSX, Linux
Description:
Hi,
The release notes do not mention \df+.
https://www.postgresql.org/docs/16/release-16.html#RELEASE-16-PSQL
for testing I used this function, but any user function will do.
CREATE OR REPLACE FUNCTION test_function()
RETURNS bigint
AS $$
SELECT 1;
$$ LANGUAGE sql
STABLE
PARALLEL SAFE;
When using psql (16beta1)
=# \df+ test_function
-[ RECORD 1 ]-------+--------------
Schema | public
Name | test_function
Result data type | bigint
Argument data types |
Type | func
Volatility | stable
Parallel | safe
Owner | bz
Security | invoker
Access privileges |
Language | sql
Internal name |
Description |
using psql-15.3 it works as expected
=# \df+ test_function
-[ RECORD 1 ]-------+--------------
Schema | public
Name | test_function
Result data type | bigint
Argument data types |
Type | func
Volatility | stable
Parallel | safe
Owner | bz
Security | invoker
Access privileges |
Language | sql
Source code | +
| SELECT 1;+
|
Description |
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, bzm@2bz.de
Subject: Re: BUG #17957: psql-16beta1 \df+ does not show the function body
In-Reply-To: <17957-e1db8b1c15af444a@postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox