Roundup Tracker - Issues

Message7902

Author ivanov
Recipients ivanov, rouilj
Date 2023-12-19.04:07:40
Message-id <0073986f6a4fb0ebd48b380e1a10a896@riseup.net>
In-reply-to <20231219015147.18B866A01F3@pe15.cs.umb.edu>
> Somehow we are going to need to get the schema defined in
> pg_service.conf out of libpg. I have no clue how to do that. Figuring
> out what db is used is a major hack.

> Gotcha. As I mentioned above I have no idea how to get the schema from
> here.

I've never worked with psycopg directly, I've only used it as a
dependency for web applications.

Can we get the connection parameters if it was not established
successfully? If so, we can try to connect and store the values in a
variable. Psycopg must return all connection values, including implicit
ones.

https://www.psycopg.org/docs/connection.html#connection.get_dsn_parameters

This is just a guess, but it might be worth a try.
History
Date User Action Args
2023-12-19 04:07:40ivanovsetrecipients: + ivanov, rouilj
2023-12-19 04:07:40ivanovlinkissue2551299 messages
2023-12-19 04:07:40ivanovcreate