FR-001checkpassingguard(text, dialect, options?) MUST give an ok value of the parse where the text is exactly one statement that only reads, and an err value of every violation (a span of the text and one sentence) where it is not; a statement only reads where it is a query (SELECT, a set operation, VALUES, or WITH whose body and common table expressions are queries), holds no data change, no definition, no SELECT ... INTO, no locking clause (FOR UPDATE, FOR SHARE), and calls no function of the denied list; a word of a write inside a string, an identifier or a comment MUST NOT be a violation, and a text that does not read in the dialect MUST be a violation with the parser's sentence.
Cited by: aide/guard/mod