码迷,mamicode.com
首页 > 系统相关 > 详细

postgres linux系统下连接方法

时间:2018-06-30 18:54:21      阅读:212      评论:0      收藏:0      [点我收藏+]

标签:系统   实例   用户   AC   实例名   count   字段   postgres   linux系统   

psql -U 用户名 -h ip  -p 端口号 -w 库名称

查询实例下的数据结构 

语法:select 字段名  from  实例名“.”表名(account.tb_user)

如:  select 1  from account.tb_user

postgres linux系统下连接方法

标签:系统   实例   用户   AC   实例名   count   字段   postgres   linux系统   

原文地址:https://www.cnblogs.com/lingduqianli/p/9248252.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!