Re: [HACKERS] Accessing Database files on a "read-only" medium...like a CD.

2001-10-08 Thread Tom Lane
"Serguei Mokhov" <[EMAIL PROTECTED]> writes: > Kelly Harmon <[EMAIL PROTECTED]> wrote in message >9pr7f7$k0j$[EMAIL PROTECTED]">news:9pr7f7$k0j$[EMAIL PROTECTED]... >> At that point, it seems that your screwed...in that even if you shut down >> postgres and restart it, somewhere it knows that tha

Re: [HACKERS] Accessing Database files on a "read-only" medium...like a CD.

2001-10-07 Thread Serguei Mokhov
Kelly Harmon <[EMAIL PROTECTED]> wrote in message 9pr7f7$k0j$[EMAIL PROTECTED]">news:9pr7f7$k0j$[EMAIL PROTECTED]... > SO...I dug around through the code a little and found where the error was > coming from and changed the code so that if the open attempt with O_RDWR > fails, the code tries again