[pgjdbc/pgjdbc] 582785: tests: UUID vs setString test - Mailing list pgsql-jdbc

From Vladimir Sitnikov
Subject [pgjdbc/pgjdbc] 582785: tests: UUID vs setString test
Date
Msg-id 5aa2e7033c12c_3d122ae3a1009c044234a@hookshot-fe-6e9b612.cp1-iad.github.net.mail
Whole thread Raw
List pgsql-jdbc
  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



pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: Logical WAL streaming & START_REPLICATION
Next
From: Vladimir Sitnikov
Date:
Subject: [pgjdbc/pgjdbc] 750486: fix: support generated keys for WITH queries