LoginSignup
38
31

More than 5 years have passed since last update.

postgresのスキーマ切り替え

Last updated at Posted at 2017-03-07

急にpostgresを使う必要がでてきたので覚え書き

CLIからスキーマ一覧の表示

\dn

現在のスキーマ

select current_schema();

スキーマを変更する

SET search_path = my_schema;
38
31
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
38
31