Skip to content

fix(cloudnative-pg): drop stray trailing quote in pg_replication query#870

Merged
mnencia merged 1 commit into
mainfrom
dev/869
May 12, 2026
Merged

fix(cloudnative-pg): drop stray trailing quote in pg_replication query#870
mnencia merged 1 commit into
mainfrom
dev/869

Conversation

@mnencia
Copy link
Copy Markdown
Member

@mnencia mnencia commented May 12, 2026

The query used to be a YAML double-quoted scalar where the closing " was the YAML delimiter. PR #650 reformatted it as a literal block (query: |) but kept the trailing ", which then reached PostgreSQL verbatim and produced "unterminated quoted identifier" (SQLSTATE 42601).

Closes #869
Closes cloudnative-pg/cloudnative-pg#10675

The query used to be a YAML double-quoted scalar where the closing
`"` was the YAML delimiter. PR #650 reformatted it as a literal block
(`query: |`) but kept the trailing `"`, which then reached PostgreSQL
verbatim and produced "unterminated quoted identifier" (SQLSTATE 42601).

Closes #869
Closes cloudnative-pg/cloudnative-pg#10675

Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. bug Something isn't working chart( operator ) Related to the operator (cloudnative-pg) chart labels May 12, 2026
@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label May 12, 2026
@mnencia mnencia merged commit cb8ab13 into main May 12, 2026
20 of 21 checks passed
@mnencia mnencia deleted the dev/869 branch May 12, 2026 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working chart( operator ) Related to the operator (cloudnative-pg) chart lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Invalid SQL in default monitoring ConfigMap (cnpg-default-monitoring) in CNPG 1.29.1 There is an extra quotation mark in values.yaml

4 participants