Postgresql:是否有来自 Oracle sqlplus 的“@@”的 psql 版本?

Postgresql: is there a psql version of the "@@" from Oracle sqlplus?

Postgres 客户端 psql 是否具有与 Oracle SQLPlus @@ 类似的功能?

对于那些想知道 @@ 做什么的人:它允许从另一个脚本调用一个相对的 sql 脚本。

Quote from the manual:

\ir or \include_relative filename

The \ir command is similar to \i, but resolves relative file names differently. When executing in interactive mode, the two commands behave identically. However, when invoked from a script, \ir interprets file names relative to the directory in which the script is located, rather than the current working directory.