Re: logfile subprocess and Fancy File Functions

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: logfile subprocess and Fancy File Functions
Дата
Msg-id 200407201646.i6KGkXH24532@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: logfile subprocess and Fancy File Functions  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-patches
Peter Eisentraut wrote:
> Bruce Momjian wrote:
> > Peter Eisentraut wrote:
> > > Andreas Pflug wrote:
> > > > How should the prefix be named? pgsql_ ?
> > >
> > > Make the file names configurable.
> >
> > He has code to interpret the file names as timestamps that can be
> > used in queries.  If we allowed full user control over the file name,
> > he couldn't do that.
>
> I can't see this working.  As you know, there are constantly people who
> want to install and configure PostgreSQL in the weirdest ways.  If we
> tell everybody, you log files must be named like this, it will start
> all over again.
>
> Maybe it would be better if the time stamps of the files are used as
> time stamps in queries.

I guess you could use the creation time of the inode as the start time,
yes, and then they could call the file names whatever they want.  We
could even add the modification time as the end time.

--
  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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: logfile subprocess and Fancy File Functions
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: [HACKERS] Point in Time Recovery