pgsql: Remove redundant spaces in _outA_Expr() output

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove redundant spaces in _outA_Expr() output
Date: 2022-08-15 10:54:46
Message-ID: E1oNXk4-000sCr-V1@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove redundant spaces in _outA_Expr() output

Since WRITE_NODE_FIELD() output always starts with a space, we don't
need to go out of our way to print another space right before it.

This change is only for visual appearance; the tokenizer on the
reading side would read it the same way (but there is no read support
for A_Expr at this time anyway).

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1c5818b9c68e5c2ac8f19d372f24cce409de1a26

Modified Files
--------------
src/backend/nodes/outfuncs.c | 29 +++++++++++++----------------
1 file changed, 13 insertions(+), 16 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2022-08-15 19:40:30 pgsql: Add missing bad-PGconn guards in libpq entry points.
Previous Message Michael Paquier 2022-08-15 05:09:42 pgsql: Improve tab completion of ALTER TYPE in psql