diff options
author | Amit Kapila <akapila@postgresql.org> | 2019-11-09 17:28:27 +0530 |
---|---|---|
committer | Amit Kapila <akapila@postgresql.org> | 2019-11-11 07:42:45 +0530 |
commit | 9fab25c6cd1f943284b8e0014007cd5750d54308 (patch) | |
tree | 99cc8947b0c4f31f3da3c8056004999d246db0c9 /src/backend/utils/adt/json.c | |
parent | ef8fcbff56e8904ba83b2659e9d0290e6106928e (diff) | |
download | postgresql-9fab25c6cd1f943284b8e0014007cd5750d54308.tar.gz postgresql-9fab25c6cd1f943284b8e0014007cd5750d54308.zip |
Rearrange dropdb() to avoid errors after allowing other sessions to exit.
During Drop Database, it is better to error out before allowing other
sessions to exit and forcefully terminating autovacuum workers. All the
other errors except for checking subscriptions are already done before.
Author: Amit Kapila
Discussion: https://postgr.es/m/CAA4eK1+qhLkCYG2oy9xug9ur_j=G2wQNRYAyd+-kZfZ1z42pLw@mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/json.c')
0 files changed, 0 insertions, 0 deletions