Re: ALTER EXTENSION UPGRADE, v3

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: ALTER EXTENSION UPGRADE, v3
Дата
Msg-id AANLkTi=1i0=yQEMctpkf=1xeGOuB-MQsf7CK1-wmuSbo@mail.gmail.com
обсуждение исходный текст
Ответ на Re: ALTER EXTENSION UPGRADE, v3  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Fri, Feb 11, 2011 at 1:30 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> In principle we are leaving it to the extension author to choose that.
> However, we're going to have to make a choice for the contrib modules,
> and I'll bet lunch that most people will follow whatever precedent we
> set with those.  I was thinking about using either "old" or "unpackaged".
> Thoughts?

I like unpackaged.

>>> Version strings will have no hard-wired semantics except equality; we
>>> don't need a sorting rule.  We must however forbid "-" in version
>>> strings, to avoid ambiguity as to whether a file name represents an
>>> install or upgrade script.
>
>> Yeah. Might be worth considering using some other less common character as the delimiter. Maybe + or ^? not a big
deal,though. I guess / should also be forbidden, eh? 
>
> I could go with + ... anyone know if that is problematic in filenames on
> Windows or elsewhere?

I'd rather stick with -.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: ALTER TYPE 2: skip already-provable no-work rewrites
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Debian readline/libedit breakage