Re: creating "user" table

Поиск
Список
Период
Сортировка
От Chris
Тема Re: creating "user" table
Дата
Msg-id 4.3.2.7.2.20010923222617.00ad87d0@pop.iprimus.com.au
обсуждение исходный текст
Ответ на Re: creating "user" table  (Peter Eisentraut <peter_e@gmx.net>)
Список 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.


В списке pgsql-general по дате отправления:

Предыдущее
От: "Piotr Sroczynski"
Дата:
Сообщение: Is it possible to stop the trigger execution for a moment?
Следующее
От: Jochem van Dieten
Дата:
Сообщение: Re: creating "user" table