Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WBsIi-0004V1-Ki for pgsql-bugs@arkaria.postgresql.org; Fri, 07 Feb 2014 20:45:28 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WBsIi-0002Ze-4u for pgsql-bugs@arkaria.postgresql.org; Fri, 07 Feb 2014 20:45:28 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WBsIh-0002ZX-4M for pgsql-bugs@postgresql.org; Fri, 07 Feb 2014 20:45:27 +0000 Received: from hogranch.com ([75.101.82.47]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WBsId-0003bi-Gl for pgsql-bugs@postgresql.org; Fri, 07 Feb 2014 20:45:26 +0000 Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id s17KjBe22212; Fri, 7 Feb 2014 12:45:11 -0800 Message-ID: <52F545D2.2070001@hogranch.com> Date: Fri, 07 Feb 2014 12:45:06 -0800 From: John R Pierce Reply-To: pgsql-bugs@postgresql.org User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Firas Khasawneh CC: "pgsql-bugs@postgresql.org" Subject: Re: ODBC Driver not allowing updates into views References: <0af040779b5841bd88607d069afc90c3@MERCMBX29R.na.SAS.com> In-Reply-To: <0af040779b5841bd88607d069afc90c3@MERCMBX29R.na.SAS.com> Content-Type: multipart/alternative; boundary="------------000805020401030601050007" X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Pg-Spam-Score: -2.5 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org This is a multi-part message in MIME format. --------------000805020401030601050007 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2/7/2014 8:51 AM, Firas Khasawneh wrote: > > I am using Postgres 9.3.2 and the application I am working on requires > updating views, inserting into views and delete from views. None of > these operation are working from ODBC. > > The same are possible when connecting to the database via JDBC or psql. > Writable views is a fairly new feature in PostgreSQL, added in 9.3, I'm guessing the ODBC drivers haven't caught up with this yet. It would be helpful to know what sort of ODBC driver you're using... there's ODBC on Unix systems, and Microsoft Windows ODBC, and I believe there's a couple different implementations of the PostgreSQL ODBC drivers for each of these environments.. Those ODBC drivers are not part of the core PostgreSQL project, and likely have their own bug lists. (please reply to pgsql-bugs rather than me directly). -- john r pierce 37N 122W somewhere on the middle of the left coast --------------000805020401030601050007 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
On 2/7/2014 8:51 AM, Firas Khasawneh wrote:

I am using Postgres 9.3.2 and the application I am working on requires updating views, inserting into views and delete from views. None of these operation are working from ODBC.

The same are possible when connecting to the database via JDBC or psql.


Writable views is a fairly new feature in PostgreSQL, added in 9.3, I'm guessing the ODBC drivers haven't caught up with this yet.

It would be helpful to know what sort of ODBC driver you're using...  there's ODBC on Unix systems, and Microsoft Windows ODBC, and I believe there's a couple different implementations of the PostgreSQL ODBC drivers for each of these environments..   Those ODBC drivers are not part of the core PostgreSQL project, and likely have their own bug lists.    

(please reply to pgsql-bugs rather than me directly).



-- 
john r pierce                                      37N 122W
somewhere on the middle of the left coast
--------------000805020401030601050007--