Skip site navigation (1) Skip section navigation (2)

pgAdmin III commit: Check the number of rows inserted in frmEditGrid

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin III commit: Check the number of rows inserted in frmEditGrid
Date: 2010-09-02 15:54:56
Message-ID: 201009021554.o82FsuFE025650@gothos.postgresql.org (view raw or flat)
Thread:
Lists: pgadmin-hackers
Check the number of rows inserted in frmEditGrid

A previous commit (6b3b661244455951fccbed7895aa22fa7c2ed2a2) modified the
return value of ExecuteSet from null to an empty pgSet when the query failed.
So, we have to check the number of rows inserted to make sure the INSERT was
successful.

Report from Sid and Erwin Brandstetter.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=526a732e6795bcd7d0e9b34eb3b7b940204a0ed9

Modified Files
--------------
pgadmin/frm/frmEditGrid.cpp |   65 ++++++++++++++++++++++--------------------
1 files changed, 34 insertions(+), 31 deletions(-)

pgadmin-hackers by date

Next:From: Guillaume LelargeDate: 2010-09-02 15:55:21
Subject: Re: Problem with insert - 1.12.0 RC1
Previous:From: Dave PageDate: 2010-09-02 11:59:59
Subject: Re: Problem with insert - 1.12.0 RC1

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group