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: Why does pg_ctl.c have its own copy of PM_VERSIONSTR?
Date: 2008-02-20 20:57:45
Message-ID: 16177.1203541065@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Why isn't pg_ctl.c using PG_VERSIONSTR from miscadmin.h? Seems like
this is something that will have to be kept in sync manually (I see
from the CVS logs that Peter already had to do that once).

If the feeling is that miscadmin.h is a backend include file that
shouldn't be used by pg_ctl (which is not totally unreasonable,
though I think there's no harm in it given the current contents
of that file), maybe we should move PG_VERSIONSTR someplace else?

regards, tom lane

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2008-02-20 21:20:22 Re: Why does pg_ctl.c have its own copy of PM_VERSIONSTR?
Previous Message Heikki Linnakangas 2008-02-20 20:57:34 Re: Which MemoryContext?