Re: Cacenlar un insert

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Christian Ortiz <cpalst(at)gmail(dot)com>
Cc: pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: Cacenlar un insert
Date: 2008-02-01 13:39:42
Message-ID: 20080201133942.GC5172@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

Christian Ortiz escribió:

> trato d ehacer un trigger q bajo cierta condicion , permita la insercion o
> la descarte:

RETURN NULL;

Cuando quieres que no la cancele,

RETURN NEW;

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Christian Ortiz 2008-02-01 13:49:30 Re: Cacenlar un insert
Previous Message Daniel Ferrer 2008-02-01 13:35:32 RE: automatizar una consulta sql