Re: pg_ctl restart just appends to command line instead of regenerating original cmd

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: pholben(at)greatbridge(dot)com, pgsql-bugs(at)postgresql(dot)org
Subject: Re: pg_ctl restart just appends to command line instead of regenerating original cmd
Date: 2001-06-20 00:27:45
Message-ID: 200106200027.f5K0Rjo05459@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


I can confirm that problem exists in the current CVS sources.

> Patricia Holben (pholben(at)greatbridge(dot)com) reports a bug with a severity of 3
> The lower the number the more severe it is.
>
> Short Description
> pg_ctl restart just appends to command line instead of regenerating original cmd
>
> Long Description
> I see in the mailing lists that there was activity around the pg_ctl restart function in April. I wondered if there had been or was going to be some action taken, and if so, if those involved were aware that subsequent restarts keep adding to the command line (rather than re-executing it exactly). For example, if the command at start is:
> /usr/bin/postmaster '-D' '/var/lib/pgsql/data'
>
> Then when "pg_ctl restart" is executed, the "pg_ctl status" will display:
> pg_ctl: postmaster is running (pid: 14635)
> Command line was:
> /usr/bin/postmaster '-D' '/var/lib/pgsql/data' '-D' '/var/lib/pgsql/data'
>
> A subsequent "pg_ctl restart" causes the next "pg_ctl status" to display:
> pg_ctl: postmaster is running (pid: 14635)
> Command line was:
> /usr/bin/postmaster '-D' '/var/lib/pgsql/data' '-D' '/var/lib/pgsql/data' '-D' '/var/lib/pgsql/data'
>
> And so it continues with each subsequent restart.
>
> Sample Code
>
>
> No file was uploaded with this report
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Victor Wagner 2001-06-20 10:56:05 Update is not atomic
Previous Message pgsql-bugs 2001-06-19 19:38:21 pg_ctl restart just appends to command line instead of regenerating original cmd