aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/enum.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2013-02-03 15:56:45 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2013-02-03 15:56:45 -0500
commit62e666400dddf605b9b6d9a7ac2918711b5c5629 (patch)
tree6f908fab1ba714d4784b89f11ff71fbacf631195 /src/backend/utils/adt/enum.c
parent330ed4ac6c55294c62bfd975d6e1aafda274e096 (diff)
downloadpostgresql-62e666400dddf605b9b6d9a7ac2918711b5c5629.tar.gz
postgresql-62e666400dddf605b9b6d9a7ac2918711b5c5629.zip
Perform line wrapping and indenting by default in ruleutils.c.
This patch changes pg_get_viewdef() and allied functions so that PRETTY_INDENT processing is always enabled. Per discussion, only the PRETTY_PAREN processing (that is, stripping of "unnecessary" parentheses) poses any real forward-compatibility risk, so we may as well make dump output look as nice as we safely can. Also, set the default wrap length to zero (i.e, wrap after each SELECT or FROM list item), since there's no very principled argument for the former default of 80-column wrapping, and most people seem to agree this way looks better. Marko Tiikkaja, reviewed by Jeevan Chalke, further hacking by Tom Lane
Diffstat (limited to 'src/backend/utils/adt/enum.c')
0 files changed, 0 insertions, 0 deletions