| От | Patrick Robin |
|---|---|
| Тема | backend dies when a user defined type returns null |
| Дата | |
| Msg-id | 3A1B154E.F3D1EF75@fa.disney.com обсуждение исходный текст |
| Ответы |
Re: backend dies when a user defined type returns null
|
| Список | pgsql-general |
Hi, I created myself a user defined type following the example in the Postgres programmer's guide. In the example in chapter 5 it shows that the input function for the user defined type returns null when the input type doesn't match the correct format. I do that for input strings that don't match my strict n.n.n format ( ex 3.2.1) but it causes the backend to die. For example, this query causes it to die: select * from collections where version='3.2' But this one works because it is in the correct format: select * from collections where version='3.2.1' Am I doing something wrong? Thanks Patrick -- ________________________________________ Patrick Robin patrickr@fa.disney.com Walt Disney Feature Animation 500 South Buena Vista Street Burbank,California 91521-4817
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера