pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dave Cramer <noreply@github.com>
To: pgsql-jdbc@lists.postgresql.org
Subject: [pgjdbc/pgjdbc] 138d58: Ms goodman time gettimestamp micros (#2181)
Date: Mon, 15 Nov 2021 08:17:55 -0800
Message-ID: <pgjdbc/pgjdbc/push/refs/heads/master/e50bcc-138d58@github.com> (raw)

  Branch: refs/heads/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: 138d589592babba2a14cb6c6db8dc6f9a159495f
      https://github.com/pgjdbc/pgjdbc/commit/138d589592babba2a14cb6c6db8dc6f9a159495f
  Author: Dave Cramer <davecramer@gmail.com>
  Date:   2021-11-15 (Mon, 15 Nov 2021)

  Changed paths:
    M pgjdbc/src/main/java/org/postgresql/jdbc/PgResultSet.java
    M pgjdbc/src/main/java/org/postgresql/jdbc/TimestampUtils.java
    M pgjdbc/src/test/java/org/postgresql/test/jdbc2/TimestampTest.java

  Log Message:
  -----------
  Ms goodman time gettimestamp micros (#2181)

* fix: add microsecond precision to getTimestamp() called on sql TIME(6)

Currently, "when fetching a value of type TIME(6) through
resultSet.getTimestamp() only ms precision is retained, the microsecond
fractional digits are lost." This change will retain the microsecond
precision when .getTimestamp() is called on TIME(6).

Closes #1537

* add handling for binary representation of timetz, add to timezonetest

* make toTimestampBin arguments nullable

* Correct getTime when type is DATE

* fix: add microsecond precision to getTimestamp() called on sql TIME(6)

Co-authored-by: Mike Goodman <msgoodman90@gmail.com>







Message-ID: <pgjdbc/pgjdbc/push/refs/heads/master/e50bcc-138d58@github.com>
Permalink:  ../pgjdbc%2Fpgjdbc%2Fpush%2Frefs%2Fheads%2Fmaster%2Fe50bcc-138d58@github.com/
Also on:    postgresql.org/message-id/pgjdbc/pgjdbc/push/refs/heads/master/e50bcc-138d58@github.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: noreply@github.com
  Subject: Re: [pgjdbc/pgjdbc] 138d58: Ms goodman time gettimestamp micros (#2181)
  In-Reply-To: <pgjdbc/pgjdbc/push/refs/heads/master/e50bcc-138d58@github.com>
  References: <pgjdbc/pgjdbc/push/refs/heads/master/e50bcc-138d58@github.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox