[Tile-serving] [osm2pgsql-dev/osm2pgsql] Use different application names for db connection to show context (PR #2130)
Jochen Topf
notifications at github.com
Fri Feb 2 10:09:28 UTC 2024
Adds a "context" parameter to database connection setup describing what this connection is for. This is something like "middle.query" or "out.pgsql". It will be added to the application name, so querying pg_stat_activity will show it like "osm2pgsql.middle.query/C2" etc.
You can view, comment on, or merge this pull request online at:
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2130
-- Commit Summary --
* Use different application names for db connection to show context
-- File Changes --
M src/db-copy.cpp (2)
M src/expire-output.cpp (2)
M src/flex-table.cpp (3)
M src/gen/osm2pgsql-gen.cpp (10)
M src/middle-pgsql.cpp (6)
M src/osm2pgsql.cpp (2)
M src/output-flex.cpp (2)
M src/output-gazetteer.cpp (2)
M src/pgsql.cpp (18)
M src/pgsql.hpp (3)
M src/properties.cpp (6)
M src/table.cpp (2)
M tests/common-pg.hpp (2)
-- Patch Links --
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2130.patch
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2130.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/osm2pgsql-dev/osm2pgsql/pull/2130
You are receiving this because you are subscribed to this thread.
Message ID: <osm2pgsql-dev/osm2pgsql/pull/2130 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20240202/ddbc3b36/attachment.htm>
More information about the Tile-serving
mailing list