| От | Tim Perdue |
|---|---|
| Тема | Old "Feature" - Copy table ignores column defaults |
| Дата | |
| Msg-id | 3DD2FF93.6060706@perdue.net обсуждение исходный текст |
| Ответы |
Re: Old "Feature" - Copy table ignores column defaults
|
| Список | pgsql-sql |
I see there are a handful of reports of this, but it does seem broken to me. If I am copying a table and a column is blank, surely it makes sense to substitute the column default from the table? Right now, it is substituting 0 for a null column, instead of -99 as I wished, and here I was complaining that it was the national weather service's bug. Re: [HACKERS] Bug or feature? COPY ignores column defaults http://archives.postgresql.org/pgsql-hackers/1999-01/msg00667.php http://archives.postgresql.org/pgsql-hackers/1999-01/msg00650.php Alas, I will have to run perl regex on this awful weather data to make it work right. Tim
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера