| От | Loïc TREGOUËT |
|---|---|
| Тема | inheritance ... |
| Дата | |
| Msg-id | 39213E7B.E76F7EDE@cri74.org обсуждение исходный текст |
| Список | pgsql-novice |
I've the folowing problem :
I've create a table cities :
create table cities (name varchar(20) , population int4) ;
I've also create a table capitals with inheritance :
create table capitals (country varchar(20) ) inherits (cities) ;
But when i want to add a column to cities , the column is not added to capitals : this is not a object approach ! Isn't it ? How can i do ?
Thanks for the response
Loic
P.S : one time , i've add a column to the table cities and i had the result ADD but i couldn't see the column added ! Have you ever heard about this ?
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера