Re: BUG #15632: Correctly escaped strings are mishandled in function

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: BUG #15632: Correctly escaped strings are mishandled in function
Дата
Msg-id CAKFQuwbLQMgEiVH=W4_4zHvNMd90+HPhs3ZiYCvQFZE5Q7uMcQ@mail.gmail.com
обсуждение исходный текст
Ответ на BUG #15632: Correctly escaped strings are mishandled in function  (PG Bug reporting form <noreply@postgresql.org>)
Ответы RE: BUG #15632: Correctly escaped strings are mishandled in function  (Kaleb Akalework <kaleb.akalework@asg.com>)
RE: BUG #15632: Correctly escaped strings are mishandled in function  (Kaleb Akalework <kaleb.akalework@asg.com>)
Список pgsql-bugs
On Mon, Feb 11, 2019 at 11:04 AM PG Bug reporting form
<noreply@postgresql.org> wrote:
> I'm working on a Java app, and I used prepared statements to create a
> function call to postgressql.

PostgreSQL (one s)...

> Inside my function I take these parameters and build a query like this
>  WITH upd AS (  UPDATE topic$_dept  SET topic_value =  'SOLD''   WHERE
> topic_value = 'SOLD'  RETURNING 1 )  SELECT COUNT(*) FROM upd

I doubt this is a bug but rather likely you are not doing something
correctly here.  But since you don't show the function its impossible
to say what.

> This will throw an error

How hard is it to include the actual error?

David J.


В списке pgsql-bugs по дате отправления:

Предыдущее
От: "Abhilash Mannathanil (amannath)"
Дата:
Сообщение: Re: Error "new timeline 2 forked off current database systemtimeline" in cascaded replication, when master changes
Следующее
От: Kaleb Akalework
Дата:
Сообщение: RE: BUG #15632: Correctly escaped strings are mishandled in function