Bruce Momjian wrote:
> Martijn van Oosterhout wrote:
> -- Start of PGP signed section.
>
> > On Tue, Feb 28, 2006 at 12:45:18AM -0500, Bruce Momjian wrote:
> > > I have developed a patch which creates a new pg_config.h define
> > > called PG_VERSION_NUM, which is a number like 80200, with no
> > > beta/devel designation. I think this will be helpful
> > > (eventually) for people writing plug-ins. Attached.
> >
> > I like it. Arguably the development period between 8.1 and 8.2
> > could be designated 80190 (8.1.90) with various betas being
> > 80191-80199. But hey, having any symbol define the current version
> > is better than nothing at all.
> >
> > Thanks for this,
> > --
> > Martijn van Oosterhout <kleptog@svana.org>
> > http://svana.org/kleptog/
> >
> > > Patent. n. Genius is 5% inspiration and 95% perspiration. A
> > > patent is a tool for doing 5% of the work and then sitting around
> > > waiting for someone else to do the other 95% so you can sue them.
>
> OK, updated version of the patch attached and applied.
I still object to this. What is wrong with using the catalog version
number?
--
Peter Eisentraut
http://developer.postgresql.org/~petere/