From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4926D977.2080900@proweb.co.uk> Date: Fri, 21 Nov 2008 15:53:27 +0000 From: matt User-Agent: Icedove 1.5.0.14eol (X11/20080724) MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> References: <3d61afbea6c3d54d8371a08214902949@9netics.com> <4926A19F.9030409@proweb.co.uk> <326364c20811210601s14485430x386788a4205da23b@mail.gmail.com> <4926C6E2.5050900@proweb.co.uk> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [9fans] web-based plan 9? Topicbox-Message-UUID: 4f1e76ee-ead4-11e9-9d60-3106f5b1d025 > You used libpq to write such a PGmodule? No I didn't use libpq, I wrote the client from the protocol spec http://www.postgresql.org/docs/8.3/static/protocol.html These are the latest ones online http://plan9.bell-labs.com/sources/contrib/maht/limbo/module/pg.m http://plan9.bell-labs.com/sources/contrib/maht/limbo/appl/lib/pg.b though this looks a bit older http://plan9.bell-labs.com/sources/contrib/maht/limbo/pg/ the web interface is screwy so I gave up checking the differences :) > > I'd like to know how do you would map the operations to the filesystem. > one directory per queryset row returned (possibly named by the primary key), one file per column > Query result in a filesystem hierachy would be a pain... xml would be > better, since you could transform it quickly. > BTW, there should be an xmlfs project waiting somewhere... ah xml, the ultimate 2d grid ! xmlfs is a pain because it has anonymous entries so you need a way of organising it 123 456 when you do an ls you have to arrange 123 to appear in your listing before 456 plus is not the same as