Re: Fwd: Retour sur Insert

From: Vik Fearing <vik(dot)fearing(at)2ndquadrant(dot)com>
To: Pierre BOIZOT <pierre(dot)boizot(at)gmail(dot)com>
Cc: pgsql-fr-generale <pgsql-fr-generale(at)postgresql(dot)org>
Subject: Re: Fwd: Retour sur Insert
Date: 2018-06-14 11:38:14
Message-ID: bc4d0339-6085-0611-0022-5ebc6fa11144@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-fr-generale

On 14/06/18 13:08, Pierre BOIZOT wrote:
>
> ​Hello Vik,
>
> J'obtiens le message suivant
> ERROR:  cannot insert into view "test"
> HINT:  You need an unconditional ON INSERT DO INSTEAD rule or an INSTEAD
> OF INSERT trigger.
> ef=#​

Ooh là. Tu sais que les versions antérieures à la 9.3 ne sont plus
supportées ? Il faut vite mettre tout ça à jour !

> ​C'est comme si le trigger sur la table ne s'appliquait pas​.

C'est surtout que l'INSERT n'atteint pas la table.
--
Vik Fearing +33 6 46 75 15 36
http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support

In response to

Responses

Browse pgsql-fr-generale by date

  From Date Subject
Next Message Pierre BOIZOT 2018-06-14 12:38:31 Re: Fwd: Retour sur Insert
Previous Message Vik Fearing 2018-06-12 15:02:04 Re: Retour sur Insert