mirror of
https://github.com/postgres/postgres.git
synced 2025-05-22 00:02:02 -04:00
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).
This commit is contained in:
parent
f6c750d31d
commit
1c5818b9c6
@ -545,16 +545,13 @@ _outA_Expr(StringInfo str, const A_Expr *node)
|
|||||||
switch (node->kind)
|
switch (node->kind)
|
||||||
{
|
{
|
||||||
case AEXPR_OP:
|
case AEXPR_OP:
|
||||||
appendStringInfoChar(str, ' ');
|
|
||||||
WRITE_NODE_FIELD(name);
|
WRITE_NODE_FIELD(name);
|
||||||
break;
|
break;
|
||||||
case AEXPR_OP_ANY:
|
case AEXPR_OP_ANY:
|
||||||
appendStringInfoChar(str, ' ');
|
|
||||||
WRITE_NODE_FIELD(name);
|
WRITE_NODE_FIELD(name);
|
||||||
appendStringInfoString(str, " ANY");
|
appendStringInfoString(str, " ANY");
|
||||||
break;
|
break;
|
||||||
case AEXPR_OP_ALL:
|
case AEXPR_OP_ALL:
|
||||||
appendStringInfoChar(str, ' ');
|
|
||||||
WRITE_NODE_FIELD(name);
|
WRITE_NODE_FIELD(name);
|
||||||
appendStringInfoString(str, " ALL");
|
appendStringInfoString(str, " ALL");
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user