Re: tests against running server occasionally fail, postgres_fdw & tenk1
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: tests against running server occasionally fail, postgres_fdw & tenk1 |
| Дата | |
| Msg-id | 349133.1677510085@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: tests against running server occasionally fail, postgres_fdw & tenk1 (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: tests against running server occasionally fail, postgres_fdw & tenk1
|
| Список | pgsql-hackers |
I wrote:
> ... maybe we could do "select 1 from
> pg_stat_activity where application_name = computed-pattern", but that
> has the same problem that a cache flush might have terminated the
> remote session.
Hah - I thought of a solution. We can avoid this race condition if
we make the remote session itself inspect pg_stat_activity and
return its displayed application_name. Just need a foreign table
that maps onto pg_stat_activity. Of course, this'd add yet another
layer of baroque-ness to a test section that I already don't think
is worth the trouble. Should we go that way, or just rip it out?
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера