Where is that file that makes an initdb required?  We are supposed to
change that file when an initdb is needed.

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

Thu, 18 Nov 1999 19:22:48 -0500 (EST)
Bruce Momjian <pgman@candle.pha.pa.us>
pg version date file
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Where is that file that makes an initdb required?  We are supposed to
> change that file when an initdb is needed.

src/include/catalog/catversion.h.

I put it there on the theory that include/catalog/*.h changes would
be the most common reason for wanting to bump the serial number.
But maybe it belongs somewhere else...

			regards, tom lane

Thu, 18 Nov 1999 22:24:52 -0500
Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] pg version date file 
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Where is that file that makes an initdb required?  We are supposed to
> > change that file when an initdb is needed.
> 
> src/include/catalog/catversion.h.
> 
> I put it there on the theory that include/catalog/*.h changes would
> be the most common reason for wanting to bump the serial number.
> But maybe it belongs somewhere else...

I just couldn't find it.  I looked in include only because version.h.in
was there.

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

Thu, 18 Nov 1999 22:31:15 -0500 (EST)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: [HACKERS] pg version date file
Bruce Momjian <pgman@candle.pha.pa.us> writes:
>> src/include/catalog/catversion.h.
>> 
>> I put it there on the theory that include/catalog/*.h changes would
>> be the most common reason for wanting to bump the serial number.
>> But maybe it belongs somewhere else...

> I just couldn't find it.  I looked in include only because version.h.in
> was there.

You could certainly make a case for moving it to src/include.  If
you want to do that, I won't object.

			regards, tom lane

Thu, 18 Nov 1999 23:06:58 -0500
Tom Lane <tgl@sss.pgh.pa.us>
Re: [HACKERS] pg version date file 
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> >> src/include/catalog/catversion.h.
> >> 
> >> I put it there on the theory that include/catalog/*.h changes would
> >> be the most common reason for wanting to bump the serial number.
> >> But maybe it belongs somewhere else...
> 
> > I just couldn't find it.  I looked in include only because version.h.in
> > was there.
> 
> You could certainly make a case for moving it to src/include.  If
> you want to do that, I won't object.

No, seems fine there.


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

Thu, 18 Nov 1999 23:16:30 -0500 (EST)
Bruce Momjian <pgman@candle.pha.pa.us>
Re: [HACKERS] pg version date file