mirror of https://github.com/postgres/postgres
The previous implementation (from 9afffcb833
) had an unnecessary check
on the boundaries of the enum which trigtered compile warnings. To clean
it up, move the pre-existing static assert to a central location and
call that.
Reported-By: Erik Rijkers
Reviewed-By: Michael Paquier
Discussion: https://postgr.es/m/1056399262.13159.1617793249020@webmailclassic.xs4all.nl
pull/64/head
parent
4560e0acda
commit
c1968426ba
Loading…
Reference in new issue