Skip to content

Instantly share code, notes, and snippets.

@loveky
Created September 3, 2013 00:13
Show Gist options
  • Save loveky/6418389 to your computer and use it in GitHub Desktop.
Save loveky/6418389 to your computer and use it in GitHub Desktop.
PostgreSQL常用命令
创建用户
CREATE USER name WITH PASSWORD pass;
创建数据库
CREATE DATABASE name OWNER username;
删除数据库
DROP DATABASE dbname;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment