The function of lock file named ".s.PGSQL.<port>.lock" on Linux?
The function of lock file named ".s.PGSQL.<port>.lock" on Linux?
От:
"xsun" <xu2002261@163.com>
Дата:
When the psql server is started under Linux platform, in /tmp directory there is a lock files named ".s.PGSQL..lock". So I want to know what is the function of this lock file? And does the server work well without this lock file? Additionally, I know that the file ".s.PGSQL." is used as the unix domain socket file. But the file ".s.PGSQL..lock" makes me still pazzled. Could you explain that? Thanks. Best wishes.