Re: [HACKERS] [BUGS] More SSL questions..

Lists: pgsql-hackerspgsql-hackers-win32
From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, <pgsql-hackers-win32(at)postgresql(dot)org>, "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net>, "Andrew Dunstan" <andrew(at)dunslane(dot)net>, "T(dot)J(dot)" <tjtoocool(at)phreaker(dot)net>, "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [BUGS] More SSL questions..
Date: 2005-01-10 09:21:28
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE47654F@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers pgsql-hackers-win32

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


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Magnus Hagander" <mha(at)sollentuna(dot)net>
Cc: "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-hackers-win32(at)postgresql(dot)org, "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net>, "Andrew Dunstan" <andrew(at)dunslane(dot)net>, "T(dot)J(dot)" <tjtoocool(at)phreaker(dot)net>, "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [BUGS] More SSL questions..
Date: 2005-01-10 13:19:25
Message-ID: 11005.1105363165@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers pgsql-hackers-win32

"Magnus Hagander" <mha(at)sollentuna(dot)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


From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Magnus Hagander <mha(at)sollentuna(dot)net>, pgsql-hackers-win32(at)postgresql(dot)org, "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net>, Andrew Dunstan <andrew(at)dunslane(dot)net>, "T(dot)J(dot)" <tjtoocool(at)phreaker(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] [BUGS] More SSL questions..
Date: 2005-01-10 15:39:36
Message-ID: 200501101539.j0AFdaX06044@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers pgsql-hackers-win32

Tom Lane wrote:
> "Magnus Hagander" <mha(at)sollentuna(dot)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(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


From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Magnus Hagander <mha(at)sollentuna(dot)net>, pgsql-hackers-win32(at)postgresql(dot)org, "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net>, Andrew Dunstan <andrew(at)dunslane(dot)net>, "T(dot)J(dot)" <tjtoocool(at)phreaker(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] [BUGS] More SSL questions..
Date: 2005-01-10 16:20:17
Message-ID: 13586.1105374017@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers pgsql-hackers-win32

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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


From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Magnus Hagander <mha(at)sollentuna(dot)net>, pgsql-hackers-win32(at)postgresql(dot)org, "Matthew T(dot) O'Connor" <matthew(at)zeut(dot)net>, "T(dot)J(dot)" <tjtoocool(at)phreaker(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [HACKERS] [BUGS] More SSL questions..
Date: 2005-01-10 17:17:12
Message-ID: 41E2B898.2060802@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers pgsql-hackers-win32

Bruce Momjian wrote:

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

*ahem* :-) I though what I said was that we should leave the name alone
except for removing a leading dot. I have seen other cases where .foorc
became foo.rc on windows, which isn't a bad solution for such files.

I honestly don't care that much - it's not worth a religious fight over.

cheers

andrew