Difference between revisions of "Initdb"
Jump to navigation
Jump to search
(11 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | https://www.postgresql.org/docs/current/app-initdb.html | ||
+ | |||
https://www.postgresql.org/docs/current/locale.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]] [[/opt/homebrew/var/postgres]] | ||
− | [[locale]] | + | 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 == | ||
+ | [[locale]] | ||
+ | [[brew install postgresql@16]] | ||
+ | [[brew services start postgresql@16]] | ||
== See also == | == See also == | ||
− | * {{ | + | * {{initdb}} |
+ | * {{PostgreSQL}} | ||
[[Category:PostgreSQL]] | [[Category:PostgreSQL]] |
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]
initdb, createdb
- PostgreSQL:
pg_dump, pg_restore
,pgAdmin, pg_config, psql, pg_ctl, pg_isready, initdb
, Role, Schema, DBeaver, Navicat, DataGrip, OmniDB,Adminer
, docker-compose.xml PostgreSQL, PostgreSQL version, PostgreSQL logs,postgresql.conf
,pg_hba.conf, $HOME/.pg_service.conf
, Create database (PostgreSQL), Create user,createdb
,GRANT
,pg_stat
, PostgreSQL VACUUM, EXPLAIN,pg stat activity
, Autovacuum, ALTER DATABASE, PostgreSQL statistics collector, Shared buffers, EXPLAIN (PostgreSQL),EXPLAIN ANALYZE
, Bitmap scan,EXPLAIN VERBOSE
,EXPLAIN VERBOSE (PostgresSQL)
,WAL
,ALTER USER
,CREATE ROLE, CREATE USER
,\du
,show users
,\l
, The Statistics Collector, pganalyze,cron.schedule
, Master,pg_tables
, PostgreSQL replication,CREATE, SET
, TOAST, PgBouncer, Restore DB, Index, meta-commands, Table, foreign table, Schema, Sequence, Views, materialized view, Table Partitioning, monitoring, PostgreSQL System Administration Functions, PostgreSQL extension, privileges, logging, PGTune, PostgreSQL parameter tunning, PostgreSQL modules, pgbench, PostgreSQL users, catalogs
Advertising: