always use postgresql
remove warning that pdf is already defined