Skip site navigation (1) Skip section navigation (2)

RE: RV: enviar a pgsql-es-ayuda@postgresql.org

From: Edwin Quijada <listas_quijada(at)hotmail(dot)com>
To: <yude(at)cav(dot)desoft(dot)cu>, <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: RE: RV: enviar a pgsql-es-ayuda@postgresql.org
Date: 2009-10-30 16:55:33
Message-ID: BLU137-W20EF005DEEA3F40667493DE3B60@phx.gbl (view raw or flat)
Thread:
Lists: pgsql-es-ayuda
Supongo que hablas espanol si estas en Cuba sino esta es una lista en espanol

Busca por el bloque de EXCEPTION ...WHEN

*-------------------------------------------------------* 
*-Edwin Quijada 
*-Developer DataBase 
*-JQ Microsistemas 
*-Soporte PostgreSQL
*-www.jqmicrosistemas.com
*-809-849-8087
*-------------------------------------------------------*




 


From: yude(at)cav(dot)desoft(dot)cu
To: pgsql-es-ayuda(at)postgresql(dot)org
Subject: [pgsql-es-ayuda] RV: enviar a pgsql-es-ayuda(at)postgresql(dot)org
Date: Thu, 29 Oct 2009 17:02:54 -0500





Hello,
I have a problem. I have an script that makes several operations in the database, but I want to know how can I validate errors. For example in sql server I do if @@error_count = 0 …, Can Anybody tell me how validate it in postgres like this:?
If error occurred then rollback transaction.
 
Regards.

 
 
Ing. Esneiker Enriquez Cabrera.
 
Excelencia en Software.
Desoft S.A. en Ciego de Ávila.
Joaquín de Agüero Esq. Calle 2. Ciego de Ávila. Cuba.
email:eenriquez(at)cav(dot)desoft(dot)cu
 
  		 	   		  
_________________________________________________________________

In response to

pgsql-es-ayuda by date

Next:From: Edwin QuijadaDate: 2009-10-30 17:24:12
Subject: RE: Log de Postgres a una BD
Previous:From: Mariano ReingartDate: 2009-10-30 15:44:14
Subject: Re: [pgsql-es-ayuda] Re: [pgsql-es-ayuda] Tutorial e?==?ISO-8859-1?Q?n Español

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group