X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 6440D3A4859 for ; Thu, 20 Jan 2005 19:46:47 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 67070-08 for ; Thu, 20 Jan 2005 19:46:34 +0000 (GMT) Received: from gk-us2.michelin.com (gk-us2.michelin.com [156.65.14.19]) by svr1.postgresql.org (Postfix) with ESMTP id 16A583A4924 for ; Thu, 20 Jan 2005 19:46:34 +0000 (GMT) Received: from ONCMH1.onc.michelin.com (unverified) by gk-us2.michelin.com (Content Technologies SMTPRS 4.3.10) with ESMTP id for ; Thu, 20 Jan 2005 14:39:08 -0500 Received: from oncmtap1.onc.michelin.com by oncmh1.onc.michelin.com with ESMTP for pgsql-odbc@postgresql.org; Thu, 20 Jan 2005 14:41:19 -0500 Received: from oncems01.onc.michelin.com ([156.65.125.150]) by oncmtap1.onc.michelin.com (Netscape Messaging Server 4.15) with ESMTP id IAMS9K00.QT8 for ; Thu, 20 Jan 2005 14:46:32 -0500 Received: from us.michelin.com (unverified) by oncems01.onc.michelin.com (Content Technologies SMTPRS 4.2.5) with ESMTP id ; Thu, 20 Jan 2005 14:46:32 -0500 Message-Id: <41F00A96.3090104@us.michelin.com> Date: Thu, 20 Jan 2005 14:46:30 -0500 From: "Greg Campbell" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Joost Kraaijeveld Cc: "Pgsql-Odbc (E-mail)" Subject: Re: How to call a stored procedure in PostgreSQL References: In-Reply-To: Content-Type: multipart/mixed; boundary="------------000101080005020000010807" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.019 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200501/54 X-Sequence-Number: 4849 This is a multi-part message in MIME format. --------------000101080005020000010807 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Addendum "SELECT procedure_name(arg1, arg2)" for NON-select non-data returning queries "SELECT * FROM procedure_name(arg1, arg2)" for SELECT queries 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... > >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 > > --------------000101080005020000010807 Content-Type: text/x-vcard; charset=utf8; name="greg.campbell.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="greg.campbell.vcf" begin:vcard fn:Greg Campbell n:Campbell;Greg org:Michelin North America;ENG-IT adr;dom:;;2420 Two Notch Road;Lexington;SC;29071 email;internet:greg.campbell@us.michelin.com title:Systems Engineer tel;work:803-951-5561 tel;fax:803-951-5531 x-mozilla-html:FALSE version:2.1 end:vcard --------------000101080005020000010807--