Re: new format for describe (repost #2) - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: new format for describe (repost #2)
Date
Msg-id 200303071634.h27GYFN16818@candle.pha.pa.us
Whole thread Raw
In response to Re: new format for describe (repost #2)  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: new format for describe (repost #2)  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
List pgsql-patches
Peter Eisentraut wrote:
> Christopher Kings-Lynne writes:
>
> > I mean, what's easier to read at a glance:
> >
> > "$1" FOREIGN KEY (referrer) REFERENCES users_users(userid) ON DELETE SET
> > NULL
> >
> > or
> >
> > >  Foreign Keys
> > >  Name | Referencing Col | Referenced Tbl | Referenced Col | Delete Action
> > > ------+-----------------+----------------+----------------+---------------
> > ...
> > >  $1   | referrer        | users_users    | userid         | SET NULL
>
> The second.

If there is only one line, the top one may be easier to read, but for
many lines, the table format is probably clearer.

Ideally, it would be good to see a before/after output for a typical
table so we can see the changes more easily.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Kevin Brown
Date:
Subject: Re: [HACKERS] stats_command_string default?
Next
From: Bruce Momjian
Date:
Subject: Re: new format for describe (repost #2)