Skip to content

Conversation

@joto
Copy link
Collaborator

@joto joto commented Jan 23, 2023

This also logs new connections with the PID of the backend used and when the connection is closed.

src/pgsql.hpp Outdated

std::unique_ptr<PGconn, pg_conn_deleter_t> m_conn;

// Used to geneate unique ids for each database connection.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

This also logs new connections with the PID of the backend used and when
the connection is closed.
@joto joto force-pushed the sql-log-sessionid branch from 143c4dc to 228ab05 Compare January 23, 2023 20:07
@lonvia lonvia merged commit b0febb4 into osm2pgsql-dev:master Jan 25, 2023
@joto joto deleted the sql-log-sessionid branch January 25, 2023 13:03
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.

2 participants