diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2017-05-14 13:32:59 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2017-05-14 13:32:59 -0400 |
commit | e84c0195980f24b1c7f857b88834c1dcaf20a102 (patch) | |
tree | 7d5e76f461d2d53116851d04f4ba7b9e8510a7e5 /src/backend/executor/nodeBitmapAnd.c | |
parent | b5b0db19b895f033ada35bc7c337183be7356977 (diff) | |
download | postgresql-e84c0195980f24b1c7f857b88834c1dcaf20a102.tar.gz postgresql-e84c0195980f24b1c7f857b88834c1dcaf20a102.zip |
Fix maintenance hazards caused by ill-considered use of default: cases.
Remove default cases from assorted switches over ObjectClass and some
related enum types, so that we'll get compiler warnings when someone
adds a new enum value without accounting for it in all these places.
In passing, re-order some switch cases as needed to match the declaration
of enum ObjectClass. OK, that's just neatnik-ism, but I dislike code
that looks like it was assembled with the help of a dartboard.
Discussion: https://postgr.es/m/20170512221010.nglatgt5azzdxjlj@alvherre.pgsql
Diffstat (limited to 'src/backend/executor/nodeBitmapAnd.c')
0 files changed, 0 insertions, 0 deletions