check schema exists postgresql code example
Example: check schema exists postgresql
SELECT schema_name FROM information_schema.schemata WHERE schema_name = 'name';
SELECT schema_name FROM information_schema.schemata WHERE schema_name = 'name';