-- These reads enforce customer access using row locks and may synchronize expired
-- temporary identity approval. PostgREST runs STABLE RPCs in read-only transactions,
-- so their access checks require VOLATILE even when the returned data is a read.
-- ALTER preserves the existing function bodies, security settings and grants.
begin;
alter function public.marketplace_demo_wallet() volatile;
alter function public.marketplace_usdt_state() volatile;
alter function public.marketplace_funding_history(integer) volatile;
notify pgrst,'reload schema';
commit;
