9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] APE or not  for PostgreSQL
@ 2000-07-28 14:20 Stephen C Harris
  2000-07-28 14:30 ` Matt
  0 siblings, 1 reply; 6+ messages in thread
From: Stephen C Harris @ 2000-07-28 14:20 UTC (permalink / raw)
  To: 9fans


I'm considering having a go at porting PostgreSQL database to Plan 9.

The goal is to provide a SQL query service where one writes a query
to a "newquery" file and gets back a resultset directory, much 
like one obtains a tcp connection directory.  The directory will have a 
control file for moving in the result set and doing transaction control, 

and a file for each field of the resultset under a "data" directory, 
through 
which one can read and write the current record in the result set.

My question is whether or not to just try and port it to the APE 
emulation
environment or to go "full Plan 9"?  Does the APE environment limit the
ways in which one can provide a 9P service in any way? In other words,
can I link to whatever other Plan9 libraries I'd like to and use them
with impunity if I compile under APE?

There are only a handful of select() calls in the code, and no
mmap() calls, so the native Plan 9 port may not be too
bad.  It seems to use a process-per-connection model and not
pthreads, which is another win. Anybody know any other calls to watch 
out for that might influence my decision?

Steve Harris





^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <anothy@eden.rutgers.edu>]

end of thread, other threads:[~2000-07-29 10:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-07-28 14:20 [9fans] APE or not for PostgreSQL Stephen C Harris
2000-07-28 14:30 ` Matt
     [not found] <anothy@eden.rutgers.edu>
2000-07-28 18:13 ` Anthony Sorace
2000-07-28 19:16   ` James A. Robinson
2000-07-28 19:30     ` Boyd Roberts
2000-07-29 10:31       ` Steve Kilbane

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).