From: Tom Lane <tgl@sss.pgh.pa.us>
To: werner.fraga@computalog.com
Cc: pgsql-sql@postgreSQL.org
Subject: Re: [SQL] problems creating functions and triggers
Date: Mon, 10 Jan 2000 19:40:16 -0500
Message-ID: <7468.947551216@sss.pgh.pa.us> (raw)
In-Reply-To: <00011015363303.07948@shorty.edmonton.computalog.com>
References: <00011015363303.07948@shorty.edmonton.computalog.com>
Werner Fraga <werner.fraga@computalog.com> writes:
> 1. I noticed that some examples show the LANGUAGE in the CREATE FUNCTION
> command can be 'plpgsql'. However, if I try using this instead of 'sql', I get
> ERROR: Unrecognized language specified in a CREATE FUNCTION ...
You need to run the "createlang" script to install plpgsql in the
particular database you are using.
If you want plpgsql to be available by default in a given installation,
you can install it in template1 --- subsequently created DBs will be
clones of template1.
> 3. Is there anywhere I can find a list of the system tables? (that section in
> Bruce's book is still empty...)
\dS in psql...
regards, tom lane
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-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, werner.fraga@computalog.com
Subject: Re: [SQL] problems creating functions and triggers
In-Reply-To: <7468.947551216@sss.pgh.pa.us>
References: <00011015363303.07948@shorty.edmonton.computalog.com> <7468.947551216@sss.pgh.pa.us>
* 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