Simplify code to switch pg_class.relrowsecurity in tablecmds.c The same code pattern was repeated twice to enable or disable ROW LEVEL SECURITY with an ALTER TABLE command. This makes the code slightly cleaner.
Author: Justin Pryzby Reviewed-by: Zhihong Yu Discussion: https://postgr.es/m/[email protected] Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/fabde52fab976ff782d77c80b8e2614f94f9dce1 Modified Files -------------- src/backend/commands/tablecmds.c | 34 +++++----------------------------- 1 file changed, 5 insertions(+), 29 deletions(-)
