CREATE TABLE public.items (
    id    bigint NOT NULL,
    label text
);
COMMENT ON TABLE public.items IS 'test items';
COMMENT ON COLUMN public.items.label IS 'display label';

CREATE FUNCTION public.find_item(p_id bigint) RETURNS public.items
    LANGUAGE sql AS $$ SELECT * FROM public.items WHERE id = p_id $$;
