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
New syntax for function definition allows functions to be defined without $$
CREATE OR REPLACE FUNCTION asterisks(n int)
RETURNS SETOF text
LANGUAGE sql IMMUTABLE STRICT PARALLEL SAFE
BEGIN ATOMIC
SELECT repeat('*', g) FROM generate_series (1, n) g; -- <-- Note this semicolon
END;
…2703)
* fix: Parser does not handle version 14 function syntax Issue #2507
* Change the logic to look for BEGIN ATOMIC instead of just ATOMIC
* document parser, refactor Brace to Parenthesis
New syntax for function definition allows functions to be defined without $$
See #2506 for a reproducer
The text was updated successfully, but these errors were encountered: