Error in manual

Поиск
Список
Период
Сортировка
От Travis Bauer
Тема Error in manual
Дата
Msg-id Pine.GSO.4.21.0005180830220.9918-100000@piccolo.cs.indiana.edu
обсуждение исходный текст
Ответы Re: Error in manual  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: Error in manual  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Thanks for the help on the libperl question.  I bet recompiling the
sources will fix my problem.

There is an error in the example in the file: triggers20290.htm.  All the
elog statements list "WARN" as the first parameter.  However WARN is not
defined in elog.h (or, it seems, anywhere else).  In my code, I just used
NOTICE instead and it worked okay.

On another note, I noticed that when you load a dynamically loaded c
library using the create funtion statement in psql, the library is never
reloaded unless you quit psql and restart it, even if you "drop function",
change the library, and recreate the function.  This is good for making
the code work fast (you don't want postgress to keep checking to see if
the library has changed), but this should probably be noted somewhere in
the programmers manual.  If you don't know this, debugging a c function
can be quite frustrating.

----------------------------------------------------------------
Travis Bauer | CS Grad Student | IU |www.cs.indiana.edu/~trbauer
----------------------------------------------------------------


В списке pgsql-general по дате отправления:

Предыдущее
От: Jeffery Collins
Дата:
Сообщение: Passing arguments to and INDEX function.
Следующее
От: Jeffery Collins
Дата:
Сообщение: Re: initdb and "exit_nicely"...