Mon Mar 6 15:09:48 PST 2006
- Previous message: [Slony1-general] SLONIK syntax error (help needed)
- Next message: [Slony1-general] SLONIK syntax error (help needed)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
john joe wrote:
> bash-3.00$ slonik <<_EOF_
> > try {
> > echo 'test';
> > }
> > on error {
> > echo 'fail';
> > }
> > _EOF_
> <stdin>:1: ERROR: syntax error at or near try
>
> It seems like whatever i try running with slonik has a syntax error on
> the first line of the script .
> Im using FC4 with following packages.
>
> 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 anyone help me ?
> Thanks in advance.
> Sujin Philip
Every slonik script must begin with a "preamble" that does two things:
1. Names the cluster
2. Defines paths to let slonik know how to talk to the nodes in the cluster
http://linuxfinances.info/info/hdrcmds.html
- Previous message: [Slony1-general] SLONIK syntax error (help needed)
- Next message: [Slony1-general] SLONIK syntax error (help needed)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-general mailing list