Difference between revisions of "Initdb"

From wikieduonline
Jump to navigation Jump to search
 
Line 9: Line 9:
  
  
  [[initdb --locale-provider=[[icu]] [[--icu-locale]]=en
+
  initdb --locale-provider=[[icu]] [[--icu-locale]]=en
  
  

Latest revision as of 17:39, 8 January 2024

https://www.postgresql.org/docs/current/app-initdb.html
https://www.postgresql.org/docs/current/locale.html
initdb --locale=C -E UTF-8 /opt/homebrew/var/postgres
initdb --locale=C -E UTF-8 /Users/user/brew/var/postgresql@16


initdb --locale-provider=icu --icu-locale=en


initdb --locale=C -E UTF-8  ./
initdb: error: program "postgres" is needed by initdb but was not found in the same directory as "/Users/user/brew/Cellar/libpq/16.1_1/bin/initdb"

Related[edit]

locale
brew install postgresql@16
brew services start postgresql@16

See also[edit]

Advertising: