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.94.2) (envelope-from ) id 1sJF6e-003eEy-P4 for pgsql-hackers@arkaria.postgresql.org; Mon, 17 Jun 2024 16:21:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sJF6c-001NQC-9A for pgsql-hackers@arkaria.postgresql.org; Mon, 17 Jun 2024 16:21:19 +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.94.2) (envelope-from ) id 1sJF6b-001NQ3-QA for pgsql-hackers@lists.postgresql.org; Mon, 17 Jun 2024 16:21:18 +0000 Received: from mail-qk1-x72e.google.com ([2607:f8b0:4864:20::72e]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sJF6Z-0029An-RL for pgsql-hackers@postgresql.org; Mon, 17 Jun 2024 16:21:17 +0000 Received: by mail-qk1-x72e.google.com with SMTP id af79cd13be357-79a3f1d007fso184250285a.1 for ; Mon, 17 Jun 2024 09:21:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dunslane-net.20230601.gappssmtp.com; s=20230601; t=1718641273; x=1719246073; darn=postgresql.org; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=EBp7DoQz1escMLI39IzW1A27sykzaDKr29uQ3SkKR/g=; b=GFkjl803DMS+ZoqMmw9ERf/kha0tMPGSYk1CvsRmX+yrtkNthVoji+Ek+bO+E7hDZl oJQ8whhjCD4dqJQtvBz+sUpsUR4YYWRf8CEPpVUk27JeX6m/qk2JhFZTNeMEQWKuk9Sa On71XTgMS16f1tLE3LPEYjULAZHujMCZDZM+d/JlTdg1vvgZxhL0FfEKOjT4XdQQ8HZY V1XoTZN4dqfwOr9zixeDtIbnbi033LDQKK5xWxCPozFgkocDGDYVap+zTTCQnV2Rs666 X/wczRwrCg4CKVCiF+XxZZ7TM7+u90EMdTWONT1GDBAWzr2VrHDWJtnPD4ucPhl3/NZj 0Yuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718641273; x=1719246073; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=EBp7DoQz1escMLI39IzW1A27sykzaDKr29uQ3SkKR/g=; b=LRERI+A3peuXojpRFwi+IT4Q792DsnD0X8ZfS2d9hCw5vIVS23NegbATVAw5Dh+swm kWlZcjMHu+TH9e8z4OOyiBZ13Iofw7/NtU/8O+7xYaXVl5L0A/x0cZkEW+NKdImOHyGW 9psqPAS9udhAaMig/rzcIR2G7BIC0mii5h3Oc3RMpCOr0gq2PPOTruiipHAGGyh6BwQL U0RJ9rMzfeUNR4FGjJnc6Q+SFLRFSmIcpyVKBxXZi4KGh8P4bIn3dyCyosBJiAwEMaaV D7iCn7tcU/sBCkYUZjVMkBIRZxsvl7BkQCmcQX7jQX0nCXc9kWgyQeT2a48pJecxFabR 5TUw== X-Forwarded-Encrypted: i=1; AJvYcCX0z6Y+lvAdi+cGAPvTfdATx6gfrruWlw8PUhB4ZbsNTCVAeKzTDF1rweVyIBBkFKq1WiIroQS8Gks5CDj35pOYEyFtzL7gvIsMys7E X-Gm-Message-State: AOJu0YwUN60pdyzEaybzRo1g/EShQpzkEMsr1Icrk/+9rgjesBt/7h36 dfZVfL/Ic3dxdQGmpzWB8KRC3sHNa7V4DhsGrs7SClBOTMFK824436dRqsQWXLQ= X-Google-Smtp-Source: AGHT+IF9YQNCTgqEZrZtha8aufrfmTx4ZX2WLXpZlQ75sxNricXkIO5lHCQ+5FcmWvDdBb/bGotqxA== X-Received: by 2002:a05:620a:24d0:b0:795:4b8d:63a6 with SMTP id af79cd13be357-798d2438e85mr1279536585a.37.1718641272841; Mon, 17 Jun 2024 09:21:12 -0700 (PDT) Received: from ?IPV6:2605:a601:9180:9800::2bb? ([2605:a601:9180:9800::2bb]) by smtp.googlemail.com with ESMTPSA id af79cd13be357-798aaee481esm442174585a.49.2024.06.17.09.21.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 17 Jun 2024 09:21:12 -0700 (PDT) Message-ID: <7e230178-7549-4adf-b1a9-aac3623cdf8c@dunslane.net> Date: Mon, 17 Jun 2024 12:21:10 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: RFC: adding pytest as a supported test framework To: Matthias van de Meent , Greg Sabino Mullane , Jelte Fennema-Nio Cc: Tom Lane , Robert Haas , Jacob Champion , Daniel Gustafsson , Andres Freund , PostgreSQL Hackers References: <2302192.1718380169@sss.pgh.pa.us> From: Andrew Dunstan Content-Language: en-US Autocrypt: addr=andrew@dunslane.net; keydata= xsBNBE7KWFkBCAClridxur2AIc7eW2AR7izbfp3EnNefie2HbLF0izW5Ik5UjX2HBXBx4syI gY6b0ugohXrr274+baoAlvSbq6cAoQuEVrk5IZFzt20b1Xkx65FwGSEj526yiKLocqkJceSq Xr9xcA5SGY+FZv441chh5SU92v4q6z+6LPpoHOh97ptAVXZYNTtU0LevyvD5lja0TzbvJm6C eFXitJfnm1pLEr0DGJCR/iUOl/N62Kh4855zZC7NHIjQHPOvV5Stz/l5ilDhvGVk+xkXFPys SjZoUr1rXhYLpiyi5sR0X9FHXT0KnGuz1F5ERO7ZTLSSQ6fJwPj6gOk9K+vvoKvoeql5ABEB AAHNJEFuZHJldyBEdW5zdGFuIDxhbmRyZXdAZHVuc2xhbmUubmV0PsLAmwQTAQgARQIbAwIX gAIZ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u54OaVOqlIdbA6m+POIBCXZdHOFc0 WoDTgxHRzC1jgQNidyd6tKqcsVJs0dzF0oKTmFFmUAqTdJO12LBuNA1rlqrR3EtpYk8B/wtS 5dIMD7Q8hwQpL+4C6GNpb6ZKnPkLi47pDOLhz2qBrqN+rqUEsT3YnExYpzj5yOBi+FlmV1Hw 49QYe1sn2ZPs 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 2024-06-17 Mo 4:27 AM, Matthias van de Meent wrote: > Hi Greg, Jelte, > > On Sat, 15 Jun 2024 at 23:53, Greg Sabino Mullane > wrote: > > > Those young-uns are also the same group who hold their nose when > coding in C, and are always clamoring for rewriting Postgres in Rust. > > Could you point me to one occasion I have 'always' clamored for this, > or any of "those young-uns" in the community? I may not be a huge fan > of C, but rewriting PostgreSQL in [other language] is not on the list > of things I'm clamoring for. I may have given off-hand mentions that > [other language] would've helped in certain cases, sure, but I'd > hardly call that clamoring. > > Greg was being a but jocular here. I didn't take him seriously. But there's maybe a better case to make the point he was making. Back in the dark ages we used a source code control system called CVS. It's quite unlike git and has a great many limitations and uglinesses, and there was some pressure for us to move off it. If we had done so when it was first suggested, we would probably have moved to using Subversion, which is rather like CVS with many of the warts knocked off. Before long, some distributed systems like Mercurial and git came along, and we, like most of the world, chose git. Thus by waiting and not immediately doing what was suggested we got a better solution. Moving twice would have been ... painful. I have written Python in the past. Not a huge amount, but it doesn't feel like a foreign country to me, just the next town over instead of my immediate neighbourhood. We even have a python script in the buildfarm server code (not written by me). I'm sure if we started writing tests in Python I would adjust. But I think we need to know what the advantages are, beyond simple language preference. And to get to an equivalent place for Python that we are at with perl will involve some work. cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com