1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-02 09:02:37 +03:00

Fix inconsistencies and style issues in new SQL/JSON code

Reported by Alexander Lakhin.

Discussion: https://postgr.es/m/60483139-5c34-851d-baee-6c0d014e1710@gmail.com
This commit is contained in:
Alvaro Herrera
2023-03-30 21:05:35 +02:00
parent 589bb81649
commit 60966f56c3
5 changed files with 21 additions and 17 deletions

View File

@ -10654,7 +10654,7 @@ get_json_constructor(JsonConstructorExpr *ctor, deparse_context *context,
funcname = "JSON_ARRAY";
break;
default:
elog(ERROR, "invalid JsonConstructorExprType %d", ctor->type);
elog(ERROR, "invalid JsonConstructorType %d", ctor->type);
}
appendStringInfo(buf, "%s(", funcname);