pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: Markus Wagner <wagner@imsd.uni-mainz.de>
To: pgsql-sql@postgresql.org
Subject: Re: unrecognized language 'plpgsql'
Date: Wed, 20 Jun 2001 10:51:45 +0100
Message-ID: <009001c0f970$22054d00$1001a8c0@archonet.com> (raw)
References: <3B303440.38F71364@imsd.uni-mainz.de>

From: "Markus Wagner" <wagner@imsd.uni-mainz.de>

> Hi,
>
> when creating a function I get the error message 'unrecognized
> language'.
> What's this? I need a powerful language which can retrieve many things
> (username, tables, attributes, etc.).
> Isn't plpgsql the best choice? Why this message and where can I find
> more documentation on plpgsql?

Try "man createlang" - you need to turn a language on for each database that
needs it.

The docs for plpgsql have been much updated in the 7.1 docs and there are
some useful examples in Roberto Mello's cookbook at
techdocs.postgresql.org - there is a host of other stuff there too including
some examples of trigger usage in my "postgresql notes".

- Richard Huxton




view thread (3+ messages)  latest in thread

Message-ID: <009001c0f970$22054d00$1001a8c0@archonet.com>
Permalink:  ../009001c0f970$22054d00$1001a8c0@archonet.com/
Also on:    postgresql.org/message-id/009001c0f970$22054d00$1001a8c0@archonet.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: dev@archonet.com, wagner@imsd.uni-mainz.de
  Subject: Re: unrecognized language 'plpgsql'
  In-Reply-To: <009001c0f970$22054d00$1001a8c0@archonet.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