Wiki

A universe of ideas

User Tools

Site Tools


computer:gentoo

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
computer:gentoo [2023-03-05 14:01] – [PostgreSQL] skrupelloscomputer:gentoo [2026-01-24 21:11] (current) – [PostgreSQL] skruppy
Line 84: Line 84:
 install -d -o postgres -g postgres -m 700 /var/lib/postgres/{data,tmp} install -d -o postgres -g postgres -m 700 /var/lib/postgres/{data,tmp}
 cd tmp cd tmp
-sudo -u postgres -- initdb --locale en_US.UTF-8 --encoding=UTF8 -D ../data+sudo -u postgres -- initdb --locale C.UTF-8 --encoding=UTF8 -D ../data
 sudo -u postgres -- pg_upgrade -b /opt/pgsql-$V/bin -B /usr/bin -d ../data-$V -D ../data sudo -u postgres -- pg_upgrade -b /opt/pgsql-$V/bin -B /usr/bin -d ../data-$V -D ../data
 systemctl start postgresql systemctl start postgresql
computer/gentoo.txt · Last modified: by skruppy