pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Inoue, Hiroshi <h-inoue@dream.email.ne.jp>
To: Venkatesan, Sekhar <sekhar.venkatesan@emc.com>
Cc: Tsunakawa, Takayuki <tsunakawa.takay@jp.fujitsu.com>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: Joshua D. Drake <jd@commandprompt.com>
Cc: pgsql-odbc@postgresql.org <pgsql-odbc@postgresql.org>
Subject: Re: PostgreSQL: SQLSetPos fails with SetPos update return error.
Date: Fri, 27 May 2016 20:26:28 +0900
Message-ID: <57482EE4.6010603@dream.email.ne.jp> (raw)
In-Reply-To: <F84DE43FDACD4C45AA84E2DA016FAE2F1C6BF99B@MX105CL01.corp.emc.com>
References: <F84DE43FDACD4C45AA84E2DA016FAE2F1C6A66C1@MX105CL01.corp.emc.com>
	<5715FD3C.5020103@dream.email.ne.jp>
	<F84DE43FDACD4C45AA84E2DA016FAE2F1C6A6805@MX105CL01.corp.emc.com>
	<0A3221C70F24FB45833433255569204D1F563F26@G01JPEXMBYT05>
	<F84DE43FDACD4C45AA84E2DA016FAE2F1C6A69ED@MX105CL01.corp.emc.com>
	<0A3221C70F24FB45833433255569204D1F5640C5@G01JPEXMBYT05>
	<F84DE43FDACD4C45AA84E2DA016FAE2F1C6BCCC4@MX105CL01.corp.emc.com>
	<0A3221C70F24FB45833433255569204D1F573047@G01JPEXMBYT05>
	<F84DE43FDACD4C45AA84E2DA016FAE2F1C6BE17D@MX105CL01.corp.emc.com>
	<573B10D9.1060403@dream.email.ne.jp>
	<F84DE43FDACD4C45AA84E2DA016FAE2F1C6BE349@MX105CL01.corp.emc.com>
	<573C5E11.2090106@dream.email.ne.jp>
	<573EF4FA.4050407@dream.email.ne.jp>
	<0A3221C70F24FB45833433255569204D1F5784A9@G01JPEXMBYT05>
	<F84DE43FDACD4C45AA84E2DA016FAE2F1C6BEDB7@MX105CL01.corp.emc.com>
	<0A3221C70F24FB45833433255569204D1F5786E4@G01JPEXMBYT05>
	<F84DE43FDACD4C45AA84E2DA016FAE2F1C6BF99B@MX105CL01.corp.emc.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-odbc>

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 <mailto: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> 
> [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
>

view thread (45+ messages)  latest in thread

Message-ID: <57482EE4.6010603@dream.email.ne.jp>
Permalink:  ../57482EE4.6010603@dream.email.ne.jp/
Also on:    postgresql.org/message-id/57482EE4.6010603@dream.email.ne.jp

 · 

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-odbc@postgresql.org
  Cc: h-inoue@dream.email.ne.jp, sekhar.venkatesan@emc.com, tsunakawa.takay@jp.fujitsu.com, adrian.klaver@aklaver.com, jd@commandprompt.com
  Subject: Re: PostgreSQL: SQLSetPos fails with SetPos update return error.
  In-Reply-To: <57482EE4.6010603@dream.email.ne.jp>
  References: <F84DE43FDACD4C45AA84E2DA016FAE2F1C6A66C1@MX105CL01.corp.emc.com> <F84DE43FDACD4C45AA84E2DA016FAE2F1C6A6805@MX105CL01.corp.emc.com> <0A3221C70F24FB45833433255569204D1F563F26@G01JPEXMBYT05> <F84DE43FDACD4C45AA84E2DA016FAE2F1C6A69ED@MX105CL01.corp.emc.com> <0A3221C70F24FB45833433255569204D1F5640C5@G01JPEXMBYT05> <F84DE43FDACD4C45AA84E2DA016FAE2F1C6BCCC4@MX105CL01.corp.emc.com> <0A3221C70F24FB45833433255569204D1F573047@G01JPEXMBYT05> <F84DE43FDACD4C45AA84E2DA016FAE2F1C6BE17D@MX105CL01.corp.emc.com> <573B10D9.1060403@dream.email.ne.jp> <F84DE43FDACD4C45AA84E2DA016FAE2F1C6BE349@MX105CL01.corp.emc.com> <573C5E11.2090106@dream.email.ne.jp> <573EF4FA.4050407@dream.email.ne.jp> <0A3221C70F24FB45833433255569204D1F5784A9@G01JPEXMBYT05> <F84DE43FDACD4C45AA84E2DA016FAE2F1C6BEDB7@MX105CL01.corp.emc.com> <0A3221C70F24FB45833433255569204D1F5786E4@G01JPEXMBYT05> <F84DE43FDACD4C45AA84E2DA016FAE2F1C6BF99B@MX105CL01.corp.emc.com> <57482EE4.6010603@dream.email.ne.jp>

* 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