Re: [PATCH] Add mssql_compat extension with DATEDIFF function

Pavel Stehule <pavel.stehule@gmail.com>

From: Pavel Stehule <pavel.stehule@gmail.com>
To: Peter Eisentraut <peter@eisentraut.org>
Cc: Myles Lewis <myles93@sbcglobal.net>, pgsql-hackers@lists.postgresql.org
Date: 2025-11-26T04:29:46Z
Lists: pgsql-hackers
Hi

út 25. 11. 2025 v 21:15 odesílatel Peter Eisentraut <peter@eisentraut.org>
napsal:

> On 25.11.25 04:25, Myles Lewis wrote:
> > I'd like to propose a new contrib extension: mssql_compat, which provides
> > SQL Server compatible date functions starting with DATEDIFF.
>
> I think this could best live as an external project.
>
> orafce is a similar project but for Oracle.  There might also be others
> for other products.


For projects like this it is better to be an external project - it doesn't
depend on Postgres release cycles - so development can be faster. Really,
significantly faster.
And there is bigger space for some experiments and improvements - and for
future changes.

Regards

Pavel