Syntax error and reserved keywords - Mailing list pgsql-hackers

From Dimitri Fontaine
Subject Syntax error and reserved keywords
Date
Msg-id 87haxre12w.fsf@hi-media-techno.com
Whole thread Raw
Responses Re: Syntax error and reserved keywords
Re: Syntax error and reserved keywords
Re: Syntax error and reserved keywords
List pgsql-hackers
Hi,

A colleague came to me to express his surprise about this quite simple
use case:
 =# alter table toto add column user text; ERROR:  syntax error at or near "user" LINE 1: alter table toto add column
usertext;
 

Is there a reason for us not to add an HINT: "user" is a reserved
keyword or something like that, other than nobody having been interested
in doing the work?

Regards,
-- 
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Command Triggers, patch v11
Next
From: David Fetter
Date:
Subject: Re: CREATE FOREGIN TABLE LACUNA