pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Fuhr <mike@fuhr.org>
To: dedy <slackman@unika.ac.id>
Cc: pgsql-admin@postgresql.org
Subject: Re: why oh why procedure
Date: Thu, 28 Apr 2005 20:40:14 -0600
Message-ID: <20050429024014.GA68161@winnie.fuhr.org> (raw)
In-Reply-To: <20050429004807.25402.qmail@mail.unika.ac.id>
References: <20050429004807.25402.qmail@mail.unika.ac.id>

On Fri, Apr 29, 2005 at 07:48:07AM +0700, dedy wrote:
>
> I want to create store procedure and the sql is 
> 
> CREATE PROCEDURE CARI_DATA

In PostgreSQL you'll need to use CREATE FUNCTION.  See also the
PL/pgSQL documentation to learn its syntax and capabilities.  Here
are links to documentation for the latest version:

http://www.postgresql.org/docs/8.0/interactive/sql-createfunction.html
http://www.postgresql.org/docs/8.0/interactive/plpgsql.html

-- 
Michael Fuhr
http://www.fuhr.org/~mfuhr/



view thread (2+ messages)

Message-ID: <20050429024014.GA68161@winnie.fuhr.org>
Permalink:  ../20050429024014.GA68161@winnie.fuhr.org/
Also on:    postgresql.org/message-id/20050429024014.GA68161@winnie.fuhr.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mike@fuhr.org, slackman@unika.ac.id
  Subject: Re: why oh why procedure
  In-Reply-To: <20050429024014.GA68161@winnie.fuhr.org>
  References: <20050429004807.25402.qmail@mail.unika.ac.id> <20050429024014.GA68161@winnie.fuhr.org>

* 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