Re: Correcting Error message - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Correcting Error message
Date
Msg-id 16236.1267251394@sss.pgh.pa.us
Whole thread Raw
In response to Re: Correcting Error message  (Jaime Casanova <jcasanov@systemguards.com.ec>)
List 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 by date:

Previous
From: Jaime Casanova
Date:
Subject: Re: Correcting Error message
Next
From: Gokulakannan Somasundaram
Date:
Subject: Re: Lock Wait Statistics (next commitfest)