Обсуждение: bug in vacuumlo (postgreSQL-7.3)? (fwd)

Поиск
Список
Период
Сортировка

bug in vacuumlo (postgreSQL-7.3)? (fwd)

От
Peter Mount
Дата:
---------- Forwarded message ----------
Date: Sun, 1 Dec 2002 23:32:35 -0500
From: Hsin-Yu Sidney Li <sidney.li@jdsu.com>
To: Peter Mount <peter@retep.org.uk>
Subject: bug in vacuumlo (postgreSQL-7.3)?

Hi,

I'm sorry if this has already been reported.  (I had no luck searching the
postgreSQL archives).

I have just installed postgreSQL-7.3, and ran into some problems with
vacuumlo.  The README file lists you as the author, so I am writing to you
with regards to this problem: when I try to run

     vacuumlo mydatabase

it always complains that

   vacuumlo: missing required argument: database name

It appears that the problem is in the statement (in vacuumlo.c)

   if (optind >= argc - 1)

which really should be

   if (optind > argc - 1)

Making this change fixed the problem for me.

Best Regards,

Sidney Li

Re: bug in vacuumlo (postgreSQL-7.3)? (fwd)

От
Tom Lane
Дата:
Peter Mount <peter@heather.retep.org.uk> writes:
> it always complains that
>    vacuumlo: missing required argument: database name

Yup, you're right --- this seems to have been introduced since 7.2.
Fixed; thanks for the report.

            regards, tom lane