Modify SQLite PRAGMA handlers