Re: dblink authentication issue

Поиск
Список
Период
Сортировка
От Daulat
Тема Re: dblink authentication issue
Дата
Msg-id CALfOM6JBGYxZtW=E-a9emi_e=nHfa8_nogyRKrMrVWc8yBO1bg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: dblink authentication issue  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
Yes, I am using superuser "postgres". 
It is the owner of the .pgpass file.

Thanks,




On Fri, Apr 21, 2023 at 7:51 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
Daulat <daulat.dba@gmail.com> writes:
> I have some problem with using dblink_connect_u() while making a connection
> using a .pgpass file.
> select * from gis.dblink_connect_u('conn'||'X123','dbname='||'pgdb');
> ERROR:  could not establish connection
> DETAIL:  fe_sendauth: no password supplied

This is intentional: to use a .pgpass file belonging to the server owner,
you must be a database superuser.

                        regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: dblink authentication issue
Следующее
От: ROHIT SACHDEVA
Дата:
Сообщение: Related To Hash Partition