[pgsql-jp: 25164] 7.1.3でのCREATEUSER

emia emia @ mqb.biglobe.ne.jp
2002年 3月 8日 (金) 17:22:57 JST


PostgreSQL7.1.3、Solaris8の環境です。

以下のようにユーザ作成可、データベース作成不可でユーザを作成したところ…

> ./createuser t1
Shall the new user be allowed to create databases? (y/n) n
Shall the new user be allowed to create more new users? (y/n) y
CREATE USER

> psql -U t1 template1
Welcome to psql, the PostgreSQL interactive terminal.

Type:  \copyright for distribution terms
       \h for help with SQL commands
       \? for help on internal slash commands
       \g or terminate with semicolon to execute query
       \q to quit

template1=# create database t1;
CREATE DATABASE


と、データベースが作れてしまいました…

これってユーザ作成できるユーザは、
データベース作成も必ずできるという仕様なのでしょうか?


そんな権限のユーザ作るなよという突っ込みもあると思いますが
一応報告しておきます。




pgsql-jp メーリングリストの案内