diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2022-01-14 10:46:49 +0100 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2022-01-14 10:53:21 +0100 |
commit | 93415a3b5ac8d8a2951ca0db887d8a173b8630a0 (patch) | |
tree | 1173bf02cfbe70a3f8cd7e3d18ea3911e691781e /src/backend/parser/parse_node.c | |
parent | bb42bfb5ccb5f138a8b7ad3549cfb05c0cc5187b (diff) | |
download | postgresql-93415a3b5ac8d8a2951ca0db887d8a173b8630a0.tar.gz postgresql-93415a3b5ac8d8a2951ca0db887d8a173b8630a0.zip |
Refactor AlterRole()
Get rid of the three-valued logic for the Boolean variables to track
whether the value was been specified and what the new value should be.
Instead, we can use the "dfoo" variables to determine whether the
value was specified and should be applied. This was already done in
some cases, so this makes this more uniform and removes one layer of
indirection.
Reviewed-by: Pavel Stehule <pavel.stehule@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/8c1a2e37-c68d-703c-5a83-7a6077f4f997@enterprisedb.com
Diffstat (limited to 'src/backend/parser/parse_node.c')
0 files changed, 0 insertions, 0 deletions