Error in manual

From: Travis Bauer <trbauer(at)indiana(dot)edu>
To: pgsql-general(at)postgresql(dot)org
Subject: Error in manual
Date: 2000-05-18 13:40:01
Message-ID: Pine.GSO.4.21.0005180830220.9918-100000@piccolo.cs.indiana.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
----------------------------------------------------------------

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Pascal IMBERT 2000-05-18 14:05:59 connect postgresql to a oracacle database
Previous Message Jeffery Collins 2000-05-18 12:39:46 Re: initdb and "exit_nicely"...