Re: still problem: inserting into writeable views

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: still problem: inserting into writeable views
Дата
Msg-id 493215D8.7060200@opencloud.com
обсуждение исходный текст
Ответ на Re: still problem: inserting into writeable views  (Oliver Jowett <oliver@opencloud.com>)
Список pgsql-jdbc
Oliver Jowett wrote:
> Holger Jakobs wrote:
>
>> Using JDBC (org.postgresql.Driver) produces an error
>> org.postgresql.util.PSQLException: FEHLER: kann nicht in eine Sicht
>> einfügen
>> (German version, translates as 'ERROR: cannot insert into a view')
>>
>> Why can't the JDBC driver just leave the decision whether a table/view
>> is writeable or not to the database instead of interfering?
>
> I don't see that error message in the JDBC driver's de.po, and there's
> no equivalent check or message in the driver that I can see. Are you
> sure the error is generated by the driver and not by the backend?

I just checked the server's de.po and this is almost certainly a
backend-generated error, not a driver-generated error.
src/backend/po/de.po has:

#: rewrite/rewriteHandler.c:1811
msgid "cannot insert into a view"
msgstr "kann nicht in eine Sicht einfügen"

-O

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

Предыдущее
От: Oliver Jowett
Дата:
Сообщение: Re: still problem: inserting into writeable views
Следующее
От: Bruce Hyatt
Дата:
Сообщение: Connect via odbc from Windows to Linux