Re: Addition and subtraction operations for the interval and integer types

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: yangyz <1197620467(at)qq(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Addition and subtraction operations for the interval and integer types
Date: 2026-02-26 06:30:05
Message-ID: CAKFQuwaQu8zmij-ca8C-vqEBZB7imeHAZ1ArSxj4N1dZ8AHgVg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wednesday, February 25, 2026, yangyz <1197620467(at)qq(dot)com> wrote:
>
> In order to enhance the compatibility
> between Oracle and PostgreSQL, I implemented it.
>

This isn’t all that appealing to me. There isn’t really a goal of
increased compatibility’s aside from with the SQL Standard (extensions can
accept that burden IMO). And the utility of preventing people from having
to explicitly write the word ‘day’ is marginal. And given the already
numerous ways to combine data types in date/time I hesitate to add yet more.

David J.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Chao Li 2026-02-26 06:48:06 Re: Patch: Add tsmatch JSONPath operator for granular Full Text Search
Previous Message Amit Kapila 2026-02-26 06:19:53 Re: synchronized_standby_slots behavior inconsistent with quorum-based synchronous replication