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

From said assemlal
Subject Generic way to test input arguments
Date
Msg-id CAHtsRK+TxT0M3ebkK6TsANio8Kff3Ciitd9T9ynH+_oLCP3rCw@mail.gmail.com
Whole thread Raw
Responses Re: Generic way to test input arguments
List pgsql-general
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.

What would be the best way to achieve that ?

Thanks
Saïd

pgsql-general by date:

Previous
From: Vinicius Segalin
Date:
Subject: Re: Query generator
Next
From: "t.dalpozzo@gmail.com"
Date:
Subject: avoiding index on incremental column