Re: [Fwd: [BUGS] pg_autovacuum segv]

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Christopher Browne <cbbrowne(at)acm(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [Fwd: [BUGS] pg_autovacuum segv]
Date: 2003-10-10 19:26:44
Message-ID: 200310101926.h9AJQi006110@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


OK, I committed a fix so it will not segfault on root starting it.

---------------------------------------------------------------------------

Christopher Browne wrote:
> In the last exciting episode, twanger(at)bluetwanger(dot)de (Markus Bertheau) wrote:
> > Forwarding to -hackers as per README
> >
> > -----?????????????????????? ??????????????????-----
> >
> > From: Markus Bertheau <twanger(at)bluetwanger(dot)de>
> > To: pgsql-bugs(at)postgresql(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2003-10-10 19:43:44 Re: [Fwd: [Python-Dev] HP Test Drive systems]
Previous Message Satoshi Nagayasu 2003-10-10 19:26:26 Re: 2-phase commit