Re: creating "user" table - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: creating "user" table
Date
Msg-id Pine.LNX.4.30.0109230409380.683-100000@peter.localdomain
Whole thread Raw
In response to Re: creating "user" table  (Chris <tomcat@weirdness.com>)
Responses Re: creating "user" table
List pgsql-general
Chris writes:

> I meant only be able to create users when you're connected to the template1 db.
>
> so
> test=# create user x;
>
> wouldn't work, since you're not using template1.
>
> that way the user keyword would be free to use as a table name.

But the parser is fixed at compile time and doesn't change depending on
the database you're connected to.

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


pgsql-general by date:

Previous
From: Chris
Date:
Subject: Re: creating "user" table
Next
From: Bruce Momjian
Date:
Subject: Multibyte FAQ item