Re: "user"

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Daniel ?erud <zilch(at)home(dot)se>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: "user"
Date: 2001-09-10 13:55:40
Message-ID: Pine.LNX.4.30.0109101534180.680-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

  • "user" at 2001-09-10 09:54:07 from Daniel ?erud

Browse pgsql-general by date

  From Date Subject
Next Message Roderick A. Anderson 2001-09-10 14:10:45 Re: Performance question
Previous Message Einar Karttunen 2001-09-10 12:53:33 Re: Performance question