Q034error

Invalid list

A bracketed list does not end with ']'.

db/queries/example.sql:2:36: error[Q034]: expected ']' to close list literal, got ")"
Printed by sgl from a small PostgreSQL reproduction project.

When it is reported

Usually a stray ')' where the ']' should be. The malformed value is rejected rather than read in part.

How to fix it

Close the list with ']'.

In your terminal

$ sgl explain Q034

Look for InvalidListLiteral in Seagull's source to see where it is reported.