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 1wgRHs-006Bjc-1n for pgsql-general@arkaria.postgresql.org; Sun, 05 Jul 2026 18:09:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wgRHq-00DDCG-07 for pgsql-general@arkaria.postgresql.org; Sun, 05 Jul 2026 18:09:50 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wgRHp-00DDC4-20 for pgsql-general@lists.postgresql.org; Sun, 05 Jul 2026 18:09:49 +0000 Received: from mail-yx1-xb12b.google.com ([2607:f8b0:4864:20::b12b]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wgRHn-00000001fp6-3g7C for pgsql-general@lists.postgresql.org; Sun, 05 Jul 2026 18:09:48 +0000 Received: by mail-yx1-xb12b.google.com with SMTP id 956f58d0204a3-66771ded50aso53895d50.1 for ; Sun, 05 Jul 2026 11:09:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1783274986; cv=none; d=google.com; s=arc-20260327; b=TVRQXKlU7l2wQIpmtm03N3Xd7aByk/0zwgbxOhqVNmrkg3kdvk+vDgF/WBZpoMu90Z roQDVAKuOKQd/oDZKuJ7yVlFV4L1WVjsHConjTUNU1CzZ96CJFniKiNLohEB+8nzMtWi YwRTKKkay00vKyuOiyweQvSzQkF380M57ri/0XFJ1ZYGSeh7Hj0Y9bwBYHqaBxuJ5UwI vLqZ8vsvjFhi56x13IjQC7sLvUMdO9qBPVB9JEZZtEVoYAR5D5hHST1X4aPUrRl7EZRa Q6xMt0ChsglSi0jeciH+G5ZzhEb89DczkAXI8P9E5K8tr9Ejm1QLsObv+ayZ7sWeYvLv jgDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=b4gEvFp5gmJrNTsqosxPmDL2GnXHfZP9lg+i34ZmBF8=; fh=HQ9AtEl9wBdkCIhhaJBppnTqgmHFnx81yeI7jYfZcR4=; b=UIo6+A8C9dPKp4MZuLwX0ta2FD/cfKOxy7cZ2PrL/2OvLjY0fDiP32ZUf5pJX+m/H+ 9UeZSOtpsDyAPz4/jPv9qvRRISsZnGwB04PA5OHxKnkBSJLhs++oOmUjh3Vxqoi9dpxa jRZuYhL097gdI3Z2fkxZn9Ys9wD7sB07Zc1ZK2P15AtIhavIVJi3k4Jridt9Iwp0AJwH oYcWN6+E+VMKMbYnCEYxtFnxksMsynr/LHK9iCiROK52nEb0Z5LRjpa8R9v3B0jdtfx1 f4a4Qsm2enq+tDXv1Ng7whuPYu33pNVgSvf/uY2hQn4jUP691viUHaPHqCjGuOLIdEW1 VTIw==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1783274986; x=1783879786; darn=lists.postgresql.org; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=b4gEvFp5gmJrNTsqosxPmDL2GnXHfZP9lg+i34ZmBF8=; b=oW5sSrVc5bJzZ1pS3SVq0EFT31VIY90bvQC0GCWWxo+7LFmoYE34tdvIJ8vcFmnrb2 LaSIgM41TbdE9/VC2MhctJwQFvFwT4XPAxYZypUH64lOVvmJ1lQU9z4MybyvmMyGMX5B u/H5wNG5tYG6BY+aWujgnQ6l/Cy+s4zdWoOOsQT/Pd5A+GK+zTMtSYx6D7n9kqgFQ9Hh RTmTrDQkQVpnfhAdci1+J3XJUIT7rolUE2+pOOj6oFm6Un+zQXiPq83eUfRo0kylHD5S 5CZjgLX6FmADPKjQZhhA5mdvG2GhOkJXsLHsePsvuRKab5yecO9E8wkxTn0//wvsqxas 5TgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783274986; x=1783879786; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=b4gEvFp5gmJrNTsqosxPmDL2GnXHfZP9lg+i34ZmBF8=; b=ObK+tT2bK0I75WDC8lO4LBWbfB0SUH64ty3HswR1ehsRYxOjZFg3b0Tz/PBj3O/vsl xJmMC2U4d7yufm7fdgOyz9rkwLBj+qadpIM6IQ3RqfjRR9wRjvew61M390EozAtqccnj SwDJ9bumV+jMT7P78NxSn/SsCuqoG0jmhh4t6eG7wAOz7DBbHztcKWRSJ7i9Tl0fDw+V Xzw5wvvfyeGpaVaQED7X1PDeTcVxWuXwZIvN+ygWdYbCjzC6wi8msPO6vR1cPvL22B/v VAz1FuBEwM/tSsk4IjIYp0sK1VCHptaD76KtD5z6Fp817Bos/lLUPWQ55SnEcuGYmDez 9mxA== X-Forwarded-Encrypted: i=1; AHgh+RrAbNyLfQPbRY8DM5313loIp/0U8ONovp4tBNwKWKMEdn98iLeA3LJljQnVwl+f+wdTBFZ6b8S03QGyA2NO@lists.postgresql.org X-Gm-Message-State: AOJu0YzksUQaRkP4xM2S0GGlyyKZuHTFg+RGrqiFzJQcgmCJ61XbvDsI /xRs6W6S7b5fy3nYwcgNqZwlmeyPqKkEHyrSpZiU26lpm35jEu8yycSzoSg3kPOvbXOeIE3NKnM Rs6IRs8zyNk8RgDvd8qZ7XIHaG4WlB3mhxgGBjKI= X-Gm-Gg: AfdE7cksK7PSd3Q852LUQkBcuIhsBuBqddtFk5cVcXfyePZBCjEDbMni5RdsUPybDam stcuRgYfFrEpfCPBkFt0mxHf5OAqipl8oh8miVtXB6wO3YlUoFHQmFU92eBsJ1ZntdngTSGeE2F +ccXzClFhNJd3jp+8qbgUVYnlJKSNptItfe9kybSr/+vszaeY5CdxrJgCJwYvodmvyYFhh+rPu0 tY+xpRM3RJJ/8/Gh1PzF0NeYmagR4fEvJDDf6wZLTaW9hRI32tqlJy3wVBRIo9AO8DWoa+dJZNY 0lcoDwtNCyBDbCXxG1C14H9T/FNrnJUJOyMareX3Ge7qnPOz9ReC+w== X-Received: by 2002:a05:690e:dc2:b0:666:c0ba:ed1c with SMTP id 956f58d0204a3-666c0baf2aemr6089777d50.12.1783274986422; Sun, 05 Jul 2026 11:09:46 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Igor Korot Date: Sun, 5 Jul 2026 13:09:29 -0500 X-Gm-Features: AVVi8CeuSwiUXK-MISGjNezsBxLPwoY1SbTdonyWFFj1mzt0-wuLY4yBX0MJ058 Message-ID: Subject: Re: Get version info To: rob stone , "pgsql-generallists.postgresql.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, Rob, On Sun, Jul 5, 2026 at 3:18=E2=80=AFAM rob stone wr= ote: > > 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) > > LL, > > 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. igor@WaylandGnome ~/dbhandler/Debug/dbhandler $ select version() bash: syntax error near unexpected token `(' I need to check it inside configure.ac, not inside psql or any other PG cli= ent. Thank you.