Unix Technical Forum

Should enum GUCs be listed as such in config.sgml?

This is a discussion on Should enum GUCs be listed as such in config.sgml? within the pgsql Hackers forums, part of the PostgreSQL category; --> Currently, config.sgml still describes the new "enum" GUC variables as being of type "string" --- but pg_settings says they ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Hackers

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-02-2008, 05:12 AM
Tom Lane
 
Posts: n/a
Default Should enum GUCs be listed as such in config.sgml?

Currently, config.sgml still describes the new "enum" GUC variables
as being of type "string" --- but pg_settings says they are "enum".
This is not very consistent, but I wonder whether changing the docs
would be more confusing or less so. I note that section 18.1 doesn't
mention the enum alternative either.

regards, tom lane

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-02-2008, 10:12 AM
Magnus Hagander
 
Posts: n/a
Default Re: Should enum GUCs be listed as such in config.sgml?

Tom Lane wrote:
> Currently, config.sgml still describes the new "enum" GUC variables
> as being of type "string" --- but pg_settings says they are "enum".
> This is not very consistent, but I wonder whether changing the docs
> would be more confusing or less so. I note that section 18.1 doesn't
> mention the enum alternative either.


From the perspective of the person setting it in the config, it still
"looks like a string", which is why I chose not to change it. I think
it'd make things more confusing.

18.1 probably deserves a note about it though, I'll see if I can come up
with something good there.

//Magnus



--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:15 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com