Re: Need help with EXECUTE function

From: Cedar Cox <cedarc(at)visionforisrael(dot)com>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Need help with EXECUTE function
Date: 2001-04-08 23:57:05
Message-ID: Pine.LNX.4.21.0104090254090.7547-300000@nanu.visionforisrael.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


Attached is the (I think) corrected version.. If you do like I said and
cut the number in half you see fairly quickly why it didn't work. I'm
sending yours back so you can easily run a diff to see what I did. Let me
know if this (attached "cedars") works.

-Cedar

On Sat, 7 Apr 2001, Josh Berkus wrote:

> Folks (esp Jan, Tom & Michael):
>
> I have a search function I'm testing, which uses the EXECUTE function to
> perform a dynamic set of string comparisons according to whcih criteria
> the user passes along. Unfortunately, this requires me to triple-nest
> my quotes .... and I can't seem to get it right. No matter how I play
> with the function, it keeps blowing up due to "unterminated strings".
> This happens even if I terminate the function short of the EXECUTE
> statement.
>
> Can someone *please* give me some pointers?
>
> Function text:
>
*snip*

Attachment Content-Type Size
orig text/plain 2.6 KB
cedars text/plain 2.6 KB

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Hans-Jürgen Schönig 2001-04-09 08:02:58 Re: open and closed paths ...
Previous Message Cedar Cox 2001-04-08 23:20:09 Re: Casting numeric to text