| From: | ivan <iv(at)psycho(dot)pl> |
|---|---|
| To: | pgsql-hackers(at)postgreSQL(dot)org |
| Subject: | new src :> |
| Date: | 2003-07-12 17:45:12 |
| Message-ID: | Pine.LNX.4.56.0307121933330.1522@rex.anfa.pl |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Sailesh Krishnamurthy | 2003-07-12 20:14:32 | Re: agg/order-by question |
| Previous Message | Philip Warner | 2003-07-12 14:48:41 | Re: Why are triggers semi-deferred? |