Re: Correcting Error message

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Correcting Error message
Дата
Msg-id 16236.1267251394@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Correcting Error message  (Jaime Casanova <jcasanov@systemguards.com.ec>)
Список pgsql-hackers
Jaime Casanova <jcasanov@systemguards.com.ec> writes:
> On Fri, Feb 26, 2010 at 7:12 PM, Michael Glaesemann <grzm@seespotcode.net> wrote:
>> In any event, I couldn't get your example to work on Postgres 8.4 regardless
>> due to the varchar2 type. Which version of Postgres are you using?
>> 
>> test=# CREATE TABLE footable(id int4, name varchar2(10));
>> ERROR:  type "varchar2" does not exist

> it;s probably postgres plus (the enterprisedb fork),

Yeah, particularly given the OP's address ;-).  The example goes through
fine in standard Postgres if you use varchar, or indeed any other
datatype.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Jaime Casanova
Дата:
Сообщение: Re: Correcting Error message
Следующее
От: Gokulakannan Somasundaram
Дата:
Сообщение: Re: Lock Wait Statistics (next commitfest)