public inbox for [email protected]
help / color / mirror / Atom feedpg_upgrade utility with --link option
3+ messages / 3 participants
[nested] [flat]
* pg_upgrade utility with --link option
@ 2024-12-15 13:16 M.Yousaf Maqsood <[email protected]>
2024-12-18 10:18 ` Re: pg_upgrade utility with --link option daur exp <[email protected]>
2024-12-18 13:15 ` Re: pg_upgrade utility with --link option Scott Ribe <[email protected]>
0 siblings, 2 replies; 3+ messages in thread
From: M.Yousaf Maqsood @ 2024-12-15 13:16 UTC (permalink / raw)
To: pgsql-admin
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 my
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 on
the new PGDATA..
Kind Regards,
Muhammad Yousaf Maqsood
cell# +923134039397
https://www.linkedin.com/in/muhammadyousafmaqsood/
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: pg_upgrade utility with --link option
2024-12-15 13:16 pg_upgrade utility with --link option M.Yousaf Maqsood <[email protected]>
@ 2024-12-18 10:18 ` daur exp <[email protected]>
1 sibling, 0 replies; 3+ messages in thread
From: daur exp @ 2024-12-18 10:18 UTC (permalink / raw)
To: M.Yousaf Maqsood <[email protected]>; +Cc: pgsql-admin
Hello, may be u need just edit .bash_profile file and put correct PGDATA
path?
ср, 18 дек. 2024 г. в 14:58, M.Yousaf Maqsood <[email protected]>:
> 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 my
> 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 on
> the new PGDATA..
>
> Kind Regards,
>
> Muhammad Yousaf Maqsood
>
> cell# +923134039397
>
> https://www.linkedin.com/in/muhammadyousafmaqsood/
>
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: pg_upgrade utility with --link option
2024-12-15 13:16 pg_upgrade utility with --link option M.Yousaf Maqsood <[email protected]>
@ 2024-12-18 13:15 ` Scott Ribe <[email protected]>
1 sibling, 0 replies; 3+ messages in thread
From: Scott Ribe @ 2024-12-18 13:15 UTC (permalink / raw)
To: M.Yousaf Maqsood <[email protected]>; +Cc: pgsql-admin
Those are hard links. If you're successfully running PG 17 against the new dir, just delete the old one.
https://linuxhandbook.com/hard-link/
--
Scott Ribe
[email protected]
https://www.linkedin.com/in/scottribe/
> On Dec 15, 2024, at 6:16 AM, M.Yousaf Maqsood <[email protected]> wrote:
>
> Can anyone guide me on how to remove the previous PGDATA and fully rely on the new PGDATA..
>
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2024-12-18 13:15 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-12-15 13:16 pg_upgrade utility with --link option M.Yousaf Maqsood <[email protected]>
2024-12-18 10:18 ` daur exp <[email protected]>
2024-12-18 13:15 ` Scott Ribe <[email protected]>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox