Added kludgy check for PostgreSQL version if "--unlogged" option is used.