Re: Bloquear registros

From: Martín Marqués <martin(at)bugs(dot)unl(dot)edu(dot)ar>
To: pgsql-es-ayuda(at)postgresql(dot)org
Cc: Cristofer Nicolas Reyes Aguilera <crreyes(at)alumnos(dot)inf(dot)utfsm(dot)cl>
Subject: Re: Bloquear registros
Date: 2005-07-28 19:22:14
Message-ID: 200507281622.14930.martin@bugs.unl.edu.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

El Jue 28 Jul 2005 15:41, Cristofer Nicolas Reyes Aguilera escribió:
> Hola!
>
> Tengo un grave problema de concurrencia a ciertos registros, necesito
> implementar semaforos para evitar inconsistencias; existe alguna manera
> de realizar esta operacion?

SELECT ...... FOR UPDATE

http://www.postgresql.org/docs/8.0/interactive/sql-select.html

--
select 'mmarques' || '@' || 'unl.edu.ar' AS email;
---------------------------------------------------------
Martín Marqués | Programador, DBA
Centro de Telemática | Administrador
Universidad Nacional
del Litoral
---------------------------------------------------------

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Dario 2005-07-28 20:12:51 full text search fti
Previous Message Martín Marqués 2005-07-28 19:17:06 Re: establecer conexion con otro usuario diferente a postgres