You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sql: wrap CASE expressions with parenthesis within PLpgSQL context
Currently, if we generate a CASE expression within the condition of the
IF block in PLpgSQL, it cannot be parsed because it's unclear whether
THEN belongs to CASE or to IF. In order to disambiguate this, we need to
wrap CASE expressions in parenthesis, and we now do so in all
sqlsmith-generated queries whenever we're in PLpgSQL context.
Release note: None
0 commit comments