Jan Wieck JanWieck at Yahoo.com
Wed Mar 4 12:04:10 PST 2009
On 3/4/2009 3:53 PM, Geoffrey wrote:
> I'm trying to run, what I would think would be a very simple 'execute 
> script' but I'm getting:
> 
> <stdin>:1: ERROR: syntax error at or near execute
> 
> Here is the relevant section of code:
> 
> 
> SETID=2
> SCRIPT=people.sql
> 
> 
> /usr/bin/slonik <<EOF
> execute script ( SET ID = $SETID, FILENAME = '$SCRIPT', EVENT NODE = 1);
> EOF
> 
> What am I missing???
> 

The admin conninfo statements at the beginning of the script.


Jan

-- 
Anyone who trades liberty for security deserves neither
liberty nor security. -- Benjamin Franklin



More information about the Slony1-general mailing list