小编Mar*_*ich的帖子

Shebang for psql

我正在尝试编写PostgreSQL脚本,但是遇到了shebang线的问题

#! /usr/bin/psql [ psql_args_here ] -f

select now();
Run Code Online (Sandbox Code Playgroud)

这给了我错误,好像我刚刚psql在命令行中输入了没有任何参数.我该怎么做?

postgresql shebang psql

8
推荐指数
2
解决办法
1119
查看次数

标签 统计

postgresql ×1

psql ×1

shebang ×1