Re: [HACKERS] less privileged pl install

Поиск
Список
Период
Сортировка
От Jeremy Drake
Тема Re: [HACKERS] less privileged pl install
Дата
Msg-id Pine.BSO.4.64.0701262246080.23712@resin.csoft.net
обсуждение исходный текст
Ответ на Re: [HACKERS] less privileged pl install  (Jeremy Drake <pgsql@jdrake.com>)
Ответы Re: [HACKERS] less privileged pl install  (Jeremy Drake <pgsql@jdrake.com>)
Список pgsql-patches
On Fri, 26 Jan 2007, Jeremy Drake wrote:

> On Sat, 27 Jan 2007, Tom Lane wrote:
>
> > I'd go with GetUserId() in the cases where you're not explicitly
> > assigning ownership to the datdba role.  AFAIR the assumption that
> > languages are owned by BOOTSTRAP_SUPERUSERID was just a kluge to use in
> > some bits of code that had to have a notion of a specific owner.  Now
> > in reality every superuser has the same privileges as every other one,
> > and so it doesn't matter much which one you use, but we might as well
> > record who actually did the deed.
>
> Here is a version of the patch which does this.  Very minor change from
> the last version...

Oops, was missing an include which resulted in an implicitly defined
function warning.  This version fixes it...

--
Anybody who doesn't cut his speed at the sight of a police car is
probably parked.

Вложения

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

Предыдущее
От: Jeremy Drake
Дата:
Сообщение: Re: [HACKERS] less privileged pl install
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: [DOCS] Change draft gmake control