Re: why two dashes in extension load files

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: marcin mank <marcin(dot)mank(at)gmail(dot)com>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "David E(dot) Wheeler" <david(at)kineticode(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: why two dashes in extension load files
Date: 2011-02-15 21:12:48
Message-ID: AANLkTimqLW+21Awa=+8mFNq33wUpX4ZyCTy17rf5XyyU@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Feb 15, 2011 at 3:26 PM, marcin mank <marcin(dot)mank(at)gmail(dot)com> wrote:
> On Tue, Feb 15, 2011 at 9:16 PM, Peter Eisentraut <peter_e(at)gmx(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2011-02-15 21:15:18 Re: XMin Hot Standby Feedback patch
Previous Message Tom Lane 2011-02-15 21:05:59 Re: pgsql: Adjust pg_upgrade error message, array freeing, and add error ch