How to NOT perform an insert

From: "Fontenot, Paul" <Paul(dot)Fontenot(at)bannerhealth(dot)com>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: How to NOT perform an insert
Date: 2003-06-18 18:18:11
Message-ID: 230BCAB977308F43BD851AFAE55A86415E18EF@phx01018.bannerhealth.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Can I prevent an insert based on what is in a particular field?

For example, I use PostgreSQL as the backend for my syslog servers and
would like to log when some one makes a configuration change but not
when an ICMP echo request has been denied by the os. I think a function
/ trigger combination can do this but I'm not sure.

***PRIVILEGED & CONFIDENTIAL***
Unless expressly stated otherwise, this message (and any attachment(s)
thereto) is confidential and may be privileged. It is intended for the
addressee(s) only. If you are not an addressee, any disclosure or
copying of the contents of this e-mail or any action taken (or not
taken) in reliance on it is strictly prohibited. If you are not an
addressee, please inform sender immediately and delete this message from
your system.

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Nabil Sayegh 2003-06-18 19:18:04 Re: Documentation Tools
Previous Message Juliet May 2003-06-18 17:57:25 Documentation Tools