Fix the postgre format: Rename it to postgres, including the tag. The old
format is still supported. Also improve valid().