Re: Generic way to test input arguments

Поиск
Список
Период
Сортировка
От Raymond O'Donnell
Тема Re: Generic way to test input arguments
Дата
Msg-id ea04a880-6afe-961f-ece0-364fa9fdbc0f@iol.ie
обсуждение исходный текст
Ответ на Generic way to test input arguments  (said assemlal <said.assemlal@gmail.com>)
Ответы Re: Generic way to test input arguments  (Pavel Stehule <pavel.stehule@gmail.com>)
Re: Generic way to test input arguments  (Saïd Assemlal <said.assemlal@gmail.com>)
Список pgsql-general
On 17/10/16 16:40, said assemlal wrote:
> Hello,
>
> I am looking for a way to test generically input arguments to raise an
> exception if one is either null or empty.
>
> I was thinking to create a function who takes an array to check them but
> not sure if it's really good.

It's not clear what you want to do here. Can you explain in more detail?

What do you mean by "input arguments"? Are you writing functions in the
database? If so, which language? Some examples of what you've tried so
far would help too.

Ray.




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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: avoiding index on incremental column
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: Generic way to test input arguments