Is it possible to get the return value of trigger function using PHP or any other method.

From: "shreedhar" <shreedhar(at)lucidindia(dot)net>
To: "Postgres" <pgsql-admin(at)postgresql(dot)org>
Subject: Is it possible to get the return value of trigger function using PHP or any other method.
Date: 2002-09-14 04:27:28
Message-ID: 001801c25ba7$095a3cd0$1201a8c0@a4005
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi All,

I would like to put one query which is firing trigger in transactions(Begin,
commit and rollback). If the trigger function success then i have to commit
transaction, if fails i have to rollback.

How can I send return value of trigger function after executing the query.

Is it possible to get the return value of trigger function using PHP or any
other method.

I am using PHP as scripting language, and plpgsql for trigger function.

Regards,
Sreedhar Bhaskararaju 1,2nd Main Road, KottuGardens, Chennai - 600 085 Ph :
4475111 Email : shreedhar(at)lucidindia(dot)net

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2002-09-14 14:59:35 Re: LEFT JOINs takes forever...almost.
Previous Message Nikolaus Dilger 2002-09-14 03:38:47 Re: LEFT JOINs takes forever...almost.