Re: Trick to create alias/mirror table

Поиск
Список
Период
Сортировка
Искать
От
shammat@gmx.net
Тема
Re: Trick to create alias/mirror table
Дата
Msg-id
bc341eab-3fa6-48f5-955d-046e30093389@gmx.net
Ответ на
Список
Дерево обсуждения
Trick to create alias/mirror table intmail01 <intmail01@gmail.com>
Re: Trick to create alias/mirror table Achilleas Mantzios - cloud <a.mantzios@cloud.gatewaynet.com>
Re: Trick to create alias/mirror table shammat@gmx.net
Re: Trick to create alias/mirror table intmail01 <intmail01@gmail.com>
Re: Trick to create alias/mirror table "David G. Johnston" <david.g.johnston@gmail.com>
Re: Trick to create alias/mirror table shammat@gmx.net
Re: Trick to create alias/mirror table shammat@gmx.net
Re: Trick to create alias/mirror table Kashif Zeeshan <kashi.zeeshan@gmail.com>
intmail01 schrieb am 08.07.2024 um 13:27:
> Hi, Looking for a trick to make something like an alias or a mirror
> table. The alias can be updated. View is not suitable because it is
> read only data. The alias is always linked to the original table.
> When a modification occurred in the original table this will be
> visible in all link tables.

This sounds very much as if a view would solve that requirement.

Views can be updated in Postgres. Either automatically if it's a "simple view"
or by providing a function that handles the DML.



В списке pgsql-sql по дате отправления
От: Kashif Zeeshan
Дата:
От: Achilleas Mantzios - cloud
Дата:
FAQ