Displaying 4 results from an estimated 4 matches for "dict_iterate".
2009 Aug 09
1
Wiki entry for expire plugin, PostgreSQL trigger needs update
...sername = NEW.username AND mailbox = NEW.mailbox;
RETURN NULL;
ELSE
RETURN NEW;
END IF;
END;
$$ LANGUAGE plpgsql;
CREATE TRIGGER mergeexpires BEFORE INSERT ON expires
FOR EACH ROW EXECUTE PROCEDURE merge_expires();
At least that's what I think after looking at the code:
iter = dict_iterate_init(dict, DICT_EXPIRE_PREFIX,
DICT_ITERATE_FLAG_RECURSE |
DICT_ITERATE_FLAG_SORT_BY_VALUE);
/* We'll get the oldest values (timestamps) first */
while (dict_iterate(iter, &key, &value) > 0) {
/* key = DICT_EXPIRE_PREFIX<user>/<mailbox...
2011 Sep 28
0
Problems running Dovecot 1.2.17 on AIX
...ut a
runtime definition
of the symbol was not found.
rtld: 0712-001 Symbol mail_user_module_register was referenced
from module
/local/dovecot-test/lib/dovecot/imap/lib01_acl_plugin.so(), but a
runtime definition
of the symbol was not found.
rtld: 0712-001 Symbol dict_iterate_init was referenced
from module
/local/dovecot-test/lib/dovecot/imap/lib01_acl_plugin.so(), but a
runtime definition
of the symbol was not found.
rtld: 0712-001 Symbol dict_iterate was referenced
from module
/local/dovecot-test/lib/dovecot/imap/lib01_acl_plugin.so(), b...
2010 Feb 20
1
v2.0.beta3 released
...ailbox_free(). added a different
mailbox_close(), which only closes opened mailbox, but doesn't free it.
- mailbox_delete(), mailbox_rename() APIs changed
- notify plugin's delete/rename API changed as well
- mailbox GUID is now looked up using mailbox_get_guid(), not
mailbox_status()
- dict_iterate*() API changed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://dovecot.org/pipermail/dovecot/attachments/20100220/83b5cdaa/attachment-0002...
2010 Feb 20
1
v2.0.beta3 released
...ailbox_free(). added a different
mailbox_close(), which only closes opened mailbox, but doesn't free it.
- mailbox_delete(), mailbox_rename() APIs changed
- notify plugin's delete/rename API changed as well
- mailbox GUID is now looked up using mailbox_get_guid(), not
mailbox_status()
- dict_iterate*() API changed
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://dovecot.org/pipermail/dovecot/attachments/20100220/83b5cdaa/attachment-0002...