X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 0A5D5D1D362 for ; Thu, 12 Feb 2004 11:40:45 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 58997-06 for ; Thu, 12 Feb 2004 07:40:45 -0400 (AST) Received: from ind-iport-1.cisco.com (ind-iport-1-sec.cisco.com [64.104.129.9]) by svr1.postgresql.org (Postfix) with ESMTP id 3D9D1D1D2F7 for ; Thu, 12 Feb 2004 07:40:41 -0400 (AST) Received: from india-core-1.cisco.com (64.104.129.221) by ind-iport-1.cisco.com with ESMTP; 12 Feb 2004 22:43:03 +0530 Received: from cisco.com (charminar.cisco.com [192.135.240.11]) by india-core-1.cisco.com (8.12.10/8.12.6) with ESMTP id i1CBeXWT022432 for ; Thu, 12 Feb 2004 03:40:34 -0800 (PST) Received: from sbiswasw2k01 (dhcp-10-77-21-42.cisco.com [10.77.21.42]) by cisco.com (8.8.8-Cisco List Logging/8.8.8) with ESMTP id RAA29893 for ; Thu, 12 Feb 2004 17:08:50 +0530 (IST) Reply-To: From: "Sumita Biswas (sbiswas)" To: Subject: Function Date: Thu, 12 Feb 2004 17:10:38 +0530 Organization: cisco systems Message-ID: <01a001c3f15d$099afa70$2a154d0a@apac.cisco.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4024 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 Importance: Normal X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200402/160 X-Sequence-Number: 16851 Hi All, This function of mine gives a Parse Error: CREATE or replace FUNCTION Proc_ConferenceSummary(date,date,int,int,int) RETURNS SETOF tbl_error_master AS ' declare li_CallManagerId int; begin select * FROM tbl_error_master; end; ' LANGUAGE SQL; psql:Proc_ConferenceSummary.sql:9: ERROR: parser: parse error at or near "int" at character 31 I don't see any Syntax Error. Can you please let me know what can be the issue? Regards, Sumita