Re: [HACKERS] Passing values to a dynamic background worker

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [HACKERS] Passing values to a dynamic background worker
Дата
Msg-id eb73c20f-3093-93d7-74de-76494fb8d516@2ndquadrant.com
обсуждение исходный текст
Ответ на [HACKERS] Passing values to a dynamic background worker  (Keith Fiske <keith@omniti.com>)
Ответы Re: [HACKERS] Passing values to a dynamic background worker  (Keith Fiske <keith@omniti.com>)
Список pgsql-hackers
On 4/17/17 16:19, Keith Fiske wrote:
> I've reached a roadblock in that bgw_main_arg can only accept a single
> argument that must be passed by value for a dynamic bgw. I already
> worked around this for passing the database name to the my existing use
> of a bgw with doing partition maintenance (pass a simple integer to use
> as an index array value). But I'm not sure how to do this for passing
> multiple values in.

You can also store this kind of information in a table.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Masahiko Sawada
Дата:
Сообщение: Re: [HACKERS] Logical replication and synchronous replication
Следующее
От: Petr Jelinek
Дата:
Сообщение: Re: [HACKERS] some review comments on logical rep code