Re: PSQLFS - PostgreSQL File System - Mailing list pgsql-general

From Tatsuo Ishii
Subject Re: PSQLFS - PostgreSQL File System
Date
Msg-id 20040917.203231.74755992.t-ishii@sra.co.jp
Whole thread Raw
In response to PSQLFS - PostgreSQL File System  (Edward Macnaghten <eddy@eddy.me.uk>)
Responses Re: PSQLFS - PostgreSQL File System
Re: PSQLFS - PostgreSQL File System
List pgsql-general
> If this is not the right list for this please forgive me, and point me
> to the right one.
>
> For a bit of fun I have created a file system, that looks like a normal
> mounted file tree to the user, but who's data is stored on a PostgreSQL
> database server.  It uses LUFS to do it.
>
> Like LUFS - it is released under the GPL.
>
> For those interested it can be got from http://www.edlsystems.com/psqlfs

Nice work!

I'm writing an article and am evaluating psqlfs. I found a minor bug:
rmdir does not work. Here are patches supposed to fix the problem.

*** pgsqlcmd.c.orig    2004-09-17 20:15:23.000000000 +0900
--- pgsqlcmd.c    2004-09-17 20:15:37.000000000 +0900
***************
*** 499,505 ****
      string_conc_l(str, dir_number);
      string_concat(str, ", '");
      string_concat(str, es);
!     string_concat(str, "', ");
      string_conc_l(str, file_number);
      string_concat(str, "')");

--- 499,505 ----
      string_conc_l(str, dir_number);
      string_concat(str, ", '");
      string_concat(str, es);
!     string_concat(str, "', '");
      string_conc_l(str, file_number);
      string_concat(str, "')");


pgsql-general by date:

Previous
From: "Michael Paesold"
Date:
Subject: Re: psql + autocommit
Next
From: Lars Haugseth
Date:
Subject: Re: pg_dump in cycle