Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Undo "Replace custom array parser by pqxx::array_parser" #277

Merged
merged 2 commits into from
Jul 27, 2022

Conversation

mmd-osm
Copy link
Collaborator

@mmd-osm mmd-osm commented Jul 27, 2022

Fixes #276
Reverts #261

libpqxx seems to treat semicolons as a separator character regardless of the actual field type (Postgresql docs mention that only box type uses semicolon, all other standard types use comma only).

As our payload in varchar fields may contain semicolons, the array_agg() result would throw off the libpqxx array parser.

So for now we revert to the previous custom parser implementation.

Further upstream issue analysis to follow.

mmd-osm added 2 commits July 27, 2022 17:16
(expected to fail due to an upstream issue in libpqxx)
Fixes zerebubuth#276
Reverts zerebubuth#261

libpqxx seems to treat semicolons as a separator character regardless of
the actual field type (Postgresql docs mention that only box type uses
semicolon, all other standard types use comma only).

As our payload in varchar fields may contain semicolons, the array_agg()
result would throw off the libpqxx array parser.

So for now we revert to the previous custom parser implementation.
Further upstream issue analysis to follow.
@mmd-osm mmd-osm merged commit 58beece into zerebubuth:master Jul 27, 2022
@mmd-osm mmd-osm deleted the patch/issue_276 branch July 13, 2024 08:18
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0.8.7 is throwing "Mismatch in tags key and value size" errors
1 participant