Dividing progress/debug information in pg_standby, and stat before copy

Поиск
Список
Период
Сортировка
От Selena Deckelmann
Тема Dividing progress/debug information in pg_standby, and stat before copy
Дата
Msg-id 2b5e566d1001250945oae17be8n6317f827e3bd7492@mail.gmail.com
обсуждение исходный текст
Ответы Re: Dividing progress/debug information in pg_standby, and stat before copy  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-hackers
Hi!

I poked around a little at pg_standby because of some 'cp: file does
not exist' errors that were cropping up as pg_standby searched around
for .history files.

I added a stat that still outputs debugging information but now we
don't get cp failures, and then added a 'progress' mode. It was a bit
of a semantic stretch, but '-l' had been used for 'link' in the past.

I will also add a timestamp to all of the output in my next patch. But
before I do that..

Questions:

* Could we just re-use '-l' for logging?
* Is there a way to get a non-module to use the ereport/elog system?

-selena



--
http://chesnok.com/daily - me
http://endpoint.com - work

Вложения

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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: commit fests
Следующее
От: Baron Schwartz
Дата:
Сообщение: Re: MySQL-ism help patch for psql