Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Replace custom array parser by pqxx::array_parser #261

Merged
merged 1 commit into from
Jul 8, 2022

Conversation

mmd-osm
Copy link
Collaborator

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

No description provided.

@mmd-osm mmd-osm force-pushed the simpl_5 branch 2 times, most recently from 45e57ea to ea685ef Compare July 7, 2022 20:35
@mmd-osm mmd-osm merged commit 42e29e5 into zerebubuth:master Jul 8, 2022
@mmd-osm mmd-osm deleted the simpl_5 branch July 16, 2022 10:41
mmd-osm added a commit to mmd-osm/openstreetmap-cgimap that referenced this pull request Jul 27, 2022
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant