Re: Rich LIKE inheritance

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Rich LIKE inheritance
Дата
Msg-id 47697C8F.3040500@archonet.com
обсуждение исходный текст
Ответ на Rich LIKE inheritance  (Reg Me Please <regmeplease@gmail.com>)
Список pgsql-general
Reg Me Please wrote:
> Hi all.
>
> Is there a way to inherit from a table with the LIKE construct and
> also get its indexes along with contraints, DEFAULTs and NOT NULLs?

CREATE TABLE ... LIKE isn't inheritance, it's copying the structure.

I believe you can duplicate indexes in 8.3.

--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: Robert Treat
Дата:
Сообщение: phpPgAdmin 4.2-Beta-1 translation status
Следующее
От: "Scott Marlowe"
Дата:
Сообщение: Re: Deploy postgres - upgrade strategy