Re: user meta (to the database, at least) information

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: user meta (to the database, at least) information
Дата
Msg-id 6514.982703290@sss.pgh.pa.us
обсуждение исходный текст
Ответ на user meta (to the database, at least) information  (Adam Haberlach <adam@newsnipple.com>)
Список pgsql-general
Adam Haberlach <adam@newsnipple.com> writes:
> got a QA guy here who says "every other database I've worked with
> lets people add their own fields to the user tables, why can't you
> just do that".

Oh?  News to me.  How does he expect the system to fill the extra
fields?

>     Is it safe to modify pg_shadow?

Strikes me as pretty risky, but you *might* get away with adding
more fields at the end with NULL defaults.  Don't try to add indexes,
constraints, rules or triggers, as they won't work.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: INSERT INTO problem
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Re: Printing PostgreSQL reports