Skip site navigation (1) Skip section navigation (2)


From: Mauri Sahlberg <Mauri(dot)Sahlberg(at)pretax(dot)net>
To: Markus Post <mpost(at)purematic(dot)com>
Cc: pgsql-php(at)postgresql(dot)org
Subject: Re: PL/PGSQL
Date: 2003-02-28 06:00:51
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-php

On to, 2003-02-27 at 20:29, Markus Post wrote:
>     Hello together!
> I have a little question, because I found the answer nowhere in the Net.
> How I can call a stored pl/pgsql-function from my SQL-Client.
> In an SQL-statement I call it like "select MYFUNCTION(blah, blah) from
> ...".
> I need it without the SQL-Statement.
> In Oracle I would be:
>    MYFUNCTION(...);
> END;

You're probably looking from the wrong place. At least the answer can be
found from

On that page, heading 19.5.3 states that you can do:


if you wish to discard the return value. 
Or if your function returns something then you do:


Development Manager, B.SC    | This message is probably digitally 
Pretax Systems Oy            | signed as well. Contact me to obtain my
Pääskylänrinne 8,            | public key.
FIN-00500-Helsinki, Finland  | This signature has performed an illegal
+358 9 6155 3252             | operation and will be terminated...

In response to

  • PL/PGSQL at 2003-02-27 18:29:57 from Markus Post


pgsql-php by date

Next:From: Markus PostDate: 2003-02-28 16:24:24
Subject: Re: PL/PGSQL
Previous:From: Markus PostDate: 2003-02-27 18:29:57
Subject: PL/PGSQL

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group