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 1uxjyw-0001x4-1n for pgsql-bugs@arkaria.postgresql.org; Sun, 14 Sep 2025 10:29:18 +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 1uxjyr-007I3A-Mv for pgsql-bugs@arkaria.postgresql.org; Sun, 14 Sep 2025 10:29:14 +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 1uxjyr-007I31-DV for pgsql-bugs@lists.postgresql.org; Sun, 14 Sep 2025 10:29:14 +0000 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1uxjyo-000jv3-20 for pgsql-bugs@lists.postgresql.org; Sun, 14 Sep 2025 10:29:13 +0000 Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-3c46686d1e6so2280685f8f.3 for ; Sun, 14 Sep 2025 03:29:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1757845751; x=1758450551; darn=lists.postgresql.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:mail-reply-to:mail-followup-to:from:subject :message-id:from:to:cc:subject:date:message-id:reply-to; bh=wpuBIqFhy/X6yj86MKpeVwXotdADx+CTRVdrhibga3M=; b=Cp9lyxt+AT75X1Q8UaLgxwEOTlMaOmT3GNMsBI+do8gGaRnwdSRSRb6sq3CHDdQfyW zC+UJFMIXmv3w8vtdVk1DnqolFCuGo3ZjnzVpYyo+2JoCai87hlzvOh7vp/j0N+3VD8s ZO22mpuQQKLYwjayYBsvyi2r1KpcqkU6tOygwg4g8cFUQe8xukf391n73++6e8TOQ1eO jxf97F6C2ZJeQ/8eY1bqa5O55D8S6fcEZASbEQ87IOYj8U3a99ihM+hIm3SQPI2Dtd+o API/L3Jo1HFeCMvEHNcSMfoMaA9S6ZtuCb4t2p9U3SXUj/RHWXzQGqodbRmvZ2opN/K1 gOxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1757845751; x=1758450551; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:mail-reply-to:mail-followup-to:from:subject :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=wpuBIqFhy/X6yj86MKpeVwXotdADx+CTRVdrhibga3M=; b=BTMsbfq/S9F9pslynCMr7tHUVDkPL1C1CcXn73hb9b5uZMJ/EBdGzH1dlASX4fHg6q m5PzerLzML81zOrTB+G1+4FCkJweqNz7GEwnqxHeOVq+KQtaOu6e1i2EaIAITOcZy52v 8QYfEjU7FyBotq52W9SSRhpCQu4+jlq0BQBza+PAdAMaNaQz5JA2zSzK0jUsDw95fwzY IKvtpytpcuGqR2krUnZ6+smPcq/nK3cszzVhFiD6V+wYqQZjQKA6auWZy2L/Zz3IFIby fhiUQe5WXHAZaSVkSMEecjWjYabI3qhaEh899089F5vrTs1D7WcM+8oWzPpOfVe6KCNn FBzg== X-Forwarded-Encrypted: i=1; AJvYcCXrPClyucylM0sp1pjl7yrayKl+WddIb/TcXgkALxMUco9qU/SQxGuNOrpRX31v1MUr7KMeH7q/BNGV@lists.postgresql.org X-Gm-Message-State: AOJu0YwBYzsLCteVA2aMnPD56iwODHga1emo3LyUaMkOM1K55tVuaJlY ZUHIkC+ruNVRaXZtxdaAYJdXNl4z+GDNLK9Zifk4sF8Xdr1C7YMiKz+kDItBvDLEZAo= X-Gm-Gg: ASbGncv3dd1uM03JLJcwLWzqJsw5J0GtfgWzXKJjEFunY/wL6jg0NEeMX9lnZK90Qu1 TiyNI2uDt/ffNr4hZcEID8uWv2JF9FbxYpGdvxmMycoEqp+n13xRwdpiR613BW47fzIhhRw8RzK etl0mnkh1unFrK7OmzH6M8QDIV27jwDfxdSja8GofnCgzUwnlF48x+mJ0i4MJUL8fqKbnG0/OsW VPi82aoBxNK4AHRtyFDsanhUfCZ41LMYNCzSFgFHfACdid64T5bTfOTT5i8cNQJeGjBnIE67WPC gBr6rhDKV5lop9CCae3qURBHoDOsbx5jJcJuEsNjM4F1Px3CuN7PRbV405zorIF4KFB8Wl38bpj VOFLEqKn5nflv4eHkNEXmWs4TsExOtXRNBl8u2wi0fm6bONQAxjLq X-Google-Smtp-Source: AGHT+IGX74cQuRdy3NzABothBJ1tT74w9ceaDCAxuNqDz5upLwlRXw5bDM4fHhor6mIsj7MFXPsKxw== X-Received: by 2002:a05:6000:2586:b0:3e4:1e29:47db with SMTP id ffacd0b85a97d-3e765a25836mr8452144f8f.43.1757845750393; Sun, 14 Sep 2025 03:29:10 -0700 (PDT) Received: from laurenz.albe-K4N0CV00F97414D ([2001:871:255:30a:2403:9037:2d08:c2c]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3e84de17f9bsm6163751f8f.49.2025.09.14.03.29.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Sep 2025 03:29:09 -0700 (PDT) Message-ID: Subject: Re: BUG #19051: Is it possible to move a TOAST table to a different tablespace than its parent table? From: Laurenz Albe Mail-Followup-To: pgsql-general@lists.postgresql.org Mail-Reply-To: pgsql-general@lists.postgresql.org To: mhararci@gmail.com, pgsql-bugs@lists.postgresql.org Date: Sun, 14 Sep 2025 12:29:09 +0200 In-Reply-To: <19051-90b4476ef19f9b73@postgresql.org> References: <19051-90b4476ef19f9b73@postgresql.org> 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 Sun, 2025-09-14 at 09:17 +0000, PG Bug reporting form wrote: > I'm currently using PostgreSQL 16.10 and I've run into a challenge regard= ing > moving TOAST data for a table. My goal is to have the TOAST data for a > column stored in a different tablespace from the parent table. >=20 > Specifically, I have a users table with a profile_data column of type JSO= NB, > which can contain large objects. I want the users table itself to reside = in > the ts_medium_data tablespace, while its associated TOAST data is stored = in > a separate ts_medium_toast tablespace. Don't write to the bugs mailing list if you need help. I have directed replies to the -general mailing list. You won't be able to put a table and its TOAST table into different tablesp= aces. But there wouldn't be any benefit in doing that anyway, so that is no problem. Perhaps you could detail the *real problem* you are trying to solve... Yours, Laurenz Albe