pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: shreedhar <shreedhar@lucidindia.net>
To: Postgres <pgsql-admin@postgresql.org>
Subject: Is it possible to get the return value of trigger function using PHP or any other method.
Date: Sat, 14 Sep 2002 09:57:28 +0530
Message-ID: <001801c25ba7$095a3cd0$1201a8c0@a4005> (raw)

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@lucidindia.net




view thread (2+ messages)  latest in thread

Message-ID: <001801c25ba7$095a3cd0$1201a8c0@a4005>
Permalink:  ../001801c25ba7$095a3cd0$1201a8c0@a4005/
Also on:    postgresql.org/message-id/001801c25ba7$095a3cd0$1201a8c0@a4005

 · 

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: shreedhar@lucidindia.net
  Subject: Re: Is it possible to get the return value of trigger function using PHP or any other method.
  In-Reply-To: <001801c25ba7$095a3cd0$1201a8c0@a4005>
  References: <001801c25ba7$095a3cd0$1201a8c0@a4005>

* 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