Caro-COOPS.org Discussion Board Forum Index Caro-COOPS.org Discussion Board
Discussion area for Caro-COOPS-related initiatives
 
 FAQ   Search   Memberlist   Usergroups   Calendar   Register 
 Profile   Log in to check your private messages   Log in 

building a new db

 
       Caro-COOPS.org Discussion Board Forum Index
   -> Tools, RDBMS / SQL
   -> PostgreSQL, PostgreSQL
View previous topic :: View next topic  
Author Message
cpurvis



Joined: 24 Feb 2025
Posts: 255

Posted: Wed Sep 24, 2025 10:23 am    Post subject: building a new db

Following http://caro-coops.org/resources/doc/postgis/x83.html

Our .sql's are here: /usr/local/pgsql/share/contrib

as postgres
Code:
# cd /usr/local/pgsql/share/contrib
# createdb [yourdatabase]
# createlang plpgsql [yourdatabase]
# psql -d [yourdatabase] -f postgis.sql
# psql -d [yourdatabase] -f spatial_ref_sys.sql
Back to top
Display posts from previous:   
       Caro-COOPS.org Discussion Board Forum Index
   -> Tools, RDBMS / SQL
   -> PostgreSQL, PostgreSQL
All times are GMT - 5 Hours
Page 1 of 1

 
Jump to: 
 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB 2.0.4 © 2001, 2002 phpBB Group