Re: PostGIS files for PG17-b2 - Mailing list pgsql-pkg-debian

From Greg Smith
Subject Re: PostGIS files for PG17-b2
Date
Msg-id CAHo4unZh9CaarJ-cc90SwfrGyVUu4mROj3w+sqbwfwmBKgkjgw@mail.gmail.com
Whole thread Raw
In response to Re: PostGIS files for PG17-b2  (Christoph Berg <myon@debian.org>)
Responses Re: PostGIS files for PG17-b2
List pgsql-pkg-debian
On Mon, Jul 1, 2024 at 12:16 PM Christoph Berg <myon@debian.org> wrote:
> postgres@rising:~/pgbench-tools$ rm -rf /var/tmp/postgresql-17-202405161
> rm: cannot remove '/var/tmp/postgresql-17-202405161/bin/pg_resetwal':
> Permission denied

Hmm. I had thought that the other steps would already require root,
but pg_upgradecluster and friends do mostly work without. I'm unsure
if I want to prefix every command with "sudo" since the instructions
look scary enough already.

I was able to do all the other upgrade steps as the postgres user.   If the temporary binaries were installed in the postgres user's home directory instead, the whole thing might be possible to do as postgres.  Not sure what the downsides would be to relocating that block of binaries.  It's really not an important problem to solve, since the catversion bump in the middle of release tweaking is a development only part of upgrading,   Anyone running into this should be capable of sorting out when they need sudo.  Just passing along the feedback.

Thanks for answering the PostGIS question, I will move onto other tests while waiting for that to resolve.

pgsql-pkg-debian by date:

Previous
From: Christoph Berg
Date:
Subject: Re: PostGIS files for PG17-b2
Next
From: Christoph Berg
Date:
Subject: Re: PostGIS files for PG17-b2