mirror of
https://github.com/postgres/postgres.git
synced 2025-07-02 09:02:37 +03:00
Deparse named arguments to use the new => operator instead of :=
Tom Lane pointed out that this wasn't done, and asked whether that was intentional. Subsequent discussion was in favor of making the change, so here we go.
This commit is contained in:
@ -6856,7 +6856,7 @@ get_rule_expr(Node *node, deparse_context *context,
|
||||
{
|
||||
NamedArgExpr *na = (NamedArgExpr *) node;
|
||||
|
||||
appendStringInfo(buf, "%s := ", quote_identifier(na->name));
|
||||
appendStringInfo(buf, "%s => ", quote_identifier(na->name));
|
||||
get_rule_expr((Node *) na->arg, context, showimplicit);
|
||||
}
|
||||
break;
|
||||
|
Reference in New Issue
Block a user