Home > Archive > Slony1 PostgreSQL Replication > April 2006 > Re: how to send additional config options to









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: how to send additional config options to
Christopher Browne

2006-04-06, 8:28 pm

Miguel <mmiranda- nEhLOg9Nx0turzwRxvvF
aw@public.gmane.org> writes:
> Hi, i want to send additional runtime options to slon_start, like
> log_level 4
> log_timestamp 1
> vac_frequency 0
> etc
>
> how do you do that?


This sort of thing tends to be a "Simple Matter Of Programming." Most
of the revisions would be to slon-tools.pm.

I'm somewhat inclined to create some new scripts to cope with the
various changes between how slon behaves in 1.0 and the way it'll be
in 1.2.

What I'd like to do is to have a script that generates a set of slon
config files, one for each node, allowing the Gentle User to readily
change the config in that one place, and then have scripts that start
up the slons based on those config files.

That approach would be particularly valuable when doing log shipping,
as it diminishes the risk of accidentally "corrupting" things by
running slon and forgetting the "-a" option, thereby losing some logs
and corrupting log shipping...
--
"cbbrowne","@","ca.afilias.info"
<http://dba2.int.libertyrms.com/>
Christopher Browne
(416) 673-4124 (land)
Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com