Re: Fwd: Retour sur Insert
Pierre BOIZOT <[email protected]> Thu, 14 Jun 2018 14:38:31 +0200
| Newsgroups | gmane.comp.db.postgresql.french |
|---|---|
| Message-ID | <CANxSh5x-rfX+EUoYc5CXkEEaKsrP2DF-dYYXV78gSexX5ZjG-w@mail.gmail.com> |
--000000000000e80815056e9965ba Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Merci pour ton aide. donc migration =C3=A0 prevoir :-) Pierre. Le jeu. 14 juin 2018 =C3=A0 13:38, Vik Fearing <[email protected]= > a =C3=A9crit : > On 14/06/18 13:08, Pierre BOIZOT wrote: > > > > =E2=80=8BHello Vik, > > > > J'obtiens le message suivant > > ERROR: cannot insert into view "test" > > HINT: You need an unconditional ON INSERT DO INSTEAD rule or an INSTEA= D > > OF INSERT trigger. > > ef=3D#=E2=80=8B > > Ooh l=C3=A0. Tu sais que les versions ant=C3=A9rieures =C3=A0 la 9.3 ne s= ont plus > support=C3=A9es ? Il faut vite mettre tout =C3=A7a =C3=A0 jour ! > > > =E2=80=8BC'est comme si le trigger sur la table ne s'appliquait pas=E2= =80=8B. > > 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 > --000000000000e80815056e9965ba Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:verdana,= sans-serif;font-size:small">Merci pour ton aide.</div><div class=3D"gmail_d= efault" style=3D"font-family:verdana,sans-serif;font-size:small"><br></div>= <div class=3D"gmail_default" style=3D"font-family:verdana,sans-serif;font-s= ize:small">donc=C2=A0 migration =C3=A0 prevoir :-)<br clear=3D"all"></div><= div><div dir=3D"ltr" class=3D"gmail_signature" data-smartmail=3D"gmail_sign= ature"><div dir=3D"ltr"><div><div dir=3D"ltr"><br>Pierre.<br></div></div></= div></div></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr">Le=C2= =A0jeu. 14 juin 2018 =C3=A0=C2=A013:38, Vik Fearing <<a href=3D"mailto:v= [email protected]">[email protected]</a>> a =C3=A9cri= t=C2=A0:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .= 8ex;border-left:1px #ccc solid;padding-left:1ex">On 14/06/18 13:08, Pierre = BOIZOT wrote:<br> > <br> > =E2=80=8BHello Vik,<br> > <br> > J'obtiens le message suivant<br> > ERROR:=C2=A0 cannot insert into view "test"<br> > HINT:=C2=A0 You need an unconditional ON INSERT DO INSTEAD rule or an = INSTEAD<br> > OF INSERT trigger.<br> > ef=3D#=E2=80=8B<br> <br> Ooh l=C3=A0. Tu sais que les versions ant=C3=A9rieures =C3=A0 la 9.3 ne son= t plus<br> support=C3=A9es ? Il faut vite mettre tout =C3=A7a =C3=A0 jour !<br> <br> > =E2=80=8BC'est comme si le trigger sur la table ne s'appliquai= t pas=E2=80=8B.<br> <br> C'est surtout que l'INSERT n'atteint pas la table.<br> -- <br> Vik Fearing=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 +33 6 46 75 15 36<br> <a href=3D"http://2ndQuadrant.fr" rel=3D"noreferrer" target=3D"_blank">http= ://2ndQuadrant.fr</a>=C2=A0 =C2=A0 =C2=A0PostgreSQL : Expertise, Formation = et Support<br> </blockquote></div> --000000000000e80815056e9965ba--