john joe johnjj2
Mon Mar 6 15:47:00 PST 2006
bash-3.00$ slonik <<_EOF_
> CLUSTER NAME = $CLUSTERNAME;
> NODE 1 ADMIN CONNINFO = 'DBNAME=$MASTERDBNAME HOST=$MASTERHOST
USER=$REPLICATIONUSER';
> NODE 2 ADMIN CONNINFO = 'DBNAME=$SLAVEDBNAME HOST=$SLAVEHOST
USER=$REPLICATIONUSER';
> ECHO 'POP';
> _EOF_
<stdin>:1: ERROR: syntax error at or near Try
bash-3.00$ slonik <<_EOF_
> try
> {
> CLUSTER NAME = $CLUSTERNAME;
> NODE 1 ADMIN CONNINFO = 'DBNAME=$MASTERDBNAME HOST=$MASTERHOST
USER=$REPLICATIONUSER';
> NODE 2 ADMIN CONNINFO = 'DBNAME=$SLAVEDBNAME HOST=$SLAVEHOST
USER=$REPLICATIONUSER';
> }
> on error {
> echo 'headsup';
> }
> _EOF_
<stdin>:1: ERROR: syntax error at or near try

seems like whatever script i type into slnik i have the same syntax error
.Can anyone please help .
im running FC4 with.im using the headers but still .
postgresql-libs-8.0.6-1PGDG
postgresql-devel-8.0.6-1PGDG
postgresql-8.0.5-1PGDG
postgresql-slony1-engine-1.1.5-1_PG8.1.2
 postgresql-server-8.0.5-1PGDG

Can some one help me  ?
thanks in advance.
Sujin Philip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gborg.postgresql.org/pipermail/slony1-general/attachments/20060306/43ad7573/attachment.html



More information about the Slony1-general mailing list