syntax error with example sql of createtable - Mailing list pgsql-docs

From Honda Shigehiro
Subject syntax error with example sql of createtable
Date
Msg-id 20050106.022407.116372061.fwif0083@mb.infoweb.ne.jp
Whole thread Raw
Responses Re: syntax error with example sql of createtable
Re: syntax error with example sql of createtable
List 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 by date:

Previous
From: Peter Eisentraut
Date:
Subject: man pages fixed
Next
From: Bruce Momjian
Date:
Subject: Re: syntax error with example sql of createtable