PostgreSQL
从套件市场安装
修改配置
$ vim /volume1/@appstore/postgresql/share/data/pg_hba.conf # 修改常用于,允许外部 IP 连接
$ vim /volume1/@appstore/postgresql/share/data/postgresql.conf # 修改常用于,允许监听所有的 PD重启
$ synopkg start postgresql命令行
$ su - postgres
$ psql
psql (11.11)
Type "help" for help.
$ \d
List of relations
Schema | Name | Type | Owner
--------+------------+-------+----------
public | test_table | table | postgres