Re: postgres (superuser) cannot connect to database

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: postgres (superuser) cannot connect to database
Дата
Msg-id 3693542.1669213111@sss.pgh.pa.us
обсуждение исходный текст
Ответ на postgres (superuser) cannot connect to database  (Holger Jakobs <holger@jakobs.com>)
Список 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 по дате отправления:

Предыдущее
От: Laurenz Albe
Дата:
Сообщение: Re: postgres (superuser) cannot connect to database
Следующее
От: jagjit singh
Дата:
Сообщение: Reg: TLS Implementation