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 1vKwHc-00E4aE-1B for pgsql-general@arkaria.postgresql.org; Mon, 17 Nov 2025 10:16:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vKwHZ-00DPT3-37 for pgsql-general@arkaria.postgresql.org; Mon, 17 Nov 2025 10:16:25 +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 1vKwHZ-00DPSu-1r for pgsql-general@lists.postgresql.org; Mon, 17 Nov 2025 10:16:25 +0000 Received: from mail1.dalibo.net ([51.159.93.128] helo=mail.dalibo.com) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vKwHW-008FEF-1Z for pgsql-general@lists.postgresql.org; Mon, 17 Nov 2025 10:16:25 +0000 Received: from [192.168.1.93] (88-178-26-216.subs.proxad.net [88.178.26.216]) by mail.dalibo.com (Postfix) with ESMTPSA id 788BA27ED8 for ; Mon, 17 Nov 2025 11:16:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dalibo.com; s=a; t=1763374580; bh=tUSoEW/5tgIFJIpr6g4C5j8VMRiNZMK7jrh9NC705MQ=; h=Date:Subject:To:References:From:In-Reply-To:From; b=LElA3pGCRWqhcOSGPBtMlkw3+IvIoaI/i/KysSupmsZS7ieyLJ2XPXYPKNUNOgNer tz0PSJX79vCwvUECpyskWX7Py0wyVpPd3qxDz0HuTkhg/Z6OVpe/dMoAT2HDo0PxMh lCADvHckGzOkkFYsY+3w3a4lqgIRZ0593MOUZ0Kk= Message-ID: Date: Mon, 17 Nov 2025 11:16:20 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Redo CREATE DATABASE To: pgsql-general@lists.postgresql.org References: Content-Language: fr From: Guillaume Lelarge Organization: Dalibo In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 17/11/2025 10:59, COURTAULT Francois wrote: > THALES GROUP LIMITED DISTRIBUTION to email recipients > > > Hello everyone, > > I am looking to an old document where we (I was not there at that time) > setup a database. > > Unfortunately, I was not able to find the CREATE DATABASE instruction > used. It is not in any of our docs ☹ > > At https://www.postgresql.org/docs/17/sql-createdatabase.html www.postgresql.org/docs/17/sql-createdatabase.html> we can see that a > lot of options are available. > > Do you know  if it is possible to retrieve the options we have set when > we created the database ? > You can't retrieve the old options if they have been changed later. You can find the current ones with text tools like pg_restore, pg_dumpall, or graphical tools (such as pgAdmin). Regards. -- Guillaume Lelarge Consultant https://dalibo.com