Re: [BUGS] follow-up: problems with pg_ctl -w

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Marvin Solomon <solomon(at)cs(dot)wisc(dot)edu>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [BUGS] follow-up: problems with pg_ctl -w
Date: 2007-01-11 02:30:40
Message-ID: 200701110230.l0B2UeR29628@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-patches


I have added additional documentation for environment variables for
pg_ctl, patch attached.

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

Marvin Solomon wrote:
>
> [This is meant to be a follow-up of a bug report I sent earlier using the web
> form. It's not clear to me the right way to post a follow-up, since I didn't
> get a copy of the email generated by the web form, and the email hasn't shown
> up on the pgsql-bugs web site -- at least not yet.]
>
> I subsequently discovered that setting PGUSER in the environment gets around
> the first problem I mentioned, so it's really just a documentation problem:
> PGUSER is not mentioned on the pg_ctl doc page.
>
> But I found a worse problem. Sometimes (not repeatably), pg_ctl start -w
> logs the message
>
> FATAL: the database is starting up
>
> and immediately returns. I believe the correct thing for it to do when it
> gets this message from an attempt to open a session is to try again. Instead,
> it returns as if the startup was successful.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: You can help support the PostgreSQL project by donating at
>
> http://www.postgresql.org/about/donate

--
Bruce Momjian bruce(at)momjian(dot)us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

Attachment Content-Type Size
/bjm/diff text/x-diff 1.3 KB

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Mika Vimpari 2007-01-11 11:39:38 BUG #2881: FATAL: could not reattach to shared memory (Win32)
Previous Message Meetesh Karia 2007-01-10 21:43:29 BUG #2879: RPM: wrong quoting of error message about old database format after upgrading

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2007-01-11 02:40:38 Re: [PATCHES] Building libpq/psql with Borland BCC5
Previous Message Bruce Momjian 2007-01-11 00:07:44 Remove of .SECONDARY from SGML Makefile