RE: [HACKERS] RE: [INTERFACES] Re: SSL patch

From: "Ansley, Michael" <Michael(dot)Ansley(at)intec(dot)co(dot)za>
To: "'Bruce Momjian'" <maillist(at)candle(dot)pha(dot)pa(dot)us>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: The Hermit Hacker <scrappy(at)hub(dot)org>, Magnus Hagander <mha(at)sollentuna(dot)net>, pgsql-hackers(at)postgreSQL(dot)org
Subject: RE: [HACKERS] RE: [INTERFACES] Re: SSL patch
Date: 1999-07-26 07:47:55
Message-ID: 1BF7C7482189D211B03F00805F8527F70ED084@S-NATH-EXCH2
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Why does anything need to be broken if a different port is used? Same way
as web browsers use 80 for clear http, and 443 (by default) for SSL. But a
server cannot dish up http and https on the same port. Then the whole
compatibility issue falls away. Think of it as using 'pgsql' for clear
connections, and 'pgsqls' for SSL connections. This way, a post-6.6 client
can still connecct to a pre-6.6 server, using 'pgsql', a pre-6.6 client can
connect to a post-6.6 server using 'pgsql', and a post-6.6 client can
connect to a post-6.6 server using 'pgsql', or 'pgsqls'.

Or is there an issue using different ports?

>> > Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> writes:
>> > >> But, we've had protocol changes before that breaks backward
>> > >> compatibility...why is this all of a sudden a problem?
>> >
>> > > No reason to change the protocol when we don't need to.
>>
>> What I meant is that there is reason to break compatibility when we
>> don't need to. Magnus seems like he has addressed this already.
>>
>> >
>> > The point is that we *do not have to* break backwards compatibility to
>> > add this feature, and indeed hardly anything would be gained by
breaking
>> > compatibility. See subsequent messages from myself and Magnus.
>> >
>> > regards, tom lane
>> >

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dmitry Samersoff 1999-07-26 08:19:56 Re: [HACKERS] plperl intial pass
Previous Message Adriaan Joubert 1999-07-26 06:57:18 Re: [HACKERS] Re: [SQL] inserts/updates problem under stressing !