Hi Peter!
Of course I don't want to just include a client. For that i would just
use Npgsql and that's it. And I wouldn't need a CD/DVD at all. No, I
want to export some of the data stored in the (linux-)backend onto the
DVD together with a read-only-version of the client-app. And that
application is a .NET-(Windows-)app. That would spare me the efford to
create two different data-access-methods as I could just change the
connection-string and would be through... Perfect solution, iff I can
get postgres to run directly from that data-carrying DVD. And I don't
want to install postgres on any machine that DVD is run on. Most likely
users won't have admin-rights or even priviledged user-rights when they
use the created DVD.
...Dennis
Peter Childs schrieb:
If all you want is a client you should just be able to
write it and it
will connect to the server and work. The client does not need to write
just the server.
Peter Childs
On 29/12/05, Dennis Wagner <dennis@dennis-wagner.info>
wrote:
Hi
everybody!
I was using Postgres for quite some time now without any problems. Now
I'm facing some new challenge: Create a Read-Only Client out of a given
Application and put it on CD/DVD. As the Application uses a
PostgreSQL-DB (running on a FreeBSD-Server) I would like to at least
keep the DB-Interface and use Postgres. The client-app, unfortunatly, is
written for the .NET-Platform and doesn't run under mono (yet). So the
CD would need to be run under Windows for the moment. I found some
Threads discussion using a Knoppix-like approach to get Postgres running
on a read-only medium but they were all concentrationg on linux. As far
as I understand there is no way of turning WAL completely off (which
would be ok for a CD-version as false writes cannot occur und thus
cannot destroy the db-content). So then there are two possibilities:
Send all writes to log-files to nirvana (like the good old BOFH used to
do) or into a memdrive. Has anybody accomplished the task to run
PostgreSQL from CD (even on Linux) and is willing to contribute some of
his/her experiences?
Any help is greatly appreciated.
...Dennis
---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings
--
Dennis Wagner
SpheronVR AG wagner@spheron.com
Hauptstrasse 186 http://www.spheron.com
67714 Waldfischbach-Burgalben Phone +49 63 33 / 27 66 -24
Germany Fax +49 63 33 / 27 66 -11