diff options
author | Michael Paquier <michael@paquier.xyz> | 2021-03-02 12:30:21 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2021-03-02 12:30:21 +0900 |
commit | fabde52fab976ff782d77c80b8e2614f94f9dce1 (patch) | |
tree | a37457192f1a577705bf22d59eca8a8256b07cde /src/backend/regex/regexec.c | |
parent | bd1b8d0ef2eb5f2a8765fbb3b74e0262c9983942 (diff) | |
download | postgresql-fabde52fab976ff782d77c80b8e2614f94f9dce1.tar.gz postgresql-fabde52fab976ff782d77c80b8e2614f94f9dce1.zip |
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/20210228211854.GC20769@telsasoft.com
Diffstat (limited to 'src/backend/regex/regexec.c')
0 files changed, 0 insertions, 0 deletions