Re: Why mention to Oracle ? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Why mention to Oracle ?
Date
Msg-id 2440814.1726847629@sss.pgh.pa.us
Whole thread Raw
In response to Re: Why mention to Oracle ?  (Tomas Vondra <tomas@vondra.me>)
Responses Re: Why mention to Oracle ?
List pgsql-hackers
Tomas Vondra <tomas@vondra.me> writes:
> On 9/20/24 14:36, Marcos Pegoraro wrote:
>> Why PostgreSQL DOCs needs to show or compare the Oracle way of doing
>> things ?

> I didn't dig into all the places you mention, but I'd bet those places
> reference Oracle simply because it was the most common DB people either
> migrated from or needed to support in their application next to PG, and
> thus were running into problems. The similarity of the interfaces and
> SQL dialects also likely played a role. It's less likely to run into
> subtle behavior differences e.g. SQL Server when you have to rewrite
> T-SQL stuff from scratch anyway.

As far as the mentions in "Data Type Formatting Functions" go, those
are there because those functions are not in the SQL standard; we
stole the API definitions for them from Oracle, lock stock and barrel.
(Except for the discrepancies that are called out by referencing what
Oracle does differently.)  A number of the other references probably
have similar origins.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: Adding skip scan (including MDAM style range skip scan) to nbtree
Next
From: "David G. Johnston"
Date:
Subject: Re: Why mention to Oracle ?