Q012hint
More than one statement
A query block contains more than one SQL statement; only the last is analysed.
db/queries/example.sql:1:1: hint[Q012]: query "TouchAuthor" contains 2 statements; give each its own header
Printed by sgl from a small PostgreSQL reproduction project.
When it is reported
Each sgl.query header covers one statement. Earlier statements in the same block are not analysed or generated.
How to fix it
Give each statement its own sgl.query header.
In your terminal
$ sgl explain Q012
Look for MultipleStatements in Seagull's source to see where it is reported.