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 1uIaRs-007jsx-7D for pgsql-hackers@arkaria.postgresql.org; Fri, 23 May 2025 22:01:04 +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 1uIaQs-006qxl-GT for pgsql-hackers@arkaria.postgresql.org; Fri, 23 May 2025 22:00:02 +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.94.2) (envelope-from ) id 1uIaQs-006qwR-6J for pgsql-hackers@lists.postgresql.org; Fri, 23 May 2025 22:00:01 +0000 Received: from mail-qt1-x836.google.com ([2607:f8b0:4864:20::836]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1uIaQm-000a1W-0o for pgsql-hackers@postgresql.org; Fri, 23 May 2025 21:59:57 +0000 Received: by mail-qt1-x836.google.com with SMTP id d75a77b69052e-4766cb762b6so4211241cf.0 for ; Fri, 23 May 2025 14:59:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; t=1748037595; x=1748642395; darn=postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=xCYG1qmnafRegBhXAx9dRJJRjlta9APiMgaz2wxo2ho=; b=klF3t7YZNCVa6qKF9miWEgNt7Q/22McI6zZgZsw68v1xAD385ralWLboYngkmb6xWR Vd8KO5Cs0MWL6BE9Dmg9ocztwHcjRubFiu0Fot0iyyX6hFMfAvuLEzprpSSm08dZlvA8 IEbFRfgAwOYenajBe2HE2kbMA9S6VgqpP19bTuW9SFuOjRB/VaDtp4YGJtT1Oyt+B/xe 4wlyCgSdOCUuF/PhBTe55hkO3hpxB3VqDyATY2Uuhh7gtXKN6V8fUoiBfawNI7wNlZF0 /OknYsJh24UfG75t5XCBMrLckhA9cgW7TfvHwWe3acsLYcwwBACyuEEL79pqj6/AeXlY VifQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1748037595; x=1748642395; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xCYG1qmnafRegBhXAx9dRJJRjlta9APiMgaz2wxo2ho=; b=N2jbaZriFuKX+5hCbu6r4an2QWQnq+V4uBxTM7CaOYmnYBRlRbjan3I9YBf5LXXy6J L9ZCqbkH6x+AK1ETL95ylhlBCEPg+5Xyk9W+cFAyYAsBMxIt/UDZHI3ZIhwxEmyw4BIc jyPT6/3fW+mFYAiRw2WPOWe2PBB+x4oEBoCpXGf0KGuOAh+Mc5Hc+ChvN4pJpAC0wiar 5ctk6FZQOIREaFIAEYb4Vz7wpYi7doBT51Y8g3IVpO72C4Fv032/xTqDkBitjXFRi6+W RrrgrCBhXgRahPz7TXQbl/zr4xxHEdv2lCmXwcElmFmEumY9mbbbFks4C0VtxWcn7B0z R4zQ== X-Forwarded-Encrypted: i=1; AJvYcCWp+RZe1eWipbB2R7gJ7m75K0psCKTvDzXb3FAvd2Z9Qgv8x57vI4MsVNZ4HpSUWMbqtszaFzwwyhIdbfRi@postgresql.org X-Gm-Message-State: AOJu0YzOzPl3/wRNkrX7k7SVjbccj7tBBtrG82fjejkGT7vJ17xQ77n8 cznbfFlJnOG235CZCWGxgqLU0K7DuNF1REPMpZexAwY+tJGulOk5HBWO6hOYr+IwbJIQrvRm91q UTGbiYZMH981lt0x0F/1ERNvn86UvjSNUSPcRwsIj X-Gm-Gg: ASbGncs3HhQw0wEyjKh/81B6k2503QKIFbpD9gaZXCBt1ZNN9nQ3QFlhrYPmjWI1uhG F+bwHaLw/i2THE0kSatBLtrzVTJeCo1BG0TrDcHcQ44EB6CXQNA8ojHoWhda5cGHNroqRRFJhw1 3VOWvkz6dkPhtxnRbfji+2YgiOtprPyAGZa3jP57UA0nU= X-Google-Smtp-Source: AGHT+IGgyqAfABLEn3YejOfawLkJVVhEmk4jtz/UdM4sspFa/VgIQmBmAex3/JScNeqjd2Aymw3LiLgumPNSe9H89WM= X-Received: by 2002:a05:622a:1dcf:b0:48d:8053:d8ed with SMTP id d75a77b69052e-49dfb8dd8e0mr86086261cf.10.1748037595500; Fri, 23 May 2025 14:59:55 -0700 (PDT) MIME-Version: 1.0 References: <61be9e31-7b7d-49d5-bc11-721800d89d64@eisentraut.org> <09323e6a-4743-4be2-9d7f-74b86e4dac64@iki.fi> <34d5d731-06cc-43af-88cd-b3a4c5c8d9df@iki.fi> <2afbd9c6-51b7-450f-9ae1-61e552368963@eisentraut.org> <4bd8421a-50ad-4169-a096-99247c2f563c@iki.fi> <9399dc5d-5575-483e-8e23-af6be79385c8@iki.fi> <52d648b1-9aca-43d1-a9e4-a6a556410f41@iki.fi> In-Reply-To: From: Jacob Champion Date: Fri, 23 May 2025 14:59:44 -0700 X-Gm-Features: AX0GCFuuG9vLy78V2jICDDrYCnV9o5J7KrKuqzwAfBKveI3n9wKqybjwfVoLSRs Message-ID: Subject: Re: pgsql: Make cancel request keys longer To: Heikki Linnakangas Cc: Peter Eisentraut , "pgsql-hackers@postgresql.org" , Jelte Fennema-Nio 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 On Thu, May 8, 2025 at 11:38=E2=80=AFPM Heikki Linnakangas wrote: > It didn't occur to me that you could write it simply as 'msgLength - 4'. > That depends on knowing that the preceding fields are exactly 4 bytes > long, but that's clear enough if we just add a comment on that, see > attached. Sorry for the conference delay; this looks fine to me. One of the side effects of the uint8 change is that the client now accepts cancel keys up to roughly 30kb. Is that intended? --Jacob