Re: [SQL] changed SQL in 6.4?

From: pierre(at)desertmoon(dot)com
To: sas(at)schell(dot)de (Sascha Schumann)
Cc: pgsql-sql(at)hub(dot)org
Subject: Re: [SQL] changed SQL in 6.4?
Date: 1998-12-01 01:22:47
Message-ID: 19981201012247.17488.qmail@desertmoon.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

>
> Hi list,
>
> I've dumped my databases, but 6.4 doesn't like the code produced by
> 6.3.2's pg_dump.
>
> CREATE TABLE user (username varchar(128), realname varchar(128), password
> varchar(128), allow int4, id int4);
> ERROR: parser: parse error at or near "user"
>
I found the same thing in my conversion process. The keyword user is
reserved....change your table name to users and it will work, however
you'll need to change all references to the table user to users
as well.

-=pierre

> Exact the same statement works perfectly with 6.3.2. It also doesn't like
> INSERTing in tables named user. Is user a reserved name?
>
> Regards,
>
> Sascha Schumann |
> Consultant | finger sas(at)schell(dot)de
> | for PGP public key
>
>
>

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Chauncey THorn 1998-12-01 02:23:36
Previous Message root 1998-12-01 00:23:15 How do I select duplicated rows