Seed
我推出我的数据库
curl -s http://site/api/seed/user/1000
Test
我这样做了。
psql --username=nm -d portal -h 192.168.1.27 -c "SELECT count(*) from users;"
我
count
-------
1000
(1 row)
Watch
watch psql --username=nm -d portal -h 192.168.1.27 -c "SELECT count(*) from users;"
我
Every 2.0s: psql --username=nm -d portal -h 192.168.1.27 -... bh-macbook-pro-15-512gb.local: Tue Nov 21 15:19:08 2017
sh: -c: line 0: syntax error near unexpected token `(
sh: -c: line 0: `psql --username=nm -d portal -h 192.168.1.27 -c SELECT count(*) from users;
我如何纠正这一错误?