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
The same function written in a more SQL-conforming style, using argument names and an unquoted body:
CREATE FUNCTION add(a integer, b integer) RETURNS integer
LANGUAGE SQL
IMMUTABLE
RETURNS NULL ON NULL INPUT
RETURN a + b;
The text was updated successfully, but these errors were encountered:
Simple example:
This is working since postgres 14 - see docs https://www.postgresql.org/docs/current/sql-createfunction.html
The text was updated successfully, but these errors were encountered: