From: Peter Eisentraut Date: Mon, 16 Mar 2026 06:37:03 +0000 (+0100) Subject: Fix accidentally casting away const X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a41bc38439a1929a741eb6f1d40ed9eb30d9a8d7;p=thirdparty%2Fpostgresql.git Fix accidentally casting away const Recently introduced in commit 8c2b30487cc. --- diff --git a/src/backend/parser/analyze.c b/src/backend/parser/analyze.c index 15cc6240203..3f669a6eb26 100644 --- a/src/backend/parser/analyze.c +++ b/src/backend/parser/analyze.c @@ -2289,7 +2289,7 @@ constructSetOpTargetlist(ParseState *pstate, SetOperationStmt *op, errmsg("each %s query must have the same number of columns", context), parser_errposition(pstate, - exprLocation((Node *) rtargetlist)))); + exprLocation((const Node *) rtargetlist)))); if (targetlist) *targetlist = NIL;