| От | Bruno Wolff III |
|---|---|
| Тема | Re: Array handling in libpq |
| Дата | |
| Msg-id | 20070117172059.GA13308@wolff.to обсуждение исходный текст |
| Ответ на | Re: Array handling in libpq ("Joris van Zwieten" <vanzwieten@stcorp.nl>) |
| Список | pgsql-interfaces |
On Wed, Jan 17, 2007 at 09:45:09 +0100, Joris van Zwieten <vanzwieten@stcorp.nl> wrote: > > Thanks for your replies. This is good to know, although one worry remains > and that is loss of precision in the conversion of double to string. But > this could probably always be solved by using enough digits in the > conversion, right? There is a GUC variable (extra_float_digits) for doing this. Setting it to 2 will give enough extra decimal places that you should get back the same binary representation (on the same architecture). This is automatically used in some cases (e.g. pgdump).
В списке pgsql-interfaces по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера