Re: insert data with invalid input syntax for integer:"42P01"

Поиск
Список
Период
Сортировка
От Scott Ribe
Тема Re: insert data with invalid input syntax for integer:"42P01"
Дата
Msg-id 741DB90F-6C7A-4AEA-B2EB-DD37C5529AF4@elevated-dev.com
обсуждение исходный текст
Ответ на insert data with invalid input syntax for integer:"42P01"  (Pepe TD Vo <pepevo@yahoo.com>)
Список pgsql-admin
> On Feb 11, 2019, at 12:25 PM, Pepe TD Vo <pepevo@yahoo.com> wrote:
>
> insert into cidrmgmt.errorlog(...)

For what it's worth, it seems likely the error is coming from that line (assuming you posted the correct procedure
definition),thus that's the table whose definition matters. Further, the bad value is likely coming from the context,
andthere's no info here that would help figure out why there's "42P01" where an integer is required. But I can tell you
thatPG's nearest equivalent of Oracle's sys_context is untyped, always a string, so there would have to be a cast to an
integertype. But of course you can't cast 42P01 to an integer, so that has to be figured out first. 



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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: insert data with invalid input syntax for integer:"42P01"
Следующее
От: Scott Ribe
Дата:
Сообщение: Re: insert data with invalid input syntax for integer:"42P01"