SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
create or replace function avc(val record) returns boolean as $$ declare jval jsonb; begin jval := to_jsonb(val); return false; end; $$ language plpgsql; # with cte(is_activee) as ((values (1 ), (2 ))) select avc(cte.*) from cte; # SELECT avc( row(true) ); # SELECT avc( row(1,2)::record ); drop table if exists t; create table t(id integer); select avc(row(1)::t); SELECT avc( row(1) );
Stuck with a problem? Got Error? Ask ChatGPT!
Copy Clear