Re: Cannot turn track_counts on

From: Anton Shepelev <anton(dot)txt(at)gmail(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Cannot turn track_counts on
Date: 2025-04-17 22:25:57
Message-ID: 20250418012557.ce1b2bfd28ce7e30b46f239d@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)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(at)xx:~$ cat /etc/issue
Astra Linux 1.7.5 \n \l

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message 王 博 2025-04-18 01:38:42 RE: Request for official clarification on SQL parameter parsing changes in PostgreSQL 15 and 16
Previous Message Adrian Klaver 2025-04-17 21:44:39 Re: Cannot turn track_counts on