Re: parse error in set statement

From: <radha(dot)manohar(at)ndsu(dot)nodak(dot)edu>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: Re: parse error in set statement
Date: 2003-11-21 20:46:28
Message-ID: 3528.134.129.92.208.1069447588.squirrel@webmail.ndsu.nodak.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

I have a test1.pgc program in which I have the statements
exec sql begin declare section;
char z[]="serializable";
exec sql end declare section;

exec sql set transaction isolation level :z;

The above returned a parse error at or near z, which is a host variable.

What is the mistake here?

Your response would be very much appreciated.

Thanks and Regards,

Radha

Browse pgsql-novice by date

  From Date Subject
Next Message Oliver Elphick 2003-11-21 22:18:35 Re: pg_hda.conf
Previous Message Randolf Richardson, DevNet SysOp 29 2003-11-21 19:26:31 Re: Expressional Indexes