From paul_sand@mverify.com Tue Jan 27 22:13:17 2004 X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 214A3D1CCAF for ; Tue, 27 Jan 2004 22:13:17 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 96079-01 for ; Tue, 27 Jan 2004 18:12:46 -0400 (AST) Received: from ice.dls.net (ice.dls.net [209.242.10.147]) by svr1.postgresql.org (Postfix) with ESMTP id A940FD1D239 for ; Tue, 27 Jan 2004 18:12:44 -0400 (AST) Received: from mverify3 (65.117.131.216) by anvil.dls.net (MX V5.3 AnFj) with ESMTP for ; Tue, 27 Jan 2004 15:54:06 -0600 Reply-To: From: "Paul R. Sand" To: Subject: ODBC Connection to External Data Source Date: Tue, 27 Jan 2004 15:55:35 -0600 Organization: mVerify MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0012_01C3E4EE.0248A310" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Thread-Index: AcPlIErE3xM8C2vTQrm9c91u6DoY/Q== Message-Id: <20040127221244.A940FD1D239@svr1.postgresql.org> X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=2.3 tagged_above=0.0 required=5.0 tests=FORGED_MUA_OUTLOOK, HTML_50_60, MISSING_OUTLOOK_NAME X-Spam-Level: ** X-Archive-Number: 200401/101 X-Sequence-Number: 3730 This is a multi-part message in MIME format. ------=_NextPart_000_0012_01C3E4EE.0248A310 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I am looking for procedures on how to connect postgres to an external data source (ODBC to Oracle). I then will query the external data source to write into postgres relations. I can't find information on how to set up the ODBC connection from postgres to Oracle so I can use SQL in postgres to access data in the Oracle database. I have the Oracle ODBC drivers install and can access them with Excel. I need to also access the database from postgres. Any suggestions on where I can find information on how to make this OBDC connection? Thanks! Paul ------=_NextPart_000_0012_01C3E4EE.0248A310 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I am looking for procedures on how to connect postgres t= o an external data source (ODBC to Oracle). I then will query the external data source to write into postgres relations. I can’t find information on = how to set up the ODBC connection from postgres to Oracle so I can use SQL in postgres to access data in the Oracle database. I have the Oracle ODBC driv= ers install and can access them with Excel. I need to also access the database = from postgres. Any suggestions on where I can find information on how to make th= is OBDC connection?

 

Thanks!

 

Paul

------=_NextPart_000_0012_01C3E4EE.0248A310-- From DGoulet@vicr.com Tue Jan 27 22:36:26 2004 X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 9EB55D1D885 for ; Tue, 27 Jan 2004 22:36:26 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 00542-09 for ; Tue, 27 Jan 2004 18:35:55 -0400 (AST) Received: from smtpgate.vicr.com (smtpgate.vicr.com [207.141.187.5]) by svr1.postgresql.org (Postfix) with ESMTP id 3576BD1D55F for ; Tue, 27 Jan 2004 18:35:54 -0400 (AST) Received: from 25exch1.vicorpower.vicr.com ([172.20.20.30]) by exchgate.vicorpower.vicr.com with Microsoft SMTPSVC(5.0.2195.5329); Tue, 27 Jan 2004 17:35:55 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C3E525.ED4DA90A" Subject: Re: ODBC Connection to External Data Source Date: Tue, 27 Jan 2004 17:35:55 -0500 Message-ID: <4001DEAF7DF9BD498B58B45051FBEA656D80E7@25exch1.vicorpower.vicr.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [ODBC] ODBC Connection to External Data Source Thread-Index: AcPlIErE3xM8C2vTQrm9c91u6DoY/QABW+tA From: "Goulet, Dick" To: X-OriginalArrivalTime: 27 Jan 2004 22:35:55.0517 (UTC) FILETIME=[ED5A3AD0:01C3E525] X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/102 X-Sequence-Number: 3731 This is a multi-part message in MIME format. ------_=_NextPart_001_01C3E525.ED4DA90A Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Paul, =20 I may be wrong, but I have not found a method of doing so either. On t= he other hand, look at Oracle's Heterogeneous services to fond out how to c= onnect Oracle to PostGres. Yeah, I know it's backwards, but it may be bett= er than nothing. =20 Dick Goulet Senior Oracle DBA Oracle Certified 8i DBA=20 -----Original Message----- From: Paul R. Sand [mailto:paul_sand@mverify.com] Sent: Tuesday, January 27, 2004 4:56 PM To: pgsql-odbc@postgresql.org Subject: [ODBC] ODBC Connection to External Data Source I am looking for procedures on how to connect postgres to an external data = source (ODBC to Oracle). I then will query the external data source to writ= e into postgres relations. I can't find information on how to set up the OD= BC connection from postgres to Oracle so I can use SQL in postgres to acces= s data in the Oracle database. I have the Oracle ODBC drivers install and c= an access them with Excel. I need to also access the database from postgres= . Any suggestions on where I can find information on how to make this OBDC = connection? =20 Thanks! =20 Paul ------_=_NextPart_001_01C3E525.ED4DA90A Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Paul,
 
    I may be wrong, but I have no= t found=20 a method of doing so either.  On the other hand, look at Oracle's=20 Heterogeneous services to fond out how to connect Oracle to PostGres. = =20 Yeah, I know it's backwards, but it may be better than=20 nothing.
 

Dick Goulet
Senior Oracle DBA
Oracle Certified 8i= =20 DBA

-----Original Message-----
From: Paul R. Sand=20 [mailto:paul_sand@mverify.com]
Sent: Tuesday, January 27, 2004 = 4:56=20 PM
To: pgsql-odbc@postgresql.org
Subject: [ODBC] ODBC= =20 Connection to External Data Source

I am looking for procedures= on how=20 to connect postgres to an external data source (ODBC to Oracle). I then w= ill=20 query the external data source to write into postgres relations. I can= 217;t find=20 information on how to set up the ODBC connection from postgres to Oracle = so I=20 can use SQL in postgres to access data in the Oracle database. I have the= =20 Oracle ODBC drivers install and can access them with Excel. I need to als= o=20 access the database from postgres. Any suggestions on where I can find=20 information on how to make this OBDC connection?=

 

Thanks!

 

Paul

------_=_NextPart_001_01C3E525.ED4DA90A-- From jeff_eckermann@yahoo.com Tue Jan 27 23:29:48 2004 X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 36E88D1CCDD for ; Tue, 27 Jan 2004 23:29:48 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 22150-03 for ; Tue, 27 Jan 2004 19:29:18 -0400 (AST) Received: from web20808.mail.yahoo.com (web20808.mail.yahoo.com [216.136.226.197]) by svr1.postgresql.org (Postfix) with SMTP id CF64CD1CCBE for ; Tue, 27 Jan 2004 19:29:16 -0400 (AST) Message-ID: <20040127232919.20293.qmail@web20808.mail.yahoo.com> Received: from [208.13.35.65] by web20808.mail.yahoo.com via HTTP; Tue, 27 Jan 2004 15:29:19 PST Date: Tue, 27 Jan 2004 15:29:19 -0800 (PST) From: Jeff Eckermann Subject: Re: ODBC Connection to External Data Source To: paul_sand@mverify.com, pgsql-odbc@postgresql.org In-Reply-To: <20040127221244.A940FD1D239@svr1.postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/103 X-Sequence-Number: 3732 --- "Paul R. Sand" wrote: > I am looking for procedures on how to connect > postgres to an external data > source (ODBC to Oracle). I then will query the > external data source to write > into postgres relations. I can't find information on > how to set up the ODBC > connection from postgres to Oracle so I can use SQL > in postgres to access > data in the Oracle database. I have the Oracle ODBC > drivers install and can > access them with Excel. I need to also access the > database from postgres. > Any suggestions on where I can find information on > how to make this OBDC > connection? There is an experimental package out there which allows you to query an Oracle database from a PostgreSQL database, but you probably don't want that (if you are interested, check the archives of the pgsql-hackers list). You really need a client app to do what you want. The app would make separate ODBC connections to the two databases, and transfer data between them as you wish. A simple setup would be to install the PostgreSQL ODBC driver on your workstation (http://gborg.postgresql.org/project/psqlodbc), set up a DSN for your PostgreSQL database, then link to the tables for both databases via a MS Access database. You could then use SQL within Access to do what you want. This could be slow however, depending on your network. __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ From Ben.Trewern@mowlem.com Wed Jan 28 10:30:50 2004 X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 63E7ED1CCDE for ; Wed, 28 Jan 2004 10:30:50 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 16812-06 for ; Wed, 28 Jan 2004 06:30:21 -0400 (AST) Received: from xxx-bfhxx-ms001.mowlem.com (mail.mowlem.com [212.137.27.84]) by svr1.postgresql.org (Postfix) with ESMTP id 5C290D1B51F for ; Wed, 28 Jan 2004 06:30:17 -0400 (AST) Received: from xxx-bfhxx-ex002.mowlem.com (unverified) by xxx-bfhxx-ms001.mowlem.com (Content Technologies SMTPRS 4.2.1) with ESMTP id ; Wed, 28 Jan 2004 10:25:58 +0000 Received: by XXX_BFHXX_EX002 with Internet Mail Service (5.5.2653.19) id ; Wed, 28 Jan 2004 10:26:22 -0000 Message-ID: <996802F75C3CD411B424001083FA445BB2383D@CET_PONXX_FP001> From: "Trewern, Ben" To: "'paul_sand@mverify.com'" , pgsql-odbc@postgresql.org Subject: Re: ODBC Connection to External Data Source Date: Wed, 28 Jan 2004 10:25:55 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative ; boundary="----_=_NextPart_001_01C3E589.1CCCA600" X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/104 X-Sequence-Number: 3733 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C3E589.1CCCA600 Content-Type: text/plain What you're looking for is dblink it's in the contrib directory of the postgres distribution. Not sure how it works as I haven't used it but it does have some documentation. Regards, Ben -----Original Message----- From: Paul R. Sand [mailto:paul_sand@mverify.com] Sent: 27 January 2004 21:56 To: pgsql-odbc@postgresql.org Subject: [ODBC] ODBC Connection to External Data Source I am looking for procedures on how to connect postgres to an external data source (ODBC to Oracle). I then will query the external data source to write into postgres relations. I can't find information on how to set up the ODBC connection from postgres to Oracle so I can use SQL in postgres to access data in the Oracle database. I have the Oracle ODBC drivers install and can access them with Excel. I need to also access the database from postgres. Any suggestions on where I can find information on how to make this OBDC connection? Thanks! Paul ***************************************************************************** This email and any attachments transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender and do not store, copy or disclose the content to any other person. It is the responsibility of the recipient to ensure that opening this message and/or any of its attachments will not adversely affect its systems. No responsibility is accepted by the Company. ***************************************************************************** ------_=_NextPart_001_01C3E589.1CCCA600 Content-Type: text/html Message
What you're looking for is dblink it's in the contrib directory of the postgres distribution.  Not sure how it works as I haven't used it but it does have some documentation.
 
Regards,
 
Ben
 
 
 -----Original Message-----
From: Paul R. Sand [mailto:paul_sand@mverify.com]
Sent: 27 January 2004 21:56
To: pgsql-odbc@postgresql.org
Subject: [ODBC] ODBC Connection to External Data Source

I am looking for procedures on how to connect postgres to an external data source (ODBC to Oracle). I then will query the external data source to write into postgres relations. I can't find information on how to set up the ODBC connection from postgres to Oracle so I can use SQL in postgres to access data in the Oracle database. I have the Oracle ODBC drivers install and can access them with Excel. I need to also access the database from postgres. Any suggestions on where I can find information on how to make this OBDC connection?

 

Thanks!

 

Paul



*****************************************************************************
This email and any attachments transmitted with it are confidential
and intended solely for the use of the individual or entity to whom
they are addressed. If you have received this email in error please
notify the sender and do not store, copy or disclose the content
to any other person.

It is the responsibility of the recipient to ensure that opening this
message and/or any of its attachments will not adversely affect
its systems. No responsibility is accepted by the Company.
*****************************************************************************
------_=_NextPart_001_01C3E589.1CCCA600-- From jeff_eckermann@yahoo.com Wed Jan 28 17:55:48 2004 X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 511E0D1D264 for ; Wed, 28 Jan 2004 17:55:48 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 12062-10 for ; Wed, 28 Jan 2004 13:55:17 -0400 (AST) Received: from www.postgresql.com (www.postgresql.com [200.46.204.209]) by svr1.postgresql.org (Postfix) with ESMTP id 298BBD1DBBD for ; Wed, 28 Jan 2004 13:52:08 -0400 (AST) Received: from web20807.mail.yahoo.com (web20807.mail.yahoo.com [216.136.226.196]) by www.postgresql.com (Postfix) with SMTP id 81870CF7034 for ; Wed, 28 Jan 2004 10:49:32 -0400 (AST) Message-ID: <20040128144832.21529.qmail@web20807.mail.yahoo.com> Received: from [208.13.35.65] by web20807.mail.yahoo.com via HTTP; Wed, 28 Jan 2004 06:48:32 PST Date: Wed, 28 Jan 2004 06:48:32 -0800 (PST) From: Jeff Eckermann Subject: Re: ODBC Connection to External Data Source To: "Trewern, Ben" , "'paul_sand@mverify.com'" , pgsql-odbc@postgresql.org In-Reply-To: <996802F75C3CD411B424001083FA445BB2383D@CET_PONXX_FP001> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/105 X-Sequence-Number: 3734 --- "Trewern, Ben" wrote: > What you're looking for is dblink it's in the > contrib directory of the > postgres distribution. Not sure how it works as I > haven't used it but it > does have some documentation. > dblink allows queries from one PostgreSQL database to another, but not to a different DBMS. There is a version in existence which works with Oracle (not sure if it is a hacked version of dblink, or a new attempt), but AFAIK it has not progressed beyond the alpha stage yet. > Regards, > > Ben > > > -----Original Message----- > From: Paul R. Sand [mailto:paul_sand@mverify.com] > Sent: 27 January 2004 21:56 > To: pgsql-odbc@postgresql.org > Subject: [ODBC] ODBC Connection to External Data > Source > > > > I am looking for procedures on how to connect > postgres to an external data > source (ODBC to Oracle). I then will query the > external data source to write > into postgres relations. I can't find information on > how to set up the ODBC > connection from postgres to Oracle so I can use SQL > in postgres to access > data in the Oracle database. I have the Oracle ODBC > drivers install and can > access them with Excel. I need to also access the > database from postgres. > Any suggestions on where I can find information on > how to make this OBDC > connection? > > > > Thanks! > > > > Paul > > > > ***************************************************************************** > This email and any attachments transmitted with it > are confidential > and intended solely for the use of the individual or > entity to whom > they are addressed. If you have received this email > in error please > notify the sender and do not store, copy or disclose > the content > to any other person. > > It is the responsibility of the recipient to ensure > that opening this > message and/or any of its attachments will not > adversely affect > its systems. No responsibility is accepted by the > Company. > ***************************************************************************** > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/