removing extra 'postgres' arguments