Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

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: Mon, 19 Dec 2005 13:07:26 +0100
  • Message-id: <6BCB9D8A16AC4241919521715F4D8BCE6C7D9A(at)algol(dot)sollentuna(dot)se>

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



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group