Re: RFC 9557 / IXDTF

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgmis(at)posteo(dot)net
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: RFC 9557 / IXDTF
Date: 2025-11-16 21:56:58
Message-ID: 403586.1763330218@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

pgmis(at)posteo(dot)net writes:
> does postgres consider some sort of implementation of rfc9557 IXDTF?
> This is new time internet time format which extends timestamps with
> timezone info together with the offset
> - https://datatracker.ietf.org/doc/html/rfc9557
> - https://en.wikipedia.org/wiki/RFC_9557#Usage

It's not on the radar at the moment. If this standard gets any
real uptake (too soon to tell), somebody might build an extension
datatype that works with it.

AFAICT from a quick read of 9557, the intent is precisely to represent
*more* information than just a point in time, or even just a point in
time and an intended timezone. So IMO it wouldn't make any sense for
the built-in timestamptz type to deal with this. Yeah we could make
timestamptz_in read this format, but it'd be throwing away all of the
additional information over an RFC 3339 timestamp, which seems like
not the right thing.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message COURTAULT Francois 2025-11-17 09:59:21 Redo CREATE DATABASE
Previous Message David Rowley 2025-11-16 21:18:41 Re: RFC 9557 / IXDTF