User Tools

Site Tools


postgresqlcommands

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
postgresqlcommands [2025/04/17 10:14] z0hpvkpostgresqlcommands [2025/04/17 10:16] (current) z0hpvk
Line 6: Line 6:
  
 === Create Cluster === === Create Cluster ===
-The Ubuntu installation will create a default instance for you. \\+The Debian or Ubuntu installation will create a default instance. \\
 Create new instances using the commands below ... \\ Create new instances using the commands below ... \\
 <code bash> <code bash>
Line 15: Line 15:
 # Default Data Directory: /var/lib/pgsql/17/data # Default Data Directory: /var/lib/pgsql/17/data
 sudo /usr/pgsql-17/bin/postgresql-17-setup initdb sudo /usr/pgsql-17/bin/postgresql-17-setup initdb
 +/usr/pgsql-17/bin/initdb -D /var/lib/pgsql/17/main
 </code> </code>
  
postgresqlcommands.1744884840.txt.gz · Last modified: 2025/04/17 10:14 by z0hpvk