array vs bit fields for masking - Mailing list pgsql-general

From Chip Nowacek
Subject array vs bit fields for masking
Date
Msg-id CAFsC43FYiLMjYwhfCuZ5cEJvx5rHmbYLNmtb6UEY-hTtK+T==Q@mail.gmail.com
Whole thread Raw
Responses Re: array vs bit fields for masking
List pgsql-general
Hey. I'm new to postgresql. Impressive.

I am building an app with core tables in a central schema and user access via views in separate schemas. I have to manage versioning and system configuration at the row level. My initial thinking was to have a bit field for each quality: version BIT(20), config(20). Each view would mask based on those fields. Then (multi-dimensional) arrays crossed my mind. Any performance / maintainability thoughts in using arrays vs bit fields?

Thanks,

Chip

pgsql-general by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: Dtrace for tracing PostgreSQL link not working
Next
From: Raghavendra
Date:
Subject: Re: Dtrace for tracing PostgreSQL link not working