Re: PSQLFS - PostgreSQL File System

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Re: PSQLFS - PostgreSQL File System
Дата
Msg-id 20040917.203231.74755992.t-ishii@sra.co.jp
обсуждение исходный текст
Ответ на PSQLFS - PostgreSQL File System  (Edward Macnaghten <eddy@eddy.me.uk>)
Ответы Re: PSQLFS - PostgreSQL File System
Re: PSQLFS - PostgreSQL File System
Список 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 по дате отправления:

Предыдущее
От: "Michael Paesold"
Дата:
Сообщение: Re: psql + autocommit
Следующее
От: Lars Haugseth
Дата:
Сообщение: Re: pg_dump in cycle