aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/async.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2019-09-10 12:13:29 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2019-09-10 12:14:24 -0300
commitb438e7e7a1c58e0c20b5f46e73cbd713e8033c69 (patch)
treebabe3edf8ac75f908a0e921e96e93a8c28cddcf8 /src/backend/commands/async.c
parent55d015bde05311cbaaf16424e3aa05c37946cd8a (diff)
downloadpostgresql-b438e7e7a1c58e0c20b5f46e73cbd713e8033c69.tar.gz
postgresql-b438e7e7a1c58e0c20b5f46e73cbd713e8033c69.zip
Restructure libpq code to remove some duplicity
There was some duplicate code to run SHOW transaction_read_only to determine whether the server is read-write or read-only. Reduce it by adding another state to the state machine. Author: Hari Babu Kommi Reviewed-by: Takayuki Tsunakawa, Álvaro Herrera Discussion: https://postgr.es/m/CAJrrPGe_qgdbbN+yBgEVpd+YLHXXjTruzk6RmTMhqrFig+32ag@mail.gmail.com
Diffstat (limited to 'src/backend/commands/async.c')
0 files changed, 0 insertions, 0 deletions