During preparing database according to How to import OpenStreetMap data into PostgreSQL i always get error message C:/Program: No such file or directory after writing psql -U postgres -d gis -f PATH_TO_POSTGRES/share/contrib/postgis-1.5/postgis.sql In my case path looks like : C:\Program Files\PostgreSQL\9.3\share\contrib\postgis-2.1\postgis.sql
Thank you for help or advices
-
1Try quoting you path or prepending a `\` to the space in your path.TheConstructor– TheConstructor2014-07-23 09:28:17 +00:00Commented Jul 23, 2014 at 9:28
-
I have tried add "\" to the space it did not work but quoting my path worked perfectly! Thank you so much ;)L.s.– L.s.2014-07-23 09:42:17 +00:00Commented Jul 23, 2014 at 9:42
Add a comment
|