Postgres: To connect to a schema
cfdvlp=> show search_path;
search_path
-----------------
"$user", public
(1 row)
cfdvlp=> set search_Path to ordadmin;
SET
Or if you want multiple schemas:
SET search_path TO myschema, public;
cfdvlp=> show search_path;
search_path
-----------------
"$user", public
(1 row)
cfdvlp=> set search_Path to ordadmin;
SET
Or if you want multiple schemas:
SET search_path TO myschema, public;
Comments
Post a Comment