Re: Fast promotion, loose ends - Mailing list pgsql-hackers

From Shaun Thomas
Subject Re: Fast promotion, loose ends
Date
Msg-id 517552B3.5030003@optionshouse.com
Whole thread Raw
In response to Re: Fast promotion, loose ends  (Simon Riggs <simon@2ndQuadrant.com>)
Responses Re: Fast promotion, loose ends
List 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 by date:

Previous
From: Jeevan Chalke
Date:
Subject: Re: REFRESH MATERIALIZED VIEW command in PL block hitting Assert
Next
From: Robert Haas
Date:
Subject: Re: erroneous restore into pg_catalog schema