Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eYegH-0000Z5-Ek for pgsql-jdbc@arkaria.postgresql.org; Mon, 08 Jan 2018 21:10:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eYegH-00034x-1a for pgsql-jdbc@arkaria.postgresql.org; Mon, 08 Jan 2018 21:10:05 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eYegG-00034m-PN for pgsql-jdbc@lists.postgresql.org; Mon, 08 Jan 2018 21:10:04 +0000 Received: from m71-131.mailgun.net ([166.78.71.131]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1eYegE-0001V9-BH for pgsql-jdbc@postgresql.org; Mon, 08 Jan 2018 21:10:03 +0000 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=github.com; q=dns/txt; s=mailo; t=1515445802; h=Content-Transfer-Encoding: Content-Type: Mime-Version: Subject: Message-ID: To: Reply-To: From: Date: Sender; bh=5HYlyBO2ghZpUMyWRhtUcfqpaoOFzbR1xxSld5pS0io=; b=E9BuCjIjuvpOCfV1RSUCN6bUFMMfnkIITJCyu/vGim8RUK/2nB4QhBVWUsiL4yLLOOAOAV+x cFGn67vGEmY2rAU8RfmlFMRkR/7Q+c0Y+0uLlu3kHN0rMbutz4bwlqysiRJAMbQxQeiCvoeZ b2idJjpwMEHSqxgyiuXaMa9IRZ8= X-Mailgun-Sending-Ip: 166.78.71.131 X-Mailgun-Sid: WyI3ZTA2ZSIsICJwZ3NxbC1qZGJjQHBvc3RncmVzcWwub3JnIiwgIjQwZiJd Sender: sitnikov.vladimir=gmail.com@github.com Received: from github.com (Unknown [192.30.252.40]) by mxa.mailgun.org with ESMTP id 5a53de29.7fc17c3c79f0-smtp-out-n03; Mon, 08 Jan 2018 21:10:01 -0000 (UTC) Date: Mon, 08 Jan 2018 13:10:00 -0800 From: Vladimir Sitnikov Reply-To: Vladimir Sitnikov To: pgsql-jdbc@postgresql.org Message-ID: <5a53de28e00e2_74cb2ad0d4dcdc0831762@hookshot-fe-d2afb11.cp1-iad.github.net.mail> Subject: [pgjdbc/pgjdbc] a94cfe: refactor: factor out receiveParameterStatus so all... Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="--==_mimepart_5a53de28dfd80_74cb2ad0d4dcdc083163d"; charset=UTF-8 Content-Transfer-Encoding: 7bit Approved: 58GruLoMopuc List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ----==_mimepart_5a53de28dfd80_74cb2ad0d4dcdc083163d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Branch: refs/heads/master Home: https://github.com/pgjdbc/pgjdbc Commit: a94cfeace5d66b4fe8d8fa3b16986baebaec2a11 https://github.com/pgjdbc/pgjdbc/commit/a94cfeace5d66b4fe8d8fa3b16986baebaec2a11 Author: Vladimir Sitnikov 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 in null 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 ----==_mimepart_5a53de28dfd80_74cb2ad0d4dcdc083163d--