Thread: [pgjdbc/pgjdbc] b840bf: fix: improve thread safety of PgResultSet#getTimes...

  Branch: refs/heads/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: b840bf2edb5f83f3b965f74de286d985698424e2
      https://github.com/pgjdbc/pgjdbc/commit/b840bf2edb5f83f3b965f74de286d985698424e2
  Author: sz-liva <33718672+sz-liva@users.noreply.github.com>
  Date:   2023-01-12 (Thu, 12 Jan 2023)

  Changed paths:
    M pgjdbc/src/main/java/org/postgresql/core/BaseConnection.java
    M pgjdbc/src/main/java/org/postgresql/jdbc/PgConnection.java
    M pgjdbc/src/main/java/org/postgresql/jdbc/PgResultSet.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/ResultSetTest.java

  Log Message:
  -----------
  fix: improve thread safety of PgResultSet#getTimestamp (#2726)

Previously, PgResultSet#getTimestamp used a connection-shared TimestampUtils,
so PgResultSet#getTimestamp produced wrong results on concurrent access to resultests derived
from different statements of the same connection.

fixes https://github.com/pgjdbc/pgjdbc/issues/2723