Re: Error when creating table with boolean data type

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: Error when creating table with boolean data type
Дата
Msg-id
9390.1258514144@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
Error when creating table with boolean data type William Carithers <wccarithers@lbl.gov>
Re: Error when creating table with boolean data type William Carithers <wccarithers@lbl.gov>
Re: Error when creating table with boolean data type APseudoUtopia <apseudoutopia@gmail.com>
Re: Error when creating table with boolean data type Tom Lane <tgl@sss.pgh.pa.us>
William Carithers  writes:
> OK, found it. I was trying to name a column with a keyword ('like'). The
> error message threw me off. Sorry for the spam.

FWIW, 8.4 and up will give you an error cursor on this:

ERROR:  relation "boolean" does not exist
LINE 14:  like boolean,
               ^

which doesn't directly say that "like" is the problem but might at least
help a little bit.

			regards, tom lane
В списке pgsql-general по дате отправления
От: Naoko Reeves
Дата:
От: Merlin Moncure
Дата:
FAQ