mirror of
https://github.com/postgres/postgres.git
synced 2025-07-15 19:21:59 +03:00
Removed error message that was incorectly being issued. This fixes a problem reported a few months ago where a select in a rule was causing an insert statement to return a result set which the code was explicitly prohibiting.
This commit is contained in:
@ -66,8 +66,6 @@ public class Statement extends org.postgresql.Statement implements java.sql.Stat
|
||||
public int executeUpdate(String sql) throws SQLException
|
||||
{
|
||||
this.execute(sql);
|
||||
if (((org.postgresql.ResultSet)result).reallyResultSet())
|
||||
throw new PSQLException("postgresql.stat.result");
|
||||
return this.getUpdateCount();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user