Error in calling a function with protocol 7.4

Поиск
Список
Период
Сортировка
От Haribabu Kommi
Тема Error in calling a function with protocol 7.4
Дата
Msg-id CAJrrPGcRFKQhwveE-hLcTnr94hO26GHXrO799h2-FCPDZCQ04A@mail.gmail.com
обсуждение исходный текст
Ответы Re: Error in calling a function with protocol 7.4  (Heikki Linnakangas <hlinnaka@iki.fi>)
Список pgsql-odbc
when function is called using the following way, it generates an error.

? = CALL procname ()

The error message with 09.03.0400 with protocol 7.4 is
-----------------------------------------------------
errstate -> 08P01
errcode -> 7
errmsg -> ERROR: invalid message format; Error while executing the query
-----------------------------------------------------

But it passes with protocol 6.4 in version 09.03.0400. The same test passes
with either protocol versions in version 09.03.0100.

Function:

CREATE OR REPLACE FUNCTION PROC1() RETURNS INTEGER
AS $$
  BEGIN
    RETURN 1234;
  END;
$$ LANGUAGE 'plpgsql';

Here I attached the sample test file to reproduce the problem. I want to know
whether is it a problem or normal behavior in this version?

Regards,
Hari Babu
Fujitsu Australia

Вложения

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

Предыдущее
От: Haribabu Kommi
Дата:
Сообщение: How to get actual number of rows affected with parameter array
Следующее
От: Uffe Kousgaard
Дата:
Сообщение: Installing odbc-driver on client