Re: Win32 config file extension, capitalization
От | Marc G. Fournier |
---|---|
Тема | Re: Win32 config file extension, capitalization |
Дата | |
Msg-id | 20050113145233.N45642@ganymede.hub.org обсуждение исходный текст |
Ответ на | Win32 config file extension, capitalization (Bruce Momjian <pgman@candle.pha.pa.us>) |
Список | pgsql-hackers |
I have no problems with the patch ... On Thu, 13 Jan 2005, Bruce Momjian wrote: > Kevin Brown wrote: >> Bruce Momjian wrote: >>>>> FWIW, I've seen several apps that use .txt for config files, but I can't >>>>> think of an example right now. Most don't though - .cfg or .conf is >>>>> probably most common. Except for the majority of windows programs that >>>>> don't use config files - they use the registry. But I see no reason *at >>>>> all* for us to want to do that :-) It also more or less requires you to >>>>> write a GUI to change the config stuff and in that case the file >>>>> extension becomes irrelevant. >>>> >>>> Where are we on this? I think Andrew and I both think *.txt is >>>> confusing. We need to decide on Monday if we should change the current >>>> *.txt names. We can either leave it unchanged, remove *.txt, or change >>>> it to *.config. >>> >>>>>>> APPDATA/postgresql/pgpass.txt >>>>>>> APPDATA/postgresql/psqlrc.txt >>> >>> Another idea is to use *.conf. >> >> For what it's worth, I always thought that text configuration files on >> Windows platforms generally used the '.ini' extension. I believe on >> most Windows systems that extension is by default associated with >> Notepad. > > The problem with *.ini is that it suggests we follow the INI file format > for those files, which we don't. > > Given the recent votes I have made the following patch which changes the > *.txt extensions to *.conf. It is consistent with our other config > files on the server side. This change is for Win32 only. I will apply > for 8.0 soon. > > One additional issue is that we currently specify the client directory > as %APPDATA%\postgresql\, but in my "Application Data" directory most of > my directories are upper/lower case, suggesting that we should use > %APPDATA%\PostgreSQL\. Win32 is case-insensitve but case-preserving so > they directory could be created with any case but it seems we should > suggest directory capitalization more consistent with Win32. > > Comments? > > We are at the point where we are really just polishing Win32 and these > issues are all cosmetic. > > -- > Bruce Momjian | http://candle.pha.pa.us > pgman@candle.pha.pa.us | (610) 359-1001 > + If your life is a hard drive, | 13 Roberts Road > + Christ can be your backup. | Newtown Square, Pennsylvania 19073 > ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664
В списке pgsql-hackers по дате отправления: