[Tile-serving] [openstreetmap/osm2pgsql] Allow PGRES_COMMAND_OK as well as PGRES_TUPLES_OK status (PR #1825)
Jochen Topf
notifications at github.com
Tue Nov 15 13:57:00 UTC 2022
This allows us to use exec_prepared() with commands such as DELETE which set status to PGRES_COMMAND_OK. Before the change only SELECT commands were supported with set the status to PGRES_TUPLES_OK. Both indicate a successful completion of the command.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/osm2pgsql/pull/1825
-- Commit Summary --
* Allow PGRES_COMMAND_OK as well as PGRES_TUPLES_OK status
-- File Changes --
M src/pgsql.cpp (5)
-- Patch Links --
https://github.com/openstreetmap/osm2pgsql/pull/1825.patch
https://github.com/openstreetmap/osm2pgsql/pull/1825.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1825
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/osm2pgsql/pull/1825 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20221115/ac2d50a0/attachment.htm>
More information about the Tile-serving
mailing list