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
_______________________________________________
Slony1-general mailing list
[email protected]
http://gborg.postgresql.org/mailman/listinfo/slony1-general

Reply via email to