psql -U 用户名 -h ip -p 端口号 -w 库名称
查询实例下的数据结构
语法:select 字段名 from 实例名“.”表名(account.tb_user)
如: select 1 from account.tb_user
postgres linux系统下连接方法
原文:https://www.cnblogs.com/lingduqianli/p/9248252.html