pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: soundar rajan <psrajan@yahoo.com>
To: Mike Beller <beller@tradeworx.com>
To: Ed Loehr <ELOEHR@austin.rr.com>
To: pgsql-general@postgreSQL.org
Cc: Thomas Reinke <reinke@e-softinc.com>
Cc: Jose Soares <jose@sferacarta.com>
Cc: pgsql-general@postgreSQL.org
Subject: Trigger
Date: Wed, 22 Dec 1999 07:17:54 -0800 (PST)
Message-ID: <19991222151754.19849.qmail@web2106.mail.yahoo.com> (raw)

I'm trying to create a trigger.  The function I'm
using returns the count(*) from a table.  But, during
the creation of the trigger, I get an error stating
the function must return opaque.  I tried the same
with the function to be returning a varchar.  But,
again I get the same error. 

In simple words, it's this.  I'm trying to create a
simple trigger which just prints out a message (as
dbms_out.println() in oracle) before or after
insertion or updation on a table.  Even if it doesn't
print a message, some changes to be made on the table.
 Can some one give me a simple example which does it. 


Thanks in advance.
__________________________________________________
Do You Yahoo!?
Thousands of Stores.  Millions of Products.  All in one place.
Yahoo! Shopping: http://shopping.yahoo.com



view thread (47+ messages)  latest in thread

Message-ID: <19991222151754.19849.qmail@web2106.mail.yahoo.com>
Permalink:  ../19991222151754.19849.qmail@web2106.mail.yahoo.com/
Also on:    postgresql.org/message-id/19991222151754.19849.qmail@web2106.mail.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-general@postgresql.org
  Cc: psrajan@yahoo.com, beller@tradeworx.com, ELOEHR@austin.rr.com, reinke@e-softinc.com, jose@sferacarta.com
  Subject: Re: Trigger
  In-Reply-To: <19991222151754.19849.qmail@web2106.mail.yahoo.com>
  References: <19991222151754.19849.qmail@web2106.mail.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