>>>>> "David" == "David E Wheeler" <david@kineticode.com> writes:
David> Hey All,David> I was just getting a new version of pgTAP ready for release, and while testing it on HEAD, I got
thiserror:
David> + psql:pgtap.sql:5789: ERROR: syntax error at end of inputDavid> + LINE 28: IF verbose THEN
RETURNNEXT diag(tests[i] ||...David> + ^
David> I asked on IRC, and Andrew “RhodiumToad” Gierth pointed outDavid> that it became a reserved word at some point.
I'mfine toDavid> rename my variable, but Andew and I were wondering if it'sDavid> really necessary for "verbose" to be
reserved,since it's notDavid> in the spec.
Looking at it more closely, this is likely to be fallout from the
plpgsql lexer/parser changes; it probably worked before only because
plpgsql was doing its own thing rather than using the main lexer.
VERBOSE has been reserved all along in order to distinguish
'vacuum verbose;' from 'vacuum tablename;' and so on; but it's still an
interesting pitfall for plpgsql users.
--
Andrew (irc:RhodiumToad)