Re: Marking a Column for Special Use

From: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Marking a Column for Special Use
Date: 2011-07-12 15:47:33
Message-ID: 20110712154733.GF9691@shinkuro.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Jul 12, 2011 at 11:25:24AM -0400, Terry Lee Tucker wrote:
> Greetings:
>
> I have a scenario in which it would be quite convenient to mark about 20
> existing columns in a table such that I can select those fields
> programatically, based on my flag, for some specialized processing. What I am
> trying to avoid is storing a list of columns somehere. Is there something like
> a "user area" in the underlying tables that define a column that could be
> safely utilized for this purpose?

Sounds like you want a view, I think.

A

--
Andrew Sullivan
ajs(at)crankycanuck(dot)ca

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Terry Lee Tucker 2011-07-12 15:52:44 Re: Marking a Column for Special Use
Previous Message David Johnston 2011-07-12 15:33:34 Re: Marking a Column for Special Use