Don Y <pgsql(at)DakotaCom(dot)Net> writes:
> I want to be able to embed in the database parameters
> that tell it how to interpret each column. In other
> words, while the TYPE for two columns might be
> text/char/varchar/etc., the data that each contained
> could have vastly different interpretations.
If I were you, I'd probably do that by creating a bunch of domains
and using the domains instead of plain text/etc as the column types.
See CREATE DOMAIN.
You could also commandeer the COMMENT ON COLUMN facility if you'd
rather have a text string associated with each column.
regards, tom lane