Re: Re: [GENERAL] Trouble with float4 afterupgrading from 6.5.3 to 7.0.2
В списке pgsql-hackers по дате отправления:
| От | Don Baccus |
|---|---|
| Тема | Re: Re: [GENERAL] Trouble with float4 afterupgrading from 6.5.3 to 7.0.2 |
| Дата | |
| Msg-id | 3.0.1.32.20000808102753.01444c60@mail.pacifier.com обсуждение |
| Ответ на | Re: Re: [GENERAL] Trouble with float4 afterupgrading from 6.5.3 to 7.0.2 (Philip Warner <pjw@rhyme.com.au>) |
| Список | pgsql-hackers |
At 01:40 AM 8/9/00 +1000, Philip Warner wrote: >This makes me think that some kind of binary dump in pg_dump is probably >not a bad idea. Has anybody looked at doing a cross-platform binary COPY? >Or some other way of representing base types - we have <type>in/out maybe ><type>exp/imp (export/import) might be useful to get a portable, lossless >representation. Another way to do it is to dump/restore floats in hex, maintaining the actual binary values. Conversion to hex, unlike conversion to decimal, is exact (16 is a power of 2 while 10 is not, to add to your "more knowledge than you want" about floats!) - Don Baccus, Portland OR <dhogaza@pacifier.com> Nature photos, on-line guides, Pacific Northwest Rare Bird Alert Serviceand other goodies at http://donb.photo.net.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера