トップ 差分 一覧 ソース 検索 ヘルプ PDF RSS ログイン

PostgreSQL

アクセス制御例

  • postgresql.conf
    • listen_addresses = '*'
  • pg_hba.conf
    • host all all xxx.xxx.xxx.xxx/32 trust

データ移行

pg_dumpall > outfile
psql -f infile postgres

読み出し権限

GRANT SELECT ON t1 TO mygroup;
GRANT admins TO joe;