Re: Inheritance or no inheritance, there is a question

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Inheritance or no inheritance, there is a question
Дата
Msg-id 200308191712.10959.josh@agliodbs.com
обсуждение исходный текст
Ответ на Inheritance or no inheritance, there is a question  ("Vernon Smith" <vwu98034@lycos.com>)
Список pgsql-sql
Vernon,

> Thanks for your suggestion. I haven't thought this structure, to compose a
> table with another one. That probably is the best solution I can have. With
> this approach, I need to have two tables for B. As a result, all queries,
> insertion, update, deletion, of B need to operate on these two tables. Is
> it possible using a view to them as one table?

Yes.  In fact, by configuring PostgreSQL's RULE system, you can make the view 
updatable, insertable and deleteable as well.  See the online docs under 
"CREATE RULE" and "Server-side Programming"

-- 
Josh Berkus
Aglio Database Solutions
San Francisco


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

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: Query problem
Следующее
От:
Дата:
Сообщение: Re: Wicked screensaver