Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jhDs6-0008Vu-5z for pgsql-general@arkaria.postgresql.org; Fri, 05 Jun 2020 15:03:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jhDs4-0004sH-Im for pgsql-general@arkaria.postgresql.org; Fri, 05 Jun 2020 15:03:00 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jhDs4-0004sA-Am for pgsql-general@lists.postgresql.org; Fri, 05 Jun 2020 15:03:00 +0000 Received: from hermes.gatewaynet.com ([193.92.121.98]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jhDrx-0003BD-8h for pgsql-general@lists.postgresql.org; Fri, 05 Jun 2020 15:02:59 +0000 Received: from smadev.internal.net (pc131.internal.net [10.9.200.131]) by hermes.gatewaynet.com (8.15.2/8.15.2/Debian-8) with ESMTPS id 055F2jH8006318 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 5 Jun 2020 18:02:51 +0300 Received: from smadev.internal.net (smadev [10.9.200.131]) by smadev.internal.net (8.15.2/8.15.2) with ESMTP id 055F2jJ6038717 for ; Fri, 5 Jun 2020 18:02:45 +0300 (EEST) (envelope-from achill@matrix.gatewaynet.com) Subject: Re: Oracle vs. PostgreSQL - a comment To: pgsql-general@lists.postgresql.org References: <0959C81A-5B07-4D04-A6B1-57AA78A9A553@gmail.com> <20200601095835.GA1996@hjp.at> <974ab21a-013c-8dbc-18f5-575f1e356647@postgrespro.ru> <20200602183038.GY6680@tamriel.snowman.net> From: Achilleas Mantzios Message-ID: Date: Fri, 5 Jun 2020 18:02:45 +0300 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.3.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Virus-Scanned: clamav-milter 0.101.4 at hermes X-Virus-Status: Clean X-Spam-Status: No, score=-28.9 required=5.0 tests=ALL_TRUSTED,DYN_HAM_COORD, DYN_HAM_IT,DYN_HAM_NAUTICAL,TW_PG autolearn=unavailable autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on hermes.gatewaynet.com List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 5/6/20 5:19 μ.μ., Thomas Kellerer wrote: > Achilleas Mantzios schrieb am 05.06.2020 um 14:05: >>> Plus PG does not directly support cross database queries using 3 part name, something >>> sqlserver excels at. >> Maybe because SQL server does not have real databases but schemas instead ? >> This sucks security wise. > That is wrong. > > SQL Server has both: databases and schemas and it allows for standard compliant catalog.schema.table references. > > I think you are confusing that with MySQL where a schema and a database are the same thing I think that you are confusing what you think I am confusing. I am talking about our MS SQL installation here at work. Not done by me anyways I am the pgsql guy, but still do most of the query stuff in ms sql as well. I wrote already that my comment was far fetched in a subsequent email. > > -- Achilleas Mantzios IT DEV Lead IT DEPT Dynacom Tankers Mgmt