Re: "user" - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: "user"
Date
Msg-id Pine.LNX.4.30.0109101534180.680-100000@peter.localdomain
Whole thread Raw
In response to "user"  (Daniel ?erud <zilch@home.se>)
List pgsql-general
Daniel ?erud writes:

> Why is this so very commonly used word reserved?

Because SQL says so.  More specifically, because USER is a special
function.

> Is that some kind of #define so you easily can recompile
> PostgreSQL?

Surely not.

> If so, please guide me to the place.

You can hack around in src/backend/parser/gram.y, remove the USER
expansion of the c_expr nonterminal, and move the USER expansion of
ColLabel up to TokenId.

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter


pgsql-general by date:

Previous
From: gb@a3design.de
Date:
Subject: approve awKtwN unsubscribe gb@a3design.de
Next
From: "Roderick A. Anderson"
Date:
Subject: Re: Performance question