| From: | "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Andrew Chernow <ac(at)esilo(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net>, Andrew Dunstan <andrew(at)dunslane(dot)net>, Dave Page <dpage(at)pgadmin(dot)org>, Zeugswetter Andreas OSB sIT <Andreas(dot)Zeugswetter(at)s-itsolutions(dot)at>, Charlie Savage <cfis(at)savagexi(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: 8.3 .4 + Vista + MingW + initdb = ACCESS_DENIED |
| Date: | 2008-10-15 17:47:15 |
| Message-ID: | 48F62CA3.7070708@zeut.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Tom Lane wrote:
> Andrew Chernow <ac(at)esilo(dot)com> writes:
>> Be careful. From LockFileEx docs:
>
>> "However, the time it takes for the operating system to unlock these
>> locks depends upon available system resources. Therefore, it is
>> recommended that your process explicitly unlock all files it has locked
>> when it terminates. If this is not done, access to these files may be
>> denied if the operating system has not yet unlocked them."
>
> ROTFL ... so to translate: "If your program crashes, please release
> locks before crashing."
Obviously that wasn't the intent of the above, but I guess it is the net
effect. Either way, I don't think it's a huge problem, it just means
that PG may not be able to restart for a few seconds until the OS has
time to clean-up the locks.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Guillaume Lelarge | 2008-10-15 17:51:40 | WIP : change tablespace for a database |
| Previous Message | Andrew Chernow | 2008-10-15 17:44:33 | Re: 8.3 .4 + Vista + MingW + initdb = ACCESS_DENIED |