Unix Technical Forum

Re: [pgsql-hackers-win32] [BUGS] More SSL questions..

This is a discussion on Re: [pgsql-hackers-win32] [BUGS] More SSL questions.. within the pgsql Hackers forums, part of the PostgreSQL category; --> > > Where are we on this? I think Andrew and I both think *.txt is > > confusing. ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-11-2008, 03:14 AM
Magnus Hagander
 
Posts: n/a
Default Re: [pgsql-hackers-win32] [BUGS] More SSL questions..

> > 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. We already have:
>
> pg_hba.conf
> pg_ident.conf
> pg_service.conf
> postgresql.conf
> recovery.conf
>
> If we want an extension on those two files, it seems *.conf
> is it, and one hopes they would have already configured XP to
> pull up their favorite editor for *.conf.


Personally, I don't really care :-) My point was that ".pgpass" is bad.
"pgpass" or "pgpass.conf" or "pgpass.txt" are all fine by me. I agree
that .conf might be more logical than .txt.

//Magnus

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-11-2008, 03:14 AM
Tom Lane
 
Posts: n/a
Default Re: [pgsql-hackers-win32] [BUGS] More SSL questions..

"Magnus Hagander" <mha@sollentuna.net> writes:
> Personally, I don't really care :-) My point was that ".pgpass" is bad.
> "pgpass" or "pgpass.conf" or "pgpass.txt" are all fine by me. I agree
> that .conf might be more logical than .txt.


I think the analogy to .conf is bogus. The existing files named .conf
are server config not client config, and they don't have leading dots
in their names on Unix either.

Also, the whole point of this exercise is to make these files easy to
edit for newbies. The fact that an association *could* be configured
for .conf seems to me to miss the point: anyone who knows enough to do
that wouldn't have a problem with any spelling whatever...

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-11-2008, 03:14 AM
Bruce Momjian
 
Posts: n/a
Default Re: [pgsql-hackers-win32] [BUGS] More SSL questions..

Tom Lane wrote:
> "Magnus Hagander" <mha@sollentuna.net> writes:
> > Personally, I don't really care :-) My point was that ".pgpass" is bad.
> > "pgpass" or "pgpass.conf" or "pgpass.txt" are all fine by me. I agree
> > that .conf might be more logical than .txt.

>
> I think the analogy to .conf is bogus. The existing files named .conf
> are server config not client config, and they don't have leading dots
> in their names on Unix either.


I don't think it is bogus. The reason our client config files don't
have *.conf is because they have dots --- the leading dot says it is a
config file to me. Win32 doesn't support leading dots mean config files
so we add *.conf. Also, pg_service.conf is a client file used by libpq.
I don't see why file extensions for the server should not also be
similar for clients.

> Also, the whole point of this exercise is to make these files easy to
> edit for newbies. The fact that an association *could* be configured
> for .conf seems to me to miss the point: anyone who knows enough to do
> that wouldn't have a problem with any spelling whatever...


What I am saying is that no one else uses *.txt for config files on
Win32 and it is confusing. The *.txt will confuse everyone, experts and
novices, while *.conf is clear but will be a little harder for novices
to open. Also remember the files will normally not exist so novices are
going to have to create those files first anyway.

At this point, Andrew, Magnus, and I who deal with Win32 regularly all
feel *.conf is more logical than *.txt. I have not heard anyone say
*.txt is better except Tom. Is that enough of a vote?

--
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

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-11-2008, 03:14 AM
Tom Lane
 
Posts: n/a
Default Re: [pgsql-hackers-win32] [BUGS] More SSL questions..

Bruce Momjian <pgman@candle.pha.pa.us> writes:
> At this point, Andrew, Magnus, and I who deal with Win32 regularly all
> feel *.conf is more logical than *.txt. I have not heard anyone say
> *.txt is better except Tom. Is that enough of a vote?


AFAIR they both said they didn't care; you are the only one who is
exercised about this.

I don't particularly care either, but I do note that Peter already
generated what was supposed to be the final version of the man pages,
and we can't change this without changing those.

Do what you want; I have more important problems to worry about right now.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

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 09:45 PM.


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