pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ferindo Middleton Jr <fmiddleton@verizon.net>
To: pgsql-admin@postgresql.org
Subject: freezing a particular field in a table
Date: Tue, 22 Nov 2005 18:28:55 -0500
Message-ID: <4383A9B7.7060008@verizon.net> (raw)

Is there a way where you can implement a situation in a postgres table 
where a particular field cannot be changed when saved initially. I have 
table and there's one particular integer field that should never be 
changed in any record inserted... but I might need to allow the entire 
record to be deleted... I was just wondering if there's a way to 
implement something like this on a field (but not the entire row) at the 
database level?

Ferindo Middleton



view thread (5+ messages)  latest in thread

Message-ID: <4383A9B7.7060008@verizon.net>
Permalink:  ../4383A9B7.7060008@verizon.net/
Also on:    postgresql.org/message-id/4383A9B7.7060008@verizon.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: fmiddleton@verizon.net
  Subject: Re: freezing a particular field in a table
  In-Reply-To: <4383A9B7.7060008@verizon.net>
  References: <4383A9B7.7060008@verizon.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox