pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>
To: Hemil Ruparel <hemilruparel2002@gmail.com>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: AW: FDW using remote ODBC driver
Date: Tue, 1 Dec 2020 15:23:00 +0000
Message-ID: <1b7abe76b74445a0830e9c310d0a71c1@zuerich.ch> (raw)
In-Reply-To: <CANW1aT_F5J+5BJzzo59XAsWYkOPh7B04C2Y9QPCeiW3mFM+cHA@mail.gmail.com>
References: <4a45f907f8484152a0229e64b4f3d664@zuerich.ch>
	<CANW1aT8ruNkvDApk9OSfnmwJqpGcKArZaX0oHaeggMjVy+O3tQ@mail.gmail.com>
	<c94ca7440b224e22ba8ec6f1d1fba07b@zuerich.ch>
	<CANW1aT_F5J+5BJzzo59XAsWYkOPh7B04C2Y9QPCeiW3mFM+cHA@mail.gmail.com>

Wrong direction.

I want to do a Connection FROM Postgres@Linux using fdw + odbc TO SQL-Server@Windows.

Question has been if the SQL-Server ODBC driver can also be installed on the remote Windows Server in that case.

-Markus



Von: Hemil Ruparel <hemilruparel2002@gmail.com>
Gesendet: Dienstag, 1. Dezember 2020 16:17
An: Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch>
Cc: pgsql-general@lists.postgresql.org
Betreff: Re: FDW using remote ODBC driver

The machine you are trying to connect the postgres server from is the client in this case. May be a laptop or a production VM or container.

On Tue, Dec 1, 2020 at 8:43 PM Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch<mailto:Markus.Zwettler@zuerich.ch>> wrote:
Client means Postgres Server / FDW in that case?



Von: Hemil Ruparel <hemilruparel2002@gmail.com<mailto:hemilruparel2002@gmail.com>>
Gesendet: Dienstag, 1. Dezember 2020 16:08
An: Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch<mailto:Markus.Zwettler@zuerich.ch>>
Cc: pgsql-general@lists.postgresql.org<mailto:pgsql-general@lists.postgresql.org>
Betreff: Re: FDW using remote ODBC driver

Yes. The driver needs to be on the client

On Tue, Dec 1, 2020 at 8:34 PM Zwettler Markus (OIZ) <Markus.Zwettler@zuerich.ch<mailto:Markus.Zwettler@zuerich.ch>> wrote:
Hi,

Can I create a FDW connection using an ODBC driver which is installed on a remote host, e.g.

Postgres@Linux ==> FDW ==> ODBC@Windows ==> SQL-Server

In other words, must the ODBC driver be installed on the local Linux system?

Thanks,
Markus



view thread (3+ messages)  latest in thread

Message-ID: <1b7abe76b74445a0830e9c310d0a71c1@zuerich.ch>
Permalink:  ../1b7abe76b74445a0830e9c310d0a71c1@zuerich.ch/
Also on:    postgresql.org/message-id/1b7abe76b74445a0830e9c310d0a71c1@zuerich.ch

 · 

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-general@postgresql.org
  Cc: Markus.Zwettler@zuerich.ch, hemilruparel2002@gmail.com
  Subject: Re: FDW using remote ODBC driver
  In-Reply-To: <1b7abe76b74445a0830e9c310d0a71c1@zuerich.ch>
  References: <4a45f907f8484152a0229e64b4f3d664@zuerich.ch> <CANW1aT8ruNkvDApk9OSfnmwJqpGcKArZaX0oHaeggMjVy+O3tQ@mail.gmail.com> <c94ca7440b224e22ba8ec6f1d1fba07b@zuerich.ch> <CANW1aT_F5J+5BJzzo59XAsWYkOPh7B04C2Y9QPCeiW3mFM+cHA@mail.gmail.com> <1b7abe76b74445a0830e9c310d0a71c1@zuerich.ch>

* 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