X-Original-To: pgsql-docs-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 786F13A4603 for ; Wed, 5 Jan 2005 17:44:53 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 98836-04 for ; Wed, 5 Jan 2005 17:44:44 +0000 (GMT) Received: from mail503.nifty.com (mail503.nifty.com [202.248.37.211]) by svr1.postgresql.org (Postfix) with ESMTP id E36773A4B47 for ; Wed, 5 Jan 2005 17:24:40 +0000 (GMT) Received: from localhost (ntibrk005135.ibrk.nt.isdn.ppp.infoweb.ne.jp [61.124.27.135])by mail503.nifty.com with ESMTP id j05HO9HI013041 for ; Thu, 6 Jan 2005 02:24:16 +0900 Date: Thu, 06 Jan 2005 02:24:07 +0900 (JST) Message-Id: <20050106.022407.116372061.fwif0083@mb.infoweb.ne.jp> To: pgsql-docs@postgresql.org Subject: syntax error with example sql of createtable From: Honda Shigehiro X-Mailer: Mew version 3.3 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.516 tagged_above=0 required=5 tests=FROM_ENDS_IN_NUMS X-Spam-Level: X-Archive-Number: 200501/9 X-Sequence-Number: 2768 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