Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gxHFd-0002I5-Dg for pgsql-sql@arkaria.postgresql.org; Fri, 22 Feb 2019 20:16:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gxHFb-0003P5-Kq for pgsql-sql@arkaria.postgresql.org; Fri, 22 Feb 2019 20:16:51 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gxHFb-0003Oy-07 for pgsql-sql@lists.postgresql.org; Fri, 22 Feb 2019 20:16:51 +0000 Received: from resqmta-po-11v.sys.comcast.net ([2001:558:fe16:19:96:114:154:170]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gxHFW-0004xc-I2 for pgsql-sql@lists.postgresql.org; Fri, 22 Feb 2019 20:16:49 +0000 Received: from resomta-po-06v.sys.comcast.net ([96.114.154.230]) by resqmta-po-11v.sys.comcast.net with ESMTP id xG68gz8sGgNePxHFRgwiOJ; Fri, 22 Feb 2019 20:16:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20161114; t=1550866601; bh=HQd/Z5g1gcUEXqjWqfyLythUBKfoBseYH8evfhy6fRc=; h=Received:Received:Date:From:Reply-To:To:Message-ID:Subject: MIME-Version:Content-Type; b=BGDkRU2qId7g8V+TQkiwZ/kJQn04x3Wk2eFO12MbgkXmlx+iCm9jYnK8z6aUQ0KZ3 EFhkEB1bG00FqLKlWnazeNJTnzuJ3L6GGgSBmhvqWdgYNatbBGydFW5kgKo305D0g9 CEsRSUU3SmvUECQv7am/XUzF/pkHlGC0lDpwiIZKXBRo0DB9XfY+OmaMxiG8xheW1I hW1/ljUSkH25ctHCFF/P/18orKzq/XynVy+ixXY6NV6jq8LGszFwPbs0bvFng1mdh+ KwGLiqlrbSvk8bJBtRuJeGqsA00/Oqk1Te0l+rnv+uFcT77rYlKiSsnBqAse7NWxqW rygRS1pe2f4Dw== Received: from oxapp-hoa-77o.email.comcast.net ([96.116.225.32]) by resomta-po-06v.sys.comcast.net with ESMTPS id xHFQgoylxkqFrxHFQgRVDI; Fri, 22 Feb 2019 20:16:41 +0000 X-Xfinity-VAAS: gggruggvucftvghtrhhoucdtuddrgedutddruddtgddufeeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuvehomhgtrghsthdqtfgvshhipdfqfgfvpdfpqffurfetoffkrfenuceurghilhhouhhtmecufedttdenucgotffhvedqqdeurggukfhmphhorhhtrghntggvucdlvddtmdenucfjughrpeffhfhrvffkufggtgfrkgfoihesrgdtregsredtjeenucfhrhhomhepoffkvefjtefgnfcunfetkgfnqfcukffkkfcuoehgihgrnhhtmhgvthhfrghnsegtohhmtggrshhtrdhnvghtqeenucfkphepleeirdduudeirddvvdehrdefvddpudehhedrudejkedrudektddruddvnecurfgrrhgrmhephhgvlhhopehogigrphhpqdhhohgrqdejjehordgvmhgrihhlrdgtohhmtggrshhtrdhnvghtpdhinhgvthepleeirdduudeirddvvdehrdefvddpmhgrihhlfhhrohhmpehgihgrnhhtmhgvthhfrghnsegtohhmtggrshhtrdhnvghtpdhrtghpthhtohepphhgshhqlhdqshhqlheslhhishhtshdrphhoshhtghhrvghsqhhlrdhorhhgnecuvehluhhsthgvrhfuihiivgeptd X-Xfinity-VMeta: sc=??;st=legit Date: Fri, 22 Feb 2019 21:16:40 +0100 (CET) From: MICHAEL LAZLO III Reply-To: MICHAEL LAZLO III To: pgsql-sql@lists.postgresql.org Message-ID: <2070566063.34453.1550866600553@connect.xfinity.com> Subject: Database link MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_34452_1821487661.1550866600551" X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.8.4-Rev38 X-Originating-IP: ::ffff:155.178.180.12 X-Originating-Client: open-xchange-appsuite List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ------=_Part_34452_1821487661.1550866600551 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Does postgresql allow connectivity as Oracle does using database links? Which allows someone logged into 1 postgresql database to query a table in another postgresql database? The table in second database would have some sort of alias to allow something like this: SELECT * FROM REMOTE_TABLE@; ------=_Part_34452_1821487661.1550866600551 MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit

Does postgresql allow connectivity as Oracle does using database links? Which allows someone logged into 1 postgresql database to query a table in another postgresql database? The table in second database would have some sort of alias to allow something like this:


SELECT * FROM REMOTE_TABLE@<CONNECTION STRING TO 2ND DB/ALIAS>;

------=_Part_34452_1821487661.1550866600551--