Esempio n. 1
0
// Incremental executes incremental_vacuum to free up to pages many pages. If
// pages is 0, all pages are freed. If the current auto_vacuum mode is not
// INCREMENTAL, an error is returned.
func (keyDB *KeyDB) Incremental(pages int64) error {
	return encdb.Incremental(keyDB.encDB, pages)
}
Esempio n. 2
0
// Incremental executes incremental_vacuum to free up to pages many pages. If
// pages is 0, all pages are freed. If the current auto_vacuum mode is not
// INCREMENTAL, an error is returned.
func (msgDB *MsgDB) Incremental(pages int64) error {
	return encdb.Incremental(msgDB.encDB, pages)
}