Trigger and PL Registration Problem

From: fathur rohman <fathur_edp(at)yahoo(dot)com>
To: "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Trigger and PL Registration Problem
Date: 2006-02-18 07:42:08
Message-ID: 20060218074208.72600.qmail@web36808.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi Every Body,

i'v declared my trigger function with plpgsql.
there's problems with statements inside IF .. END IF
block that not executed at all.
i guess from plpgsql problem so i registering
procedural language that more friendly to me, thereis
plpython/plpythonu, but the problem rise again.

this is illustration :

J:\Program Files\PostgreSQL\8.1\bin>createlang -U
postgres -d template1 plpythonu
Error messages:
createlang: language installation failed: ERROR:
could not load library "J:/Pro
gram Files/PostgreSQL/8.1/lib/plpython.dll": The
specified module could not be f
ound.

my questions :

1. whats wrong with the trigger.
2. although the directory already exists, an error
message "The specified module could not be f
ound".raised when i registering pl, whats the problem?
3. thanks all.

My Specs :

- Win 2000 Advanced Server Powered NAS
- Borland Delphi 7
- PGOleDB 1.0.0.19
- PostgreSQL 8.1.1
- Intel P4 2.4 GHz, 256 MB RAM.

Send instant messages to your online friends http://uk.messenger.yahoo.com

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2006-02-18 18:16:02 Re: Function Parameter Problem
Previous Message fathur rohman 2006-02-18 07:40:39 Function Parameter Problem