edit for non-Postgres ver