From: pierre@desertmoon.com
To: sas@schell.de
Cc: pgsql-sql@hub.org
Subject: Re: [SQL] changed SQL in 6.4?
Date: 30 Nov 1998 18:22:47 -0700
Message-ID: <19981201012247.17488.qmail@desertmoon.com> (raw)
In-Reply-To: <Pine.LNX.4.05.9811302354420.21630-100000@guerilla.foo.bar>
>
> 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@schell.de
> | for PGP public key
>
>
>
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: pierre@desertmoon.com, sas@schell.de, pgsql-sql@hub.org
Subject: Re: [SQL] changed SQL in 6.4?
In-Reply-To: <19981201012247.17488.qmail@desertmoon.com>
References: <Pine.LNX.4.05.9811302354420.21630-100000@guerilla.foo.bar> <19981201012247.17488.qmail@desertmoon.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox