Re: TRUNCATE VIEW

From: harisai hari <harisai(dot)58(at)gmail(dot)com>
To: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
Cc: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: TRUNCATE VIEW
Date: 2021-01-25 13:15:23
Message-ID: CAEUO9HBg=G0--ySsG1R1cjJZkq-WALCHEDBhuac_r_=DyqRxJA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Could you please provide documentation link, I couldn't find it.

On Mon, 25 Jan 2021, 6:08 pm Laurenz Albe, <laurenz(dot)albe(at)cybertec(dot)at> wrote:

> On Mon, 2021-01-25 at 12:06 +0000, PG Doc comments form wrote:
> > In this link https://www.postgresql.org/docs/12/ddl-priv.html you
> mentioned
> > like Truncate of view, Is it possible?
> >
> > TRUNCATE
> > Allows TRUNCATE on a table, view, etc.
>
> Yes, if you define an INSTEAD OF TRUNCATE trigger on the view.
>
> Yours,
> Laurenz Albe
>
>

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Laurenz Albe 2021-01-25 15:22:58 Re: TRUNCATE VIEW
Previous Message Laurenz Albe 2021-01-25 12:38:52 Re: TRUNCATE VIEW