Hello!

Is there any way to have psql variable in apostrophes?

The idea is to do something like this

\set var 'some value'
insert into aaa values(:var)

after substisution it should as simple as 
insert into aaa values('some value')

I've tried all reasonable quotings
I was able to make up but no any luck.

Thanks.

-- 
Best regards
Ilja Golshtein

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to [EMAIL PROTECTED] so that your
       message can get through to the mailing list cleanly

Reply via email to