User Tools

Site Tools


postgresql

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
postgresql [2026/06/14 12:34] – created jhagstrandpostgresql [2026/06/14 12:36] (current) – [Installation] jhagstrand
Line 3: Line 3:
 ===== Installation ===== ===== Installation =====
  
-sudo apt update 
-sudo apt install postgresql postgresql-contrib postgis postgresql-16-postgis-3 
- 
-sudo -u postgres psql 
-CREATE USER devuser WITH PASSWORD 'devpass'; 
-CREATE DATABASE myapp OWNER devuser; 
-\c myapp 
-CREATE EXTENSION postgis; 
  
 +  sudo apt update
 +  sudo apt install postgresql postgresql-contrib postgis postgresql-16-postgis-3
 +  
 +  sudo -u postgres psql
 +  CREATE USER devuser WITH PASSWORD 'devpass';
 +  CREATE DATABASE myapp OWNER devuser;
 +  \c myapp
 +  CREATE EXTENSION postgis;
  
postgresql.1781454862.txt.gz · Last modified: 2026/06/14 12:34 by jhagstrand

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki