@Override
	protected int deleteVectors(long id, int countdiff) throws SQLException {
		int res = -100;
		String sql =
			"SELECT remove_vec( " + Long.toString(id) + ',' + Integer.toString(countdiff) + ")";
		try (ResultSet rs = getReusableStatement().executeQuery(sql)) {
			if (!rs.next()) {
				throw new SQLException("Did not get result code after deletion");
			}
			res = rs.getInt(1);
		}
		return res;
	}
Low level count decrement of a vector record from vectable, if count
reaches zero, the record is deleted
@param id vector row ID
@param countdiff the amount to subtract from count
@return 0 if decrement short of 0, return 1 if record was removed, return
        -1 if there was a problem
@throws SQLException if there is a problem creating or executing the query
Ghidra/Features/BSim/src/main/java/ghidra/features/bsim/query/client/PostgresFunctionDatabase.java