Re: Why does pg_ctl.c have its own copy of PM_VERSIONSTR? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Why does pg_ctl.c have its own copy of PM_VERSIONSTR?
Date
Msg-id 24907.1203543315@sss.pgh.pa.us
Whole thread Raw
In response to Re: Why does pg_ctl.c have its own copy of PM_VERSIONSTR?  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> Tom Lane wrote:
>> Why isn't pg_ctl.c using PG_VERSIONSTR from miscadmin.h?

> It looks like I adapted it from initdb.c - that would make sense given 
> the time frames.

Oh, I hadn't seen the one in initdb.c.  That's just plain silly,
seeing that it's including miscadmin.h already.  (Which means that
non-backend inclusion of this file works already...)

> There is unlikely to be any deep reason.

OK, will fix.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Dawid Kuroczko"
Date:
Subject: Re: Permanent settings
Next
From: Aidan Van Dyk
Date:
Subject: Re: CVS repository invalid revision