From: | Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com> |
---|---|
To: | Bjørn T Johansen <bjorntj(at)softinn(dot)no> |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: Strange parse error?? |
Date: | 2001-02-22 23:05:38 |
Message-ID: | Pine.BSF.4.21.0102221503150.14234-100000@megazone23.bigpanda.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
On Thu, 22 Feb 2001, [ISO-8859-1] Bjrn T Johansen wrote:
> I am trying to do a simple update (or at least I thought it was
> simple), but I just keep getting a parse error, saying:
>
> Error executing query
>
> Update "Config" Set "Wave" = 'F:\wav\BTJ.wav',"Answer" = 20,
> "Recordwav" ='F:\wav\',"CalledID" = '12345678' where "Recno" = 1
>
> PostgreSQL error message:
> ERROR: parser: parse error at or near "12345678"
I believe that it's because postgres treats \ as an escape character
so the 'F:\wav\' was probably treating the closing \' as an escaped
quote inside the string. You'll probably want to double the \
characters.
From | Date | Subject | |
---|---|---|---|
Next Message | Ross J. Reedstrom | 2001-02-22 23:18:06 | Re: Strange parse error?? |
Previous Message | Bjørn T Johansen | 2001-02-22 22:49:30 | Strange parse error?? |