40
32

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

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;
40
32
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
40
32

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?