Re: unrecognized language 'plpgsql'

From: "Richard Huxton" <dev(at)archonet(dot)com>
To: "Markus Wagner" <wagner(at)imsd(dot)uni-mainz(dot)de>, <pgsql-sql(at)postgresql(dot)org>
Subject: Re: unrecognized language 'plpgsql'
Date: 2001-06-20 09:51:45
Message-ID: 009001c0f970$22054d00$1001a8c0@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

From: "Markus Wagner" <wagner(at)imsd(dot)uni-mainz(dot)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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Richard Huxton 2001-06-20 10:02:32 Re: [SQL] log file
Previous Message Mahesh Guleria 2001-06-20 05:46:39 Row Level Locking !!