[ejabberd] gen_storage API Questions
W. Andrew Loe III
andrew at andrewloe.com
Thu Jan 6 02:38:57 MSK 2011
I should add the code is online for inspection:
On Wed, Jan 5, 2011 at 3:37 PM, W. Andrew Loe III <andrew at andrewloe.com> wrote:
> I'm working on modifying mod_muc_room to log each message to a table
> (muc_message). I have been able to get messages logged but am stuck on
> the different table types (bag vs set). It seems like both of them are
> not what I want, I need to just insert new records without deleting
> one first, do I really want dirty_write here?
> Also, why does gen_storage_odbc always do DELETE + INSERT vs UPDATE?,
> this negates any performance optimizations the SQL engine may be able
> to do on UPDATES.
More information about the ejabberd