Re: SQL access to database attributes
От | Vik Fearing |
---|---|
Тема | Re: SQL access to database attributes |
Дата | |
Msg-id | 53801AC2.1070404@dalibo.com обсуждение исходный текст |
Ответ на | Re: SQL access to database attributes (Jaime Casanova <jaime@2ndquadrant.com>) |
Ответы |
Re: SQL access to database attributes
Re: SQL access to database attributes |
Список | pgsql-hackers |
On 05/24/2014 12:03 AM, Jaime Casanova wrote: > On Fri, May 23, 2014 at 10:53 PM, Vik Fearing <vik.fearing@dalibo.com> wrote: >> It was suggested to me that these options should either error out if >> there are existing connections or terminate said connections. I don't >> agree with that because there is no harm in connecting to a template >> database (how else do you modify it?), and adding a reject rule in >> pg_hba.conf doesn't disconnect existing users so why should turning off >> ALLOW CONNECTIONS do it? >> > Which lead us to the question: you need to connect to the database to > modify it, don't you? then, how do you change ALLOW CONNECTIONS to > true? You can ALTER DATABASE from anywhere. -- Vik
В списке pgsql-hackers по дате отправления: