[Tile-serving] [openstreetmap/osm2pgsql] Add pgresult_t::affected_rows() function (PR #1915)

Jochen Topf notifications at github.com
Wed Feb 15 14:15:22 UTC 2023


To get the number of INSERTed, UPDATEd, or DELETEed rows.

This is useful for debug logging.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/osm2pgsql/pull/1915

-- Commit Summary --

  * Add pgresult_t::affected_rows() function

-- File Changes --

    M src/pgsql.cpp (7)
    M src/pgsql.hpp (3)
    M tests/test-pgsql.cpp (25)

-- Patch Links --

https://github.com/openstreetmap/osm2pgsql/pull/1915.patch
https://github.com/openstreetmap/osm2pgsql/pull/1915.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1915
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/osm2pgsql/pull/1915 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20230215/ca37dc99/attachment.htm>


More information about the Tile-serving mailing list