単純に権限を与える
grant select(権限) on table名 to ユーザー名
権限
・select
・delete
・insert
・update
とかがある
ロールを与える
ロールは権限をまとめたもの
ロールの作成
create role ロール名
ロールに権限を付ける
grant select(権限) on table名 to ロール名
ロールを与える
grant ロール名 to ユーザー名
関数の実行権限を与える
grant execute on 関数名 to ユーザー名