pgsql: Fix some minor issues in view pretty-printing. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix some minor issues in view pretty-printing.
Date
Msg-id E1TnGsw-0002t2-Rf@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix some minor issues in view pretty-printing.

Code review for commit 2f582f76b1945929ff07116cd4639747ce9bb8a1: don't use
a static variable for what ought to be a deparse_context field, fix
non-multibyte-safe test for spaces, avoid useless and potentially O(N^2)
(though admittedly with a very small constant) calculations of wrap
positions when we aren't going to wrap.

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/7ec225d3d615694f308c43d8449861c8e8b1b6aa

Modified Files
--------------
doc/src/sgml/func.sgml            |   11 +-
src/backend/utils/adt/ruleutils.c |  215 +++++++++++++++++++-----------------
2 files changed, 119 insertions(+), 107 deletions(-)


pgsql-committers by date:

Previous
From: Simon Riggs
Date:
Subject: pgsql: Update comments on rd_newRelfilenodeSubid.
Next
From: Tom Lane
Date:
Subject: pgsql: Fix some minor issues in view pretty-printing.