Get startedGet started for free

Structure of stacked diagnostics function

Getting the structure of a function made for stacked diagnostics right is critical to ensuring you get the outputs you desire. Failing to declare variables or store them will invalidate all your hard work. Below is a list of blocks in a function.

This exercise is part of the course

Transactions and Error Handling in PostgreSQL

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise