On 2018-03-30 16:36:59 -0500, Jeremy Finzel wrote: > I am having trouble figuring out the right way to do this, clearly missing > something obvious. I am simply trying to pass the current database > to BackgroundWorkerInitializeConnection, but MyDatabaseId is showing as 0, > and I am getting this error in the running of function get_database_name > here at the top:
What do you mean with "current database"? Before you BackgroundWorkerInitializeConnection() there is no such thing? Greetings, Andres Freund