Postgresql8で、createuserコマンドを使用すると、
Shall the new role be a superuser? (y/n)
Shall the new role be allowed to create databases? (y/n)
Shall the new role be allowed to create more new roles? (y/n)
以前のOracleやPostgreSQL7以前では、user追加のメッセージが返ってきたと思います。
何故、新しいuserを作ろうとすると、新しロールを作ることになるのですか?
A 回答 (1件)
- 最新から表示
- 回答順に表示
No.1
- 回答日時:
PostgreSQL8から、ロールという概念が追加されたのですが、その実はユーザの追加と同じです。
ですから、
Shall the new role be a superuser? (y/n)
については、「追加するロール(ユーザ)をpostgres同等にするか?」
ということで、
Shall the new role be allowed to create databases? (y/n)
Shall the new role be allowed to create more new roles? (y/n)
については、それぞれ、
「あたらしいDBを作る権限を与えるか?」
「新しいロール(ユーザ)を作る権限を与えるか?」
ということです。
ロールという言葉を気にしないでも良いようです。
お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!
関連するカテゴリからQ&Aを探す
おすすめ情報
- ・漫画をレンタルでお得に読める!
- ・14歳の自分に衝撃の事実を告げてください
- ・架空の映画のネタバレレビュー
- ・「お昼の放送」の思い出
- ・昨日見た夢を教えて下さい
- ・ちょっと先の未来クイズ第4問
- ・【大喜利】【投稿~10/21(月)】買ったばかりの自転車を分解してひと言
- ・メモのコツを教えてください!
- ・CDの保有枚数を教えてください
- ・ホテルを選ぶとき、これだけは譲れない条件TOP3は?
- ・家・車以外で、人生で一番奮発した買い物
- ・人生最悪の忘れ物
- ・【コナン30周年】嘘でしょ!?と思った○○周年を教えて【ハルヒ20周年】
- ・ハマっている「お菓子」を教えて!
- ・最近、いつ泣きましたか?
- ・夏が終わったと感じる瞬間って、どんな時?
- ・10秒目をつむったら…
- ・人生のプチ美学を教えてください!!
- ・あなたの習慣について教えてください!!
- ・牛、豚、鶏、どれか一つ食べられなくなるとしたら?
- ・都道府県穴埋めゲーム
デイリーランキングこのカテゴリの人気デイリーQ&Aランキング
-
PostgreSQLで集約関数をネスト...
-
pl/pgsqlでの、エラーコードと...
-
PostgreSQL14.6のSSL対応について
-
windows版postgresql 異なるバ...
-
アンインストール時がうまくい...
-
Windows10でQuickTimeがインス...
-
Oracle8iとOracle9iは共存でき...
-
odbc接続処理が遅い
-
ORA-00439について
-
AS400へのphpによるJDBC接続
-
MySQLがインストールできない
-
booleanデータのcsv出力形式
-
postgresqlの接続ポート5432か...
-
PostgreSQL インストール 起動...
-
エラー表示
-
Accessのデータを簡単にPostgre...
-
コマンドプロンプト
-
DBに新しいTBLを作成した際に初...
-
SQLについてです
-
ORACLE複数インストール時の複...
マンスリーランキングこのカテゴリの人気マンスリーQ&Aランキング
-
PostgreSQLで集約関数をネスト...
-
V7.4.6のtimestamp型について
-
pl/pgsqlでの、エラーコードと...
-
データタイプについて
-
SP と WindowsUpdata
-
postgresqlの接続ポート5432か...
-
MySQLとPostgresの同時使用
-
postgresqlでのトランザクショ...
-
windows版postgresql 異なるバ...
-
Windows10でQuickTimeがインス...
-
ORA-12571 パケット・ライター障害
-
Access フォーム「使用可能」...
-
odbc接続処理が遅い
-
Windows10がインストールできま...
-
PostgreSQLが起動しない・・・
-
PostgreSQLを完全に削除出来ない
-
PostgreSQLの標準文字コードをS...
-
exp、impについて
-
MySQLがインストールできない
-
pgpassが有効にならない?
おすすめ情報