Using the GRANT sql worked. I read more about it in the postgresql manual. Thanks.<div><br></div><div>GRANT USAGE ON SCHEMA topology TO PUBLIC;</div><div><br></div><div>Then It never fully took effect till I restarted the server,</div>
<div><b>su -</b></div><div><b>rcpostgresql restart</b></div><div><b>exit</b></div><div><br></div><div>Done.</div><div><br></div><div>Now, that part about giving access to PUBLIC on the template_postgis database.</div><div>
This is because without it, a non-superuser cannot create a database of their own when using:</div><div><b>createdb -T template_postgis newdb</b></div><div><font color="#ff0000"><b>createdb: database creation failed: ERROR:  permission denied to copy database "template_postgis"</b></font></div>
<div><br></div><div>I tried using the similar GRANT for databases but it doesn't mention anything about allowing users to copy. Only connect, so I tried that:</div><div><b>GRANT CONNECT ON DATABASE template_postgis TO PUBLIC;</b></div>
<div><br></div><div>But still, cannot create a database without being postgres user.</div><div>Not sure if I need to maybe make user of ALTER like so:</div><div><b>ALTER DATABASE template_postgis OWNER TO PUBLIC;</b></div>
<div>Or try,</div><div><b>ALTER ROLE saultdon CREATEDB IN DATABASE template_postgis;</b></div><div><br></div><div>Does one of those give me copy permissions because CONNECT hasn't.</div><div><br></div><div>Thanks for the help so far with changing schema privileges.</div>
<div><br></div><div><br></div><div><br></div><div><br></div><div>Donovan</div><div><br></div><div><div class="gmail_quote">On Sun, May 6, 2012 at 1:31 AM, Sandro Santilli <span dir="ltr"><<a href="mailto:strk@keybit.net" target="_blank">strk@keybit.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Sat, May 05, 2012 at 10:58:24PM -0700, Donovan Cameron wrote:<br>
<br>
> When I to check the postgis version with the user saultdon, it says<br>
> postgis_topology not installed. I have to be superuser to use it.<br>
</div>...<br>
> *NOTICE:  Function postgis_topology_scripts_installed() not found. Is<br>
> topology support enabled and topology.sql installed?*<br>
<br>
Try<br>
GRANT usage on schema topology to public;<br>
<br>
Or variations of the above. When satisfied consider doing it on the<br>
template database.<br>
<br>
--strk;<br>
<br>
  ,------o-.<br>
  |   __/  |    Delivering high quality PostGIS 2.0 !<br>
  |  / 2.0 |    <a href="http://strk.keybit.net" target="_blank">http://strk.keybit.net</a> - <a href="http://vizzuality.com" target="_blank">http://vizzuality.com</a><br>
  `-o------'<br>
<br>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>
<a href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
</blockquote></div><br></div>