Re: BUG #6348: PROBLEMAS DELETE - Mailing list pgsql-bugs

From Alvaro Herrera
Subject Re: BUG #6348: PROBLEMAS DELETE
Date
Msg-id 1324484692-sup-4029@alvh.no-ip.org
Whole thread Raw
In response to BUG #6348: PROBLEMAS DELETE  (wilsoncamago@gmail.com)
List pgsql-bugs
Excerpts from wilsoncamago's message of mi=C3=A9 dic 21 11:26:39 -0300 2011:

> hace algun tiempo tube el inconveniente de eliminar de una tabla relacion=
ada
> en una subconsulta y eliminando 10000 aprox se demoraba 20 seg la consulta
> era=20
> DELETE FROM  saldo_detalle_cartera=20
> WHERE saldo_detalle_cartera.movimiento_contable in (select
> s.movimiento_contable from saldo_detalle_cartera s=20
>                              inner join movimiento_contable m on
> m.id_mov_contable=3D s.movimiento_contable
>                              and m.proyecto =3D '185' )
>=20
> afotunadamente hay una forma mas rapida que es usando esta sentencia

Wilson, esto no es un bug.  Por favor plantea tu pregunta en
pgsql-es-ayuda@postgresql.org

--=20
=C3=81lvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

pgsql-bugs by date:

Previous
From: wilsoncamago@gmail.com
Date:
Subject: BUG #6348: PROBLEMAS DELETE
Next
From: marc@msys.ch
Date:
Subject: BUG #6350: Delete a role which is still in use