<div>Thank you, Nicolas. When I make changes to the search path, it will stay permanent, won't it?</div>  <div> </div>  <div>Regards,</div>  <div>-Kresh</div>  <div> </div>  <div><BR><BR><B><I>Nicolas Ribot <nicky666@gmail.com></I></B> wrote:</div>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">> I'm planning to use database schemas to organize my spatial tables. For<BR>> example, all spatial tables of GIS objects belong to Bali island is to be<BR>> kept in a schema named "bali", etcetera.<BR>><BR>> Problem is, when I created a new schema named bali, it did not inherit all<BR>> the postGIS objects of the public schema.<BR>><BR>> As you can see on the attached screenshot (I'm using pgAdmin III), the<BR>> public schema contains all the Aggregates, Domains, Functions, etcetera,<BR>> which are all part of postGIS functionality. Examples are geomunion function<BR>> and earth
 domain, which exist in the public schema but do not exist on bali<BR>> schema.<BR>><BR>> Can I use bali schema to store postGIS tables then? Or should I copy all the<BR>> postGIS Aggregates, Domains, Functions, etc, to the bali schema in order to<BR>> make it work? And if that's the case, anyone know the easiest way to do so?<BR>><BR><BR>Postgis functions should stay in the public schema. No need to copy them.<BR><BR>You will be able to use them on the bali.* tables by either fully<BR>qualifying the tables' name in your queries or by adding your newly<BR>created schema to the search path (no need to qualify tables names<BR>with the schema in this case)<BR><BR>Nicolas<BR>_______________________________________________<BR>postgis-users mailing list<BR>postgis-users@postgis.refractions.net<BR>http://postgis.refractions.net/mailman/listinfo/postgis-users<BR></BLOCKQUOTE><BR><BR><BR>__________________________________________________________________<br>So be
 it. If saying "NO" means being alone, then to hell with love, with women, with marriage, with God, religions, bars, nightclubs, computer games, and all the shit life keeps pumping at me. I'll walk alone, but with freedom and a healed pride.<p>
      <hr size=1>Looking for last minute shopping deals? <a href="http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping"> 
Find them fast with Yahoo! Search.</a>