Thread: pg_get_triggerdef pretty printing

pg_get_triggerdef pretty printing

From
Christopher Kings-Lynne
Date:
I note there is no pretty printing option for pg_get_triggerdef...

Chris



Re: pg_get_triggerdef pretty printing

From
Andreas Pflug
Date:
Christopher Kings-Lynne wrote:

> I note there is no pretty printing option for pg_get_triggerdef...

Right.
There's no expression tree displayed, which would make the pretty print 
option necessary.

As long as we don't have reengineering functions for *all* objects, it 
doesn't make sense to implement pretty-print for line formatting on this 
single function.

Regards,
Andreas



Re: pg_get_triggerdef pretty printing

From
Christopher Kings-Lynne
Date:
Ah, I was just thinking that you could do a nice multi-line version (same
as how they are dumped from 7.3.x)

But yes, it doesn't really matter.

Chris

On Fri, 26 Sep 2003, Andreas Pflug wrote:

> Christopher Kings-Lynne wrote:
>
> > I note there is no pretty printing option for pg_get_triggerdef...
>
> Right.
> There's no expression tree displayed, which would make the pretty print
> option necessary.
>
> As long as we don't have reengineering functions for *all* objects, it
> doesn't make sense to implement pretty-print for line formatting on this
> single function.
>
> Regards,
> Andreas
>