Re: How to simulate (run) the function

From: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
To: bilal ghayyad <bilmar_gh(at)yahoo(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: How to simulate (run) the function
Date: 2009-09-05 02:51:50
Message-ID: dcc563d10909041951w6365ee67v47138c8818dace95@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Fri, Sep 4, 2009 at 8:43 PM, bilal ghayyad<bilmar_gh(at)yahoo(dot)com> wrote:
> Hello;
>
> I have an SQL function and I need to know how to simulate it (calling it and pass for it the argument and see what the value it returns), HOW? Can I do this from the pgAdminIII GUI or from the CLI?
>
> This method help to check that the function is working fine specially if it will be called using the a specific username which has access to that function.

You could call it in a transaction and roll back at the end of it.

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Frank Bax 2009-09-05 04:10:49 Re: Substring
Previous Message bilal ghayyad 2009-09-05 02:43:06 How to simulate (run) the function