Hi,
Please find the patch which fixes sql generation for postgresql-14functions written 'pure sql' and other languages.
Thanks,Yogesh MahajanEnterpriseDB