From: | jurka(at)svr1(dot)postgresql(dot)org (Kris Jurka) |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Updatable ResultSets need to check for an empty ResultSet because |
Date: | 2005-04-22 14:48:18 |
Message-ID: | 20050422144818.3635E53B4D@svr1.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Log Message:
-----------
Updatable ResultSets need to check for an empty ResultSet because
isBeforeFirst and isAfterLast both return false for an empty result
so the checking to make sure the user is on a valid row wasn't
working.
Also don't allow an insert without specifying at least one column
value because INSERT INTO tab() values() is a syntax error.
Tags:
----
REL7_4_STABLE
Modified Files:
--------------
pgsql/src/interfaces/jdbc/org/postgresql:
errors.properties (r1.25.2.2 -> r1.25.2.3)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/jdbc/org/postgresql/errors.properties.diff?r1=1.25.2.2&r2=1.25.2.3)
pgsql/src/interfaces/jdbc/org/postgresql/jdbc2:
AbstractJdbc2ResultSet.java (r1.25.2.11 -> r1.25.2.12)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java.diff?r1=1.25.2.11&r2=1.25.2.12)
From | Date | Subject | |
---|---|---|---|
Next Message | Kris Jurka | 2005-04-22 15:10:52 | pgsql: Release build 216. |
Previous Message | Kris Jurka | 2005-04-22 14:36:48 | pgsql: When moveToCurrentRow is called and the current row is off the |