On Thu, Feb 24, 2005 at 10:04:50AM -0700, Steve - DND wrote:
> > \set name '\'Some Name\''
> > SELECT * FROM foo WHERE name = :name;
>
> Whenever I try the above I get an error at the backslash. Do I need to
> create a different language for this? Right now I only have plpgsql
> available.
Did you try it in psql? As I mentioned, \set is a psql (client side)
command.
http://www.postgresql.org/docs/8.0/static/app-psql.html
--
Michael Fuhr
http://www.fuhr.org/~mfuhr/