auto-filling a field on insert

From: semi-ambivalent <thefronny(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: auto-filling a field on insert
Date: 2009-10-22 02:17:44
Message-ID: aed6f29d-30f5-4f44-a176-675cb666823b@z3g2000prd.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

If I have a table with fields A, B, C and D how could I do something
such that if I insert values in fields A, B and C field D would be
auto-filled with the value A||B||C? Just a pointer of where to begin
looking is fine. Triggers? Copy ... From? Table or field definitions?

thx

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David Fetter 2009-10-22 02:54:07 Re: auto-filling a field on insert
Previous Message Patrick Brückner 2009-10-22 01:19:06 postgres doesn't start after crash