When doing batch execution we can have multiple Parse and DescribeStatement messages on the wire at the same time.  When we finally get around to collecting the DescribeStatement results we must check whether they still apply to the currently parsed query. Otherwise we'll overwrite our type information with stale data that will cause failures down the line.
When doing batch execution we can have multiple Parse and
DescribeStatement messages on the wire at the same time.  When we
finally get around to collecting the DescribeStatement results we
must check whether they still apply to the currently parsed query.
Otherwise we'll overwrite our type information with stale data that
will cause failures down the line.

With debugging assistance from Eric Faulhaber.

jkutner/pgjdbc,AlexElin/pgjdbc,davecramer/pgjdbc,thkoch2001/libpostgresql-jdbc-java,amozhenin/pgjdbc,marschall/pgjdbc,jamesthomp/pgjdbc,ekoontz/pgjdbc,golovnin/pgjdbc,rjmac/pgjdbc,pgjdbc/pgjdbc,pgjdbc/pgjdbc,rjmac/pgjdbc,rjmac/pgjdbc,panchenko/pgjdbc,lordnelson/pgjdbc,schlosna/pgjdbc,zapov/pgjdbc,jamesthomp/pgjdbc,marschall/pgjdbc,phillipross/pgjdbc,sehrope/pgjdbc,jkutner/pgjdbc,Gordiychuk/pgjdbc,zemian/pgjdbc,bocap/pgjdbc,panchenko/pgjdbc,tivv/pgjdbc,golovnin/pgjdbc,AlexElin/pgjdbc,tivv/pgjdbc,pgjdbc/pgjdbc,underyx/pgjdbc,jorsol/pgjdbc,underyx/pgjdbc,alexismeneses/pgjdbc,whitingjr/pgjdbc,bocap/pgjdbc,phillipross/pgjdbc,lonnyj/pgjdbc,Gordiychuk/pgjdbc,schlosna/pgjdbc,marschall/pgjdbc,panchenko/pgjdbc,jamesthomp/pgjdbc,zemian/pgjdbc,davecramer/pgjdbc,lonnyj/pgjdbc,pgjdbc/pgjdbc,bocap/pgjdbc,AlexElin/pgjdbc,thkoch2001/libpostgresql-jdbc-java,zapov/pgjdbc,alexismeneses/pgjdbc,davecramer/pgjdbc,thkoch2001/libpostgresql-jdbc-java,ekoontz/pgjdbc,whitingjr/pgjdbc,zemian/pgjdbc,jorsol/pgjdbc,sehrope/pgjdbc,sehrope/pgjdbc,jkutner/pgjdbc,sehrope/pgjdbc,marschall/pgjdbc,Gordiychuk/pgjdbc,golovnin/pgjdbc,phillipross/pgjdbc,whitingjr/pgjdbc,amozhenin/pgjdbc,jorsol/pgjdbc,davecramer/pgjdbc,zapov/pgjdbc,lordnelson/pgjdbc,amozhenin/pgjdbc,lordnelson/pgjdbc,jorsol/pgjdbc,underyx/pgjdbc