syntax error with example sql of createtable

Поиск
Список
Период
Сортировка
От Honda Shigehiro
Тема syntax error with example sql of createtable
Дата
Msg-id 20050106.022407.116372061.fwif0083@mb.infoweb.ne.jp
обсуждение исходный текст
Ответы Re: syntax error with example sql of createtable  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: syntax error with example sql of createtable  (Honda Shigehiro <fwif0083@mb.infoweb.ne.jp>)
Список pgsql-docs
Hello,

I got a error when execute below command in
  http://developer.postgresql.org/docs/postgres/sql-createtable.html

postgres=#  CREATE TABLE array (vector  int[][]);
ERROR:  syntax error at or near "array" at character 14
LINE 1: CREATE TABLE array (vector  int[][]);

                     ^
(I tried it on 8.0.0rc2.)

'array' is a reserved word, so it needs quote to create table
named array:
postgres=#  CREATE TABLE "array" (vector  int[][]);
CREATE TABLE

regards,
-- Shigehiro Honda

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: man pages fixed
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: syntax error with example sql of createtable