pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephan Szabo <sszabo@megazone.bigpanda.com>
To: Sumita Biswas (sbiswas) <sbiswas@cisco.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Function
Date: Sun, 15 Feb 2004 11:36:45 -0800 (PST)
Message-ID: <20040215113632.Y88869@megazone.bigpanda.com> (raw)
In-Reply-To: <01a001c3f15d$099afa70$2a154d0a@apac.cisco.com>
References: <01a001c3f15d$099afa70$2a154d0a@apac.cisco.com>

On Thu, 12 Feb 2004, Sumita Biswas (sbiswas) wrote:

> 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;

I think you want plpgsql as the language.



view thread (22+ messages)  latest in thread

Message-ID: <20040215113632.Y88869@megazone.bigpanda.com>
Permalink:  ../20040215113632.Y88869@megazone.bigpanda.com/
Also on:    postgresql.org/message-id/20040215113632.Y88869@megazone.bigpanda.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: sszabo@megazone.bigpanda.com, sbiswas@cisco.com
  Subject: Re: Function
  In-Reply-To: <20040215113632.Y88869@megazone.bigpanda.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