Re: [HACKERS] Win32 config file extension, capitalization
"Marc G. Fournier" <[email protected]>
| Newsgroups | gmane.comp.db.postgresql.devel.win32,gmane.comp.db.postgresql.devel.general |
|---|---|
| Message-ID | <[email protected]> |
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 > [email protected] | (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: [email protected] Yahoo!: yscrappy ICQ: 7615664 ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html