[HACKERS] psql \d sequence display - Mailing list pgsql-hackers

From Peter Eisentraut
Subject [HACKERS] psql \d sequence display
Date
Msg-id 97d2a581-5b03-ae5e-5427-1aabdea540e0@2ndquadrant.com
Whole thread Raw
Responses Re: [HACKERS] psql \d sequence display  (Fabien COELHO <coelho@cri.ensmp.fr>)
List pgsql-hackers
In PostgreSQL 10, the sequence metadata moved from the sequence
"relation" to a system catalog.  The psql \d sequence command was not
updated for that.  (It just did SELECT * FROM seq and there were no
tests, so this was missed.)  Attached is a patch that fixes that up,
taking the opportunity to design a more useful sequence display that is
not merely hacked on to the general relation display.

This should be fixed for PG10, so if you have any feedback on the
design, please let me know soon.

Examples are in the attached patch.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Attachment

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: [HACKERS] CREATE COLLATION does not sanitize ICU's BCP 47language tags. Should it?
Next
From: Robert Haas
Date:
Subject: Re: [HACKERS] Server crash due to SIGBUS(Bus Error) when trying toaccess the memory created using dsm_create().