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.96) (envelope-from ) id 1vTLRh-000OnZ-17 for pgsql-admin@arkaria.postgresql.org; Wed, 10 Dec 2025 14:45:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vTLRe-00CBfa-34 for pgsql-admin@arkaria.postgresql.org; Wed, 10 Dec 2025 14:45:35 +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.96) (envelope-from ) id 1vTLRe-00CBfS-1s for pgsql-admin@lists.postgresql.org; Wed, 10 Dec 2025 14:45:34 +0000 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vTLRc-004HM9-1D for pgsql-admin@lists.postgresql.org; Wed, 10 Dec 2025 14:45:34 +0000 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-47775fb6cb4so58888785e9.0 for ; Wed, 10 Dec 2025 06:45:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1765377929; x=1765982729; darn=lists.postgresql.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=QHLjYijO+yaV2KITDVFRIHRZsCugfgv/HtZZOX0TFF0=; b=D4U80yZID7KdaFx0LFiyFsKRass32WKdca2xz1cHxuwA31kRoLvIduETesQNozIyjB mEJ/i/xbYRX7ZjwZyzS6oZmcs5hp5acIidMJ0STwa9exsbBgZYvrJGpDyyzEl9t4L4oC rQhy036KOXjpa216lynZKVkf9OBmZf1mqroo5XxQv02YE6xHBU8FkqfueO2U7ZTvzovk aP74glXdBaEpqNelJ3LXSIlIih8PCw8vXXU7mRqM4PACwWQ4leonL9NAEDciRIilvumG wCBHkre/+7H/lTTIayF2ttiBuYFeFS1WGJSFigTPfeybbYl08ukpjltRcQxhdn3gdXb6 7m5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765377929; x=1765982729; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=QHLjYijO+yaV2KITDVFRIHRZsCugfgv/HtZZOX0TFF0=; b=iPI8s32RZms8+lJfY/Hlvz6I5qBH5+DhNuNcx1zrvHztYY37Y6QES2mrMnA56MvsH5 YKHBbArZ9t2xCE4AXq2Jl2lzjWLC6YqTeFazLoi0cC+l1k35cnboduPLqnQN+Uos5mvo mOYl60+n+qLsfON/TfMBwkv+gfQcFl+lpHODfgB6bJlhRLeC6qjWqH/2YWpGk7dk2mz7 +RiZs0ayCteHWhD35rGybFSOrn54ZxnBmqWTgNtlGP/hVKmxOb80asun/TfyiX3cFr1k z5eDvI2SDYf2rLb6ZOHbwqzORq5f7V/a6msfvjFBy0orT+O1e3AAV3CPzIoNtCCTiOSS YsCA== X-Gm-Message-State: AOJu0YynqaZqQmIvF08efa4msWnJV12+IkxIXy38cSSQOPcwEbLt2bAv RB2sDl0BbVNsKg39hj4jnFnjWLmmXxq1uzgjzsc7uWl3Nh+fjJDET4ff5LiaSNsBYUY= X-Gm-Gg: ASbGncvyv8AhwoGoeRnO/Vd35ZsdDbz12NCw9KuKwaF9GXf9gV7BY506C3YAMjn6LyM wdd6vVYkMgwMiO7V37vjtZh9u3kG7mhHhsgdBG5AQQmCvwUx8Py0Wc6eNzCLK9INtSk0VX6XWPh A8AA7TNgrL4BZgmJEH1xEAYPCL+/msB77mLvq2n7CpsIaDVn1hmh1nPE/E8G5xHKHhnzsYPb0R3 MvEXmpN/U5SQaZ3Yhxlh+KuiiV+VXoHNL8kB8gs+ilAVnOPbDk2yPFqYy8RxmUjd9sid5dLoPNx FTGi4TxncGH7GRFkcNegui7o3KGtplBa9v9znMkDxrjfNYkZvtOqkEWDeDhikg7vuFo+6ZrnQt0 EG354R9uNf6Gj9xwvXsm2j79agnRPkToucnKgROkKm9XbWvsYtFPLG+MxxlDwGLLMkYGZnRcL1m iLiDJ6zyy2maw= X-Google-Smtp-Source: AGHT+IGb7Y1SWm4mtusonJw5+RBdgOvn0ITuC+Vj3BQOPqmHYhci9BHF6ZW4XGnw4e4X6F0iXtZLtQ== X-Received: by 2002:a05:600c:c171:b0:475:dd9a:f791 with SMTP id 5b1f17b1804b1-47a83846f44mr19851525e9.28.1765377929223; Wed, 10 Dec 2025 06:45:29 -0800 (PST) Received: from laurenz.albe-K4N0CV00F97414D ([213.208.157.34]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-47a7da4885esm40976875e9.20.2025.12.10.06.45.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Dec 2025 06:45:28 -0800 (PST) Message-ID: Subject: Re: database specific pg_read_all_data / pg_write_all_data From: Laurenz Albe To: richard coleman Cc: Pgsql-admin Date: Wed, 10 Dec 2025 15:45:27 +0100 In-Reply-To: References: <72acf8ae4e56886081b9f632569f290d3246c33b.camel@cybertec.at> <8536f893e79693bd0a23d4cea7dbe0b6366378df.camel@cybertec.at> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.2 (3.56.2-2.fc42) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, 2025-12-10 at 09:10 -0500, richard coleman wrote: > Running many clusters on a single server, while possible, reduces the amo= unt of memory > available to each cluster and each database process users run respectivel= y. Yes, but not a by much. > ALTER DEFAULT PRIVLIGES doesn't work on schema that doesn't exist at that= time that command was run. That is not true. The IN SCHEMA clause is optional. You have to run one ALTER DEFAULT PRIVILEGES for each role that is to creat= e tables, but if you have many such roles, you are probably doing something wrong. > I am sorry to hear that you think "pg_read_all_data" is ugly. That is a purely personal judgement. I am sure many people find the featur= e useful. > That built-in role and others like it have proven very useful for a fairl= y common > use case; a small group of users that must share database objects between= them without > having to constantly rejigger privileges on those objects. I cannot claim to know what people do out there, but I must say that I have= n't encountered many such setups in the field. Usually such "ad hoc" schemes r= un into trouble by the time when people want to drop tables. Yours, Laurenz Albe