PostgreSQL Tutorial: Creating Updatable Views Using the WITH CHECK OPTION Clause
Summary: In this tutorial, we will show you how to create an updatable view using the WITH CHECK OPTION
clause to ensure that the changes to the base tables through the view satisfy the view-defining condition.