Re: Is it wise to include table inheritence in the tutorial?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Is it wise to include table inheritence in the tutorial?
Дата
Msg-id 12462.1565014660@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Is it wise to include table inheritence in the tutorial?  (PG Doc comments form <noreply@postgresql.org>)
Ответы Re: Is it wise to include table inheritence in the tutorial?
Список pgsql-docs
PG Doc comments form <noreply@postgresql.org> writes:
> I was reading the tutorial here:
> https://www.postgresql.org/docs/11/tutorial-inheritance.html
> But on the "don't do this" Wiki, it is strongly advised not to use this:
> https://wiki.postgresql.org/wiki/Don't_Do_This#Don.27t_use_table_inheritance

That wiki entry is just some random person's opinion, it's not
project policy.

Having said that, the partitioning feature is approaching the
point of being mature enough to recommend to novices, so maybe
we should start thinking about adjusting the tutorial with that
in mind.  I wouldn't necessarily remove the inheritance section;
it's talking about OOP-style inheritance, which you can't get
with partitioning.

            regards, tom lane



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

Предыдущее
От: PG Doc comments form
Дата:
Сообщение: Is it wise to include table inheritence in the tutorial?
Следующее
От: David Fetter
Дата:
Сообщение: Re: Is it wise to include table inheritence in the tutorial?