Subject Re: [firebird-support] FB on read-only media?
Author Alexandre Benson Smith
Richard Wesley wrote:
> I noticed that embedded FB seems to require write access to the
> database, even for selects.
>
> Is there any way to work with a read-only fdb file?
>
> TIA,
>
> Richard Wesley
> hawkfish@...
>
Richard,

Every version of FB need write acces even when you just select from it,
because when you start a transaction the header page (and I think the
TIP pages too) should be modified.

There is an option to turn the database read-only that as created just
for this, for database son read-only media.

take a look on gfix

gfix -mode read_only foo.

see you !

--
Alexandre Benson Smith
Development
THOR Software e Comercial Ltda
Santo Andre - Sao Paulo - Brazil
www.thorsoftware.com.br