[SQL] How do I quit in the middle of a SQL script?

2005-05-20 Thread Wei Weng
Say if I want to add a small snip of code in front of the sql script generated by the pg_dump, to check for something then if the condition doesn't match, the script terminates right away. (Without actually doing the restoring stuff that the following large chunk is supposed to do) Can I do

Re: [SQL] How do I quit in the middle of a SQL script?

2005-05-20 Thread John DeSoi
On May 20, 2005, at 1:22 PM, Wei Weng wrote: Say if I want to add a small snip of code in front of the sql script generated by the pg_dump, to check for something then if the condition doesn't match, the script terminates right away. (Without actually doing the restoring stuff that the

Re: [SQL] How do I quit in the middle of a SQL script?

2005-05-20 Thread Mischa Sandberg
Quoting John DeSoi [EMAIL PROTECTED]: On May 20, 2005, at 1:22 PM, Wei Weng wrote: Say if I want to add a small snip of code in front of the sql script generated by the pg_dump, to check for something then if the condition doesn't match, the script terminates right away. (Without