pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Bayet <bayet@enseirb.fr>
To: Oliver Vecernik <vecernik@aon.at>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: PL/pgSQL
Date: Fri, 02 Mar 2001 20:01:29 +0100
Message-ID: <3A9FEE09.3648B537@enseirb.fr> (raw)
References: <Pine.BSF.4.21.0103020856590.51118-100000@megazone23.bigpanda.com>

First, verify that the environment variable PGLIB is set to the directory
where plpgsql.so can be found.
Then use createlang as mentionned: createlang plpgsql dbname.
Note that you can make the plpgsql language available for all database if
dbname is "template1" (the "Queen" of all databases)...

PS: sorry Stephan for the private mail :)

Stephan Szabo a écrit :

> You need to run createlang to install the procedural languages
> (createlang <language> <db>).
>
> On Fri, 2 Mar 2001, Oliver Vecernik wrote:
>
> > Hi,
> >
> > I recently started using postgresql. I'm running version 7.0.3 on a SuSE
> > 7.1 Linux box. I'm trying to test the examples in the user's guide. But
> > I can not create a function with language 'plpgsql'.
> >
> > It seems there has some installation be done to achieve that. But how?
> > Can anybody point me to the doc on this or give me some other hints?
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org




view thread (8+ messages)  latest in thread

Message-ID: <3A9FEE09.3648B537@enseirb.fr>
Permalink:  ../3A9FEE09.3648B537@enseirb.fr/
Also on:    postgresql.org/message-id/3A9FEE09.3648B537@enseirb.fr

 · 

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: bayet@enseirb.fr, vecernik@aon.at
  Subject: Re: PL/pgSQL
  In-Reply-To: <3A9FEE09.3648B537@enseirb.fr>
  References: <Pine.BSF.4.21.0103020856590.51118-100000@megazone23.bigpanda.com> <3A9FEE09.3648B537@enseirb.fr>

* 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