Re: Find out the version of the server

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Igor Korot <ikorot01(at)gmail(dot)com>, "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Find out the version of the server
Date: 2024-11-29 16:12:41
Message-ID: 04031b39-c06a-4dc0-b354-1472dc0d39e2@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2024-11-29 17:15:35 Re: PostgreSQL 15.10 update corrective action for ATTACH PARTITION/DETACH PARTITION
Previous Message Paul Foerster 2024-11-29 06:58:38 Re: PostgreSQL 15.10 update corrective action for ATTACH PARTITION/DETACH PARTITION