pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Just Make Sure
2+ messages / 2 participants
[nested] [flat]

* Just Make Sure
@ 2003-01-29 09:20 Yudha Setiawan <yudha@BonBon.net>
  2003-01-29 14:21 ` Re: Just Make Sure Oliver Elphick <olly@lfix.co.uk>
  0 siblings, 1 reply; 2+ messages in thread

From: Yudha Setiawan @ 2003-01-29 09:20 UTC (permalink / raw)
  To: pgsql-admin

Dear Master;
So There's no way to put the Begin Work, Commit Work or Rollback inside Trigger's Function...???? 
Some Explanation will be better :b

GOD Bless You All.



Yudha Setiawan.
VoIP 
    No.        : 01119311223344

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

* Re: Just Make Sure
  2003-01-29 09:20 Just Make Sure Yudha Setiawan <yudha@BonBon.net>
@ 2003-01-29 14:21 ` Oliver Elphick <olly@lfix.co.uk>
  0 siblings, 0 replies; 2+ messages in thread

From: Oliver Elphick @ 2003-01-29 14:21 UTC (permalink / raw)
  To: Yudha Setiawan <yudha@BonBon.net>; +Cc: pgsql-admin

On Wed, 2003-01-29 at 09:20, Yudha Setiawan wrote:
> Dear Master;
> So There's no way to put the Begin Work, Commit Work or Rollback
> inside Trigger's Function...???? 
> Some Explanation will be better :b

No.

All triggers happen within a transaction, whether explicit or implicit
and transactions cannot be nested.

In addition, BEGIN has a different meaning in PL/pgSQL.

-- 
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight, UK                             http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "My son, if sinners entice thee, consent thou not."    
                            Proverbs 1:10 




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


end of thread, other threads:[~2003-01-29 14:21 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-01-29 09:20 Just Make Sure Yudha Setiawan <yudha@BonBon.net>
2003-01-29 14:21 ` Oliver Elphick <olly@lfix.co.uk>

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