fix issue #34

fix #34 the id should be interface{} for postgres adapter.