Re: Find out the version of the server - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Find out the version of the server
Date
Msg-id 04031b39-c06a-4dc0-b354-1472dc0d39e2@aklaver.com
Whole thread Raw
In response to Find out the version of the server  (Igor Korot <ikorot01@gmail.com>)
List 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.klaver@aklaver.com




pgsql-general by date:

Previous
From: Paul Foerster
Date:
Subject: Re: PostgreSQL 15.10 update corrective action for ATTACH PARTITION/DETACH PARTITION
Next
From: Alvaro Herrera
Date:
Subject: Re: PostgreSQL 15.10 update corrective action for ATTACH PARTITION/DETACH PARTITION