当前位置:Gxlcms > 数据库问题 > Postgresql 教程

Postgresql 教程

时间:2021-07-01 10:21:17 帮助过:10人阅读

Official 教程

PostgreSQL帐号

1. PostgreSQL 用户帐号和操作系统用户帐号是不同的,系统用户帐号是postgres.

sudo -u postgres -i 

Use the operating system user postgres to create your database - as long as you haven‘t set up a database role with the necessary privileges that corresponds to your operating system user. 

退出psql控制台

和其他的命令行工具不一样,psql在退出时并不是使用exit,而是使用\q,接着按下回车就行了,这里的q指的就是quit。

Postgresql 教程

标签:href   long   控制台   tor   with   necessary   class   you   工具   

人气教程排行