Thread: [newbie-WIN 8.0.0beta2] - 'locale error' when creating a new cluster (does not support leap seconds)
[newbie-WIN 8.0.0beta2] - 'locale error' when creating a new cluster (does not support leap seconds)
From
"esiw"
Date:
Hello, I have error message. I can't find any solution of this problem. How to solve this? Thanks for any advice. commandline: initdb.exe --no-locale -d -L %MY_CLUSTER_DIR%/share -D %MY_CLUSTER_DIR%/data =========== Running in debug mode. VERSION=8.0.0beta2 PGDATA=e:/pg/myCluster/data share_path=e:/pg/myCluster/share PGPATH=E:/pg/bin POSTGRES_SUPERUSERNAME=xxxxxxxxxx POSTGRES_BKI=e:/pg/myCluster/share/postgres.bki POSTGRES_DESCR=e:/pg/myCluster/share/postgres.description POSTGRESQL_CONF_SAMPLE=e:/pg/myCluster/share/postgresql.conf.sample PG_HBA_SAMPLE=e:/pg/myCluster/share/pg_hba.conf.sample PG_IDENT_SAMPLE=e:/pg/myCluster/share/pg_ident.conf.sample The files belonging to this database system will be owned by user "postgres". This user must also own the server process. The database cluster will be initialized with locale C. fixing permissions on existing directory e:/pg/myCluster/data ... ok creating directory e:/pg/myCluster/data/global ... ok creating directory e:/pg/myCluster/data/pg_xlog ... ok creating directory e:/pg/myCluster/data/pg_xlog/archive_status ... ok creating directory e:/pg/myCluster/data/pg_clog ... ok creating directory e:/pg/myCluster/data/pg_subtrans ... ok creating directory e:/pg/myCluster/data/base ... ok creating directory e:/pg/myCluster/data/base/1 ... ok creating directory e:/pg/myCluster/data/pg_tblspc ... ok selecting default max_connections ... 10 selecting default shared_buffers ... 50 creating configuration files ... ok creating template1 database in e:/pg/myCluster/data/base/1 ... DEBUG: TZ "Europe/Sarajevo" matches localized Windows timezone "îrodkowoeuropejski czas stand." ("Central European Standard Time") FATAL: could not select a suitable default timezone DETAIL: It appears that your GMT time zone uses leap seconds. PostgreSQL does not support leap seconds. DEBUG: proc_exit(1) DEBUG: shmem_exit(1) DEBUG: exit(1) child process was terminated by signal 1 initdb.exe: failed initdb.exe: removing contents of data directory "e:/pg/myCluster/data" =========== -- Best regards //esiw <esiw>at<o2>dot<pl>