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 1mgSjC-0007tE-Li for pgsql-general@arkaria.postgresql.org; Fri, 29 Oct 2021 14:19:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mgSjB-0007GO-8b for pgsql-general@arkaria.postgresql.org; Fri, 29 Oct 2021 14:19:29 +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 1mgSjA-0007GA-VZ for pgsql-general@lists.postgresql.org; Fri, 29 Oct 2021 14:19:28 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mgSj8-0003fh-7v for pgsql-general@lists.postgresql.org; Fri, 29 Oct 2021 14:19:28 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 19TEJNuY627236; Fri, 29 Oct 2021 10:19:23 -0400 From: Tom Lane To: Pratik Mehta cc: pgsql-general@lists.postgresql.org Subject: Re: Postgres dblink example In-reply-to: References: Comments: In-reply-to Pratik Mehta message dated "Fri, 29 Oct 2021 19:32:54 +0530" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <627234.1635517163.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 29 Oct 2021 10:19:23 -0400 Message-ID: <627235.1635517163@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Pratik Mehta writes: > I am an Oracle DBA with 12 years experience. The example in Postgres > dblink_connect page seems incomplete. We find it difficult to understand= . > How can I get access to more examples ? If you're really confused, you could look at the module's regression tests: https://git.postgresql.org/gitweb/?p=3Dpostgresql.git;a=3Dblob;f=3Dcontrib= /dblink/sql/dblink.sql;h=3D7a71817d65b97fc549b4b54f531e6692f8273d58;hb=3DH= EAD https://git.postgresql.org/gitweb/?p=3Dpostgresql.git;a=3Dblob;f=3Dcontrib= /dblink/expected/dblink.out;h=3D91cbd744a996020c44a3e98fa1c7fd224008ef98;h= b=3DHEAD regards, tom lane