Re: creating "user" table

Поиск
Список
Период
Сортировка
От Chris
Тема Re: creating "user" table
Дата
Msg-id 4.3.2.7.2.20010923104329.00acd580@pop.iprimus.com.au
обсуждение исходный текст
Ответ на creating "user" table  (Chris <tomcat@weirdness.com>)
Ответы Re: creating "user" table
Список pgsql-general
> > Hi,
> >
> > This one is more for the developers, but other comments welcome.
> >
> > Since we can't create a table called user in a normal database due to
> > the reserved keyword problem, would it be easy or worthwhile just having
> > the CREATE USER information in the template1 database?
>
>Uhhh, what "CREATE USER information"?
Sorry, thought I was clear.
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.

Chris.


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

Предыдущее
От: "Gurunandan R. Bhat"
Дата:
Сообщение: Problem while logging primary key of updated field.
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: creating "user" table