Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aWSWe-0006hw-7O for pgsql-odbc@arkaria.postgresql.org; Thu, 18 Feb 2016 17:38:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aWSWd-0003xj-Kq for pgsql-odbc@arkaria.postgresql.org; Thu, 18 Feb 2016 17:37:59 +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) (envelope-from ) id 1aWSWG-0003YT-IK for pgsql-odbc@postgresql.org; Thu, 18 Feb 2016 17:37:36 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aWSWD-0002sb-P0 for pgsql-odbc@postgresql.org; Thu, 18 Feb 2016 17:37:35 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id D9AE220A5F for ; Thu, 18 Feb 2016 12:37:32 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Thu, 18 Feb 2016 12:37:32 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=aklaver.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=ONaI0PZA9jVjtKkeXBh4G/Z47sM=; b=mCFbiz DOnezNJlJalk2zNeDG3n7HyACmFLiYhIgNu/p/VQsQPWXgt5e+X5T756zQw09f5X EvjenNsNy5wYvD6IHERxD0b91+OU3xMDfJBD5L3dYFfrxQRbSIOYcefY+3HSGTSe q/eNUVR8ZgalnRDefb2YIrlYeS+sLch9NP4S8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=ONaI0PZA9jVjtKk eXBh4G/Z47sM=; b=i3dIlDWAOvIE+fdBSoxUVxjWKnmp7BXEeDI95+0OXSe7chd XuZ0ElV01us6+ySVVa2s5Wj0Ec2r3wrwYp1UIFV+KY71xGq1iaeTsOy8DiPKkpuL +jSpzXL5Z1hFoSaK1BZE33GwugIQ9CKc1vl9g7Qdv8hG5UCPp6WLPL1nG/OA= X-Sasl-enc: IoJQkiKO+TA7n8KQEisOxTPa60dtmo1qMMxUOQPq/1nm 1455817052 Received: from [192.168.1.2] (174-21-70-246.tukw.qwest.net [174.21.70.246]) by mail.messagingengine.com (Postfix) with ESMTPA id 46AE76800F7; Thu, 18 Feb 2016 12:37:32 -0500 (EST) Subject: Re: newbie tries to get oracle db to select from postgresql To: Ray Stell , pgsql-odbc@postgresql.org References: <56C5CDAA.5000808@vt.edu> <56C5F5DD.80608@aklaver.com> <56C5F915.8050807@vt.edu> From: Adrian Klaver Message-ID: <56C60116.7000304@aklaver.com> Date: Thu, 18 Feb 2016 09:36:22 -0800 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <56C5F915.8050807@vt.edu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org 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