Re: postgres (superuser) cannot connect to database - Mailing list pgsql-admin

From Tom Lane
Subject Re: postgres (superuser) cannot connect to database
Date
Msg-id 3693542.1669213111@sss.pgh.pa.us
Whole thread Raw
In response to postgres (superuser) cannot connect to database  (Holger Jakobs <holger@jakobs.com>)
List pgsql-admin
Holger Jakobs <holger@jakobs.com> writes:
> How come a user who has issued "set role to postgres", so that the 
> current user is postgres, cannot connect to a database?

\c makes a fresh connection to the server.  SET ROLE in your old
session will not carry over to that (nor any other session state).

            regards, tom lane



pgsql-admin by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: postgres (superuser) cannot connect to database
Next
From: jagjit singh
Date:
Subject: Reg: TLS Implementation