Function not RAISE NOTICE if a parameter is NULL

Поиск
Список
Период
Сортировка
От Andre Lopes
Тема Function not RAISE NOTICE if a parameter is NULL
Дата
Msg-id w2v18f98e681005041509u784cbfe1vc0cbfa0507aa5866@mail.gmail.com
обсуждение исходный текст
Ответы Re: Function not RAISE NOTICE if a parameter is NULL  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hi,

I have a function, that I'm debugging...

If I use NULL in any parameter the function does not RAISE any NOTICE. I can't pass NULL values in parameters?

[code]
select apr_ins_gder_2_1
('table_fgh' /* Varchar */,
'id_fgh' /* Varchar */,
'5' /* Varchar */,
NULL /* Date */,
'2001-01-05' /* Date */,
'coment...' /* Varchar */)
[/code]

Solutions for pass NULL values in the parameters and receive RAISE NOTICE's?

Sorry for my english.


Best Regards,

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

Предыдущее
От: Andre Lopes
Дата:
Сообщение: Re: How to exit/abort from a function that returns VOID?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Function not RAISE NOTICE if a parameter is NULL