(bug 18909) Add missing INSERT SELECT wrapper for Postgres