| От | Tino Wildenhain |
|---|---|
| Тема | Re: Insert NULL for '' |
| Дата | |
| Msg-id | 3EEB4580.9050106@wildenhain.de обсуждение исходный текст |
| Ответ на | Re: Insert NULL for '' (Mike Mascari <mascarm@mascari.com>) |
| Ответы |
Re: Insert NULL for ''
|
| Список | pgsql-general |
Hi, Mike Mascari wrote: ... > > > What would be really neat is the ability of CREATE CAST to override > the default implementation and at the same time let the override call > the "base" implementation, if necessary. This is already possible: you just have to define your own type which would behave like a date for all operations but not for text2yourdate, which would then accept '' for null as well. Might be a little bit work, buts perfectly doable. Regards Tino
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера