Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bDUDJ-0003aW-GD for pgsql-odbc@arkaria.postgresql.org; Thu, 16 Jun 2016 10:07:53 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bDUDI-0008FL-Tx for pgsql-odbc@arkaria.postgresql.org; Thu, 16 Jun 2016 10:07:52 +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 1bDUCw-0007qm-34 for pgsql-odbc@postgresql.org; Thu, 16 Jun 2016 10:07:30 +0000 Received: from mail2.asahi-net.or.jp ([202.224.39.198]) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bDUCj-0003yx-V7 for pgsql-odbc@postgresql.org; Thu, 16 Jun 2016 10:07:28 +0000 Received: from [192.168.1.3] (h216215.dynamic.ppp.asahi-net.or.jp [61.114.216.215]) by mail2.asahi-net.or.jp (Postfix) with ESMTP id C09E76D62; Thu, 16 Jun 2016 19:07:11 +0900 (JST) Subject: Re: PostgreSQL: SQLSetPos fails with SetPos update return error. To: "Venkatesan, Sekhar" References: <0A3221C70F24FB45833433255569204D1F563F26@G01JPEXMBYT05> <0A3221C70F24FB45833433255569204D1F5640C5@G01JPEXMBYT05> <0A3221C70F24FB45833433255569204D1F573047@G01JPEXMBYT05> <573B10D9.1060403@dream.email.ne.jp> <573C5E11.2090106@dream.email.ne.jp> <573EF4FA.4050407@dream.email.ne.jp> <0A3221C70F24FB45833433255569204D1F5784A9@G01JPEXMBYT05> <0A3221C70F24FB45833433255569204D1F5786E4@G01JPEXMBYT05> <57482EE4.6010603@dream.email.ne.jp> Cc: "Tsunakawa, Takayuki" , Adrian Klaver , "Joshua D. Drake" , "pgsql-odbc@postgresql.org" From: "Inoue, Hiroshi" Message-ID: <57627A53.20202@dream.email.ne.jp> Date: Thu, 16 Jun 2016 19:07:15 +0900 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------020301040101070506090605" X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org This is a multi-part message in MIME format. --------------020301040101070506090605 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hi, OK we would make a new release. I have to apply several patches before the release. regards, Hiroshi Inoue On 2016/06/14 17:33, Venkatesan, Sekhar wrote: > > Hi Inoue/Takayuki, > > Just need information on the new fix for child table inheritance. How > can I get a new build with this change? > > Please help me with an answer. > > Thanks, > > Sekhar > > *From:*Venkatesan, Sekhar > *Sent:* Tuesday, June 07, 2016 9:34 AM > *To:* 'Inoue, Hiroshi' > *Cc:* Tsunakawa, Takayuki; Adrian Klaver; Joshua D. Drake; > pgsql-odbc@postgresql.org > *Subject:* RE: [ODBC] PostgreSQL: SQLSetPos fails with SetPos update > return error. > > Hi Inoue, > > When can I expect a build for windows and linux? This is required to > do complete functional testing on our side. > > Will it be updated in > https://www.postgresql.org/ftp/odbc/versions/msi/ > ? > > Thanks, > > Sekhar > > *From:*Inoue, Hiroshi [mailto:h-inoue@dream.email.ne.jp] > *Sent:* Friday, May 27, 2016 4:56 PM > *To:* Venkatesan, Sekhar > *Cc:* Tsunakawa, Takayuki; Adrian Klaver; Joshua D. Drake; > pgsql-odbc@postgresql.org > *Subject:* Re: [ODBC] PostgreSQL: SQLSetPos fails with SetPos update > return error. > > I just pushed the change about inheritance to git. > > regards, > Hiroshi Inoue > > On 2016/05/25 15:02, Venkatesan, Sekhar wrote: > > Inoue, > > Can you please let me know if a fix can be provided for the > “SetPos Update” issue. I need it for Linux and Windows? > > Thanks, > Sekhar > > *From:*Venkatesan, Sekhar > *Sent:* Wednesday, May 25, 2016 11:04 AM > *To:* 'Tsunakawa, Takayuki' > *Cc:* Inoue, Hiroshi; Adrian Klaver; Joshua D. Drake; > pgsql-odbc@postgresql.org > *Subject:* RE: [ODBC] PostgreSQL: SQLSetPos fails with SetPos > update return error. > > Hi Takayuki/ Inoue, > > When partition is enabled in my application and I change the > partitioning key in the table to save the new data into another > partition, I get error like this: > > ERROR: new row for relation "testpart_s" violates check constraint > " p1_testpart12_s" > > *I enabled **constraint_exclusion in postgresql.conf.* > > I followed the document you shared to enable row movement across > partitions by writing triggers on partition tables. It works up to > a point but not confident it will work for all use-cases. > > If this can be fixed in the odbc driver itself, it would be > better. Let me know your thoughts on this. > > Thanks, > Sekhar > > *From:*Tsunakawa, Takayuki [mailto:tsunakawa.takay@jp.fujitsu.com] > *Sent:* Monday, May 23, 2016 1:18 PM > *To:* Venkatesan, Sekhar > *Cc:* Inoue, Hiroshi; Adrian Klaver; Joshua D. Drake; > pgsql-odbc@postgresql.org > *Subject:* RE: [ODBC] PostgreSQL: SQLSetPos fails with SetPos > update return error. > > From: pgsql-odbc-owner@postgresql.org > > [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Venkatesan, > Sekhar > > The latest driver provided resolves the “SetPos update” error that > you guys mentioned. Thanks for the fix. > > That's good news. > > Is the fix provided an official and certified one? Can you also > provide the fix for Linux? > > Inoue-san is the only committer now and he will decide that. > > There is one another issue regarding partition’s automatic row > movement with regards to partitioning key change. This is not fixed. > > Let me know if it is feasible to fix that as well. > > As Inoue-san and I mentioned before, automatic row movement seems > to have nothing to do with your problem. Could you elaborate your > test case which fails? > > Regards > > Takayuki Tsunakawa > --------------020301040101070506090605 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit Hi,

OK we would make a new release.
I have to apply several patches before the release.

regards,
Hiroshi Inoue

On 2016/06/14 17:33, Venkatesan, Sekhar wrote:

Hi Inoue/Takayuki,

 

Just need information on the new fix for child table inheritance. How can I get a new build with this change?

Please help me with an answer.

 

Thanks,

Sekhar

 

From: Venkatesan, Sekhar
Sent: Tuesday, June 07, 2016 9:34 AM
To: 'Inoue, Hiroshi'
Cc: Tsunakawa, Takayuki; Adrian Klaver; Joshua D. Drake; pgsql-odbc@postgresql.org
Subject: RE: [ODBC] PostgreSQL: SQLSetPos fails with SetPos update return error.

 

Hi Inoue,

 

When can I expect a build for windows and linux? This is required to do complete functional testing on our side.

Will it be updated in https://www.postgresql.org/ftp/odbc/versions/msi/ ?

 

Thanks,

Sekhar

 

From: Inoue, Hiroshi [mailto:h-inoue@dream.email.ne.jp]
Sent: Friday, May 27, 2016 4:56 PM
To: Venkatesan, Sekhar
Cc: Tsunakawa, Takayuki; Adrian Klaver; Joshua D. Drake; pgsql-odbc@postgresql.org
Subject: Re: [ODBC] PostgreSQL: SQLSetPos fails with SetPos update return error.

 

I just pushed the change about inheritance to git.

regards,
Hiroshi Inoue

On 2016/05/25 15:02, Venkatesan, Sekhar wrote:

Inoue,

 

Can you please let me know if a fix can be provided for the “SetPos Update” issue. I need it for Linux and Windows?

 

Thanks,
Sekhar

 

From: Venkatesan, Sekhar
Sent: Wednesday, May 25, 2016 11:04 AM
To: 'Tsunakawa, Takayuki'
Cc: Inoue, Hiroshi; Adrian Klaver; Joshua D. Drake; pgsql-odbc@postgresql.org
Subject: RE: [ODBC] PostgreSQL: SQLSetPos fails with SetPos update return error.

 

Hi Takayuki/ Inoue,

 

When partition is enabled in my application and I change the partitioning key in the table to save the new data into another partition, I get error like this:

 

ERROR: new row for relation "testpart_s" violates check constraint " p1_testpart12_s"

 

I enabled constraint_exclusion in postgresql.conf.

I followed the document you shared to enable row movement across partitions by writing triggers on partition tables. It works up to a point but not confident it will work for all use-cases.

If this can be fixed in the odbc driver itself, it would be better. Let me know your thoughts on this.

 

Thanks,
Sekhar

 

From: Tsunakawa, Takayuki [mailto:tsunakawa.takay@jp.fujitsu.com]
Sent: Monday, May 23, 2016 1:18 PM
To: Venkatesan, Sekhar
Cc: Inoue, Hiroshi; Adrian Klaver; Joshua D. Drake; pgsql-odbc@postgresql.org
Subject: RE: [ODBC] PostgreSQL: SQLSetPos fails with SetPos update return error.

 

From: pgsql-odbc-owner@postgresql.org [mailto:pgsql-odbc-owner@postgresql.org] On Behalf Of Venkatesan, Sekhar

The latest driver provided resolves the “SetPos update” error that you guys mentioned. Thanks for the fix.

 

 

That's good news.

 

 

Is the fix provided an official and certified one? Can you also provide the fix for Linux?

 

 

Inoue-san is the only committer now and he will decide that.

 

 

There is one another issue regarding partition’s automatic row movement with regards to partitioning key change. This is not fixed.

Let me know if it is feasible to fix that as well.

 

 

As Inoue-san and I mentioned before, automatic row movement seems to have nothing to do with your problem.  Could you elaborate your test case which fails?

 

Regards

Takayuki Tsunakawa

--------------020301040101070506090605--