Thread: new src :>

new src :>

From
ivan
Date:
hi, now i writed support for writing and reading files by select.
i created function like in stdio.h iv_fopen (cstring,cstring),
iv_fread , etc
the FILE * struct is replaced by OID value

you can download src from
http://www.psycho.pl/public/src/pgsql/files.tar.bz2
and sample to to have /etc/passwd in table

Is nice way to have conf files in db, may be /etc/passwd its not so good
idea, but apache conf, or bind , or ftp i think can be.

I had to added one function to fd.h/c ( bool IsAllocated (FILE*) )
to check is file still allocated.

This option maybe its not so goot way to use it as std but will be nice
see it as contrib or option in ./configure

what do you think ?

(THIS IS EXPERIMENTAL)

bye