pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jaydip <jaydeep.thakkar92@gmail.com>
To: pgsql-odbc@postgresql.org
Subject: Re: Bug in SQLRowCount ?
Date: Wed, 4 Apr 2018 04:59:56 -0700 (MST)
Message-ID: <1522843196056-0.post@n3.nabble.com> (raw)
In-Reply-To: <50FE2B7F.7040202@t-online.de>
References: <1TvloP-15Bhtg0@fwd04.aul.t-online.de>
	<50F7F7D4.40307@tpf.co.jp>
	<d644f2b8-47fb-49ba-aafe-27eb1be027c2@email.android.com>
	<50F82EC5.60701@vmware.com>
	<50FE2B7F.7040202@t-online.de>

Hello,

I has also face same issue. I am just curious to know, how are you using
SQL_ATTR_PARAM_STATUS_PTR?
I have tried to use that in my code and I was incrementing the count based
on the status "SQL_PARAM_SUCCESS" i.e. 0.
However, I found that when I send let's say 3 rows in batch and there is no
row to delete, the status was still "SQL_PARAM_SUCCESS". When I called
"SQLRowCount" it was returning me 0.



--
Sent from: http://www.postgresql-archive.org/PostgreSQL-odbc-f2186591.html




view thread (7+ messages)  latest in thread

Message-ID: <1522843196056-0.post@n3.nabble.com>
Permalink:  ../1522843196056-0.post@n3.nabble.com/
Also on:    postgresql.org/message-id/1522843196056-0.post@n3.nabble.com

 · 

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: jaydeep.thakkar92@gmail.com
  Subject: Re: Bug in SQLRowCount ?
  In-Reply-To: <1522843196056-0.post@n3.nabble.com>
  References: <1TvloP-15Bhtg0@fwd04.aul.t-online.de> <50F7F7D4.40307@tpf.co.jp> <d644f2b8-47fb-49ba-aafe-27eb1be027c2@email.android.com> <50F82EC5.60701@vmware.com> <50FE2B7F.7040202@t-online.de> <1522843196056-0.post@n3.nabble.com>

* 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