Re: [HACKERS] Why does logical replication launcher setapplication_name?

Поиск
Список
Период
Сортировка
Искать
От
Peter Eisentraut
Тема
Re: [HACKERS] Why does logical replication launcher setapplication_name?
Дата
в 06:10:31
Msg-id
576b0a5e-15b5-38b6-00bc-9ec71e524ffe@2ndquadrant.com
Ответ на
Список
Дерево обсуждения
[HACKERS] Why does logical replication launcher set application_name? Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Why does logical replication launcher set application_name? Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Why does logical replication launcher set application_name? Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Why does logical replication launcher setapplication_name? Petr Jelinek <petr.jelinek@2ndquadrant.com>
Re: [HACKERS] Why does logical replication launcher set application_name? Kuntal Ghosh <kuntalghosh.2007@gmail.com>
Re: [HACKERS] Why does logical replication launcher set application_name? Craig Ringer <craig@2ndquadrant.com>
Re: [HACKERS] Why does logical replication launcher set application_name? Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Why does logical replication launcher setapplication_name? Petr Jelinek <petr.jelinek@2ndquadrant.com>
Re: [HACKERS] Why does logical replication launcher setapplication_name? Petr Jelinek <petr.jelinek@2ndquadrant.com>
Re: [HACKERS] Why does logical replication launcher setapplication_name? Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] Why does logical replication launcher set application_name? Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Why does logical replication launcher setapplication_name? Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] Why does logical replication launcher setapplication_name? Petr Jelinek <petr.jelinek@2ndquadrant.com>
Re: [HACKERS] Why does logical replication launcher set application_name? Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] Why does logical replication launcher setapplication_name? Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] Why does logical replication launcher setapplication_name? Petr Jelinek <petr.jelinek@2ndquadrant.com>
Re: [HACKERS] Why does logical replication launcher set application_name? Noah Misch <noah@leadboat.com>
Re: [HACKERS] Why does logical replication launcher setapplication_name? Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] Why does logical replication launcher setapplication_name? Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] Why does logical replication launcher setapplication_name? Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] Why does logical replication launcher setapplication_name? Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] Why does logical replication launcher set application_name? Kuntal Ghosh <kuntalghosh.2007@gmail.com>
bgw_type (was Re: [HACKERS] Why does logical replication launcher setapplication_name?) Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: bgw_type (was Re: [HACKERS] Why does logical replication launcher set application_name?) Daniel Gustafsson <daniel@yesql.se>
Re: bgw_type (was Re: [HACKERS] Why does logical replication launcherset application_name?) Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: bgw_type (was Re: [HACKERS] Why does logical replication launcherset application_name?) Michael Paquier <michael.paquier@gmail.com>
Re: bgw_type (was Re: [HACKERS] Why does logical replication launcherset application_name?) Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: bgw_type (was Re: [HACKERS] Why does logical replication launcherset application_name?) Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: bgw_type (was Re: [HACKERS] Why does logical replication launcherset application_name?) Petr Jelinek <petr.jelinek@2ndquadrant.com>
Re: [HACKERS] Why does logical replication launcher set application_name? Masahiko Sawada <sawada.mshk@gmail.com>
Re: [HACKERS] Why does logical replication launcher setapplication_name? Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] Why does logical replication launcher setapplication_name? Petr Jelinek <petr.jelinek@2ndquadrant.com>
Re: [HACKERS] Why does logical replication launcher setapplication_name? Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] Why does logical replication launcher setapplication_name? Petr Jelinek <petr.jelinek@2ndquadrant.com>
Re: [HACKERS] Why does logical replication launcher set application_name? Kuntal Ghosh <kuntalghosh.2007@gmail.com>
Re: [HACKERS] Why does logical replication launcher set application_name? Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Why does logical replication launcher setapplication_name? Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [HACKERS] Why does logical replication launcher set application_name? Robert Haas <robertmhaas@gmail.com>
Re: [HACKERS] Why does logical replication launcher set application_name? Magnus Hagander <magnus@hagander.net>
Re: [HACKERS] Why does logical replication launcher set application_name? Michael Paquier <michael.paquier@gmail.com>
Re: [HACKERS] Why does logical replication launcher setapplication_name? Petr Jelinek <petr.jelinek@2ndquadrant.com>
Here is a proposed solution that splits bgw_name into bgw_type and
bgw_name_extra.  bgw_type shows up in pg_stat_activity.backend_type.
Uses of application_name are removed, because they are no longer
necessary to identity the process type.

This code appears to be buggy because I sometimes get NULL results of
the backend_type lookup, implying that it couldn't find the background
worker slot.  This needs another look.

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

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
В списке pgsql-hackers по дате отправления
От: Tom Lane
Дата:
От: Stephen Frost
Дата:
FAQ