pg_dumpall: pg_conversion table not saved

From: Michael Enke <michael(dot)enke(at)wincor-nixdorf(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: pg_dumpall: pg_conversion table not saved
Date: 2008-05-07 13:58:34
Message-ID: 4821B58A.7030404@wincor-nixdorf.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi list,
I updated pg_converion to set the condefault=false where I need it.
pg_dumpall does NOT write that table out and therefore it is not possible to restore, this update get lost.
Anybody know if this is an error or has an explanation why it has to work this way?

Background:
I have created my own conversion with CREATE DEFAULT CONVERSION ...
http://www.postgresql.org/docs/8.3/interactive/sql-createconversion.html
> There should be only one default encoding in a schema for the encoding pair

Why can not the "CREATE DEFAULT CONVERSION ..."
a) return with an error if there is another default conversion existing or
b) silently set any other default to false
for the confor- and conto-encoding involved?

Regards,
Michael

--
Wincor Nixdorf International GmbH
Sitz der Gesellschaft: Paderborn
Registergericht Paderborn HRB 3507
Geschftsfhrer: Eckard Heidloff (Vorsitzender), Stefan Auerbach, Dr. Jrgen Wunram
Vorsitzender des Aufsichtsrats: Karl-Heinz Stiller
Steuernummer: 339/5884/0020 - Ust-ID Nr.: DE812927716 - WEEE-Reg.-Nr. DE44477193

Diese E-Mail enthlt vertrauliche Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtmlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.

This e-mail may contain confidential information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Kerri Reno 2008-05-07 14:16:01 Re: Is this possible in a trigger?
Previous Message Tino Wildenhain 2008-05-07 13:57:25 Re: Import German Decimal Numbers