I've created a new database, customer_test
, in Redshift on the same cluster where most of my data lives (in the dev
database). I've created this database using a superuser.
My problem arises when I run create schema new_schema
in the new database. The query runs fine, and when I query PG_NAMESPACE
I see the schema there. I can even create tables. But if I disconnect and reconnect, the schema is gone. I don't see any specification in the RS documentation that schemas are temporary, and I've verified this is a superuser. Is there a reason my created schemas are disappearing? Thanks for the help.
commit;
after for a check and it still failed – jpavsSET SCHEMA
orSET search_path to schema
? postgresql.org/docs/9.2/static/ddl-schemas.html – John Rotenstein