pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sumita Biswas (sbiswas) <sbiswas@cisco.com>
To: pgsql-sql@postgresql.org
Subject: Function
Date: Thu, 12 Feb 2004 17:10:38 +0530
Message-ID: <01a001c3f15d$099afa70$2a154d0a@apac.cisco.com> (raw)

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




view thread (22+ messages)  latest in thread

Message-ID: <01a001c3f15d$099afa70$2a154d0a@apac.cisco.com>
Permalink:  ../01a001c3f15d$099afa70$2a154d0a@apac.cisco.com/
Also on:    postgresql.org/message-id/01a001c3f15d$099afa70$2a154d0a@apac.cisco.com

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: sbiswas@cisco.com
  Subject: Re: Function
  In-Reply-To: <01a001c3f15d$099afa70$2a154d0a@apac.cisco.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