| От | Tom Lane |
|---|---|
| Тема | Re: "mirroring" a table - PostgreSQL 7.3.2 |
| Дата | |
| Msg-id | 5233.1074978599@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | "mirroring" a table - PostgreSQL 7.3.2 ("C. Bensend" <benny@bennyvision.com>) |
| Ответы |
Re: "mirroring" a table - PostgreSQL 7.3.2
|
| Список | pgsql-admin |
"C. Bensend" <benny@bennyvision.com> writes:
> I have two tables in the same database, whose structure I want to be
> identical. Call them 'bob' and 'test_bob' for example.
> If I make a change to the schema of 'bob', I want that exact change to
> happen to 'test_bob'.
Possibly you could get the effect you want by making one a child of the
other. Read up on inheritance. There are some side-effects you'd
probably *not* want, so this isn't a perfect solution, but I can't think
of anything else.
regards, tom lane
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера