Re: INSERT for inherited tables

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: INSERT for inherited tables
Дата
Msg-id 27589.1017779822@sss.pgh.pa.us
обсуждение исходный текст
Ответ на INSERT for inherited tables  (Lewis Bergman <lbergman@[nospam] abi.tconline.net>)
Список pgsql-novice
Lewis Bergman <lbergman@[nospam]abi.tconline.net> writes:
> In the manual in the inherited section there is no mention or an example of
> how to do an insert into such a table. It also isn't addressed in the insert
> section. Undoubtedly this means everyone else is perfectly clear on the
> subject. Alas, I am not.

INSERT always inserts into exactly the table you name in the INSERT
command; it doesn't matter whether that table has inheritance children
(or parents).

            regards, tom lane

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

Предыдущее
От: Lewis Bergman
Дата:
Сообщение: INSERT for inherited tables
Следующее
От: tmorrison
Дата:
Сообщение: readline and psql