pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Ray Stell <stellr@vt.edu>
To: pgsql-odbc@postgresql.org
Subject: Re: newbie tries to get oracle db to select from postgresql
Date: Thu, 18 Feb 2016 09:36:22 -0800
Message-ID: <56C60116.7000304@aklaver.com> (raw)
In-Reply-To: <56C5F915.8050807@vt.edu>
References: <56C5CDAA.5000808@vt.edu>
	<56C5F5DD.80608@aklaver.com>
	<56C5F915.8050807@vt.edu>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

On 02/18/2016 09:02 AM, Ray Stell wrote:
>
>
> On 2/18/16 11:48 AM, Adrian Klaver wrote:
>> On 02/18/2016 05:56 AM, Ray Stell wrote:
>>> Forgive me if this is a misplaced post.
>>>
>>> I've been requested to get an Oracle 11g db to be able to select from a
>>> postgresql 9.4 db and I've never gone here before.  I was reading from
>>> here:
>>> https://dbaspot.wordpress.com/2013/05/29/how-to-access-postgresql-from-oracle-database/
>>>
>>>
>>> and it says to install odbc rpm on the oracle server:  # yum install
>>> postgresql91-odbc  on the oracle server.
>>>
>>> The one available is older:
>>>  > yum info postgresql-odbc.x86_64
>>> Loaded plugins: priorities, ulninfo
>>> Available Packages
>>> Name        : postgresql-odbc
>>> Arch        : x86_64
>>> Version     : 08.04.0200
>>> Release     : 1.el6
>>> Size        : 267 k
>>> Repo        : ol6_latest
>>> Summary     : PostgreSQL ODBC driver
>>> URL         : http://psqlodbc.projects.postgresql.org/
>>> License     : LGPLv2+
>>> Description : This package includes the driver needed for applications
>>> to access a
>>>              : PostgreSQL system via ODBC (Open Database Connectivity).
>>
>> I am going to guess you are using Oracle Linux 6, is that correct?
>
>  > cat /etc/oracle-release
> Oracle Linux Server release 6.7

So from here:

http://www.postgresql.org/download/linux/redhat/

8.04 is probably the default for this version.

You could follow the instructions at the above link and use the PGDG yum 
repo for Oracle 6. That would get you access to newer versions.

>
>
>>
>> If not what distribution are you using?
>>
>> Where did you install Postgres from?
>
> compiled from src, 9.4.4, but will patch to 9.4.6 shortly.
>
> The pg server lives on:
>  > cat /etc/redhat-release
> CentOS release 6.7 (Final)
>
>
> Thanks for any help on this.
> Ray
>>
>>>
>>> Is this ok to use with postgresql 9x?  If not do I need to install
>>> postgresql server components in order to build psqlodbc-09.05.0100?
>>>
>>> Is there a better, detailed howto on this topic?
>>>
>>>
>>
>>
>


-- 
Adrian Klaver
adrian.klaver@aklaver.com


-- 
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc



view thread (8+ messages)  latest in thread

Message-ID: <56C60116.7000304@aklaver.com>
Permalink:  ../56C60116.7000304@aklaver.com/
Also on:    postgresql.org/message-id/56C60116.7000304@aklaver.com

 · 

reply

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-odbc@postgresql.org
  Cc: adrian.klaver@aklaver.com, stellr@vt.edu
  Subject: Re: newbie tries to get oracle db to select from postgresql
  In-Reply-To: <56C60116.7000304@aklaver.com>
  References: <56C5CDAA.5000808@vt.edu> <56C5F5DD.80608@aklaver.com> <56C5F915.8050807@vt.edu> <56C60116.7000304@aklaver.com>

* 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