Re: trigger/for key help

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: trigger/for key help
Дата
Msg-id 21878.1081862704@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: trigger/for key help  (Greg Stark <gsstark@mit.edu>)
Ответы Re: trigger/for key help
Список pgsql-sql
Greg Stark <gsstark@mit.edu> writes:
> Is there a reason postgres goes out of its way to pick names that
> will be harder to work with than necessary?

If we use ordinary identifiers for system-generated names then we will
be infringing on user name space --- ie, there's a potential for
conflict.  I suppose we could use long randomly-generated names like
ewjncm343cnlen, but are those really easier to work with?

I think a more useful approach is to treat it as a documentation
problem.  Perhaps an example in the ALTER TABLE man page would help.
        regards, tom lane


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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: cursors and for loops?
Следующее
От: Terry Brick
Дата:
Сообщение: Formatting Functions and Group By