Re: Trick to create alias/mirror table

From: shammat(at)gmx(dot)net
To: pgsql-sql(at)lists(dot)postgresql(dot)org
Subject: Re: Trick to create alias/mirror table
Date: 2024-07-08 12:09:30
Message-ID: bc341eab-3fa6-48f5-955d-046e30093389@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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.

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Achilleas Mantzios - cloud 2024-07-08 12:17:48 Re: Trick to create alias/mirror table
Previous Message Kashif Zeeshan 2024-07-08 11:55:37 Re: Trick to create alias/mirror table