@@ -192,6 +192,7 @@ pub enum AlterTableOperation {
192192 /// `DISABLE ROW LEVEL SECURITY`
193193 ///
194194 /// Note: this is a PostgreSQL-specific operation.
195+ /// Please refer to [PostgreSQL documentation](https://www.postgresql.org/docs/current/sql-altertable.html)
195196 DisableRowLevelSecurity ,
196197 /// `DISABLE RULE rewrite_rule_name`
197198 ///
@@ -318,7 +319,18 @@ pub enum AlterTableOperation {
318319 /// `ENABLE ROW LEVEL SECURITY`
319320 ///
320321 /// Note: this is a PostgreSQL-specific operation.
322+ /// Please refer to [PostgreSQL documentation](https://www.postgresql.org/docs/current/sql-altertable.html)
321323 EnableRowLevelSecurity ,
324+ /// `FORCE ROW LEVEL SECURITY`
325+ ///
326+ /// Note: this is a PostgreSQL-specific operation.
327+ /// Please refer to [PostgreSQL documentation](https://www.postgresql.org/docs/current/sql-altertable.html)
328+ ForceRowLevelSecurity ,
329+ /// `NO FORCE ROW LEVEL SECURITY`
330+ ///
331+ /// Note: this is a PostgreSQL-specific operation.
332+ /// Please refer to [PostgreSQL documentation](https://www.postgresql.org/docs/current/sql-altertable.html)
333+ NoForceRowLevelSecurity ,
322334 /// `ENABLE RULE rewrite_rule_name`
323335 ///
324336 /// Note: this is a PostgreSQL-specific operation.
@@ -876,6 +888,12 @@ impl fmt::Display for AlterTableOperation {
876888 AlterTableOperation :: EnableRowLevelSecurity => {
877889 write ! ( f, "ENABLE ROW LEVEL SECURITY" )
878890 }
891+ AlterTableOperation :: ForceRowLevelSecurity => {
892+ write ! ( f, "FORCE ROW LEVEL SECURITY" )
893+ }
894+ AlterTableOperation :: NoForceRowLevelSecurity => {
895+ write ! ( f, "NO FORCE ROW LEVEL SECURITY" )
896+ }
879897 AlterTableOperation :: EnableRule { name } => {
880898 write ! ( f, "ENABLE RULE {name}" )
881899 }
0 commit comments