Re: Re: how to get trigger start function not procedure - Mailing list pgsql-novice

From Oliver Elphick
Subject Re: Re: how to get trigger start function not procedure
Date
Msg-id 200012301845.eBUIjeH18576@linda.lfix.co.uk
Whole thread Raw
In response to Re: how to get trigger start function not procedure  (chris Günther <guenther@uscreen.de>)
List pgsql-novice
chris Gnther wrote:
  >Hi and thanks a lot for your answer. Now it seems I have another problem:
  >When I try to follow your example - slightly changed to fit my needs -
  >I get the message:
  >
  >    ERROR:  Unrecognized language specified in a
  >        CREATE FUNCTION: 'plpgsql'.
  >    Recognized languages are sql, C, internal and
  >        the created procedural languages.

You need to enable plpgsql in each database where it is to be used.

Run the script src/pl/plpgsql/enable_plpgsql

--
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47  6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "Give to him that asketh thee, and from him that would
      borrow of thee turn not away."
                                      Matthew 5:42



pgsql-novice by date:

Previous
From: chris Günther
Date:
Subject: Re: how to get trigger start function not procedure
Next
From: "Albert REINER"
Date:
Subject: Re: Re: how to get trigger start function not procedure