Re: why two dashes in extension load files - Mailing list pgsql-hackers

From Robert Haas
Subject Re: why two dashes in extension load files
Date
Msg-id AANLkTimqLW+21Awa=+8mFNq33wUpX4ZyCTy17rf5XyyU@mail.gmail.com
Whole thread Raw
In response to Re: why two dashes in extension load files  (marcin mank <marcin.mank@gmail.com>)
Responses Re: why two dashes in extension load files  (Alex Hunsaker <badalex@gmail.com>)
List pgsql-hackers
On Tue, Feb 15, 2011 at 3:26 PM, marcin mank <marcin.mank@gmail.com> wrote:
> On Tue, Feb 15, 2011 at 9:16 PM, Peter Eisentraut <peter_e@gmx.net> wrote:
>> On mån, 2011-02-14 at 12:14 -0500, Tom Lane wrote:
>>> I guess the real question is what's Peter's concrete objection to the
>>> double-dash method?
>>
>> It just looks a bit silly and error prone.  And other packaging systems
>> have been doing without it for decades.
>
> how about : we use a single dash as the separator, and if the
> extension author insists on having a dash in the name, as a punishment
> he must duplicate the dash, i.e.:
> uuid--ossp-1.0--5.5.sql

That has a certain poetic justice to it.

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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: review: FDW API
Next
From: Robert Haas
Date:
Subject: Re: FOR KEY LOCK foreign keys