pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Eckermann <jeff_eckermann@yahoo.com>
To: paul_sand@mverify.com
To: pgsql-odbc@postgresql.org
Subject: Re: ODBC Connection to External Data Source
Date: Tue, 27 Jan 2004 15:29:19 -0800 (PST)
Message-ID: <20040127232919.20293.qmail@web20808.mail.yahoo.com> (raw)
In-Reply-To: <20040127221244.A940FD1D239@svr1.postgresql.org>

--- "Paul R. Sand" <paul_sand@mverify.com> 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/



view thread (5+ messages)  latest in thread

Message-ID: <20040127232919.20293.qmail@web20808.mail.yahoo.com>
Permalink:  ../20040127232919.20293.qmail@web20808.mail.yahoo.com/
Also on:    postgresql.org/message-id/20040127232919.20293.qmail@web20808.mail.yahoo.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: jeff_eckermann@yahoo.com, paul_sand@mverify.com
  Subject: Re: ODBC Connection to External Data Source
  In-Reply-To: <20040127232919.20293.qmail@web20808.mail.yahoo.com>
  References: <20040127221244.A940FD1D239@svr1.postgresql.org> <20040127232919.20293.qmail@web20808.mail.yahoo.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