Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dwUvn-0005vK-6A for pgsql-admin@arkaria.postgresql.org; Mon, 25 Sep 2017 15:04:23 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dwUvm-0004vo-FT for pgsql-admin@arkaria.postgresql.org; Mon, 25 Sep 2017 15:04:22 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dwUvl-0004v6-CT for pgsql-admin@postgresql.org; Mon, 25 Sep 2017 15:04:21 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dwUvi-0001o7-AB for pgsql-admin@postgresql.org; Mon, 25 Sep 2017 15:04:20 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v8PF4Geb027919; Mon, 25 Sep 2017 11:04:16 -0400 From: Tom Lane To: Garry Chen cc: "pgsql-admin@postgresql.org" Subject: Re: Foreign data wrappers for Oracle from Postgresql in RDS environment In-reply-to: References: Comments: In-reply-to Garry Chen message dated "Mon, 25 Sep 2017 14:58:35 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <27917.1506351856.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 25 Sep 2017 11:04:16 -0400 Message-ID: <27918.1506351856@sss.pgh.pa.us> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org Garry Chen writes: > I am testing a dblink connection from RDS postgresql data= base to a remote oracle instance but I am getting could not establish conne= ction error. Where did I do wrong and please help. As somebody already explained to you, dblink only does postgres-to-postgres connections. What you need for this is oracle_fdw. I do not know how well that's maintained, but it exists. regards, tom lane --=20 Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin