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 1vL1Xg-000rv7-2z for pgsql-general@arkaria.postgresql.org; Mon, 17 Nov 2025 15:53:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vL1Wg-000oZh-0p for pgsql-general@arkaria.postgresql.org; Mon, 17 Nov 2025 15:52:22 +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 1vL1Wf-000oZZ-0v for pgsql-general@lists.postgresql.org; Mon, 17 Nov 2025 15:52:22 +0000 Received: from fout-a4-smtp.messagingengine.com ([103.168.172.147]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vL1Wc-0001Gg-0A for pgsql-general@postgresql.org; Mon, 17 Nov 2025 15:52:21 +0000 Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfout.phl.internal (Postfix) with ESMTP id 2B6CAEC0085; Mon, 17 Nov 2025 10:52:15 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-06.internal (MEProxy); Mon, 17 Nov 2025 10:52:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1763394735; x=1763481135; bh=6W60lHv6dqTXVcJaVzi11OdHYj0oz4deGv6IP/YV/os=; b= HBasD8JHUxYQKNVTATlLjzK8HWURxgpPMxVjZDsR9BWTQ6mR/NwzKIIz3f12qF6k 2cpONU0OGq0XlQVr6sLSQGGEorUmuLE0pg/iVnxRZzyRacIz16c3Y+MB2Lp1tt5K lknajbM/xbMtvg4fKBD4+jCLNy+Qk3aSgQBuK+O1V5eBX3SjnNshdHIV+sbrZkC5 TImBeNaRswFLfga0riSSsM5uuPhdF5m5X3+Xmjb8sGXjtXLlDnZUtickR8vTgz4G QW3XVQYVAI8MEBBY989B5mcyKOniiQQJ+tWTryczT/p29RWZqrMSPAUOrjkfoRLX XwLcKUMkcaF7f6LxSnokiQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1763394735; x=1763481135; bh=6 W60lHv6dqTXVcJaVzi11OdHYj0oz4deGv6IP/YV/os=; b=vffZ2Iv+fb/VXIx0s igR9wzZCZpfNeWCKNgbNNwFxfgd+THn70c2WAnYLyVVE0vligCgXj4hShjZOCAyR whPKXvBUDztHbV+P9boTq/xgOJmPYBsW+euDnSPVuPFSMJOV6ITX6hNqQA+Gokrj gDzDk0pPycLqxAMadONbiH8dnTVcod8u8NfpxOt7x6W/zZHH5tb85AiezwzNkNvp PxTRa5vCeak6jHb69932Wv6lCbz6qDBUs1lwTvcPc2YQwTih8Vc13X5lSPojJWRm sVkRjUc68qsttPWEK/Q85RNhibDxd6CqGp7HY7F/0sOhRUHn+GHRak8Aav7bzNYt XqVjQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddvudekkeejucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepkfffgggfuffvfhfhjggtgfesthekredttddvjeenucfhrhhomheptegurhhirghn ucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmqe enucggtffrrghtthgvrhhnpeelgeevkeekkeeuiefgtdevieeluefhfedufeetkeejffek jeeujeehgeehgeektdenucffohhmrghinhepphhoshhtghhrvghsqhhlrdhorhhgnecuve hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghn rdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomhdpnhgspghrtghpthhtohepvddpmhhoug gvpehsmhhtphhouhhtpdhrtghpthhtohepfhhrrghntghoihhsrdgtohhurhhtrghulhht sehthhgrlhgvshhgrhhouhhprdgtohhmpdhrtghpthhtohepphhgshhqlhdqghgvnhgvrh grlhesphhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 17 Nov 2025 10:52:14 -0500 (EST) Message-ID: <3006d9eb-800b-4557-be39-64370bce002d@aklaver.com> Date: Mon, 17 Nov 2025 07:52:14 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Redo CREATE DATABASE To: COURTAULT Francois , "pgsql-general@postgresql.org" References: Content-Language: en-US From: Adrian Klaver 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 On 11/17/25 01: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 ? Assuming the database is still in the cluster. In psql have you tried: \l+ Also select * from pg_database where datname = They may not give you everything, but it will be a start. > > Best Regards. > > -- Adrian Klaver adrian.klaver@aklaver.com