Обсуждение: RE: version numbers of WinODBC
> -----Original Message----- > From: Kovacs Zoltan Sandor [mailto:tip@pc10.radnoti-szeged.sulinet.hu] > Sent: 19 December 2000 12:53 > To: Dave Page > Cc: 'Joel Burton'; Pgsql-interfaces@postgresql.org > Subject: version numbers of WinODBC > > > On Tue, 19 Dec 2000, Dave Page wrote: > > > Just downloaded this driver to get the referential > integrity stuff and find > > that the version number is 6.40.0.9 whereas the latest > version that Byron (I > > assume it was Byron anyway) compiled was 6.50.0.0. Is your > version based on > > older code or is there another reason for this? > There were so many misunderstandings and confusions about the version > numbers. I suggest rewriting the version number (in psqlodbc.h and > psqlodbc.rc) after each submitted patch for each submitter. > As I can see > in the CVS, last 6 months the source was modified by Peter, > Thomas, Tom > and Bruce. My idea is to change the version number to 7.0.3.1 > or 7.1.0.0 > if you experience that the driver works with 7.1devel. > Sounds sensible. I suspect that the non-Windows programmers might need reminding to update psqlodbc.rc though. Dave.
Those version numbers make no sense against the PostgreSQL versions, so we have just left them alone. Why are there multiple versions floating around? [ Charset ISO-8859-1 unsupported, converting... ] > > > > -----Original Message----- > > From: Kovacs Zoltan Sandor [mailto:tip@pc10.radnoti-szeged.sulinet.hu] > > Sent: 19 December 2000 12:53 > > To: Dave Page > > Cc: 'Joel Burton'; Pgsql-interfaces@postgresql.org > > Subject: version numbers of WinODBC > > > > > > On Tue, 19 Dec 2000, Dave Page wrote: > > > > > Just downloaded this driver to get the referential > > integrity stuff and find > > > that the version number is 6.40.0.9 whereas the latest > > version that Byron (I > > > assume it was Byron anyway) compiled was 6.50.0.0. Is your > > version based on > > > older code or is there another reason for this? > > There were so many misunderstandings and confusions about the version > > numbers. I suggest rewriting the version number (in psqlodbc.h and > > psqlodbc.rc) after each submitted patch for each submitter. > > As I can see > > in the CVS, last 6 months the source was modified by Peter, > > Thomas, Tom > > and Bruce. My idea is to change the version number to 7.0.3.1 > > or 7.1.0.0 > > if you experience that the driver works with 7.1devel. > > > > Sounds sensible. I suspect that the non-Windows programmers might need > reminding to update psqlodbc.rc though. > > Dave. > -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania19026
On Tue, 19 Dec 2000, Bruce Momjian wrote: > Those version numbers make no sense against the PostgreSQL versions, so > we have just left them alone. Why are there multiple versions floating > around? Is it possible to autogenerate the version numbers from PostgreSQL source configuration? I think the reason why the WinODBC driver has a separate version number is that it can be compiled directly using the src/interfaces/odbc/ directory only, so if someone wants to compile the DLL only, he/she can do it. By the way, if we support this (we must, of course), autogenerating version numbers doesn't seem to make sense, it must be set "by hand". About multiple versions: I think Byron forgot to put his changes into the CVS. Byron? Zoltan
> Is it possible to autogenerate the version numbers from PostgreSQL source > configuration? I think the reason why the WinODBC driver has a separate > version number is that it can be compiled directly using the > src/interfaces/odbc/ directory only, so if someone wants to compile the > DLL only, he/she can do it. By the way, if we support this (we must, of > course), autogenerating version numbers doesn't seem to make sense, it > must be set "by hand". Since the cvs repository is now the "truth copy" of the code, the standalone tarballs could be generated by a build process in src/interfaces/odbc which explicitly finds and copies the current pgsql version info. Once the tarball is built, then the version info travels with the tarball. I'm not sure what the state of the standalone build is at the moment; it used to work but I vaguely recall some discussion that it was evil... - Thomas
On Wed, 20 Dec 2000, Thomas Lockhart wrote: > > Is it possible to autogenerate the version numbers from PostgreSQL source > > configuration? I think the reason why the WinODBC driver has a separate > > version number is that it can be compiled directly using the > > src/interfaces/odbc/ directory only, so if someone wants to compile the > > DLL only, he/she can do it. By the way, if we support this (we must, of > > course), autogenerating version numbers doesn't seem to make sense, it > > must be set "by hand". > > Since the cvs repository is now the "truth copy" of the code, the > standalone tarballs could be generated by a build process in > src/interfaces/odbc which explicitly finds and copies the current pgsql > version info. Once the tarball is built, then the version info travels > with the tarball. I'm not sure what the state of the standalone build is > at the moment; it used to work but I vaguely recall some discussion that > it was evil... Hmm, last time I compiled the DLL was in May. That time the source could be reached both at Byron's site and at Postgres' mirrors as well (the same (?) source). But Byron's source was <= 200k and the smallest Postgres tarball is >= 2000k. I think the standalone build should work at the moment because the Windows compilers only needed the src/interfaces/odbc directory, no more (at least in May this was the state). So I suggest autogenerating an odbc tarball beside the other ones. On the other hand, the stuff in ftp://ftp.postgresql.org/pub/odbc/ is rather obsolete. At least some warnings should be put into it about this fact. Zoltan
Couldn't you point to the right place to download the stuff from, please. Thank you, Mikhail. ----- Original Message ----- From: Kovacs Zoltan Sandor <tip@pc10.radnoti-szeged.sulinet.hu> To: Thomas Lockhart <lockhart@alumni.caltech.edu> Cc: Bruce Momjian <pgman@candle.pha.pa.us>; Dave Page <dpage@vale-housing.co.uk>; 'Joel Burton' <jburton@scw.org>; <Pgsql-interfaces@postgresql.org> Sent: Thursday, December 21, 2000 2:15 AM Subject: Re: [INTERFACES] RE: version numbers of WinODBC [...] > > On the other hand, the stuff in ftp://ftp.postgresql.org/pub/odbc/ is > rather obsolete. At least some warnings should be put into it about this > fact. > > Zoltan >