Re: PostgreSQL: SQLSetPos fails with SetPos update return error.

Поиск
Список
Период
Сортировка
От Tsunakawa, Takayuki
Тема Re: PostgreSQL: SQLSetPos fails with SetPos update return error.
Дата
Msg-id 0A3221C70F24FB45833433255569204D1F577361@G01JPEXMBYT05
обсуждение исходный текст
Ответ на Re: PostgreSQL: SQLSetPos fails with SetPos update return error.  ("Inoue, Hiroshi" <h-inoue@dream.email.ne.jp>)
Список pgsql-odbc

Hello, Inoue-san, Sekhar,

 

Sorry for my late reply, I had to (and have still been) deal with my customer's trouble in the field, was away from work to go to hospital, etc.  And I still don't understand psqlODBC well enough to keep up with Inoue-san.

 

 

From: Inoue, Hiroshi [mailto:h-inoue@dream.email.ne.jp]

I don't think the cause of the SQLSetPos failure reported is partition row movement.

 

 

Yes, the cause is simply that the current SQLSetPos() implementation does not handle table inheritance.  For example, if a table called "parent" has some child tables like "child1" and "child2", and only the child tables have actual rows, SQLSetPos() against the result set from "parent" issues UPDATE statements on "parent".  It should execute UPDATE on the child tables instead.

 

Regards

Takayuki Tsunakawa

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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: ODBC driver support
Следующее
От: "Tsunakawa, Takayuki"
Дата:
Сообщение: Re: ADO CommandTimeout vs Postgres statement_timeout parameter