Re: Have \d show child tables that inherit from the specified parent - Mailing list pgsql-hackers

From Greg Sabino Mullane
Subject Re: Have \d show child tables that inherit from the specified parent
Date
Msg-id 4d204a921e6eba094ac51cdb67ba351a@biglumber.com
Whole thread Raw
In response to Re: Have \d show child tables that inherit from the specified parent  (damien clochard <damien@dalibo.info>)
Responses Re: Have \d show child tables that inherit from the specified parent
List 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@turnstep.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-----




pgsql-hackers by date:

Previous
From: Dimitri Fontaine
Date:
Subject: Re: contrib function naming, and upgrade issues
Next
From: Tom Lane
Date:
Subject: Re: contrib function naming, and upgrade issues