pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: fathur rohman <fathur_edp@yahoo.com>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Trigger and PL Registration Problem
Date: Sat, 18 Feb 2006 07:42:08 +0000 (GMT)
Message-ID: <20060218074208.72600.qmail@web36808.mail.mud.yahoo.com> (raw)

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 



Message-ID: <20060218074208.72600.qmail@web36808.mail.mud.yahoo.com>
Permalink:  ../20060218074208.72600.qmail@web36808.mail.mud.yahoo.com/
Also on:    postgresql.org/message-id/20060218074208.72600.qmail@web36808.mail.mud.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: fathur_edp@yahoo.com
  Subject: Re: Trigger and PL Registration Problem
  In-Reply-To: <20060218074208.72600.qmail@web36808.mail.mud.yahoo.com>
  References: <20060218074208.72600.qmail@web36808.mail.mud.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox