Improving disable integrity of PostgreSQL Connection Adapter.

Now checking if user is superuser and can disable referential integrity,
and commiting the right SQL, depending what is possible to do.