Re: Need Help Recovering from Botched Upgrade Attempt
От | Rich Shepard |
---|---|
Тема | Re: Need Help Recovering from Botched Upgrade Attempt |
Дата | |
Msg-id | Pine.LNX.4.64.0806180637000.10791@salmo.appl-ecosys.com обсуждение исходный текст |
Ответ на | Re: Need Help Recovering from Botched Upgrade Attempt (Klint Gore <kgore4@une.edu.au>) |
Список | pgsql-general |
On Wed, 18 Jun 2008, Klint Gore wrote: > Make sure that initdb is the version you want > initdb --version Klint, Yes, it is: 8.3. > then > initdb -E UTF8 -D /var/lib/pgsql/data > then post the output of that. Very interesting. While en_US is not accepted, UTF8 is. postgres@salmo:/var/lib/pgsql$ initdb -E UTF8 -D /var/lib/pgsql/data 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 locales COLLATE: C CTYPE: en_US MESSAGES: en_US MONETARY: en_US NUMERIC: en_US TIME: en_US could not determine encoding for locale "en_US": codeset is "ANSI_X3.4-1968" The default text search configuration will be set to "english". fixing permissions on existing directory /var/lib/pgsql/data ... ok creating subdirectories ... ok selecting default max_connections ... 100 selecting default shared_buffers/max_fsm_pages ... 24MB/153600 creating configuration files ... ok creating template1 database in /var/lib/pgsql/data/base/1 ... ok initializing pg_authid ... ok initializing dependencies ... ok creating system views ... ok loading system objects' descriptions ... ok creating conversions ... ok creating dictionaries ... ok setting privileges on built-in objects ... ok creating information schema ... ok vacuuming database template1 ... ok copying template1 to template0 ... WARNING: could not determine encoding for locale "en_US": codeset is "ANSI_X3.4-1968" DETAIL: Please report this to <pgsql-bugs@postgresql.org>. ok copying template1 to postgres ... WARNING: could not determine encoding for locale "en_US": codeset is "ANSI_X3.4-1968" DETAIL: Please report this to <pgsql-bugs@postgresql.org>. ok WARNING: enabling "trust" authentication for local connections You can change this by editing pg_hba.conf or using the -A option the next time you run initdb. Success. You can now start the database server using: postgres -D /var/lib/pgsql/data or pg_ctl -D /var/lib/pgsql/data -l logfile start Notice the warning detail about us_EN encoding. Is there a protocol for what to include in a report to pgsql-bugs? I will now try a new dumpall using the 8.3.3 version, once I find how to specify a different $PGDATA on the command line. Rich -- Richard B. Shepard, Ph.D. | Integrity Credibility Applied Ecosystem Services, Inc. | Innovation <http://www.appl-ecosys.com> Voice: 503-667-4517 Fax: 503-667-8863
В списке pgsql-general по дате отправления: