From: Scott Marlowe <scott.marlowe@gmail.com>
To: bilal ghayyad <bilmar_gh@yahoo.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: How to simulate (run) the function
Date: Fri, 4 Sep 2009 20:51:50 -0600
Message-ID: <dcc563d10909041951w6365ee67v47138c8818dace95@mail.gmail.com> (raw)
In-Reply-To: <711886.79685.qm@web53910.mail.re2.yahoo.com>
References: <711886.79685.qm@web53910.mail.re2.yahoo.com>
On Fri, Sep 4, 2009 at 8:43 PM, bilal ghayyad<bilmar_gh@yahoo.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.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: scott.marlowe@gmail.com, bilmar_gh@yahoo.com
Subject: Re: How to simulate (run) the function
In-Reply-To: <dcc563d10909041951w6365ee67v47138c8818dace95@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox