On Nov 4, 2021, at 17:22, 'Matt Zagrabelny' via Sqitch Users <
sqitch...@googlegroups.com> wrote:
> In the tutorial I see for the verify command:
>
> SELECT pg_catalog.has_schema_privilege('flipr', 'usage');
>
> but I also see, for Pg 9.5+:
>
> DO $$
> BEGIN
> ASSERT (SELECT has_schema_privilege('flipr', 'usage'));
> END $$;
>
>
> Which SQL should I put in the verify file?
Try it and see. It should fail the deploy if the flipr schema does not exist, and should succeed if it does exist. You can force it to fail by changing the name of the schema in the test.