Re: creating "user" table

From: Chris <tomcat(at)weirdness(dot)com>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: creating "user" table
Date: 2001-09-23 12:46:54
Message-ID: 4.3.2.7.2.20010923222617.00ad87d0@pop.iprimus.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> > 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.

Fair enough. There goes that idea then.

Could the parser do a different regex for the word user depending on syntax?

Just throwing around some (probably stupid) ideas, I have no idea on how
difficult / worthwhile this would actually be.

Chris.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jochem van Dieten 2001-09-23 13:03:02 Re: creating "user" table
Previous Message Piotr Sroczynski 2001-09-23 12:28:29 Is it possible to stop the trigger execution for a moment?