error code invalid_input_syntax

Поиск
Список
Период
Сортировка
От Rainer Leo
Тема error code invalid_input_syntax
Дата
Msg-id loom.20060112T094211-926@post.gmane.org
обсуждение исходный текст
Ответы Re: error code invalid_input_syntax  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
I wrote a function which generates SQL statements
for INSERTs and UPDATEs, in which I cast the values
to the correct datatype.

Now I want to catch

ERROR:  invalid input syntax for integer: "i"

but although I tried quite a few I can't find the right
error code for this exception.

Is it possible that this error can not be caught?


Thanks
Leo



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: foreign keys with on delete cascade and triggers
Следующее
От: Dirk Jagdmann
Дата:
Сообщение: Re: foreign keys with on delete cascade and triggers