error calling pgmail function

From: indu ss <ind1_us(at)yahoo(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: error calling pgmail function
Date: 2006-02-03 09:12:19
Message-ID: 20060203091219.83569.qmail@web52602.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Hello,

I want to send mail on update of a field in a table.
I'm using pgmail() function (from sourceforge) . I'm
calling this function from another function which is
called by trigger on update of the field.
On executing the update statement i get error

CONTEXT: compile of PL/pgSQL function "pgmail" near
line 1
PL/pgSQL function "test" line 10 at assignment

The line 10 corresponds to the line where pgmail
function is called.

pos := pgmail(p1,p2,p3,p4);

Can anyone help me? I'm using postgres 7.4.7 version.

Thanks

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Doug McNaught 2006-02-03 10:39:30 Re: Automating backup
Previous Message Michael Crozier 2006-02-03 08:41:26 Re: News from IBM (DB2)