| От | Tom Lane |
|---|---|
| Тема | Re: Potential bug |
| Дата | |
| Msg-id | 28047.1019227367@sss.pgh.pa.us обсуждение |
| Ответ на | Potential bug (James Vinett <james@imdstrading.com>) |
| Список | pgsql-bugs |
James Vinett <james@imdstrading.com> writes:
> ERROR: TypeCreate: type bit already defined
This is neither a bug nor a keyword conflict.
A table has a datatype of the same name associated (the composite type
corresponding to its rowtype). So, when you try to create table "bit"
that means creating type "bit" too. But there already is one.
In 7.3 this issue will be considerably alleviated because the predefined
datatypes will live in a different schema (namespace) than user-defined
datatypes do. But you'll still get burnt if you make a datatype "foo"
and then try to create a table "foo".
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера