Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123660 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id AF0E91A009C for ; Mon, 17 Jun 2024 23:22:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1718666602; bh=C/JvHQCWPV25FPnJJ4BHs8cyzs/+wtdxuKWcKisfGvU=; h=Date:Subject:To:References:From:In-Reply-To:From; b=ZE66HeBUq8k8QuDSriyQxFGc2nbaz6NRxi1WhVMCuvSIZDW0E2uOqaxi6E7A5qkv3 KWbRPJ0A6RaaWs6N3UuVUIYhcxTzBcR8Q8NZBu4nR2KlOYI5yjyr2wKJ0NpMujfIFF i8P56HmgnZ63ALFOj+skZM2Vfpfq4WaZ562wbBzdfi2ifYak/dmILt+iPymmeMW7Hm W1QXkJWovAho+R0tckVBInnld3KUTDmNc/s6dRNXcZ1GqW+cFi3bkE2NBt5orq5OMF dazruLg78J+0xDjPBv0Kg3B+bvnueAkrFrj4fgFLUGxtRaOb1W5S0VVotVgg20L/rS WYEujsCYbNdeg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 53355180057 for ; Mon, 17 Jun 2024 23:23:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,DMARC_MISSING, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from chuck.smtp.mailx.hosts.net.nz (chuck.smtp.mailx.hosts.net.nz [43.245.52.157]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 17 Jun 2024 23:23:19 +0000 (UTC) Received: from 222-152-65-7-vdsl.sparkbb.co.nz ([222.152.65.7] helo=[192.168.1.67]) by chuck.smtp.mailx.hosts.net.nz with esmtpsa authed as varteg.nz (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_128_GCM:128) (Exim 4.96) (envelope-from ) id 1sJLfn-004Wt4-30 for internals@lists.php.net; Tue, 18 Jun 2024 11:22:03 +1200 Message-ID: Date: Tue, 18 Jun 2024 11:21:56 +1200 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PHP-DEV] Bumping minimum PostgreSQL version to 10.0 To: internals@lists.php.net References: <201e1928-7a46-4586-9d24-b535c0a8cdfb@processus.org> <5cc18d25-4c5a-44da-b778-c7e89792a93a@beccati.com> <7e971edc-ddae-4d8d-92f3-b55f8f88ac0b@beccati.com> Content-Language: en-GB In-Reply-To: <7e971edc-ddae-4d8d-92f3-b55f8f88ac0b@beccati.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Hosts-DKIM-Check: none From: weedpacket@varteg.nz (Morgan) On 2024-06-18 05:25, Matteo Beccati wrote: > Hi, > > > Sure, you need to have the same version of libpq that PHP was built > with. But nothing prevents your script using pdo_pgsql or ext/pgsql to > connect to another version of postgres running either on the same > machine or a different one. > Right; the wire protocol between a (PostgreSQL 16) libpq-based client and the server is the same going back to PostgreSQL 7.4: if your server is older than that you'll have trouble, but we already require 9.1 (probably because of pg_version()'s use of PQlibVersion to get the client library version).