Re: changed behavior in libpq odbc driver

Поиск
Список
Период
Сортировка
От Marko Ristola
Тема Re: changed behavior in libpq odbc driver
Дата
Msg-id 43089151.3080709@kolumbus.fi
обсуждение исходный текст
Ответ на changed behavior in libpq odbc driver  ("Scot Loach" <sloach@sandvine.com>)
Список pgsql-odbc
Please check, but ODBC 3 should return SQL_NO_DATA, when
no data has been updated.

ODBC 2 should return SQL_SUCCESS wether any rows were updated, or not.

So it depends on the ODBC standard, that the client program chooses.

Marko Ristola

Scot Loach wrote:

>I'm not sure whether the old driver or the new one is correct.
>
>When executing an UPDATE query with a WHERE clause, if the WHERE clause does not match any rows, the old driver
returnsSQL_NO_DATA.  The new driver returns SQL_SUCCESS. 
>
>
>
>---------------------------(end of broadcast)---------------------------
>TIP 9: In versions below 8.0, the planner will ignore your desire to
>       choose an index scan if your joining column's datatypes do not
>       match
>
>


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

Предыдущее
От: Johan Wehtje
Дата:
Сообщение: ODBC Call Failed on Subform
Следующее
От: "Scot Loach"
Дата:
Сообщение: Re: "Official" version