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 1rSaBJ-00Ecq8-KW for pgsql-docs@arkaria.postgresql.org; Wed, 24 Jan 2024 10:08:30 +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 1rSaBG-003t13-QP for pgsql-docs@arkaria.postgresql.org; Wed, 24 Jan 2024 10:08:26 +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 1rSaBG-003t0v-H8 for pgsql-docs@lists.postgresql.org; Wed, 24 Jan 2024 10:08:26 +0000 Received: from smtp2-g21.free.fr ([212.27.42.2]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rSaBE-003S2N-8S for pgsql-docs@lists.postgresql.org; Wed, 24 Jan 2024 10:08:25 +0000 Received: from zimbra-e1-02.priv.proxad.net (unknown [172.20.243.240]) by smtp2-g21.free.fr (Postfix) with ESMTP id 71DE82003BE for ; Wed, 24 Jan 2024 11:08:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1706090901; bh=2gkTcb1Q9h0jcuzhv6lzOGjSpW1M5l3rGQ92y++2M9E=; h=Date:From:To:In-Reply-To:References:Subject:From; b=RIxx85BIT6tsqoKv3fYQVtPSRMtsqFS1kghjDl7lZVnzs2S7PQA8bhQ/+66vzLoa2 8ubbtLvOlg0E2OrKoN0vIDsi8OqTIkjb3ElwoNwRiY/U7pJAvwYfhASCQFQw0RHkA8 ll0UdXHCg4n49QyWjS94LLk90GogsB4LfZLHPmtWr5JqyDHh8AzvDLaCWkxcEvZG1m njTze4hoK/DkDgXqFrnaUF3JSqOCrNNKy5RmEcc2639DN8SdZkMdc9TjnFT6bQpfyE 03jue50e4SSNSAzEGPITW7x//sP5MmKkVUHZUivhtnOVO6tlL1Yzwfcm751iQe2/wo YF+KfWg9UVxyQ== Date: Wed, 24 Jan 2024 11:08:21 +0100 (CET) From: gparc@free.fr To: pgsql-docs Message-ID: <1712096587.208766558.1706090901073.JavaMail.zimbra@free.fr> In-Reply-To: <2023185982.281851219.1646733038464.JavaMail.root@zimbra15-e2.priv.proxad.net> References: <2023185982.281851219.1646733038464.JavaMail.root@zimbra15-e2.priv.proxad.net> Subject: Re: SQL command : ALTER DATABASE OWNER TO MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [145.242.20.128] X-Mailer: Zimbra 9.0.0_GA_1337 (ZimbraWebClient - FF102 (Linux)/9.0.0_GA_1337) Thread-Topic: SQL command : ALTER DATABASE OWNER TO Thread-Index: wS+LUhduZQeXdTPK15YQG1LRXIwTzg== List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hello, as one of my colleagues fell into the same trap I repeat my request for correction of the documentation on this subject. Many thanks in advance Regards Gilles ----- Mail original ----- De: "gparc" =C3=80: "pgsql-docs" Envoy=C3=A9: Mardi 8 Mars 2022 10:50:38 Objet: SQL command : ALTER DATABASE OWNER TO Hello, for this "ALTER DATABASE" form, it should be mentioned that after execution= of the command, the old database owner loses all his privileges on it (even connection) alt= hough it might still owns schemas or objects (tables, index,...) inside it. Thanks in advance to add this important precision. Regards Gilles