Re: Problem with psqlODBC and "call" (of Stored Procedures)

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: Problem with psqlODBC and "call" (of Stored Procedures)
Дата
Msg-id 4ADBB127.6020008@postnewspapers.com.au
обсуждение исходный текст
Ответ на Problem with psqlODBC and "call" (of Stored Procedures)  (Brigitte und Wolfgang Pasche <pasche.wolfgang@kabelmail.de>)
Список pgsql-odbc
Brigitte und Wolfgang Pasche wrote:

> In this case, since PostgreSQL don't
> know a call statement, the ODBC driver correctly transform it into a
> SELECT statement. Unfortunately, the procedure parameter (datatype date)
> in the escaped form is transformed removing only the curly braces and
> leaving the rest untouched instead of transforming it (in a second
> step??) to the correct form. This of course leads to nonsense and
> results in an error message.
>
> My personal impression is, that this is a bug in the ODBC driver

Yep, sounds like an ODBC driver bug for sure.

It might even be worth grabbing the ODBC driver sources to see if you
can spot the issue.

As it happens, the statement could be transformed correctly by
substituting 'DATE' for 'd'.

--
Craig Ringer

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

Предыдущее
От: kishoramballi
Дата:
Сообщение: Postgres inserts null value for parameterized statement
Следующее
От: Hiroshi Inoue
Дата:
Сообщение: Re: Problem with psqlODBC and "call" (of Stored Procedures)