Re: Create user mapping without password

Поиск
Список
Период
Сортировка
От Kyotaro Horiguchi
Тема Re: Create user mapping without password
Дата
Msg-id 20230220.110050.2291702849017352236.horikyota.ntt@gmail.com
обсуждение исходный текст
Ответ на Create user mapping without password  (Aymen Rahal <aymen.rahal01@gmail.com>)
Список pgsql-bugs
At Thu, 16 Feb 2023 11:33:47 +0100, Aymen Rahal <aymen.rahal01@gmail.com> wrote in 
> local_db=> select * from employee;
> 
> ERROR:  password is required
> 
> DETAIL:  Non-superusers must provide a password in the user mapping.
> 
> Could you please help me to create the mapping user without password.

In PostgreSQL 13 or higher, there's an option
"password_requried". Setting it to 'false' does that for you.


By the way, the message might be more informative if it included a
mention of the option?

> DETAIL:  Non-superusers must provide a password in the user mapping unless the option 'password_required' is set to
false.

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Inconsistent 'at time zone' conversion
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: BUG #17789: process_pgfdw_appname() fails for autovacuum workers