Re: logfile subprocess and Fancy File Functions

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: logfile subprocess and Fancy File Functions
Дата
Msg-id 200407232122.i6NLMn604170@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: logfile subprocess and Fancy File Functions  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: logfile subprocess and Fancy File Functions  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Tom Lane wrote:
> Also, while I'm aware that a superuser can persuade the backend to write
> on anything, it doesn't follow that we should invent pg_file_write(),
> pg_file_rename(), or pg_file_unlink().  Those are not needed for the
> originally intended purpose of this patch and I think that they are just
> invitations to trouble.  If you are aware that there are burglars out
> there who know how to pick your door lock, do you then post directions
> and tools to help on your door?

We already allow COPY to write anywhere.  Might as well give people some
utilities in case it is helpful.

I think the analogy is locking one door but leaving the other door
unlocked.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: Andreas Pflug
Дата:
Сообщение: Re: logfile subprocess and Fancy File Functions
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: Re: Updated logging config (was: Initial eventlog support on win32 )