public inbox for [email protected]  
help / color / mirror / Atom feed
From: Imre Samu <[email protected]>
To: Christoph Berg <[email protected]>
Cc: [email protected]
Subject: Re: "postgis_restore" command in the postgis 3.4 package
Date: Wed, 29 Nov 2023 23:16:10 +0100
Message-ID: <CAJnEWw=Vwb=o-6r7cjdnntKt5BLMCPOfCAJFGV6dUQh1Aqmvfw@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <CAJnEWwmR=U_GEok-xataR37gwGm9WifWk_NDGUZwvL6gj-fi4Q@mail.gmail.com>
	<[email protected]>

Hi Christoph,

Thank you for your help, it really makes sense that "postgis_restore" would
be located there.

I'm writing to the others to mention that the "--no-install-recommends"
parameter is also important.
Without it, postgresql-15 would be installed as well. So, the command
should be:
"apt-get install --no-install-recommends postgis"

Here is the complete Dockerfile, which extends the current postgis/postgis
images:
'''
FROM postgis/postgis:16-3.4
RUN set -eux \
  && apt-get update \
  && apt-get install -y --no-install-recommends \
     postgis \
  && dpkg -L postgis \
  && rm -rf /var/lib/apt/lists/*
'''

Best regards,
  Imre

Christoph Berg <[email protected]> ezt írta (időpont: 2023. nov. 28., K,
23:30):

> Re: Imre Samu
> > Dear maintainers,
> >
> > I am seeking assistance regarding an issue brought to attention by a user
> > [1] of the docker-postgis docker images.
> > They noticed that the "postgis_restore" command seems to be missing from
> > the new debian postgis 3.4.0
> >  "postgresql-15-postgis-3" and "postgresql-15-postgis-3-scripts."
> > Neither they nor I have been able to locate it.
>
> Hi Imre,
>
> the command is in the "postgis" package:
>
> postgis: /usr/share/man/man1/postgis_restore.1.gz
> postgis: /usr/bin/postgis_restore
>
> Christoph
>


view thread (3+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: "postgis_restore" command in the postgis 3.4 package
  In-Reply-To: <CAJnEWw=Vwb=o-6r7cjdnntKt5BLMCPOfCAJFGV6dUQh1Aqmvfw@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox