pg_pathman
pg_pathman copied to clipboard
why create_single_partition_internal has to escalate privilege
in master branch: pg_pathman/v1.5.12/src/partition_creation.c:765 The privilege will escalate to superuser and I wonder why this should happen. Normal user can also bypass privilege check in the following function and use superuser may cause security question.