NetBSD/share/examples/puffs/pgfs
yamt ef672e506a fix user-after-free bug 2013-04-22 13:28:28 +00:00
..
Makefile make pg_config overridable 2013-04-22 13:27:08 +00:00
README
check.sql
fix.sql
mount.c fix user-after-free bug 2013-04-22 13:28:28 +00:00
newfs.sql comment 2012-04-11 14:28:46 +00:00
pgfs.h
pgfs_db.c setlabel: save SQL statements by caching the last label 2012-04-11 14:27:43 +00:00
pgfs_db.h abuse application_name to show the last puffs activity for the connection. 2012-04-11 14:26:44 +00:00
pgfs_debug.c
pgfs_debug.h
pgfs_puffs.c abuse application_name to show the last puffs activity for the connection. 2012-04-11 14:26:44 +00:00
pgfs_subs.c don't bother to call lo_close. 2012-04-11 14:28:18 +00:00
pgfs_subs.h reduce number of SQL statements for inactivate 2012-04-11 14:26:19 +00:00
pgfs_waitq.c
pgfs_waitq.h

README

$NetBSD: README,v 1.1 2011/10/12 01:05:00 yamt Exp $

pgfs - a puffs file system server backed by a PostgreSQL database

install:
	install postgresql (tested with 9.2devel)
	# make
	# make install

newfs:
	# createdb hoge
	# psql -f newfs.sql hoge

mount:
	# mount_pgfs -o dbname=hoge,dbuser=takashi,nconn=16 a /mnt