Re: Re: how to get trigger start function not procedure

Поиск
Список
Период
Сортировка
От Oliver Elphick
Тема Re: Re: how to get trigger start function not procedure
Дата
Msg-id 200012301845.eBUIjeH18576@linda.lfix.co.uk
обсуждение исходный текст
Ответ на Re: how to get trigger start function not procedure  (chris Günther <guenther@uscreen.de>)
Список 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 по дате отправления:

Предыдущее
От: chris Günther
Дата:
Сообщение: Re: how to get trigger start function not procedure
Следующее
От: "Albert REINER"
Дата:
Сообщение: Re: Re: how to get trigger start function not procedure