Re: Have \d show child tables that inherit from the specified parent

From: "Greg Sabino Mullane" <greg(at)turnstep(dot)com>
To: damien(at)dalibo(dot)info
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Have \d show child tables that inherit from the specified parent
Date: 2009-03-23 12:41:43
Message-ID: 4d204a921e6eba094ac51cdb67ba351a@biglumber.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

> That being said i recognize that people who have dozens of child tables
> might get annoyed by this patch.

Dozens is on the low end: there are often a dozen dozen or more.

> Here's 3 ideas that could make things better :
>
> 1- When using \d , only show the numbers of child tables
>
> 2- Only display the list of child table when \d+ is used. (mode ???)

I like these two ideas

> 3- Display the child table names in line, instead of one line per table.

No, this would be wrong. Please keep them one per line, and sort them
by name.

- --
Greg Sabino Mullane greg(at)turnstep(dot)com
End Point Corporation
PGP Key: 0x14964AC8 200903230841
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iEYEAREDAAYFAknHg2YACgkQvJuQZxSWSsj3fQCfY15MYLjGCELNAXhQWR10grJf
+c4AoK/3sxtCNe4N+exmYx22nM4Z9RvD
=clRO
-----END PGP SIGNATURE-----

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-03-23 14:43:04 Re: contrib function naming, and upgrade issues
Previous Message Dimitri Fontaine 2009-03-23 11:46:52 Re: contrib function naming, and upgrade issues