如何使时序默认值与postgresql一起启用?


11

我在Linux机器上使用psql客户端,并且我一直希望定时打开。是否有配置文件或设置可以执行此操作?我目前始终以以下内容开始会议:\timing

Answers:


18

创建一个名为〜/ .psqlrc的文件并添加以下行:

\timing

阅读psql手册页以获取更多详细信息。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.