bug in vacuumlo (postgreSQL-7.3)? (fwd) - Mailing list pgsql-bugs

From Peter Mount
Subject bug in vacuumlo (postgreSQL-7.3)? (fwd)
Date
Msg-id Pine.LNX.4.44.0212021048520.1537-100000@heather.retep.org.uk
Whole thread Raw
Responses Re: bug in vacuumlo (postgreSQL-7.3)? (fwd)
List pgsql-bugs
---------- 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

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: Bug #829: 7.3 crashes when trying to set variable to default
Next
From: elein
Date:
Subject: Re: Fwd: [GENERAL] returning CHAR from C function