Re: [COMMITTERS] pgsql: Improve pretty printing of viewdefs.

2012-02-19 Thread Andrew Dunstan
[redirecting to -hackers] On 02/19/2012 12:04 PM, Pavel Stehule wrote: Hello nice should be this functionality used for query too? some like pg_pretty_query('SELECT ... ', 80) when we have this functionality. It would probably be possible to leverage some of this for that, but it's ce

Re: [COMMITTERS] pgsql: Improve pretty printing of viewdefs.

2012-02-19 Thread Pavel Stehule
Hello nice should be this functionality used for query too? some like pg_pretty_query('SELECT ... ', 80) when we have this functionality. Regards Pavel 2012/2/19 Andrew Dunstan : > Improve pretty printing of viewdefs. > > Some line feeds are added to target lists and from lists to make > th

[COMMITTERS] pgsql: Improve pretty printing of viewdefs.

2012-02-19 Thread Andrew Dunstan
Improve pretty printing of viewdefs. Some line feeds are added to target lists and from lists to make them more readable. By default they wrap at 80 columns if possible, but the wrap column is also selectable - if 0 it wraps after every item. Andrew Dunstan, reviewed by Hitoshi Harada. Branch --