pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
SQL query of an ODBC data source?
2+ messages / 2 participants
[nested] [flat]

* SQL query of an ODBC data source?
@ 2006-06-12 21:01 Mr. DBA <dba@ciberforce.net>
  2006-06-13 07:16 ` Re: SQL query of an ODBC data source? Ludek Finstrle <luf@pzkagis.cz>
  0 siblings, 1 reply; 2+ messages in thread

From: Mr. DBA @ 2006-06-12 21:01 UTC (permalink / raw)
  To: pgsql-odbc




Hi List;

I've installed Postgres on a Linux box. I've also installed unixODBC on the same linux box and I can use isql to connect to a remote database via a data source that I've configured in ~/.odbc.ini

My question is this:

Can I access tables in the remote database via a psql query which references the ODBC data source? Something like "select * from datasource.database.table"

I thought postgres was an "ODBC' aware databse but I cannot find any info on how to do this -- I only find info on dblinks which is not what I want...


Thanks in advance...






^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: SQL query of an ODBC data source?
  2006-06-12 21:01 SQL query of an ODBC data source? Mr. DBA <dba@ciberforce.net>
@ 2006-06-13 07:16 ` Ludek Finstrle <luf@pzkagis.cz>
  0 siblings, 0 replies; 2+ messages in thread

From: Ludek Finstrle @ 2006-06-13 07:16 UTC (permalink / raw)
  To: Mr. DBA <dba@ciberforce.net>; +Cc: pgsql-odbc

> I've installed Postgres on a Linux box. I've also installed unixODBC
> on the same linux box and I can use isql to connect to a remote
> database via a data source that I've configured in ~/.odbc.ini
> 
> My question is this:
> 
> Can I access tables in the remote database via a psql query which
> references the ODBC data source? Something like
> "select * from datasource.database.table"
> 
> I thought postgres was an "ODBC' aware databse but I cannot find any
> info on how to do this -- I only find info on dblinks which is
> not what I want...

I don't know about something like this. But if you're enough experienced
in ODBC you could write functions to support it (you have some inspiration
in dblink or dbilink).

Regards,

Luf



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2006-06-13 07:16 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-06-12 21:01 SQL query of an ODBC data source? Mr. DBA <dba@ciberforce.net>
2006-06-13 07:16 ` Ludek Finstrle <luf@pzkagis.cz>

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