PostgreSQL Assert Statement - Database Tutorials
In this article, you will learn about the PostgreSQL assert statement and how to use it for debugging purposes. Although the assert command is similar to the RAISE command, its uses are different. In the assert command, unlike raise, we need to put a condition and write the message we want to print by placing