[PATCH] refactor ATExec{En,Dis}ableRowSecurity

Justin Pryzby <pryzby@telsasoft.com>

From: Justin Pryzby <pryzby@telsasoft.com>
To: Stephen Frost <sfrost@snowman.net>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2021-02-28T21:18:54Z
Lists: pgsql-hackers

Attachments

tablecmds.c is 17k lines long, this makes it ~30 lines shorter.

Commits

  1. Simplify code to switch pg_class.relrowsecurity in tablecmds.c