Skip to content

Postgres: avoid stripping backslashes when reading string list - #15430

Open
dbaston wants to merge 2 commits into
OSGeo:masterfrom
dbaston:ogr-pg-unescape-string-list
Open

dbaston wants to merge 2 commits into
OSGeo:masterfrom
dbaston:ogr-pg-unescape-string-list

Conversation

@dbaston

@dbaston dbaston commented Oct 23, 2026

Copy link
Copy Markdown
Member

Without this fix, the list element "c:\data" is read as "c:data".

Applied on top of #15429

Inside pg array literals both " and \ are special, but the function only escaped "
@dbaston dbaston mentioned this pull request Oct 23, 2026
3 of 8 tasks
@dbaston
dbaston force-pushed the ogr-pg-unescape-string-list branch from b6c1f0f to 5cc0ef3 Compare October 23, 2026 01:47

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport release/3.13 Backport to release/3.13

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants