Re: new format for describe (repost #2)

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: new format for describe (repost #2)
Date: 2003-03-07 16:35:51
Message-ID: 200303071635.h27GZpL17079@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Tom Lane wrote:
> "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Neil Conway 2003-03-07 20:41:58 add regression tests for divide-by-zero
Previous Message Rod Taylor 2003-03-07 16:35:23 Re: [PATCHES] ALTER SEQUENCE