Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1elW0L-0007iX-AI for pgsql-general@arkaria.postgresql.org; Tue, 13 Feb 2018 08:31:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elW0J-0000Qd-Mk for pgsql-general@arkaria.postgresql.org; Tue, 13 Feb 2018 08:31:55 +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 1elW0J-0000QT-C0 for pgsql-general@lists.postgresql.org; Tue, 13 Feb 2018 08:31:55 +0000 Received: from mx2.mailbox.org ([80.241.60.215]) by makus.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1elW0G-0005IR-Jb for pgsql-general@postgresql.org; Tue, 13 Feb 2018 08:31:54 +0000 Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx2.mailbox.org (Postfix) with ESMTPS id 594E640E57; Tue, 13 Feb 2018 09:31:48 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by hefe.heinlein-support.de (hefe.heinlein-support.de [91.198.250.172]) (amavisd-new, port 10030) with ESMTP id YjqpAYrLl6UZ; Tue, 13 Feb 2018 09:31:45 +0100 (CET) Message-ID: <1518510704.2525.5.camel@cybertec.at> Subject: Re: oracle_fdw Question From: Laurenz Albe To: chiru r , Forums postgresql Date: Tue, 13 Feb 2018 09:31:44 +0100 In-Reply-To: References: Organization: Cybertec Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk chiru r wrote: > I am trying to install and configure the oracle_fdw on PostgreSQL DB servers. > What we are trying is, inorder to install (make, make install) oracle_fdw on all DB servers,we want to compile on one server and want build a package/tar file to copy the library files and required SQL scripts into all other servers. > So that it will reduce the installation efforts. > > can we copy the oracle_fdw.so file into "/9.5/lib/postgresql" > And oracle_fdw.control,oracle_fdw--1.1.sql and oracle_fdw--1.0--1.1.sql files into "/9.5/share/postgresql/extension" directory. > Is this the right approach? > > Is there any process to create re-locatable binary files for oracle_fdw? As long as you have the same version of the same operating system on all machines and all required software is installed in the same versions, it should be no problem to build it on one machine and install it on the others. The process you describe looks right; just make sure the files end up in the same directories where "make install" installs them on the build machine. I am not quite sure what you mean with a "relocatable binary file". Yours, Laurenz Albe