pg_get_viewdef formattiing

Started by Andrew Dunstanalmost 17 years ago3 messages
#1Andrew Dunstan
andrew@dunslane.net

Am I the only person who gets regularly annoyed by pg_get_viewdef()
outputting the target list as one long line? I'd like it to put one
target per line, indented, if pretty printing.

cheers

andrew

#2Bernd Helmle
mailings@oopsware.de
In reply to: Andrew Dunstan (#1)
Re: pg_get_viewdef formattiing

--On Donnerstag, Januar 22, 2009 15:30:35 -0500 Andrew Dunstan
<andrew@dunslane.net> wrote:

Am I the only person who gets regularly annoyed by pg_get_viewdef()
outputting the target list as one long line? I'd like it to put one
target per line, indented, if pretty printing.

No, so +1 from me.

--
Thanks

Bernd

#3Bruce Momjian
bruce@momjian.us
In reply to: Bernd Helmle (#2)
Re: pg_get_viewdef formattiing

Bernd Helmle wrote:

--On Donnerstag, Januar 22, 2009 15:30:35 -0500 Andrew Dunstan
<andrew@dunslane.net> wrote:

Am I the only person who gets regularly annoyed by pg_get_viewdef()
outputting the target list as one long line? I'd like it to put one
target per line, indented, if pretty printing.

No, so +1 from me.

Added to TODO:

Improve formatting of pg_get_viewdef() output

* http://archives.postgresql.org/pgsql-hackers/2009-01/msg01648.php

--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +