Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123657 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 1C7991A009C for ; Mon, 17 Jun 2024 17:25:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1718645230; bh=u2iF1OLZCklUrj3JGZG0m8x0xProqKsFrw7xChJ8oEU=; h=Date:From:Subject:To:Cc:References:In-Reply-To:From; b=h3VOva+o6gQht0SBTrvUj9V9kix+FVbaWu9Q7tGC9+JhgfES9RWZccyUvjZH0nkd1 Hxkkk2vst+fQjY3m101kiodCK0IvPIkVYTrrGwEQGlgE1/YJqhUPjJqkTpBISoQWsd Wr8KoulFfXXhWLVNHPshXmeGwWbqeSHRhBUI8G0LtzF49Q/2iJ5jAH4n5+GM/uFCqF LvsGyhR4YW2yeLjIBPw9AuZVon9KilBQ+v2aqvhnMvr9hDGhfWWWuvL5tpFc+4fcSe ghJBLk3j8mWdDR6fbEssu4bNQyz6p8AvoSNzbbdNW8gPOThZWmvel6URFqPo9wqmSH gq3ubFxmRaOKA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id D767F180502 for ; Mon, 17 Jun 2024 17:27:08 +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.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,SPF_HELO_PASS, 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 fhigh2-smtp.messagingengine.com (fhigh2-smtp.messagingengine.com [103.168.172.153]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 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 17:27:06 +0000 (UTC) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 2EDAB114025B; Mon, 17 Jun 2024 13:25:54 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Mon, 17 Jun 2024 13:25:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beccati.com; h= cc: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=fm2; t=1718645154; x=1718731554; bh=MfybWTWuC4simKWko+/T7TWDZaVc7rVc9fwcLCys7vM=; b= SORN2H3sNUJ0gkF6xqdHuxzi66TjKONn5HdsDASETdBqTW1mmuyEwH5IiZFluA06 p9ZaO8gP1dKGlVALP322RV8vCdkfIAYl54NhvWTo0AFHqSOZoOiHJpXk3cjCKXF6 d7pW+0TD+Wj6QFudABk0WvTGqQxOA73XbXjZcBLlzz0jbxEHIMhfBmVI7MX630Cn +ZZXQjMYtL9SqF0+60jILuem7+8YiujjF+p4jUtpsZ5l3LvA2nT+BPtGbmApJTY2 eEMti3cLkhqgF9qiNzrLW1XHL2nwA+qzTWoNwu+WnzpVtWrWIXZn0jXd+aanmpuu 7QfzpY0OUZ6V2ABw/eF0Pw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1718645154; x= 1718731554; bh=MfybWTWuC4simKWko+/T7TWDZaVc7rVc9fwcLCys7vM=; b=P P0oIiYdRV5X4ibowfBs44dhpwoyrHif6ejLMQfEcevUSoUjO888VSW426NSJmAFl 38xjUkKJRLXx/Djp1+EKrKP3edge3YEn3L08d1EV2dKB01MdliRh+Tobg6U+kzoP fZOJbZrbr65HfTOacvOTI+3R9Ne2SeAVTKNzktwieCR1vAVA2fCT4gJniHpbsQJH CPPIeiIF8wBXYa4tiQLNDh3PwLDgawNO+t/LDmvOs0DK/Lz3wtSZNpM++m7057xo +TNFngms6qUkdksR2YkU4PveYFYVtLE8BRAR9ixkyg1bXxi6P++/ITVdHkdV8vcE 8fd2DNg6X7fLVU/Y9J0Fw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfedvhedgudduvdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfhuffvvehfjggtgfesthejredttddvjeenucfhrhhomhepofgr thhtvghouceuvggttggrthhiuceophhhphessggvtggtrghtihdrtghomheqnecuggftrf grthhtvghrnhepjeevhfetfeeihfefkeefieehuefgudeukeehjeekkefhfeefvdetjeff tefgtedvnecuffhomhgrihhnpegsvggttggrthhirdgtohhmnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphhhphessggvtggtrghtihdrtgho mh X-ME-Proxy: Feedback-ID: i6f4c46c2:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 17 Jun 2024 13:25:52 -0400 (EDT) Message-ID: <7e971edc-ddae-4d8d-92f3-b55f8f88ac0b@beccati.com> Date: Mon, 17 Jun 2024 19:25:52 +0200 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: Peter Kokot Cc: Pierre , Internals References: <201e1928-7a46-4586-9d24-b535c0a8cdfb@processus.org> <5cc18d25-4c5a-44da-b778-c7e89792a93a@beccati.com> Content-Language: it, en-GB In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit From: php@beccati.com (Matteo Beccati) Hi, Il 17/06/2024 19:21, Peter Kokot ha scritto: > When building for a certain PostgreSQL version, the pq library gets > linked to the extension and then this PostgreSQL version needs to be > used, yes. If you build for 10.0, then you need to use that exact > version. Linux packages have this resolved by dependencies on the > packages so when you install the extension it will work for that > distribution PostgreSQL package. 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. Cheers -- Matteo Beccati Development & Consulting - http://www.beccati.com/