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 1sjooO-004LgI-Rt for pgsql-admin@arkaria.postgresql.org; Thu, 29 Aug 2024 23:44:20 +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 1sjooN-009ibK-20 for pgsql-admin@arkaria.postgresql.org; Thu, 29 Aug 2024 23:44:19 +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 1sjooM-009ibC-Mg for pgsql-admin@lists.postgresql.org; Thu, 29 Aug 2024 23:44:19 +0000 Received: from mail-oo1-xc31.google.com ([2607:f8b0:4864:20::c31]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sjooJ-002A01-So for pgsql-admin@lists.postgresql.org; Thu, 29 Aug 2024 23:44:18 +0000 Received: by mail-oo1-xc31.google.com with SMTP id 006d021491bc7-5dfaccba946so114196eaf.1 for ; Thu, 29 Aug 2024 16:44:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724975055; x=1725579855; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=/33gTGmR1ht29IIIdMCWqUIEE4FMY/2H4T7r3UEvMyM=; b=AVviXM+/c46+DhZ7vvh0BGRn5MELzXU68wrEP/ED4KgcOYqunmG/cZe/hsb+exbnuJ HV9gL2JNFUJQOL4El4NKLzUemhYWOuF/ffVWDngVEr+8ao2AAC8xIdGsP1nV9Qop5N1t mmgAY8+tf2FfD8DQam8Ol+3DnKa9iEXyg+OgaPsUXYCoPBXvwKzT+3Nq8AMDbhQCS//g +kn6f3/xSmt60n5znEFsMXuvLd3agSpTKDfHyLuCoyoaE8fhJGt+GGvrIry6J4TIFZKn yPfcetv2uCNJBQiFK+cmn4iwuat7lSGIa+4UIplhc8uJHBD5cxJeubBvvCLSW1iQnH5l Wftw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724975055; x=1725579855; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=/33gTGmR1ht29IIIdMCWqUIEE4FMY/2H4T7r3UEvMyM=; b=f8fQANcg0kFZvLcgUU03WutGPyeBJiU8ZvZ1oraVDq2deuDyhgVTzyYFtt8XAOuSDE NjSUe1Rzlb+Ksf02zeRyc7siwwhK5dCgb4ilW7cdUJVVdBJnx/Ll0hKKcHTFB7o+d1sa Px3Zu5j+Y1igY0oYyTTTz1q635WOMqOOK1IT7hTmW3ommpVSlmZ42UJ7E9IDV6alRnnh TllAP43gx9MV9n66RpvLrUG+97wgKkcBi0omEZNNAS4fgEwcBEh1X6E4ouv56Aa/M91k FEFZj/MdlUkbwX+Q2D3OR1u7rjVTmn5rL3d+gBYb5OyAd0DwjIRdfM75CPdUwGnUlfir hPUg== X-Forwarded-Encrypted: i=1; AJvYcCV5X8MXLdRbxT0WbZjBjQMmXdJpjWH1rxkrd4niaERS8rqHdO8RMZw3npMVm74nfij3yzY/ikz/66PGfw==@lists.postgresql.org X-Gm-Message-State: AOJu0YzdPD1VEIzoI3COZw51uusWxrQHMFRVLV1O70dPqZbvOpQVA/fu 86VeeWIprEqTddfgKDdDKXSaOB4uHMRNgVf+GSpZGESKtRietXATEuk2oo2wmtKGELBUIfq4GG1 +wsUzOWngwmZxKBx0pQaanPVMi/GyY/iD X-Google-Smtp-Source: AGHT+IGolwI4DWh2EQhRZJWgyT/FOzGKbWKT8yJnMmwtuitwv0LmGmZLVee2u3ETZCsBo+4aDVpzeWfFTJpuomOdSns= X-Received: by 2002:a05:6820:1609:b0:5dc:9f42:d5ea with SMTP id 006d021491bc7-5dfaceffca8mr546746eaf.3.1724975055037; Thu, 29 Aug 2024 16:44:15 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ac9:6694:0:b0:557:c384:fb61 with HTTP; Thu, 29 Aug 2024 16:44:14 -0700 (PDT) In-Reply-To: References: From: "David G. Johnston" Date: Thu, 29 Aug 2024 16:44:14 -0700 Message-ID: Subject: Re: Alternate Datafile Location To: Sam Stearns Cc: Scott Ribe , Pgsql-admin Content-Type: multipart/alternative; boundary="00000000000066ec560620db0dd1" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --00000000000066ec560620db0dd1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thursday, August 29, 2024, Sam Stearns wrote: > [postgres@thiludbapql01 ~]$ createdb baptest -D /PGDATA > createdb: error: database creation failed: ERROR: tablespace "/PGDATA" > does not exist > > Clusters, created using initdb, are what interact with the file system. Individual databases don=E2=80=99t. They exist within a cluster. David J. --00000000000066ec560620db0dd1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thursday, August 29, 2024, Sam Stearns <sam.stearns@dat.com> wrote:
[postgres@thiludbapql01 ~]$ createdb baptest -D /PGDAT= A
createdb: error: database creation failed: ERROR: =C2=A0tablespace &qu= ot;/PGDATA" does not exist


Clusters, created using initdb, are what interact wit= h the file system.=C2=A0 Individual databases don=E2=80=99t.=C2=A0 They exi= st within a cluster.

David J.

=
<= div dir=3D"ltr">
--00000000000066ec560620db0dd1--