On 11/28/24 17:31, Igor Korot wrote:
> Hi, ALL,
>
> In April of 2017 I got the source code of the Postgresql, build the
> libpq and then deleted everything else.
>
> I was using MSVC 3010 at the time.
>
> Now I moved to MSVC 2017 but unfortunately I can't reuse the library
> built, since MSVC changed one of its headers.
Reuse it for what?
>
> Is it possible to find what version of the server was used for the build?
>
> Im looking at the Windows Explorer timestamp, which gives me 4 September
> 2017.
At any point in time there are 5 supported versions of Postgres in play.
Given that you could have also built against one of the unsupported
versions a file timestamp will not help much. Though if you want to
guess, version 10 was released October 5, 2017. It is plausible you
built against a RC version in advance of the production release.
libpq is backwards compatible, so why not try building against a current
version of Postgres and see whats happens?
>
> Thank you.
>
> P.s. please forgive for any typos as it's been written from the Android
> phone.
>
--
Adrian Klaver
adrian.klaver@aklaver.com