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