Re: new format for describe (repost #2)

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: new format for describe (repost #2)
Дата
Msg-id 200303071635.h27GZpL17079@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: new format for describe (repost #2)  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: new format for describe (repost #2)  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Список pgsql-patches
Tom Lane wrote:
> "Christopher Kings-Lynne" <chriskl@familyhealth.com.au> writes:
> > ... Irritatingly enough, pg_get_ruledef appends a semi-colon to its
> > result, whereas all the others do not...
>
> Could we change that without breaking things?  Not sure ...

I think we could change it.  Only pg_dump uses that now, as far as I
know, that there isn't much logic for pg_get_ruledef() to be appending
semicolons.  If folks want that, they should add them themselves.

I already changed pg_get_ruledef() to not return non-default referential
integrity actions, so we have been modifying it regularly.

--
  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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: new format for describe (repost #2)
Следующее
От: Neil Conway
Дата:
Сообщение: add regression tests for divide-by-zero