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 1tNr8J-002bQk-45 for pgsql-admin@arkaria.postgresql.org; Wed, 18 Dec 2024 10:18:23 +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 1tNr8I-00D99C-6z for pgsql-admin@arkaria.postgresql.org; Wed, 18 Dec 2024 10:18:21 +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 1tNr8H-00D994-PK for pgsql-admin@lists.postgresql.org; Wed, 18 Dec 2024 10:18:21 +0000 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1tNr8E-000NnE-6R for pgsql-admin@postgresql.org; Wed, 18 Dec 2024 10:18:20 +0000 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-434a766b475so65442725e9.1 for ; Wed, 18 Dec 2024 02:18:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734517097; x=1735121897; darn=postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=NTw3FKuZOeADPh1EKpt8c+Ix/TuekEkKkbeyM6LgiTk=; b=cfPatAsXdnr6QwJyjlZQWyd5mulW7a1BhxcVpM4Xgg9bkx7xb/idWy4xRDsRERSWP2 Hl/6p81au3OPF8/b0qV45VQAa86vKo1begoZczvrh2frNSskOpjBMjegyDu1tPhU2juq iQdwZxW2SKES0XQvEAIxdayTnIYYJDmPFI4FrmJY3hx6p2pNfUWTiVK1VS774zQ+7jtk Df3QbSNX0FLfN+LDiwUAiZhCnWz5m1OqaFch7rZtUakPMEpld4+/uglqfCt296ZFuztZ ZKq5wrVLruVDShizqOqvG02UwLQQTmmE/oOQ/gaPIQGzgdoec2mm7WhtrocBPoR/1KNR zWHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734517097; x=1735121897; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=NTw3FKuZOeADPh1EKpt8c+Ix/TuekEkKkbeyM6LgiTk=; b=l/mTjrsI3kkARPbQPTR8QbQbBizbQeFZxK3SwY4Ja0vaOqcmeqxixpNQsKMTltIAUb xUvgA5X8trD/TezIA7c35ifQShwwOLdTDMOHu/HRcQZ5MkzsIS+mjEXV5QbYtQf7u5cJ VnAyW0rD6sBJdlBA42wm+SeOv9JyzL1fA7phGBkmH7+2+/5+YiBD23oXnqKWT2ZlFC89 KhC2vm/GmFuKFu6ytosusFCfHAMutUZ4+LEHR9YTl7B2/1/RYXOeAJb5gmMmZhrQTKUs zbEVuj/s6o3YC6/JCbQ9qAqvoe9CJUoo27rnpHTt0TGAzWlBFUNqgObZ8KG6dRm7v57a tfKA== X-Gm-Message-State: AOJu0YwWvpuJfhtIP7+veaTbIzI7p8+iYHBEIGPA7i6I6KXJgt8kL5z8 KT7EYQRregLqQ4gHzSQ0zE+SakM/ixS7caKuQq/iluWkS6cz67rcm1vT1DJ8snDzEyJtj9XMtiU VGtUauxcH6WKcsW35nFhro6ZWPMY= X-Gm-Gg: ASbGncsYvZuWG68ay/mKjuML/nKquj0tZclwEVHj0fPBxERxVkbKIIGwS3Qbcw7Lga/ 0xhxXEviRHPDFm4ezcaHTlVaF8jQwKA0GY8Cj X-Google-Smtp-Source: AGHT+IE/6/jq9swf+Z7y7KCedkWQi9Ajt7Y2S+6htHR7E6xBMJ2AK3RlHXqf3a2h34JtnqUGDL7E/BrcN89PZ7p1yQI= X-Received: by 2002:a05:600c:1989:b0:434:a30b:5455 with SMTP id 5b1f17b1804b1-4365540b9e4mr16507615e9.27.1734517096385; Wed, 18 Dec 2024 02:18:16 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: daur exp Date: Wed, 18 Dec 2024 15:18:05 +0500 Message-ID: Subject: Re: pg_upgrade utility with --link option To: "M.Yousaf Maqsood" Cc: pgsql-admin@postgresql.org Content-Type: multipart/alternative; boundary="000000000000631341062988bba9" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000631341062988bba9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, may be u need just edit .bash_profile file and put correct PGDATA path? =D1=81=D1=80, 18 =D0=B4=D0=B5=D0=BA. 2024=E2=80=AF=D0=B3. =D0=B2 14:58, M.Y= ousaf Maqsood : > Hi Team, > > I hope you are doing well. Have anyone of you tried pg_upgrade with > --link option . > > I was trying to upgrade from 15.3 to 17.1 . I successfully upgraded but m= y > new PGDATA is very small size and still referencing the old PGDATA dir > because it has used --link option. > > Can anyone guide me on how to remove the previous PGDATA and fully rely o= n > the new PGDATA.. > > Kind Regards, > > Muhammad Yousaf Maqsood > > cell# +923134039397 > > https://www.linkedin.com/in/muhammadyousafmaqsood/ > --000000000000631341062988bba9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello, may be u need just edit .bash_profile file and put = correct PGDATA path?

=D1=81=D1=80, 18 =D0=B4=D0=B5=D0= =BA. 2024=E2=80=AF=D0=B3. =D0=B2 14:58, M.Yousaf Maqsood <m.yousaf.maqsood@gmail.com>:
Hi Tea= m,

I hope=C2=A0you=C2=A0are doing well.=C2=A0 Have anyon= e of you tried pg_upgrade with --link option .

I w= as trying to upgrade from 15.3 to 17.1 . I successfully upgraded but my new= PGDATA is very small size and still referencing the old PGDATA dir because= it has used --link option.

Can anyone guide me=C2= =A0on how to remove the previous PGDATA and fully rely on the new PGDATA..<= /div>

Kind Regards,

Muhammad Yo= usaf Maqsood

cell#=C2=A0+923134039397
--000000000000631341062988bba9--