Re: BUG #5490: INSERT doesn't force cast from text to timestamp
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: BUG #5490: INSERT doesn't force cast from text to timestamp |
| Дата | |
| Msg-id | 16020.1275922397@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: BUG #5490: INSERT doesn't force cast from text to timestamp (Andy Balholm <andy@balholm.com>) |
| Ответы |
Re: BUG #5490: INSERT doesn't force cast from text to timestamp
|
| Список | pgsql-bugs |
Andy Balholm <andy@balholm.com> writes:
> Is there a way to make values of "undefined" type pass through the
> SELECT DISTINCT filter (getting checked for uniqueness) but remain
> "undefined"
No. What is your criterion for deciding that two values are distinct?
It's not possible to do that without imputing a data type to them.
(In particular, comparing the character strings amounts to deciding
that they are of a textual data type --- failing to acknowledge that
isn't a workaround but merely sloppy thinking.)
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера