pgsql: Updatable ResultSets need to check for an empty ResultSet because - Mailing list pgsql-committers

From jurka@svr1.postgresql.org (Kris Jurka)
Subject pgsql: Updatable ResultSets need to check for an empty ResultSet because
Date
Msg-id 20050422144818.3635E53B4D@svr1.postgresql.org
Whole thread Raw
List 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)

pgsql-committers by date:

Previous
From: jurka@svr1.postgresql.org (Kris Jurka)
Date:
Subject: pgsql: When moveToCurrentRow is called and the current row is off the
Next
From: jurka@svr1.postgresql.org (Kris Jurka)
Date:
Subject: pgsql: Release build 216.