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 6F7735E46F5 for ; Fri, 27 Aug 2004 13:06:11 -0300 (ADT) 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 60265-04 for ; Fri, 27 Aug 2004 16:06:13 +0000 (GMT) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by svr1.postgresql.org (Postfix) with SMTP id 1F0105E46D2 for ; Fri, 27 Aug 2004 13:06:03 -0300 (ADT) Received: (qmail 31479 invoked by uid 65534); 27 Aug 2004 16:06:07 -0000 Received: from dsl-213-023-254-163.arcor-ip.net (EHLO colt.pezone.net) (213.23.254.163) by mail.gmx.net (mp011) with SMTP; 27 Aug 2004 18:06:07 +0200 X-Authenticated: #495269 From: Peter Eisentraut To: Daniel Daoust , pgsql-odbc@postgresql.org Subject: Re: Returning back a resultset from a stored function Date: Fri, 27 Aug 2004 18:06:07 +0200 User-Agent: KMail/1.5.1 References: <20040827150409.37863.qmail@web40910.mail.yahoo.com> In-Reply-To: <20040827150409.37863.qmail@web40910.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200408271806.07016.peter_e@gmx.net> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.2 tagged_above=0.0 required=5.0 tests=THE_FOLLOWING_FORM X-Spam-Level: * X-Archive-Number: 200408/52 X-Sequence-Number: 4361 Daniel Daoust wrote: > I have found that "psqlodbc" does not support the > refcursor type. > I also investigated the following form: " select * > from somefunc(); ", but realized that this worked only > inside "PL/pgSQL", therefore could not be used > directly from SQL. "select * from somefunc();" is certainly SQL, so what is the problem? -- Peter Eisentraut http://developer.postgresql.org/~petere/