Re: Generic way to test input arguments

From: Raymond O'Donnell <rod(at)iol(dot)ie>
To: said assemlal <said(dot)assemlal(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Generic way to test input arguments
Date: 2016-10-17 19:09:02
Message-ID: ea04a880-6afe-961f-ece0-364fa9fdbc0f@iol.ie
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2016-10-17 19:30:00 Re: Generic way to test input arguments
Previous Message Stephen Frost 2016-10-17 15:49:13 Re: avoiding index on incremental column