fix psql command line options for older pg