Interacting with the database is fine, there's just the oddity of having
to specify template1 as the maintanence database, this really only
applies to using PgAdmin (Which runs from a portable drive no problem)
and doesn't influence the connection in psql once one makes their own
database.
I'm am interested in trying to roll Postgres into the Portable apps
implementation of XAMMP, they have a nice gui for starting and stopping
services which could also be used for other server type apps too.
If I get around to it I'll try to work PgAdmin into something easy to
install also. Right now it's an install on a desktop dragged to the
Portable apps folder which works fine and it menu launchable.
I'll start another thread to discuss maintanence and upgrades of apps
and working with the OSGeo Live project.
Thanks,
Alex
Basically if I open a cmd on windows and try to cd to the usb drive it
doesn't take:
Example:(can't remember exactly all the things I tried)
C:\> cd E:\usbgis
Tells me it can't find the path. It may be specific to the labs I've
been in lately.
In particular I'm trying to use psql which is a command prompt tool that
you need to use if you want to copy in csv files to postgres, not just
shapefiles which the SPIT plugin should handle. In this particular case
I was connecting to both local and server based databases.
Yes pgadmin requires the maintenance database, but the default in all
the databases I've ever used is postgres not template1. I just tried
that and it happened to work but it was a guess and not pgadmin's
default for that box.
The nice part about the XAMP service manager is that you can tell what
is running and don't have cmd windows cluttering the desktop. It makes
it easy to start and stop the various pieces at will. ie, I only want
Postgres or I want postgres and Apache with phppgadmin and it's all on
one interface you toggle from the taskbar, not a menu with sub menus.]
http://www.apachefriends.org/en/xampp-windows.html#1173
I'll look into integrating with XAMP it shouldn't be too hard with the
bat scripts you've already provided. I see an add-ons link and will
follow that.
http://portableapps.com/apps/development/xampp
Alex
Note and exe in that top folder will show up on the list, when I get
around to it I'll try to write a small wrapper to get around the listing
of all the exe files.
Ah yes if make a new database and want it to have postgis you need to
specify template1 as the template for it and that will copy all the
functions and create the 2 tables required.
Alex