Hi,<br><br>I'm encountering some problems with postgis_restore.pl<br>First, it's not easy to get the script to do what i want to: i won't take a username and it will create a database at the specified port (-p 5433), but then it will try to create plpgsql on the 5432 cluster.<br>
That is something that should be improved, but it's not my real problem.<br><br>The script stops at SELECT postgis_lib_version() with an ERROR and disregards all statements thereafter.<br>The ERROR is caused by the fact that postgis_lib_version() does not exist in the newly created database yet.<br>
That is correct, because the script tries to create that function a few queries later!<br><br>It must work in some other cases, or it should have been noticed by now, but i don's see how. That is probably because i am learning what this script does exactly.<br>
There is the complicating factor that the dumpfile is from a linux system, so it might point to the wrong location for the library file.<br>Maybe tthe creation of the script was attempted in vain (because of the path), of which there is no mention.<br>
<br>Can somebody please help?<br>I hope to be migrationg a lot both ways soon. (linux to windows and windows to linux)<br><br>Thanks,<br clear="all"><br>-- <br>"Patriotism is the conviction that your country is superior to all others because you were born in it." -- George Bernard Shaw<br>