Thread: [pgjdbc/pgjdbc] a94cfe: refactor: factor out receiveParameterStatusso all...

[pgjdbc/pgjdbc] a94cfe: refactor: factor out receiveParameterStatusso all...

From
Vladimir Sitnikov
Date:
Branch: refs/heads/master
  Home:   https://github.com/pgjdbc/pgjdbc
  Commit: a94cfeace5d66b4fe8d8fa3b16986baebaec2a11
      https://github.com/pgjdbc/pgjdbc/commit/a94cfeace5d66b4fe8d8fa3b16986baebaec2a11
  Author: Vladimir Sitnikov <sitnikov.vladimir@gmail.com>
  Date:   2018-01-09 (Tue, 09 Jan 2018)

  Changed paths:
    M pgjdbc/src/main/java/org/postgresql/core/PGStream.java
    M pgjdbc/src/main/java/org/postgresql/core/v3/QueryExecutorImpl.java

  Log Message:
  -----------
  refactor: factor out receiveParameterStatus so all the ParameterStatus messages are handled in the same way

At least, TimeZone parameter status message was not handled in "process startup", then queryExecutor.timeZone resulted
innull value,
 
and it resulted in QueryExecutor.timeZone to be null.

It is not known there were issues with that, however it makes sense to keep processing logic consistent