Re: Passing current_database to BackgroundWorkerInitializeConnection

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Passing current_database to BackgroundWorkerInitializeConnection
Дата
Msg-id 20180330214037.ahwsper4sxnt5i7b@alap3.anarazel.de
обсуждение исходный текст
Ответ на Passing current_database to BackgroundWorkerInitializeConnection  (Jeremy Finzel <finzelj@gmail.com>)
Ответы Re: Passing current_database to BackgroundWorkerInitializeConnection  (Jeremy Finzel <finzelj@gmail.com>)
Список pgsql-hackers
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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Jeremy Finzel
Дата:
Сообщение: Passing current_database to BackgroundWorkerInitializeConnection
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Change RangeVarGetRelidExtended() to take flags argument?