From: | Shaun Thomas <sthomas(at)optionshouse(dot)com> |
---|---|
To: | Simon Riggs <simon(at)2ndQuadrant(dot)com> |
Cc: | Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Fast promotion, loose ends |
Date: | 2013-04-22 15:09:39 |
Message-ID: | 517552B3.5030003@optionshouse.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)optionshouse(dot)com
______________________________________________
See http://www.peak6.com/email_disclaimer/ for terms and conditions related to this email
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2013-04-22 15:15:38 | Re: erroneous restore into pg_catalog schema |
Previous Message | Jeevan Chalke | 2013-04-22 13:58:12 | Re: REFRESH MATERIALIZED VIEW command in PL block hitting Assert |