Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1srf44-003dQY-TA for pgsql-hackers@arkaria.postgresql.org; Fri, 20 Sep 2024 14:56:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1srf42-007qkF-3g for pgsql-hackers@arkaria.postgresql.org; Fri, 20 Sep 2024 14:56:55 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1srf41-007qk7-Pb for pgsql-hackers@lists.postgresql.org; Fri, 20 Sep 2024 14:56:55 +0000 Received: from relay7-d.mail.gandi.net ([217.70.183.200]) by makus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1srf40-000BhN-FI for pgsql-hackers@postgresql.org; Fri, 20 Sep 2024 14:56:53 +0000 Received: by mail.gandi.net (Postfix) with ESMTPSA id 2BF8A2000B; Fri, 20 Sep 2024 14:56:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vondra.me; s=gm1; t=1726844209; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CN9G9lCpfmf3PFzv3MkLTkErWRhFH6Bxszq4mNajN2E=; b=VqeuaazqlNf7sgLGHdcHgjr41SF5rLnELBGF48HvnA02Jzr2h4MLz/OdIv6GgkRPyJvFbm bXxAK+8sVgRTmaLeGqwCzYUtCbyYniNXfTryyiPIjBUXIaEh1gbohAtidy4w3jQgDs606l YgnbCF7qN8/Pac0jEiTvKtEz9CvO23i18zI5ZXggIxfVuktbwJQObAvLTGWhctA4wyEmI+ iMlKeCqZdELWuZmYi2fkAfqLP7eBvCLlyg8L+Hs7fZmeWcHOetfQHO0oV1SbCchn5fgBGg YRjb304qiu23urr8S6xLi99v56mK+wqzsx6IRTOjhsATyyVt8oSNYRi1ylakhw== Message-ID: <484a27f9-dea5-4734-93d5-90fb757080bc@vondra.me> Date: Fri, 20 Sep 2024 16:56:48 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Why mention to Oracle ? To: Marcos Pegoraro , pgsql-hackers References: Content-Language: en-US From: Tomas Vondra In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-GND-Sasl: tomas@vondra.me List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 9/20/24 14:36, Marcos Pegoraro wrote: > Why PostgreSQL DOCs needs to show or compare the Oracle way of doing > things ? > > I understand that on page Porting from Oracle PL/SQL is ok to mention > Oracle, but there are other places where it's not needed. Or, if it's ok > to mention, why not mention SQL Server or MySQL or any other ? > It's not quite clear to me whether your suggestion is to not mention any other databases ever, or to always mention every existing one. ;-) 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. regards -- Tomas Vondra