Generic way to test input arguments

From: said assemlal <said(dot)assemlal(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Generic way to test input arguments
Date: 2016-10-17 15:40:05
Message-ID: CAHtsRK+TxT0M3ebkK6TsANio8Kff3Ciitd9T9ynH+_oLCP3rCw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message t.dalpozzo@gmail.com 2016-10-17 15:43:33 avoiding index on incremental column
Previous Message Bastien Bodart 2016-10-17 15:04:55 truncate table restart identity for non-owner