Re: Generic way to test input arguments - Mailing list pgsql-general

From Raymond O'Donnell
Subject Re: Generic way to test input arguments
Date
Msg-id ea04a880-6afe-961f-ece0-364fa9fdbc0f@iol.ie
Whole thread Raw
In response to Generic way to test input arguments  (said assemlal <said.assemlal@gmail.com>)
Responses Re: Generic way to test input arguments
Re: Generic way to test input arguments
List 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 by date:

Previous
From: Stephen Frost
Date:
Subject: Re: avoiding index on incremental column
Next
From: Pavel Stehule
Date:
Subject: Re: Generic way to test input arguments