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

From: Euler Taveira de Oliveira <euler(at)timbira(dot)com>
To: Greg Sabino Mullane <greg(at)turnstep(dot)com>
Cc: damien(at)dalibo(dot)info, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Have \d show child tables that inherit from the specified parent
Date: 2009-05-11 04:36:49
Message-ID: 4A07AB61.60604@timbira.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Greg Sabino Mullane escreveu:
>
>> * Child tables are sorted by name
>> * \d only shows the number of child tables
>> * \d+ shows the full list
>
>> This table has 4 child table(s). Use \d+ to display them.
>
> Would be nice if you could get rid of that ugly '(s)' part.
>
What about "Child Tables: 4"? It is short and simple.

>> Child tables: daughter,
>> daughter2,
>> daughter3,
>> plop.daughter4
>> Has OIDs: no
>
> Since the child list can be rather long, it's probably better to put
> everything else first, e.g. the "Has OIDs" line.
>
+1. Don't forget "Options".

--
Euler Taveira de Oliveira
http://www.timbira.com/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Albe Laurenz 2009-05-11 07:25:06 Re: Serializable Isolation without blocking
Previous Message KaiGai Kohei 2009-05-11 02:35:30 Re: [PATCH] unalias of ACL_SELECT_FOR_UPDATE