Re: new format for describe (repost #2)

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: new format for describe (repost #2)
Дата
Msg-id 200303071634.h27GYFN16818@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: new format for describe (repost #2)  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: new format for describe (repost #2)  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Список 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 по дате отправления:

Предыдущее
От: Kevin Brown
Дата:
Сообщение: Re: [HACKERS] stats_command_string default?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: new format for describe (repost #2)