Open malthe opened 7 months ago
In PostgreSQL 14+ a new language mode is available to define a function:
Explanation:
Allow SQL-language functions and procedures to use SQL-standard function bodies
Here's an example which currently fails to parse:
CREATE FUNCTION test (integer) RETURNS int LANGUAGE SQL BEGIN ATOMIC SELECT $1; END;
In PostgreSQL 14+ a new language mode is available to define a function:
Explanation:
Here's an example which currently fails to parse: