Re: [HACKERS] how solve diff of API counstruct_md_array between

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] how solve diff of API counstruct_md_array between
Дата
Msg-id 200602281728.k1SHSjs19643@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] how solve diff of API counstruct_md_array between  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-patches
Peter Eisentraut wrote:
> 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?

It is pretty obscure to use a date stamp like that, rather than a number
just like PQserverVersion().  Also, it gives minor version information
that the catalog version does not.

--
  Bruce Momjian   http://candle.pha.pa.us
  SRA OSS, Inc.   http://www.sraoss.com

  + If your life is a hard drive, Christ can be your backup. +

В списке pgsql-patches по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: [HACKERS] how solve diff of API counstruct_md_array between
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] how solve diff of API counstruct_md_array between