9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: matt <mattmobile@proweb.co.uk>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] web-based plan 9?
Date: Fri, 21 Nov 2008 15:53:27 +0000	[thread overview]
Message-ID: <4926D977.2080900@proweb.co.uk> (raw)
In-Reply-To: <e1d437a40811210713y22d4c833g2345c3a368ee67d5@mail.gmail.com>

 > 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

<xml>
<a><b>123</b></a>
<a><b>456</b></a>
</xml>

when you do an ls you have to arrange 123 to appear in your listing
before 456

plus

<a><b /></a>
is not the same as
<a>
<b />
</a>








  reply	other threads:[~2008-11-21 15:53 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-20  1:35 Pietro Gagliardi
2008-11-20 14:25 ` Eric Van Hensbergen
2008-11-20 14:37   ` Fco. J. Ballesteros
2008-11-20 14:47     ` Eric Van Hensbergen
2008-11-20 15:07       ` Fco. J. Ballesteros
2008-11-20 15:16         ` Eric Van Hensbergen
2008-11-20 15:21           ` Francisco J Ballesteros
2008-11-20 14:51     ` erik quanstrom
2008-11-20 18:59   ` Skip Tavakkolian
2008-11-20 19:25     ` Skip Tavakkolian
2008-11-20 22:15     ` Giacomo Tesio
2008-11-20 23:18       ` Skip Tavakkolian
2008-11-21  5:19         ` lucio
2008-11-21 10:15         ` Giacomo Tesio
2008-11-21 11:55           ` matt
2008-11-21 14:01             ` Tom Lieber
2008-11-21 14:34               ` matt
2008-11-21 15:13                 ` Giacomo Tesio
2008-11-21 15:53                   ` matt [this message]
2008-11-21 16:05                     ` erik quanstrom
2008-11-21 17:05                     ` Giacomo Tesio
2008-11-21 17:18                       ` erik quanstrom
2008-11-22 20:15                         ` Giacomo Tesio
2008-11-21 17:24                       ` matt
2008-11-21 18:12           ` a

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4926D977.2080900@proweb.co.uk \
    --to=mattmobile@proweb.co.uk \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).