Re: Error messages not always reported through the ODBCdriver -STATEMENT ERROR missing

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема Re: Error messages not always reported through the ODBCdriver -STATEMENT ERROR missing
Дата
Msg-id 3B898DE9.BD8B38F7@tpf.co.jp
обсуждение исходный текст
Ответ на Error messages not always reported through the ODBC driver - STATEMENT ERROR missing  (Kristis Makris <kristis.makris@datasoft.com>)
Ответы Re: Error messages not always reported through the ODBCdriver -STATEMENT ERROR missing  (Kristis Makris <kristis.makris@datasoft.com>)
Список pgsql-odbc
Kristis Makris wrote:
>
> Hello Again,
>
> I've also tried the following from the psql command-line client:
>
> ******************************************************************************************
> wats=# begin;
> BEGIN
> wats=# select vendor_remove(1);
> ERROR:  <unnamed> referential integrity violation - key in vendor still
> referenced from vendorforwellagreement
> wats=# commit;
> COMMIT
> ******************************************************************************************
>
> psql reports the error when I issue the SELECT statement, not when I
> issue the commit. Shouldn't I be able to capture an exception when I do
> an ExecuteSQL() from VC++, instead of a CommitTrans() ?

Could you show me a reproducible example ?

regards,
Hiroshi Inoue

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

Предыдущее
От: "Johann Zuschlag"
Дата:
Сообщение: Again, it doesn't compile :-)
Следующее
От: Hiroshi Inoue
Дата:
Сообщение: Re: Again, it doesn't compile :-)