OK, I committed a fix so it will not segfault on root starting it.
---------------------------------------------------------------------------
Christopher Browne wrote:
> In the last exciting episode, twanger@bluetwanger.de (Markus Bertheau) wrote:
> > Forwarding to -hackers as per README
> >
> > -----?????????????????????? ??????????????????-----
> >
> > From: Markus Bertheau <twanger@bluetwanger.de>
> > To: pgsql-bugs@postgresql.org
> > Subject: [BUGS] pg_autovacuum segv
> > Date: 09 Oct 2003 17:30:48 +0200
> >
> > (gdb) run
> > Starting program: /root/src/postgresql-7.4beta4/contrib/pg_autovacuum/pg_autovacuum
> > [2003-10-09 05:28:13 PM] Failed connection to database template1 with error: FATAL: user "root" does not exist
>
> It should probably have died more gracefully, but what happened here
> should be clear enough.
>
> You ran the program as root, and so it assumed that it should connect
> as PostgreSQL user "root." That user does not exist, so the
> connection failed.
>
> You'll need to specify a user, or establish "root" as a superuser.
> --
> wm(X,Y):-write(X),write('@'),write(Y). wm('cbbrowne','acm.org').
> http://www3.sympatico.ca/cbbrowne/spreadsheets.html
> "Bother," said Pooh as he struggled with sendmail.cf.
> "It never does quite what I want."
> "I wish Christopher Robin were here.".
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: the planner will ignore your desire to choose an index scan if your
> joining column's datatypes do not match
>
-- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610)
359-1001+ If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square,
Pennsylvania19073