Show sequences owned by

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Show sequences owned by
Date: 2011-11-04 13:01:34
Message-ID: CABUevEzHQZQn_cUhg0qAm==NesoPrfCJvJ0ofr49AxBMAht=wA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

The attached patch makes the \d output for psql on a sequence show
which table/column owns the sequence. The table already showed the
dependency the other way through the default value, but going from
sequence back to table was not possible.

Comments/reviews?

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

Attachment Content-Type Size
sequence_owned_by.patch text/x-patch 1.5 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2011-11-04 13:24:48 Re: DeArchiver process
Previous Message Peter Geoghegan 2011-11-04 12:54:02 Re: psql expanded auto