Re: type money causes unrestorable dump

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: type money causes unrestorable dump
Дата
Msg-id 14327.1194119260@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: type money causes unrestorable dump  ("D'Arcy J.M. Cain" <darcy@druid.net>)
Ответы Re: type money causes unrestorable dump  (Peter Eisentraut <peter_e@gmx.net>)
Re: type money causes unrestorable dump  ("D'Arcy J.M. Cain" <darcy@druid.net>)
Список pgsql-hackers
"D'Arcy J.M. Cain" <darcy@druid.net> writes:
> Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> A more direct approach to the problem might be to change pg_dump to
>> set lc_monetary, as it does for client_encoding ...

> Certainly OK by me.

Greg's objection caused me to rethink that.  Doing it would be a problem
when transporting dump files across platforms: what if the appropriate
locale name is spelled differently on the new machine?  We should
probably leave it in the user's hands to get this right.  So the added
text could be used as I suggested, or tweaked to say that you must set
lc_monetary to something equivalent to the prior setting.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Text <-> C string
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: type money causes unrestorable dump