From: Pam Wampler <Pam_Wampler@taylorwhite.com>
To: pgsql-admin@postgresql.org
Subject: Help on Trugger/Function
Date: Thu, 14 Feb 2002 16:46:37 -0500
Message-ID: <2E4528861499D41199D200A0C9B15BC0012F4504@taylorwhite.com> (raw)
I am new to postgresql -- I am trying to create a trigger on a table --
I get this error on the function
ERROR: Unrecognized language specified in a CREATE FUNCTION: 'plpgsql'.
Recognized languages are sql, C, internal, and created procedural
languages.
Here is my function that I get this error on:
create function head_insert() returns OPAQUE as '
BEGIN
NEW.tests := 0;
NEW.fails := 0;
NEW.reps := 0;
END;
'
LANGUAGE 'plpgsql';
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: Pam_Wampler@taylorwhite.com
Subject: Re: Help on Trugger/Function
In-Reply-To: <2E4528861499D41199D200A0C9B15BC0012F4504@taylorwhite.com>
References: <2E4528861499D41199D200A0C9B15BC0012F4504@taylorwhite.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