pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Triggers on backend
2+ messages / 2 participants
[nested] [flat]

* Triggers on backend
@ 1999-10-11 18:39 Nicolas Boretos <nicolasb@maich.gr>
  1999-10-12 06:56 ` RE: [SQL] Triggers on backend Sergey Bondarenko <sbon@scelto.ts.kiev.ua>
  0 siblings, 1 reply; 2+ messages in thread

From: Nicolas Boretos @ 1999-10-11 18:39 UTC (permalink / raw)
  To: pgsql-sql

Hello,

I would like to move triggers from the client side of my app to the
backend but am confused as how to do it, particularly with the
"function" switch on the trigger creation. The docs say a user defined
"c" function but I only want to run some updates to my tables (sql
statements).
Can someone give a concrete example of this?

Sincerely,
Nicolas Boretos



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* RE: [SQL] Triggers on backend
  1999-10-11 18:39 Triggers on backend Nicolas Boretos <nicolasb@maich.gr>
@ 1999-10-12 06:56 ` Sergey Bondarenko <sbon@scelto.ts.kiev.ua>
  0 siblings, 0 replies; 2+ messages in thread

From: Sergey Bondarenko @ 1999-10-12 06:56 UTC (permalink / raw)
  To: Nicolas Boretos <nicolasb@maich.gr>; +Cc: pgsql-sql

You should use PL/pgSQL or PL/TCL language to to this.
I'm using it alot. It works. Read the dox.

On 11-Oct-99 Nicolas Boretos wrote:
> Hello,
> 
> I would like to move triggers from the client side of my app to the
> backend but am confused as how to do it, particularly with the
> "function" switch on the trigger creation. The docs say a user defined
> "c" function but I only want to run some updates to my tables (sql
> statements).
> Can someone give a concrete example of this?
> 
> Sincerely,
> Nicolas Boretos
> 
> ************

Sergey Bondarenko
Relcom-Ukraine system administrator




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~1999-10-12 06:56 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1999-10-11 18:39 Triggers on backend Nicolas Boretos <nicolasb@maich.gr>
1999-10-12 06:56 ` Sergey Bondarenko <sbon@scelto.ts.kiev.ua>

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