Re: pgmemcache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 12, 2006 at 04:03:43PM -0700, Josh Berkus wrote:
> PFC,
> 
> > 	It would be nice to have ON COMMIT triggers for this use.
> >
> > 	However you can emulate ON COMMIT triggers with a modification of the
> > memcache update process :
> 
> Well, I'm back in touch with the GORDA project so possibly we can have 
> BEFORE COMMIT triggers after all.
> 
> BTW, it's important to note that AFTER COMMIT triggers are logically 
> impossible, so please use BEFORE COMMIT so that it's clear what we're 
> talking about.

Why are AFTER COMMIT triggers impossible? ISTM they would be useful as a
means to indicate to some external process if a transaction succeeded or
not. And for some things you might only want to fire the trigger after
you knew that the transaction had committed.
-- 
Jim C. Nasby, Sr. Engineering Consultant      jnasby@xxxxxxxxxxxxx
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461


[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux