Fix a bug in function escape processing.  When dealing with an invalid escape the code attempted to read until it hit the escape end and press on, but it forgot to increment its position counter. This lead to an infinite loop that eventually resulted in an out of memory error.
Fix a bug in function escape processing.  When dealing with an
invalid escape the code attempted to read until it hit the escape
end and press on, but it forgot to increment its position counter.
This lead to an infinite loop that eventually resulted in an out of
memory error.

element-doo/postgresql-jdbc,element-doo/postgresql-jdbc