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 1srI3K-000OZK-Ly for pgsql-hackers@arkaria.postgresql.org; Thu, 19 Sep 2024 14:22:39 +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 1srI3I-001wyK-96 for pgsql-hackers@arkaria.postgresql.org; Thu, 19 Sep 2024 14:22:37 +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 1srI3H-001wvN-TP for pgsql-hackers@lists.postgresql.org; Thu, 19 Sep 2024 14:22:37 +0000 Received: from mail-io1-xd2c.google.com ([2607:f8b0:4864:20::d2c]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1srI3G-0001GM-SJ for pgsql-hackers@postgresql.org; Thu, 19 Sep 2024 14:22:36 +0000 Received: by mail-io1-xd2c.google.com with SMTP id ca18e2360f4ac-82cdb0baf19so56566939f.3 for ; Thu, 19 Sep 2024 07:22:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726755754; x=1727360554; darn=postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=ZXxJRoariuNj5mp67SNKRXpZfQ0Emh+wQZ5JbY4Po9o=; b=QWT09V8yFWGDhSiY0mYonSZ+kJrqbQcZklbqTUQT3gspH3LhU9wG3v03UNnPTPzwpD WpHe7W1epcst+6O9IwCYR6u2/VobOS7pX8nfw1Vy4kTRZs3+2vnxV02DzNbndkExCSiu QG1DGj+cQfYoLJyKnjThK33NjHCn65o2KPkkBxGHqEj9iEd1GhrZdkzn+z6i0h2VuteN NDL/bbgDpsNqtJTkm/quD0o85LrHgqi6QP0z2syHCD/7FT+/F6/Hu1HLjVnoY+ZDHRu1 3yykGtfmGGqIlmk0yfpMIJQh1uICstFigqjR9gymEmn0JFwVxXzhXeXRaresEaLMl/7Y 5v8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726755754; x=1727360554; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ZXxJRoariuNj5mp67SNKRXpZfQ0Emh+wQZ5JbY4Po9o=; b=HbrZjMQpXgxmohr5QQHBwWhLE5rzZqq0VjNTXBpIEbTlOoA2se9zhZdhPFZ5KPKSKR 16REKA68YVhgphfWwduqT3fQaOURhqIiaqZ8DyCJ2mykBipeG3mq9ILMckPp3nUy+zTz rzPGX86BwkhtCU1oeTn0ULNtNumhGQOQ6+LsyU3TYNh3VWOe2nAPlJVkgS4oe2Jg4Ax0 3AqCv9szkcgK9qlTfA5aSopIGTbw0thRPUtxybnCPZ0Yc9yh/evNLSz4+rT2WuCS3jMU dwHFYOg84/39JzqKxEs+q3yf0EJ5h/D5ESwTQMtvSIrvD7zj0ao6SAenoAqGNFBy1+nS 18sA== X-Forwarded-Encrypted: i=1; AJvYcCUnSR5ieGprwTLZRzLrfJa12uZIRV9sEkeKC98fVnC3zKzzzCiBt4xgrj7OFVkK5sK2r8fQxKYCUNuDNzFY@postgresql.org X-Gm-Message-State: AOJu0YwOs/GsUYqg5mr4/6pqiW91i4jsN+Izg0/jUCqCPwGCVcFgHQy/ xLDW9dKh+BuNUAOs1iU5oDLhZyXa/7IC/GptY+rE/H+G17vEfddhGunjPQ== X-Google-Smtp-Source: AGHT+IGlScw60ycQhAaCxheRrit3QU3DDWwgH1w1CVtFJJIC50MJ+skl8u3O2WaFVy6rhChQweOCDw== X-Received: by 2002:a05:6602:160f:b0:82a:aa33:c8cf with SMTP id ca18e2360f4ac-82d1f8b6446mr2460792639f.3.1726755754055; Thu, 19 Sep 2024 07:22:34 -0700 (PDT) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4d37ec17ea6sm3024095173.38.2024.09.19.07.22.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Sep 2024 07:22:33 -0700 (PDT) Date: Thu, 19 Sep 2024 09:22:31 -0500 From: Nathan Bossart To: Alexander Lakhin Cc: Tom Lane , pgsql-hackers Subject: Re: Should rolpassword be toastable? Message-ID: References: <89e8649c-eb74-db25-7945-6d6b23992394@gmail.com> <1284094.1695479962@sss.pgh.pa.us> <67793ae1-3adc-a6e0-0bb3-c23a28c0627a@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Sep 19, 2024 at 06:00:00AM +0300, Alexander Lakhin wrote: > 23.09.2023 21:00, Alexander Lakhin wrote: >> So for now only pg_authid is worthy of condemnation, AFAICS. > > Let me remind you of this issue in light of b52c4fc3c. > Yes, it's opposite, but maybe it makes sense to fix it now in the hope that > ~1 year of testing will bring something helpful for both changes. Hm. It does seem like there's little point in giving pg_authid a TOAST table, as rolpassword is the only varlena column, and it obviously has problems. But wouldn't removing it just trade one unhelpful internal error when trying to log in for another when trying to add a really long password hash (which hopefully nobody is really trying to do in practice)? I wonder if we could make this a little more user-friendly. -- nathan