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