In article <[EMAIL PROTECTED]>,
"Merlin Moncure" <[EMAIL PROTECTED]> writes:
> can anybody think of of a way to sneak these into dollar quoted
> strings for substitution into create function?
> would i would ideally like to do is (from inside psql shell)
> \set foo 500
> create function bar() returns int as
> $$
> declare
> baz int default :foo;
> [...]
Can't you put the psql call into a shell script and use shell variable
substitution for that?
---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?
http://www.postgresql.org/docs/faq