连接数据库

如果需要使用SQL命令进行查询、更新、删除等操作,需要连接到数据库。

postgres是安装Greenplum时默认创建的数据库,通常用于系统管理和维护。

连接postgres数据库。
1
psql -d postgres