PGAdmin 4使用笔记

1. import

 默认username为postgres

 psql -U username -h localhost -d databasename -f "file address"

2. 最大连接数

 更改(Windows):PostgreSQL/data/postgresql.conf  修改 max_connections = 100(默认100)

 查看:show max_connections;

    查看当前连接数:select count(1) from pg_stat_activity;

posted @ 2018-05-07 08:44  森淼clover  阅读(967)  评论(0)    收藏  举报