Re: [HACKERS] Assignment of valid collation for SET operations on queries with UNKNOWN types.
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: [HACKERS] Assignment of valid collation for SET operations on queries with UNKNOWN types. |
| Дата | |
| Msg-id | 18980.1483022888@sss.pgh.pa.us обсуждение |
| Ответ на | Re: [HACKERS] Assignment of valid collation for SET operations onqueries with UNKNOWN types. (Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>) |
| Ответы |
Re: [HACKERS] Assignment of valid collation for SET operations onqueries with UNKNOWN types.
|
| Список | pgsql-hackers |
Ashutosh Bapat <ashutosh.bapat@enterprisedb.com> writes:
> The way this patch has been written, it doesn't allow creating tables
> with unknown type columns, which was allowed earlier.
Yes, that's an intentional change; creating such tables (or views) has
never been anything but a foot-gun.
However, I thought the idea was to silently coerce affected columns from
unknown to text. This doesn't look like the behavior we want:
> You might want to add some testcases to test the error report e.g.
> (not necessarily in the same form) create view sv as select
> relname::unknown from pg_class;
> ERROR: column "relname" has type "unknown"
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера