public inbox for [email protected]  
help / color / mirror / Atom feed
From: Honda Shigehiro <[email protected]>
To: [email protected]
Subject: syntax error with example sql of createtable
Date: Thu, 06 Jan 2005 02:24:07 +0900 (JST)
Message-ID: <[email protected]> (raw)

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



view thread (4+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: syntax error with example sql of createtable
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox