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 CC0725E46F9 for ; Fri, 27 Aug 2004 13:28:59 -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 65641-08 for ; Fri, 27 Aug 2004 16:29:01 +0000 (GMT) Received: from joeconway.com (66-146-172-86.skyriver.net [66.146.172.86]) by svr1.postgresql.org (Postfix) with ESMTP id 441475E46FB for ; Fri, 27 Aug 2004 13:28:51 -0300 (ADT) Received: from [206.19.64.3] (account jconway HELO [172.16.1.115]) by joeconway.com (CommuniGate Pro SMTP 4.1.8) with ESMTP-TLS id 2148586; Fri, 27 Aug 2004 09:21:05 -0700 Message-ID: <412F6149.4040303@joeconway.com> Date: Fri, 27 Aug 2004 09:28:57 -0700 From: Joe Conway User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Daoust Cc: Peter Eisentraut , pgsql-odbc@postgresql.org Subject: Re: Returning back a resultset from a stored function References: <20040827162345.865.qmail@web40914.mail.yahoo.com> In-Reply-To: <20040827162345.865.qmail@web40914.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200408/55 X-Sequence-Number: 4364 Daniel Daoust wrote: >>"select * from somefunc();" is certainly SQL, so >>what is the problem? > > Then, could you help me understand why I am getting > the following message 'ERROR: parser: parse error at > or near "(" ' when I run the select from 'psql'. What version of Postgres? If it is prior to 7.3, table functions are not supported. Joe