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