Error in manual - Mailing list pgsql-general

From Travis Bauer
Subject Error in manual
Date
Msg-id Pine.GSO.4.21.0005180830220.9918-100000@piccolo.cs.indiana.edu
Whole thread Raw
Responses Re: Error in manual
Re: Error in manual
List 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 by date:

Previous
From: Jeffery Collins
Date:
Subject: Passing arguments to and INDEX function.
Next
From: Jeffery Collins
Date:
Subject: Re: initdb and "exit_nicely"...