pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Aftab Alam <aalam@tatashare.com>
To: pgsql-admin@postgresql.org
Subject: trigger
Date: Fri, 18 Nov 2005 16:46:24 +0530
Message-ID: <000701c5ec31$8366c430$ec1010ac@aftabn463> (raw)

Hello,

I want to create a trigger in PostgresSQL

In trigger, Before inserting the record, if data is already in the table,
the trigger fire the mesaage that data is already there, and after that
trigger ckeck for next insert statement.

Pleae help me in this regard , kindly  reply.

Regards,

_____

Aftab Alam

view thread (6+ messages)  latest in thread

Message-ID: <000701c5ec31$8366c430$ec1010ac@aftabn463>
Permalink:  ../000701c5ec31$8366c430$ec1010ac@aftabn463/
Also on:    postgresql.org/message-id/000701c5ec31$8366c430$ec1010ac@aftabn463

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: aalam@tatashare.com
  Subject: Re: trigger
  In-Reply-To: <000701c5ec31$8366c430$ec1010ac@aftabn463>

* 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