Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123654 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 DF4121A009C for ; Mon, 17 Jun 2024 17:15:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1718644607; bh=WLyDaoli3kzZd+Mae0l+w1YfseFDAYZk8gAEEC9QQv8=; h=Date:Subject:To:References:From:In-Reply-To:From; b=CoFPvU3ZSo8DhvRVFijbWbZy5MZuJyw160Pt1s3EW1RV5MBnCxOMIRXNwzbcJVvod CgVMt35Uh8pU/BLACtqUh4IXWBR0C/LE+QSVyREMITR7yvxg137I1RdwzAcV/0QPrf Y37LAOLp5+pz6mZZ36S4XwUuNX08mTZ/Y1KInjalz9rapmDmfkNa4oLkVLvh8reA3P jWdpiVcJkMPhXXqGp1c4yyo5jL8TvFP9GmxCl7uqr9RvvE9usvNvwXWNSiT0H2OBlC wGblVgN51L5uS3YowUmOvd4YiN79TYlEtn7qC25DnhMFD4Ze9mC2X0cvfLafJ76vPm hDafBgSivDaHQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id C4BB218004B for ; Mon, 17 Jun 2024 17:16:46 +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_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 chrono.xqk7.com (chrono.xqk7.com [176.9.45.72]) (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:16:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bastelstu.be; s=mail20171119; t=1718644532; bh=7D7yz30DJzE0N3eN9uNg5oTpvOTgcAvPQSfJs2Vafek=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type:from:to:cc:subject:message-id; b=liCmI7GGiNBpH+xJnpaosjo7x2qZzEVCz5OXBMp/Kb3D4qbJ4VvZj4/HqQpfuM8ac 982Qw3Sh3uoWiP58D0WBulJinjyRXUETv8RpxhZFN6VO/7Cz2ew80m2NAfp2crd+Ye xJSbYl08c3oVRWN9kThu+1xkGJhMtQymn+cGPXORREbuy3yRsIl0OvtsKMfvWR1nUa 01xWa3cabZICl/HSRDRb5B3Aup2aEGHGtjnpHrwx5JQXayHSRDELhavT1HZD4m+YwH lLLVxhoab3ub6Bdm1tSN7pdowuM9EWDmGSd0SpsOOA8znSlny439RMdcuACIO3hfiT Uu4A5naOwa4iw== Message-ID: Date: Mon, 17 Jun 2024 19:15:29 +0200 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 Subject: Re: [PHP-DEV] Revisiting case-sensitivity in PHP To: Timo Tijhof , php internals References: Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit From: tim@bastelstu.be (=?UTF-8?Q?Tim_D=C3=BCsterhus?=) Hi On 6/13/24 21:48, Timo Tijhof wrote: > I ask because MediaWiki's main "text" database table is an > immutable/append-only store where we store the text of each page revision > since ~2004. It is stored as serialised blobs of a value class. There have > been a number of different implementations over the past twenty years of > Wikipedia's existence (plain text, gzip-compressed, diff-compressed, etc.). Is it theoretically possible to migrate the table contents using an upgrade script that does something along these lines: UPDATE text SET blob = serialize(unserialize(blob)); ? Or is it actually immutable by somehow incorporating the blob (or a hash of the blob) in some kind of hash chain or Merkle tree? Best regards Tim Düsterhus