Re: Fast promotion, loose ends

Поиск
Список
Период
Сортировка
От Shaun Thomas
Тема Re: Fast promotion, loose ends
Дата
Msg-id 517552B3.5030003@optionshouse.com
обсуждение исходный текст
Ответ на Re: Fast promotion, loose ends  (Simon Riggs <simon@2ndQuadrant.com>)
Ответы Re: Fast promotion, loose ends  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
On 04/22/2013 02:58 AM, Simon Riggs wrote:

> So, to initiate promotion, you can create a file called
> $DATADIR/fast_promote or $DATADIR/promote

Pardon my naiveté, but could it also be an option to read the method
from the promotion file?

echo "slow" > /my/promotion/path

That would work without any default naming scheme, and only incurs a
read on the file-handle.

--
Shaun Thomas
OptionsHouse | 141 W. Jackson Blvd. | Suite 500 | Chicago IL, 60604
312-676-8870
sthomas@optionshouse.com

______________________________________________

See http://www.peak6.com/email_disclaimer/ for terms and conditions related to this email



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

Предыдущее
От: Jeevan Chalke
Дата:
Сообщение: Re: REFRESH MATERIALIZED VIEW command in PL block hitting Assert
Следующее
От: Robert Haas
Дата:
Сообщение: Re: erroneous restore into pg_catalog schema