Re: patch: improve "user mapping not found" error message

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: patch: improve "user mapping not found" error message
Дата
Msg-id 441c8986f4f69c766e9dd913f057a5d2d9d71a2a.camel@cybertec.at
обсуждение исходный текст
Ответ на patch: improve "user mapping not found" error message  (Ian Lawrence Barwick <barwick@gmail.com>)
Список pgsql-hackers
On Fri, 2023-06-23 at 16:45 +0900, Ian Lawrence Barwick wrote:
> Mild corner-case annoyance while doing Random Experimental Things:
>
>     postgres=# SELECT * FROM parttest;
>     ERROR:  user mapping not found for "postgres"
>
> Okaaaay, but which server?
>
>     postgres=# \det
>            List of foreign tables
>      Schema |     Table     |   Server
>     --------+---------------+-----------
>      public | parttest_10_1 | fdw_node2
>      public | parttest_10_3 | fdw_node3
>      public | parttest_10_5 | fdw_node4
>      public | parttest_10_7 | fdw_node5
>      public | parttest_10_9 | fdw_node6
>     (5 rows)
>
> (Muffled sound of small patch hatching) aha:
>
>     postgres=# SELECT * FROM parttest;
>     ERROR:  user mapping not found for user "postgres", server "fdw_node5"

+1

Yours,
Laurenz Albe



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

Предыдущее
От: John Naylor
Дата:
Сообщение: Re: [PoC] Improve dead tuple storage for lazy vacuum
Следующее
От: Dilip Kumar
Дата:
Сообщение: Re: Assert while autovacuum was executing