Re: Extensions, patch v16

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Extensions, patch v16
Дата
Msg-id 201012292000.oBTK0C506753@momjian.us
обсуждение исходный текст
Ответ на Re: Extensions, patch v16  (Oleg Bartunov <oleg@sai.msu.su>)
Ответы Re: Extensions, patch v16  ("David E. Wheeler" <david@kineticode.com>)
Re: Extensions, patch v16  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Oleg Bartunov wrote:
> Hi there,
> 
> it's clear we need versions, probably, major.minor would be enough. The problem
> I see is how to keep .so in sync with .sql ? Should we store .sql in database ?
> 
> Also, we need permissions for extension, since we have open/closed 
> extensions.
> 

Don't people normally define the version number in the Makefile and pass
the version string into the C code and perhaps a psql variable?

---------------------------------------------------------------------------


> 
> Oleg
> 
> On Sat, 11 Dec 2010, David E. Wheeler wrote:
> 
> > On Dec 11, 2010, at 1:09 PM, David Fetter wrote:
> >
> >>> Why is it in the makefile at all?  If the makefile does need to know it,
> >>> why don't we have it scrape the number out of the control file?  Or even
> >>> more to the point, since when do we need version numbers in extensions?
> >>
> >> We *absolutely* need version numbers in extensions.  People will want
> >> to have a certain version, or a certain minimum version, etc., etc.,
> >> etc., just as they do for any other software.
> >>
> >> Seriously, are you OK?
> >
> > One of the biggest mistakes in the creation of CPAN was allowing modules without extensions. It makes figuring out
whatto upgrade extremely difficult. Learning from that, PGXN requires version numbers for all extensions.
 
> >
> > Best,
> >
> > David
> >
> >
> >
> 
>      Regards,
>          Oleg
> _____________________________________________________________
> Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru),
> Sternberg Astronomical Institute, Moscow University, Russia
> Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
> phone: +007(495)939-16-83, +007(495)939-23-83
> 
> -- 
> Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: and it's not a bunny rabbit, either
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: SSI SLRU strategy choices