[Pkg-postgresql-public] GiST rebuild

Martin Pitt mpitt at debian.org
Wed Nov 12 18:25:01 UTC 2008


Martin Pitt [2008-11-12 19:21 +0100]:
> Markus Wanner [2008-11-12 17:05 +0100]:
> > Martin Pitt wrote:
> > > I agree. Depending on the state of apt, the new package might not be
> > > configured yet, just unpacked,
> > 
> > Uh, can you elaborate on this? I thought this is a candidate for
> > postinst, no?
> 
> Right, please ignore me. Brain fart.

Argh, maybe not. My initial thinking was that debconf-ish stuff is
either run at the start of the postinst, or the .config is called by
apt right before the unpacking starts, isn't it? So the script needs
to make sure that it doesn't try to fix the gist index if the old
version is still installed and debconf is deferred to postinst.

Anyway, the broken index can be safely detected at any time, with any
version, so merely pointing out the fix-it script is safer IMHO.

Martin

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)



More information about the Pkg-postgresql-public mailing list