Re: why two dashes in extension load files

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: why two dashes in extension load files
Дата
Msg-id 25984.1297702478@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: why two dashes in extension load files  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: why two dashes in extension load files  ("David E. Wheeler" <david@kineticode.com>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> On mån, 2011-02-14 at 10:13 -0500, Tom Lane wrote:
>> Peter Eisentraut <peter_e@gmx.net> writes:
>>> Why do the extension load files need two dashes, like xml2--1.0.sql?
>>> Why isn't one enough?

>> Because we'd have to forbid dashes in extension name and version
>> strings.  This was judged to be a less annoying solution.  See
>> yesterday's discussion.

> I'm not convinced.  There was nothing in that discussion why any
> particular character would have to be allowed in a version number.

Well, there's already a counterexample in the current contrib stuff:
uuid-ossp.  We could rename that to uuid_ossp of course, but it's
not clear to me that there's consensus for forbidding dashes here.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Extensions vs PGXS' MODULE_PATHNAME handling
Следующее
От: Marko Kreen
Дата:
Сообщение: Re: why two dashes in extension load files