Re: Re: Sure enough, the lock file is gone

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Re: Sure enough, the lock file is gone
Дата
Msg-id 8456.980723199@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Re: Sure enough, the lock file is gone  (teg@redhat.com (Trond Eivind Glomsrød))
Ответы Re: Re: Sure enough, the lock file is gone  (teg@redhat.com (Trond Eivind Glomsrød))
Список pgsql-hackers
teg@redhat.com (Trond Eivind Glomsrød) writes:
> Explictly, yes. However, FHS says /tmp is for temporary files. Also,
> it says programs shouldn't count on data to be stored there between
> invocations. 10+ days isn't temporary...
>> 
>> We aren't counting on data to be stored in /tmp "between invocations".

> Between invocations of client programs. You're using /tmp as a shared
> of stored data.

Huh?  The socket and lockfile are created and held open by the
postmaster for the duration of its run.  Client programs don't even know
that the lockfile is there, in fact.  How can you argue that client
program lifespan has anything to do with it?
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Re: Sure enough, the lock file is gone
Следующее
От: Lamar Owen
Дата:
Сообщение: Re: Re: Sure enough, the lock file is gone