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)
---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?
http://archives.postgresql.org