From: Joshua D. Drake <jd@commandprompt.com>
To: Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
Cc: Pgsql-Odbc (E-mail) <pgsql-odbc@postgresql.org>
Subject: Re: How to call a stored procedure in PostgreSQL
Date: Thu, 20 Jan 2005 11:30:42 -0800
Message-ID: <41F006E2.5010002@commandprompt.com> (raw)
In-Reply-To: <A3D1526C98B7C1409A687E0943EAC41048A0D6@obelix.askesis.nl>
References: <A3D1526C98B7C1409A687E0943EAC41048A0D6@obelix.askesis.nl>
Joost Kraaijeveld wrote:
> Hi all,
>
> How do I call a stored procedure in PostgreSQL? I tried "call procedure-name (arg 1, arg2)" but that does not seem to work...
select procedure(arg1,arg2)
or
select * from procedure(arg1,arg2)
depending on the type.
Sincerely,
Joshua D. Drake
>
> Groeten,
>
> Joost Kraaijeveld
> Askesis B.V.
> Molukkenstraat 14
> 6524NB Nijmegen
> tel: 024-3888063 / 06-51855277
> fax: 024-3608416
> e-mail: J.Kraaijeveld@Askesis.nl
> web: www.askesis.nl
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
--
Command Prompt, Inc., your source for PostgreSQL replication,
professional support, programming, managed services, shared
and dedicated hosting. Home of the Open Source Projects plPHP,
plPerlNG, pgManage, and pgPHPtoolkit.
Contact us now at: +1-503-667-4564 - http://www.commandprompt.comAttachments:jd.vcf (text/x-vcard, 638B) download
begin:vcard
fn:Joshua D. Drake
n:Drake;Joshua D.
org:Command Prompt, Inc.
adr:;;PO Box 215;Cascade Locks;Oregon;97014;USA
email;internet:jd@commandprompt.com
title:Consultant
tel;work:503-667-4564
tel;fax:503-210-0334
note:Command Prompt, Inc. is the largest and oldest US based commercial PostgreSQL support provider. We provide the only commercially viable integrated PostgreSQL replication solution, but also custom programming, and support. We authored the book Practical PostgreSQL, the procedural language plPHP, and adding trigger capability to plPerl.
x-mozilla-html:FALSE
url:http://www.commandprompt.com/
version:2.1
end:vcard
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: jd@commandprompt.com, J.Kraaijeveld@Askesis.nl
Subject: Re: How to call a stored procedure in PostgreSQL
In-Reply-To: <41F006E2.5010002@commandprompt.com>
References: <A3D1526C98B7C1409A687E0943EAC41048A0D6@obelix.askesis.nl> <41F006E2.5010002@commandprompt.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