Re: Cannot turn track_counts on - Mailing list pgsql-general

From Anton Shepelev
Subject Re: Cannot turn track_counts on
Date
Msg-id 20250418012557.ce1b2bfd28ce7e30b46f239d@gmail.com
Whole thread Raw
In response to Re: Cannot turn track_counts on  (Adrian Klaver <adrian.klaver@aklaver.com>)
Responses Re: Cannot turn track_counts on
List pgsql-general
Adrian Klaver to Anton Shepelev:

> The below does not look like a Postgres message to me.
>
> > You need to install postgresql-server-dev-NN for
> > building a server-side extension or libpq-dev for
> > building a client-side application.

Yet that is what we get for `pg_config --version' on the
affected system.  A nearly identical error message seems to
come up while installing psycopg2 -- a Python library for
Postgres, e.g.:

   <https://stackoverflow.com/q/28253681/2862241>

<https://www.matheusmello.io/posts/python-you-need-to-install-postgresql-server-dev-x-y-for-building-a-server-side-extensi>

I have not the slightest idea why pg_config should print
this message, unless it is not a genuine pg_config.  I will
be checking its binary against the one that works as expected
on our reference system.

> How was this Postgres instance installed or built?

Installed from Astra Linux's native repository:

   ant@xx:~$ apt list postgresql-11
   Listing... Done
   postgresql-11/stable,stable,now 1:11.21-astra.se6+ci1 amd64 [installed]

> > The version() SQL function returns:
> >
> >   PostgreSQL 11.21 (Debian 1:11.21-astra.se6+ci1)
> >   on x86_64-pc-linux-gnu,
> >   compiled by gcc (AstraLinuxSE 8.3.0-6) 8.3.0, 64-bit
>
> Not seeing how the above is matching up with:
>
> https://en.wikipedia.org/wiki/Astra_Linux

Do you mean 8.3.0-6?  It looks like the GCC version. Our
Astra is 1.7.5:

   ant@xx:~$ cat /etc/issue
   Astra Linux 1.7.5 \n \l

-- 
()  ascii ribbon campaign -- against html e-mail
/\  www.asciiribbon.org   -- against proprietary attachments



pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Cannot turn track_counts on
Next
From: 王 博
Date:
Subject: RE: Request for official clarification on SQL parameter parsing changes in PostgreSQL 15 and 16