Fix a minor concurrency issue during the setup for processing escape functions.
Fix a minor concurrency issue during the setup for processing
escape functions.

Pierre Queinnec

tivv/davepgjdbc,tivv/davepgjdbc