I am having a really hard time getting going with PostGIS on Windows. I read
the documentation but it is mostly written for *nix users, and I have
trouble translating the instructions into something I can do on WIndows (XP
SP2).

One particular issue I am up against now is figuring out how to use
pgsql2shp.

This is what I try:
I open a cmd window and navigate to PostgreSQL\8.3\bin

I type pgsql2shp -f ..\dump -h localhost -p 5432 postgis "postgres" WIN1252 -P
somepassword

and I get back
FATAL: password authentication failed for user "Tara"

But I don't have a pg user called "Tara", just postgres...

I am creating this command based on the shortcut that was added to my Start
Menu to run psql to connect to a database, and I managed to get that to work
to open the postgis database but I'm not really sure why it is working
because I am not including a -P password option in that one at all, so I
can't understand why this modification doesn't work. If I don't include the
-P option, it says

fe_senauth: no password supplied

Thanks for any advice, Tara



_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to