Re: [GENERAL] Add custom properties to a column's definition (pg_attribute)

2014-01-09 Thread David Johnston
Brooke Beacham wrote > (without having to replicate/maintain a table of columns separately from > the system catalog) Just create the friggin' table and wrap whatever logic you want in a view (or functions) so that you at least get usable results/defaults for any columns you haven't added. Any

Re: [GENERAL] Add custom properties to a column's definition (pg_attribute)

2014-01-09 Thread Raymond O'Donnell
On 09/01/2014 20:16, Raymond O'Donnell wrote: > On 09/01/2014 20:08, Brooke Beacham wrote: >> Can anyone suggest a way to associate a set of custom properties >> (key/value pairs) with a column's definition (ie pg_attribute)? >> >> (without having to replicate/maintain a table of columns separately

Re: [GENERAL] Add custom properties to a column's definition (pg_attribute)

2014-01-09 Thread Raymond O'Donnell
On 09/01/2014 20:08, Brooke Beacham wrote: > Can anyone suggest a way to associate a set of custom properties > (key/value pairs) with a column's definition (ie pg_attribute)? > > (without having to replicate/maintain a table of columns separately from > the system catalog) > > For example: > * I

[GENERAL] Add custom properties to a column's definition (pg_attribute)

2014-01-09 Thread Brooke Beacham
Can anyone suggest a way to associate a set of custom properties (key/value pairs) with a column's definition (ie pg_attribute)? (without having to replicate/maintain a table of columns separately from the system catalog) For example: * I have a table with 50 columns * I'd like to 'flag' 30 of th