文章分类 -  Postgres

postgres - 安装
摘要:一、安装 检查本机安装情况: rpm -qa | grep postgres 检查PostgreSQL 是否已经安装 rpm -qal | grep postgres 检查PostgreSQL 安装位置 使用yum库设置安装postgresql94版本,最好先创建用户组和用户: (1)新增postg 阅读全文

posted @ 2021-08-23 15:39 TrustNature

Postgres - 基本操作命令
摘要:一、登录 su - postgres 切换到 postgres 用户 psql -U postgres -W 使用密码登录 二、操作 查看所有用户: select * from pg_user 查看所有角色:\du 创建用户: CREATE USER pg_test_user_2; 在Postgre 阅读全文

posted @ 2021-07-14 18:04 TrustNature