Thread: [pgjdbc/pgjdbc] 582785: tests: UUID vs setString test

[pgjdbc/pgjdbc] 582785: tests: UUID vs setString test

From
Vladimir Sitnikov
Date:
  Branch: refs/heads/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: 5827858ba5b72b519feb86fc65301a7bffa10c4d
      https://github.com/pgjdbc/pgjdbc/commit/5827858ba5b72b519feb86fc65301a7bffa10c4d
  Author: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
  Date:   2018-03-09 (Fri, 09 Mar 2018)

  Changed paths:
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/BaseTest4.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc4/UUIDTest.java

  Log Message:
  -----------
  tests: UUID vs setString test

By default, setString sends 'varchar' datatype, and PostgreSQL might result in
<<ERROR: column "id" is of type uuid but expression is of type character varying>>

There's stringType option that enables sending strings as UNSPECIFIED type to overcome that error.

fixes #1133