postgres 数据库 shell SQL 语句
https://www.cnblogs.com/52note/p/15277150.html#3%E8%BF%9B%E5%85%A5%E6%95%B0%E6%8D%AE%E5%BA%93
postgresql 有两套命令,一套在linux 终端上,一套在 数据库 shell 上称为 SQL 语句。
数据库中使用的命令,是一套完整的 SQL 语句。
\l
\c databasename
\conninfo
\d
create database name
drop database name
Linux postgresql 数据库操作命令
createuser name
psql -c "ALTER USER ubantu WITH PASSWORD '123456'"
psql -d dbname -U username