'pg_dump --create' forgets database encoding
От | Nicolaus Erichsen |
---|---|
Тема | 'pg_dump --create' forgets database encoding |
Дата | |
Msg-id | 200210171645.07547.nico.erichsen@hsh-berlin.com обсуждение исходный текст |
Ответы |
Re: 'pg_dump --create' forgets database encoding
|
Список | pgsql-bugs |
Hello everybody, pg_dump forgets to include the 'with encoding ....' statement in its ouput. To reproduce: ----------------- snip ---------------------------- nico@nico:~> psql -Upostgres -dtemplate1 Welcome to psql, the PostgreSQL interactive terminal. Type: \copyright for distribution terms \h for help with SQL commands \? for help on internal slash commands \g or terminate with semicolon to execute query \q to quit template1=# create database enctest with encoding='latin1'; CREATE DATABASE template1=# \q nico@nico:~> pg_dump --create enctest -- -- Selected TOC Entries: -- \connect - postgres -- -- TOC Entry ID 1 (OID 0) -- -- Name: enctest Type: DATABASE Owner: postgres -- Create Database "enctest"; \connect enctest postgres nico@nico:~> pg_dump --version pg_dump (PostgreSQL) 7.2 ----------- snap --------------- Thanks in advance for your efforts. Btw: PostgreSQL is still one of the greatest programs I have ever seen. :-)) N.Erichsen -- HSH Soft-und Hardware Vertriebs GmbH Rudolf-Diesel-Straße 2 - 16321 Lindenberg Tel. (030) 94004 - 509 Fax (030) 94004 - 400
В списке pgsql-bugs по дате отправления: