Re: [pgadmin-hackers] Client-side password encryption

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Martijn van Oosterhout" <kleptog(at)svana(dot)org>, "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
Cc: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>, "Peter Eisentraut" <peter_e(at)gmx(dot)net>, <pgsql-hackers(at)postgresql(dot)org>, "Andreas Pflug" <pgadmin(at)pse-consulting(dot)de>
Subject: Re: [pgadmin-hackers] Client-side password encryption
Date: 2005-12-19 12:07:26
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE6C7D9A@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> > > As for Windows DLL hell, I don't know a lot about that, but if
> > > that's such a problem, why didn't the original creators of the
> > > windows port stick the version number in there from the start. On
> > > UNIX, libpq is half versioned (the library is, but not
> the symbols)
> > > so I would have thought copying that idea would have been obvious.
> >
> > Because we simply didn't think of it at the time, and it's
> something
> > that has irked me ever since.
>
> In that case, I agree. I've always thought a lot of problem
> in windows could be solved if they systematically added a
> version number to every library (like in UNIX).
>
> Are there any reasons why we shouldn't change the libname
> with every release like for UNIX? I can't think of any, but
> you never know...

Yes.
If FooApp is compiled against 8.0, it will then be unable to run if you
upgrade libpq to 8.1. IIRC on Unix it will "fall forward" to the new
version if it's just a minor version upgrade (correct me if I'm wrong).
On windows, it will break with an ugly dialog box. Which is why DLL
renames are usually only done for backwards incompatible changes.

//Magnus

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Martijn van Oosterhout 2005-12-19 12:48:20 Re: [pgadmin-hackers] Client-side password encryption
Previous Message Martijn van Oosterhout 2005-12-19 11:37:30 Re: Re: Which qsort is used