Addition and subtraction operations for the interval and integer types

From: yangyz <1197620467(at)qq(dot)com>
To: pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Addition and subtraction operations for the interval and integer types
Date: 2026-02-26 05:53:28
Message-ID: tencent_F904F0D6FEC24808CEFFD42E64C4D12F9B07@qq.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Hackers,

When working on Oracle compatibility-related tasks, I discovered that
PostgreSQL does not support the addition and subtraction operations
between interval and integer (such usage is usually seen when performing
time calculations in Oracle).&nbsp;In order to enhance the compatibility&nbsp;
between Oracle and PostgreSQL, I implemented it.

Regards,

Yang Yuanzhuo

Attachment Content-Type Size
v1-0002-Addition-and-subtraction-operations.patch application/octet-stream 5.9 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Chao Li 2026-02-26 06:07:14 doc: Clarify that empty COMMENT string removes the comment
Previous Message Andrey Borodin 2026-02-26 05:51:16 Re: Improve OAuth discovery logging