Shouldn't pg_settings.enumvals be array of text?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgreSQL(dot)org
Subject: Shouldn't pg_settings.enumvals be array of text?
Date: 2008-10-06 14:01:01
Message-ID: 2944.1223301661@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-www

Currently, pg_settings.enumvals presents a list of strings formatted in
an ad-hoc manner. Shouldn't we be presenting this as text[], so that
clients don't need special-purpose code to break it apart?

Another possible argument is that the values ought to be separated by
newlines instead of ", ", which would still be a special-purpose format
but it would probably look better in modern psql versions. At least it
wouldn't be contributing to the problem of the view's output being
ridiculously wide.

Comments?

regards, tom lane

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2008-10-06 14:08:06 Re: Shouldn't pg_settings.enumvals be array of text?
Previous Message Tom Lane 2008-10-06 13:36:17 ctelevelsup is kind of a pain in the neck

Browse pgsql-www by date

  From Date Subject
Next Message Magnus Hagander 2008-10-06 14:08:06 Re: Shouldn't pg_settings.enumvals be array of text?
Previous Message David Fetter 2008-10-06 13:18:24 Re: POST sfpug pgsql@j-davis.com