我正在与PostgreSQL的bash脚本工作。我有这样一句话: psql -h $PGHOST -p $PGPORT -U $PGUSER -d $PGDATABASE -c "SELECT COUNT(*) FROM (${SQL%?})/usr/bin/psql: Argument list too long 这个错误意味着什么?如何增加参数列表的大小?
在我的示例项目中,我尝试创建postgre数据库。运行rake db:create时,我收到一些奇怪的消息,无法创建数据库。user1234@ubuntu:~/Development/example$ psql -d postgres
psql: FATAL: role "user1234" does not existuser1234@ubuntu:~/Development/example$ psql -d postgres -U post