Functional posting to local db