oracle spool 有任何设置来删除默认的 lst 扩展吗?

oracle spool have any settings to remove default lst extension?

在oracle spool中,如果我们不指定spool文件扩展名,我们得到“file.lst”,任何设置都可以得到file?

当然可以。只需指定完全限定名称:

spool myfile.txt

不,这似乎不可能。文档说

If you do not specify an extension, SPOOL uses a default extension (LST or LIS on most systems). The extension is not appended to system files such as /dev/null and /dev/stderr.

https://docs.oracle.com/en/database/oracle/oracle-database/19/sqpug/SPOOL.html#GUID-61492052-ECCB-45C8-AF94-AB9794C60BEA