Re: Connecting to SQL Server from Windows using FDW

From: "John J(dot) Turner" <fenwayriffs(at)gmail(dot)com>
To: ivo silvestre <ivomts(at)gmail(dot)com>, PostgreSQL General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Connecting to SQL Server from Windows using FDW
Date: 2016-01-23 04:40:45
Message-ID: 6860A938-F228-44EE-B291-7AEDCE100725@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Jan 22, 2016, at 1:05 PM, ivo silvestre <ivomts(at)gmail(dot)com> wrote:

> I need to create a linked server between 2 Windows servers. In one I've PostgreSQL with admin privileges and in the other MS SQL with only read access.
>
> I need to create a view (or a foreign table?) in PostgreSQL from a table in MS SQL in another server ...
> ... I found GeoffMontee's Github, but I don't know how to install it on Windows...

Perhaps this link may help:
https://www.mssqltips.com/sqlservertip/3663/sql-server-and-postgresql-foreign-data-wrapper-configuration--part-3/

The only caveat I see offhand is the use of the 'sa' account, but I can't vouch for that being a required mapping.

Cheers,
John

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Vik Fearing 2016-01-23 08:35:40 Re: 9.5 new features
Previous Message John R Pierce 2016-01-23 03:42:26 Re: 9.5 new features