Fix starting unnecessary transaction when SET command is issued.
authorTatsuo Ishii <ishii@postgresql.org>
Mon, 31 Jul 2017 08:29:27 +0000 (17:29 +0900)
committerTatsuo Ishii <ishii@postgresql.org>
Mon, 31 Jul 2017 08:29:27 +0000 (17:29 +0900)
commit8e984d1a78e9837d1a253fc050bd984dbbb835ff
tree730e16c523ffb3260453bfaf8ed0cea6fab1fa94
parent7a47b01c3f011067e91124a7f984036d205240b2
Fix starting unnecessary transaction when SET command is issued.

In streaming replication mode, there's no point to start internal
transaction when SET command is issued. The existing behavior is
harmless but waste of CPU cycle.
src/protocol/pool_proto_modules.c