From: | "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | Kevin Brown <kevin(at)sysexperts(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, PostgreSQL Win32 port list <pgsql-hackers-win32(at)postgresql(dot)org> |
Subject: | Re: [HACKERS] Win32 config file extension, capitalization |
Date: | 2005-01-13 18:52:40 |
Message-ID: | 20050113145233.N45642@ganymede.hub.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-hackers-win32 |
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(at)candle(dot)pha(dot)pa(dot)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(at)hub(dot)org Yahoo!: yscrappy ICQ: 7615664
From | Date | Subject | |
---|---|---|---|
Next Message | Jonah H. Harris | 2005-01-13 19:20:36 | Re: Much Ado About COUNT(*) |
Previous Message | Palle Girgensohn | 2005-01-13 18:44:44 | Bug? 8.0 does not use partial index |
From | Date | Subject | |
---|---|---|---|
Next Message | lothar.behrens | 2005-01-15 10:00:30 | Re: pgsqlODBC problems |
Previous Message | William Yu | 2005-01-13 17:13:42 | Re: pgsqlODBC problems |