Re: Surprising connection issue

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Surprising connection issue
Дата
Msg-id CAKFQuwZ8tsRnJ2ZsBqAy0Cb8diEug0N3LPnQrPGxyTJX20KqaQ@mail.gmail.com
обсуждение исходный текст
Ответ на Surprising connection issue  (David Gasa i Castell <dgasacas7@gmail.com>)
Список pgsql-general
On Tue, Jul 14, 2020 at 8:25 AM David Gasa i Castell <dgasacas7@gmail.com> wrote:
And my surprise went when I see the connection done while there is no user granted to connect the database...

"""
PostgreSQL grants privileges on some types of objects to PUBLIC by default when the objects are created. No privileges are granted to PUBLIC by default on tables, table columns, sequences, foreign data wrappers, foreign servers, large objects, schemas, or tablespaces. For other types of objects, the default privileges granted to PUBLIC are as follows: 
***CONNECT and TEMPORARY (create temporary tables) privileges for databases;*** (emphasis mine)
 EXECUTE privilege for functions and procedures; and USAGE privilege for languages and data types (including domains).
"""

David J.

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

Предыдущее
От: Marc Millas
Дата:
Сообщение: Re: some random() clarification needed
Следующее
От: Vishwa Kalyankar
Дата:
Сообщение: Re: Same query taking less time in low configuration machine