| From: | Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com> |
|---|---|
| To: | aymen(dot)rahal01(at)gmail(dot)com |
| Cc: | pgsql-bugs(at)lists(dot)postgresql(dot)org |
| Subject: | Re: Create user mapping without password |
| Date: | 2023-02-20 02:00:50 |
| Message-ID: | 20230220.110050.2291702849017352236.horikyota.ntt@gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-bugs |
At Thu, 16 Feb 2023 11:33:47 +0100, Aymen Rahal <aymen(dot)rahal01(at)gmail(dot)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Paquier | 2023-02-20 07:59:25 | Re: BUG #17789: process_pgfdw_appname() fails for autovacuum workers |
| Previous Message | Tom Lane | 2023-02-19 23:49:47 | Re: Inconsistent 'at time zone' conversion |