postgresql.updateable.afterlastdelete:After end of result set. Can not call deleteRow().
 postgresql.updateable.badupdateposition:Cannot update the result set because it is either before the start or after the end of the results.
 postgresql.updateable.notoninsertrow:Not on insert row.
+postgresql.updateable.noinsertvalues:You must specify at least one column value to insert a row.
 postgresql.updateable.ioerror:Input Stream Error - {0}
 postgresql.call.noreturntype:A CallableStatement Function was declared but no call to 'registerOutParameter (1, <some_type>)' was made.
 postgresql.call.noinout:PostgreSQL only supports function return value [@ 1] (no OUT or INOUT arguments)
 
  * Copyright (c) 2003, PostgreSQL Global Development Group
  *
  * IDENTIFICATION
- *   $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/Attic/AbstractJdbc2ResultSet.java,v 1.25.2.11 2005/04/22 14:36:48 jurka Exp $
+ *   $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc2/Attic/AbstractJdbc2ResultSet.java,v 1.25.2.12 2005/04/22 14:48:18 jurka Exp $
  *
  *-------------------------------------------------------------------------
  */
        {
            throw new PSQLException( "postgresql.updateable.notoninsertrow" );
        }
+       if (updateValues.size() == 0)
+       {
+           throw new PSQLException( "postgresql.updateable.noinsertvalues" );
+       }
        else
        {
 
        if (onInsertRow)
            throw new PSQLException("postgresql.res.oninsertrow");
 
-       if (isBeforeFirst() || isAfterLast())
+       if (isBeforeFirst() || isAfterLast() || rows.size() == 0)
            return;
 
        StringBuffer selectSQL = new StringBuffer( "select ");
        {
            throw new PSQLException( "postgresql.updateable.notupdateable" );
        }
-       if (isBeforeFirst() || isAfterLast())
+       if (isBeforeFirst() || isAfterLast() || rows.size() == 0)
        {
            throw new PSQLException("postgresql.updateable.badupdateposition");
        }
        {
            throw new PSQLException( "postgresql.updateable.notupdateable" );
        }
-       if (!onInsertRow && (isBeforeFirst() || isAfterLast()))
+       if (!onInsertRow && (isBeforeFirst() || isAfterLast() || rows.size() == 0))
        {
            throw new PSQLException("postgresql.updateable.badupdateposition");
        }