Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eS7oE-0006O5-0d for pgsql-general@arkaria.postgresql.org; Thu, 21 Dec 2017 20:51:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eS7oD-0006wF-Jo for pgsql-general@arkaria.postgresql.org; Thu, 21 Dec 2017 20:51:17 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eS7oC-0006w6-Uq for pgsql-general@lists.postgresql.org; Thu, 21 Dec 2017 20:51:17 +0000 Received: from sub5.mail.dreamhost.com ([208.113.200.129] helo=homiemail-a52.g.dreamhost.com) by magus.postgresql.org with esmtps (TLS1.1:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eS7o8-0000Ii-VZ for pgsql-general@lists.postgresql.org; Thu, 21 Dec 2017 20:51:16 +0000 Received: from homiemail-a52.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a52.g.dreamhost.com (Postfix) with ESMTP id 4D36F6002A15 for ; Thu, 21 Dec 2017 12:51:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=hogranch.com; h=subject:to :references:from:message-id:date:mime-version:in-reply-to :content-type; s=hogranch.com; bh=Hco16Sm/xi4NNMwYJxPEhdLRj+g=; b= q9EFNLzYYtEWvXWdPj1O19jN7Az5dsEJFHrZP24H0RtJRhVIs83vLms005xRvGw/ W/geCi2l+w2Opa/owv7YzJ7j4UAmi/+GktLkwH6o/5CRP3LNCt/SmoJecpsIF6rS thBsOorty8pVtpY0NKKaR1bZFODY4oEzkX1rsUg384I= Received: from [192.168.0.2] (c-73-222-225-64.hsd1.ca.comcast.net [73.222.225.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: pierce@hogranch.com) by homiemail-a52.g.dreamhost.com (Postfix) with ESMTPSA id 3500F6002A14 for ; Thu, 21 Dec 2017 12:51:08 -0800 (PST) Subject: Re: Foreign Data Wrapper To: pgsql-general@lists.postgresql.org References: <28dabdd6fe994dbd94753ac803891113@Strand.quipment.local> <0684c4a0f3544805a154e156a3183d60@Strand.quipment.local> From: John R Pierce Message-ID: <97acda0d-85f5-83d0-1766-6d8c3b21466c@hogranch.com> Date: Thu, 21 Dec 2017 12:50:44 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <0684c4a0f3544805a154e156a3183d60@Strand.quipment.local> Content-Type: multipart/alternative; boundary="------------606503D6EC3BBCC44857A96E" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------606503D6EC3BBCC44857A96E Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable On 12/21/2017 5:14 AM, Virendra Shaktawat - Quipment India wrote: > > odbc_fdw > please don't top post, and please don't use graphics and HTML in your=20 email, this is a text based mailling list adhering to bottom/interleaved=20 posting standards. While I'm not directly familiar with odbc_fdw, I suspect its a 'read=20 only' FDW is that this odbc_fdw?=C2=A0 https://github.com/ZhengYang/odbc_fdw that was developed for pg 9.1 when ALL fdw's were read only as it was=20 brand new technology. since this defines the foreign table via a query,=20 well, there's no WAY it could be used to do an update. this updated fork, https://github.com/CartoDB/odbc_fdw=C2=A0 runs on newe= r=20 postgres, but also is based on a select statement, you can't UPDATE a=20 resultset... --=20 john r pierce, recycling bits in santa cruz --------------606503D6EC3BBCC44857A96E Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
On 12/21/2017 5:14 AM, Virendra Shaktawat - Quipment India wrote:

odbc_fdw


please don't top post, and please don't use graphics and HTML in your email, this is a text based mailling list adhering to bottom/interleaved posting standards.

While I'm not directly familiar with odbc_fdw, I suspect its a 'read only' FDW

is that this odbc_fdw?=C2=A0 https://github.com/ZhengYang/odbc= _fdw
that was developed for pg 9.1 when ALL fdw's were read only as it was brand new technology. since this defines the foreign table via a query, well, there's no WAY it could be used to do an update.=C2=A0=C2= =A0=C2=A0

this updated fork, https://github.com/CartoDB/odbc_fdw=C2=A0= runs on newer postgres, but also is based on a select statement, you can't UPDATE a resultset...




--=20
john r pierce, recycling bits in santa cruz
--------------606503D6EC3BBCC44857A96E--