| From: | marcmuel <noreply(at)github(dot)com> |
|---|---|
| To: | pgsql-jdbc(at)lists(dot)postgresql(dot)org |
| Subject: | [pgjdbc/pgjdbc] fb3151: fix: use local TimestampUtil in PgStatement and Pg... |
| Date: | 2021-11-10 09:45:28 |
| Message-ID: | pgjdbc/pgjdbc/push/refs/heads/master/6b0c86-fb3151@github.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-jdbc |
Branch: refs/heads/master
Home: https://github.com/pgjdbc/pgjdbc
Commit: fb315187220ba85e231dcaefd7fadad2457c477e
https://github.com/pgjdbc/pgjdbc/commit/fb315187220ba85e231dcaefd7fadad2457c477e
Author: marcmuel <marcus(dot)mueller(at)schwarz-infosysteme(dot)de>
Date: 2021-11-10 (Wed, 10 Nov 2021)
Changed paths:
M pgjdbc/src/main/java/org/postgresql/jdbc/PgCallableStatement.java
M pgjdbc/src/main/java/org/postgresql/jdbc/PgPreparedStatement.java
M pgjdbc/src/main/java/org/postgresql/jdbc/PgResultSet.java
M pgjdbc/src/main/java/org/postgresql/jdbc/PgStatement.java
Log Message:
-----------
fix: use local TimestampUtil in PgStatement and PgResultset for thread safety (#2291)
* fix: use local TimestampUtil in PgStatement and PgResultset for thread
safety
TimestampUtil is not thread safe. It raises exceptions when multiple threads use ResultSets of one connection.
If PgStatement and PgResultSet use their own TimestampUtil no synchronize is needed.
This belongs to Issue fix: synchronize modification of shared calendar (#921)
Co-authored-by: Marcus Müller <marcmuel(at)github(dot)com>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Dave Cramer | 2021-11-10 14:14:34 | [pgjdbc/pgjdbc] 343231: move comment to appropriate place and add explanat... |
| Previous Message | Sergey Nuyanzin | 2021-11-01 18:20:51 | [pgjdbc/pgjdbc] 6b0c86: [typo] typo in CONTRIBUTING.md (#2332) |