From: Laurenz Albe <laurenz.albe@cybertec.at>
To: robert.nilsson.123@gmail.com
To: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #18145: In psql, \d does not output in expanded format
Date: Tue, 03 Oct 2023 15:37:45 +0200
Message-ID: <bb0b0ed72040d113a024b650205cb35409852bff.camel@cybertec.at> (raw)
In-Reply-To: <18145-5da930760e745493@postgresql.org>
References: <18145-5da930760e745493@postgresql.org>
On Tue, 2023-10-03 at 03:39 +0000, PG Bug reporting form wrote:
> PostgreSQL version: 16.0
> Operating system: Ubuntu 11.4.0 (x86_64)
>
> Turn on expanded output
> database=> \x on
>
> Display the information about the table again:
> database=> \d test
> Table "pg_temp_6.test"
> Column | Type | Collation | Nullable | Default
> --------+---------+-----------+----------+---------
> id | integer | | |
>
> Expected to see output in expanded format, like this;
> Table "pg_temp_6.test"
> -[ RECORD 1 ]------
> Column | id
> Type | integer
> Collation |
> Nullable |
> Default |
>
> The related command \dt works as expected;
I don't think that's a bug.
\dt just prints a result set, which is easy to render in expanded mode.
But \d prints many other things (indexes, foreign keys, storage parameters, ...),
and it is not clear how that should look in expanded mode.
Yours,
Laurenz Albe
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: laurenz.albe@cybertec.at, robert.nilsson.123@gmail.com, pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #18145: In psql, \d does not output in expanded format
In-Reply-To: <bb0b0ed72040d113a024b650205cb35409852bff.camel@cybertec.at>
* 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