st.setString(1, ";");
assertTrue(st.execute());
rs = st.getResultSet();
assertTrue(rs.next());
assertEquals("$a$;$x $a$", rs.getString(1));
<BUG>assertFalse(rs.next());
st = conn.prepareStatement("SELECT ?::text");</BUG>
st.setString(1, "$a$ $a$");
assertTrue(st.execute());
rs = st.getResultSet();

st.setString(1, ";");
assertTrue(st.execute());
rs = st.getResultSet();
