Re: pg_execute_from_file, patch v10
От | Tom Lane |
---|---|
Тема | Re: pg_execute_from_file, patch v10 |
Дата | |
Msg-id | 27805.1292299097@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: pg_execute_from_file, patch v10 (Itagaki Takahiro <itagaki.takahiro@gmail.com>) |
Ответы |
Re: pg_execute_from_file, patch v10
|
Список | pgsql-hackers |
Itagaki Takahiro <itagaki.takahiro@gmail.com> writes: > On Tue, Dec 14, 2010 at 12:47, Tom Lane <tgl@sss.pgh.pa.us> wrote: >> lo_import is superuser-only. If we design this feature so that it will >> forever have to be superuser-only, to get a behavior that I think we >> don't even *want*, I believe we're making a serious error. > CREATE EXTENSION and pg_read_file() is also superuser-only, no? CREATE EXTENSION will be superuser to start with, no doubt, but I think we'll someday want to allow it to database owners, just as happened with CREATE LANGUAGE. Let's not build it on top of operations that inherently involve security problems, especially when there's no need to. regards, tom lane
В списке pgsql-hackers по дате отправления: