Re: Why does pg_ctl.c have its own copy of PM_VERSIONSTR?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: Why does pg_ctl.c have its own copy of PM_VERSIONSTR?
Date: 2008-02-20 21:35:15
Message-ID: 24907.1203543315@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew Dunstan <andrew(at)dunslane(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Aidan Van Dyk 2008-02-20 22:00:14 Re: CVS repository invalid revision
Previous Message Dawid Kuroczko 2008-02-20 21:27:26 Re: Permanent settings