Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wgODe-0069tX-1R for pgsql-general@arkaria.postgresql.org; Sun, 05 Jul 2026 14:53:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wgODc-00CAkx-1F for pgsql-general@arkaria.postgresql.org; Sun, 05 Jul 2026 14:53:16 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wgODb-00CAko-0n for pgsql-general@lists.postgresql.org; Sun, 05 Jul 2026 14:53:16 +0000 Received: from fout-a2-smtp.messagingengine.com ([103.168.172.145]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wgODW-00000001slw-0HNb for pgsql-general@lists.postgresql.org; Sun, 05 Jul 2026 14:53:14 +0000 Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailfout.phl.internal (Postfix) with ESMTP id 6912AEC00D7; Sun, 5 Jul 2026 10:53:06 -0400 (EDT) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-05.internal (MEProxy); Sun, 05 Jul 2026 10:53:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1783263186; x=1783349586; bh=lYlaWTeoJ3nYxaOkGDimGqUwkpOGm4AGE++0I9zrAbg=; b= pMlClN9Idl42SToYpUufHIe9kzHL+jEqN8viaAYEBxNURA8DNwk9Vyf05HWztMxE OcNIuw2SxrvpYtudNMblWUN7lezfD2iUGbTR9r+HB6XjtNaolvlEpzQ0IY3YOQ3T 0m6kWQcn9epRc+83CIlKWNtbed9rKmy61o1FOMJdfBrOFP5dDaaFTCa9bbD+KLSq dQrdRtHaXqncNJpjOezp67jwAbldgXnS7okC1el1rE4ZoG4h2fI8Rb9VODG9SHkb pA1MXx0AIdlwkn/K8Qs0Q0tWTSWZKXbou45NzlNDfmC4/vDi1GjZPGtmJY0bJu+p TcrOj1FBqGoZpiGyyXqwEg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1783263186; x=1783349586; bh=l YlaWTeoJ3nYxaOkGDimGqUwkpOGm4AGE++0I9zrAbg=; b=EPE5DWPjMgfqgMSvt N+LayfSelFpnoXoRTZ1vYeZBp1B6MIyFSxP6rPp+eoUXUt+puuoI/6H2U88GOm88 5SfDeqMnIVVvaNhELeMVJEaCo83KVFdyGGUcCxzMnpwbcMbSUXrxjwjoCgkAiHD0 RLcanJT8GMNnTRkUIiviCFMfih8QmWYbHSkqKYgAD1wd/IT6UkBz4fOAwxSh7TXj Qh+alVHhkPLVpMjw8E9HHg/J7mscUqHCHqBJ1S++lkq0xkJUh3IeCNVLNZBNNswN dQ0c1U/eNm2b2KeWRsYdWXAQ86X9UVnelCACRC2C1lfNwHyP/WakNUG0SAFDgmdv WRF1A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: dmFkZTGVwQf2XZQibL4Mxg31NhNNY5VM9GIeusAswQJDybDgc33x5efsyABfGQB1pq11H0 hK+tItAKpd1BK6KCp43pYJr+uvVY7RgQX+v1IF7gOWwGJbFhY1qnSu5Ia6+0u4+q8ovpG2 mzTImAhLxX+UyHHgjlYdrNU03f4C3t3ylw/DroSmx7t3cV1v1pCOpgSkMsDDKH3OiXOgP8 BgDfIHPhY6wZMw2UFRQ4+SXJM+w2FoXBxx2itfb3kD9W4GRT8x1Sp0kHitk3FHBDaUF0zn 56ACndwZHKTtUDXwrH+bjUs7peydEKz7FeA6Sn9L25Q07KI/z+XjmWRrTQVm/7HGoWamH2 l1MD9CzDmI1fW2So/iHgg5kUh14OoIHz9KB8oleJHK3hPiDjjyQFZW8FhcIcIL3eWWqGma gdsdDCw3nE3z45xLqyQWEtQzW3zXPh0GZ8U09o8zMJk+pndkTQTk4eyakoPM3UDNxvXAhT m5fC0xMKzjY+mXKktWFitVrR+1cYNxGOUX8SNPoNBxGSc6PReFnoJ0+SmBhw4B5lMcB0b2 BrjTBqXkPRVoY5qJUZ58ZlGlwhsQsc1AacFRaLmbTjFosEzXIFbon0nEjKYk/CwYaIx+20 ybwDGmIlq6k7IM/CP3ipRp6PYIlk3AUo1jYFXRYP4qg1piqAE7h7zWYEuwCA X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 5 Jul 2026 10:53:05 -0400 (EDT) Message-ID: <31f963d5-4395-4215-96ab-92448283147a@aklaver.com> Date: Sun, 5 Jul 2026 07:53:04 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Get version info To: rob stone , Igor Korot , "pgsql-generallists.postgresql.org" References: Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 7/5/26 1:18 AM, rob stone wrote: > On Sun, 2026-07-05 at 01:32 -0500, Igor Korot wrote: >> Hi, ALL, >> Google recommends using pg-config. >> >> However, some distro prefer to use pkg-config and don't even include >> local configuration file. >> >> Is this file located everywhere and if not - how do I check it inside >> configure.ac? >> >> Thank you. >> > > > See chapter 9.27.11, not Mr. Google. > > select version(); > > PostgreSQL 18.4 (Debian 18.4-1+b1) on x86_64-pc-linux-gnu, compiled by > x86_64-linux-gnu-gcc (Debian 15.3.0-1) 15.3.0, 64-bit > (1 row) In addition: show server_version; server_version ------------------------------------ 17.10 (Ubuntu 17.10-1.pgdg24.04+1) show server_version_num; server_version_num -------------------- 170010 -- Adrian Klaver adrian.klaver@aklaver.com