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
Describe the bug
When trying to execute create or replace function, it complains at SQLSTATE 42601
To Reproduce
execute
create or replace function concat(id int)
returns text
language plpgsql
as
$$
declare
name text;
begin
select coalesce(last_name||' ', ''),
coalesce(first_name||' ', ''),
coalesce(middle_name||' ', '')
into name
from person
where person.id = id;
return trim(name);
end;
$$;
Expected behavior
Complete execution
Versions (please complete the following information):
OS Version: Arch Linux
sqls Version 0.2.27
Additional context
The text was updated successfully, but these errors were encountered:
Describe the bug
When trying to execute create or replace function, it complains at SQLSTATE 42601
To Reproduce
execute
Expected behavior
Complete execution
Versions (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: