Re: Is it necessary to rewrite table while increasing the scale of datatype numeric???
В списке pgsql-hackers по дате отправления:
| От | Noah Misch |
|---|---|
| Тема | Re: Is it necessary to rewrite table while increasing the scale of datatype numeric??? |
| Дата | |
| Msg-id | 20130904113052.GA135734@tornado.leadboat.com обсуждение исходный текст |
| Ответ на | Is it necessary to rewrite table while increasing the scale ofdatatype numeric? (wangshuo@highgo.com.cn) |
| Ответы |
Re: Is it necessary to rewrite table while increasing the scale ofdatatype numeric???
|
| Список | pgsql-hackers |
On Wed, Sep 04, 2013 at 12:08:48PM +0800, wangshuo@highgo.com.cn wrote: > I find that it takes a long time when I increase the scale of a numeric > datatype. > By checking the code, I found that's because it needs to rewrite that > table's file. > After checking that table's data file, I found only parameter n_header > changed. > And, I found the data in that numeric field never changed. > So I thank It's not necessary to rewrite the table's file in this case. n_header is part of the numeric field's data. That's not just pedantry: the display scale stored in n_header affects how numeric_out() formats the value. -- Noah Misch EnterpriseDB http://www.enterprisedb.com
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера