Re: [Pgsql-ayuda] Reglas

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: "Fabricio Bedoya - TGI S(dot)A(dot)" <fbedoya(at)tgisa(dot)com>
Cc: pgsql-ayuda(at)tlali(dot)iztacala(dot)unam(dot)mx
Subject: Re: [Pgsql-ayuda] Reglas
Date: 2004-01-21 18:58:16
Message-ID: 20040121185815.GC3850@dcc.uchile.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

On Wed, Jan 21, 2004 at 12:07:57PM -0500, Fabricio Bedoya - TGI S.A. wrote:

> CREATE RULE "updatetipocambio_all" AS ON UPDATE TO
> "viewasientostipocambio"
> DO INSTEAD (
> UPDATE asientosdetalle SET tipocambio = new.tipocambio WHERE
> (asientosdetalle.idasientodetalle = new.idasientodetalle);
> );
>
> "query rewritten 10 times, may contain cycles"

Tienes alguna otra regla?

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"La libertad es como el dinero; el que no la sabe emplear la pierde" (Alvarez)

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Mario Soto Cordones 2004-01-21 19:03:11 [Pgsql-ayuda] Encriptar datos en Postgresql
Previous Message Alvaro Herrera 2004-01-21 18:54:11 Re: [Pgsql-ayuda] Migración a 7.4.1