<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body style='font-family: Verdana,Geneva,sans-serif'>
<p>Did you install PostGIS and topology extensions in your new DB BEFORE doing your command?</p>
<p>CREATE EXTENSION postgis;</p>
<p>CREATE EXTENSION topology;</p>
<p>Run also legacy.sql in your new DB to ensure compliance with the old PostGIS functions if you use PostGIS with an old application. The script should be near the directory where you can find 'psql' command (ex.: /usr/bin/psql ==> /usr/bin/share/contrib/postgis-2.0) in Ubuntu when you install EnterpriseDB package.</p>
<p> </p>
<p>Regards</p>
<p> </p>
<div>--
<pre>Sylvain Racine
iGreffe Géomatique
50, St-Hubert, n° 5
Granby, Québec
J2G 5L9
Tél: 450-770-9974</pre>
</div>
<p> </p>
<p> </p>
<p>Le 2013-12-10 16:27, Paul & Caroline Lewis a écrit :</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div dir="ltr">I can connect fine using psql and a <span style="font-size: 12pt;">select version(); responds with</span>
<div><span style="font-size: 12pt;">--------------------------------------------------------------------------------------------------------------</span></div>
<div>
<h1><span style="font-family: Times New Roman; font-size: medium; font-weight: normal;"> PostgreSQL 9.3.1 on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2), 64-bit</span></h1>
</div>
<div><span style="font-family: Times New Roman; font-size: medium; font-weight: normal;">I have also created the PostGIS extension on the DB I've created in the RDS version through PGADMIN.</span></div>
<div><span style="font-family: Times New Roman; font-size: medium; font-weight: normal;"> </span></div>
<div><span style="font-family: Times New Roman; font-size: medium; font-weight: normal;">Tried exporting PGPASSWORD but still no joy. Having it exported stops the password prompt and the psql connection is still fine.</span></div>
<div><span style="font-family: Times New Roman; font-size: medium; font-weight: normal;"> </span></div>
<div><span style="font-family: Times New Roman; font-size: medium; font-weight: normal;">The errors.txt file is empty based on the commands line in previous mail.</span></div>
<div><span style="font-family: Times New Roman; font-size: medium; font-weight: normal;"> </span></div>
<div><span style="font-family: Times New Roman; font-size: medium;">If I remove the target DB from the command line the errors.txt has a FATAL db does not exist error.</span></div>
<div><span style="font-family: Times New Roman; font-size: medium;">If I remove the target DB from postgresql through PGADMIN and run the command line, errors.txt contains the FATAL db does not exist error.</span></div>
<div><span style="font-family: Times New Roman; font-size: medium;">If I change the user the errors.txt file populates with a user error.</span></div>
<div><span style="font-family: Times New Roman; font-size: medium;"> </span></div>
<div><span style="font-family: Times New Roman; font-size: medium;">So the RDS platform is getting connected to but it would seem that the pipe dies because when the PGPASSWORD is set and users are correct and DB's in place the process starts but dies immediately with no error messages.</span></div>
<div><span style="font-family: Times New Roman; font-size: medium;"> </span></div>
<div><span style="font-family: Times New Roman; font-size: medium;">Will continue to search for what next.</span></div>
<div><span style="font-family: Times New Roman; font-size: medium;"> </span></div>
<div><span style="font-family: Times New Roman; font-size: medium;">Thanks again,</span></div>
<div><span style="font-family: Times New Roman; font-size: medium;"> </span></div>
<div><span style="font-family: Times New Roman; font-size: medium;">Paul</span></div>
<div> </div>
<div><span style="font-family: Times New Roman; font-size: medium;"> </span></div>
</div>
<!-- html ignored --><br />
<pre>_______________________________________________
postgis-users mailing list
<a href="mailto:postgis-users@lists.osgeo.org">postgis-users@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users">http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users</a>
</pre>
</blockquote>
<p> </p>
<div>
<pre> </pre>
</div>
</body></html>