From: Laurenz Albe <laurenz.albe@cybertec.at>
To: chiru r <chirupg@gmail.com>
To: Forums postgresql <pgsql-general@postgresql.org>
Subject: Re: oracle_fdw Question
Date: Tue, 13 Feb 2018 09:31:44 +0100
Message-ID: <1518510704.2525.5.camel@cybertec.at> (raw)
In-Reply-To: <CA+RSxMij00TUVUHC859ppJ1RsCDYcv2atoXfpxuJtcJmu4z-hw@mail.gmail.com>
References: <CA+RSxMij00TUVUHC859ppJ1RsCDYcv2atoXfpxuJtcJmu4z-hw@mail.gmail.com>
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 "<directory>/9.5/lib/postgresql"
> And oracle_fdw.control,oracle_fdw--1.1.sql and oracle_fdw--1.0--1.1.sql files into "<directory>/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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: laurenz.albe@cybertec.at, chirupg@gmail.com
Subject: Re: oracle_fdw Question
In-Reply-To: <1518510704.2525.5.camel@cybertec.at>
References: <CA+RSxMij00TUVUHC859ppJ1RsCDYcv2atoXfpxuJtcJmu4z-hw@mail.gmail.com> <1518510704.2525.5.camel@cybertec.at>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox