Potential bug

Поиск
Список
Период
Сортировка
От James Vinett
Тема Potential bug
Дата
Msg-id 1019101392.875.54.camel@james.imdstrading.com
обсуждение исходный текст
Ответы Re: Potential bug  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
To whom it may concern:

I tried to create a new table with the following statement:

    CREATE TABLE
        "bit" (
        provider_name varchar
        );



I got the error message:

ERROR:  TypeCreate: type bit already defined



According to your documentation 'PosetgreSQL 7.1 User's Guide' on page 2
it states:

A delimited identifier (or qouted identifier) is always an identifier,
never a key word. So "select" could be used to refer to a column or
table named select, whereas an unquoted select would be taken as a key
word and would therefore provoke a paser error when used where a table
or column name is expected.

It then goes further to state in 'PostgreSQL 7.1 Reference Manual' on
page 54 the syntax for CREATE TABLE:


CREATE [ TEMPORARY | TEMP ] TABLE table (
    column type
[ NULL | NOT NULL ] [ UNIQUE ] [ DEFAULT value ]
    [column_constraint_clause | PRIMARY KEY } [ ... ] ]
    [, ... ]
    [, PRIMARY KEY ( column [, ...] ) ]
    [, CHECK ( condition ) ]
    [, table_constraint_clause ]
    ) [ INHERITS ( inherited_table [, ...] ) ]


Is this exception that is being thrown correct?  If so you should state
that 'types' are excluded from the 'qouted identifier' rule.   Futher
more the exception makes it sound like I'm trying to CREATE TYPE, which
i am not.

james vinett

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

Предыдущее
От: Hiroshi Inoue
Дата:
Сообщение: Re: postgresql odbc bug
Следующее
От: Heilkrauter@aol.com
Дата:
Сообщение: Upgrade to 7.1.3