database field "pointer" - Mailing list pgsql-general

From Jeff Davis
Subject database field "pointer"
Date
Msg-id 200110102041.NAA08770@smtp.ucsd.edu
Whole thread Raw
Responses Re: database field "pointer"  ("Aasmund Midttun Godal" <postgresql@envisity.com>)
List pgsql-general
    I was wondering is there is a good method to make a database field a
pointer, similar to C. Here is an example I made up of why this could be
useful:
    Suppose I have a table 'coworkers' with 2 email address fields: work_email
and home_email. It would be useful to have another field that was something
like 'preferered_email' that pointed to one or the other. Then, updates would
only need to happen once, and it would be easy to change back and forth.
    Tell me if there is some better, more sensible method to accomplish this
task.

Thanks,
    Jeff Davis

pgsql-general by date:

Previous
From: Glenn Sullivan
Date:
Subject: Conditional Adding to a Table
Next
From: Feite Brekeveld
Date:
Subject: Re: Performance problem with 50,000,000 rows