pg_get_triggerdef pretty printing

Started by Christopher Kings-Lynneover 22 years ago3 messages
#1Christopher Kings-Lynne
chriskl@familyhealth.com.au

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

Chris

#2Andreas Pflug
pgadmin@pse-consulting.de
In reply to: Christopher Kings-Lynne (#1)
Re: pg_get_triggerdef pretty printing

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

#3Christopher Kings-Lynne
chriskl@familyhealth.com.au
In reply to: Andreas Pflug (#2)
Re: pg_get_triggerdef pretty printing

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:

Show quoted text

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