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

From David E. Wheeler
Subject Re: why two dashes in extension load files
Date
Msg-id D530C2DD-DC9E-415C-ADB6-7A61B27564A9@kineticode.com
Whole thread Raw
In response to Re: why two dashes in extension load files  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: why two dashes in extension load files  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Feb 14, 2011, at 5:03 PM, Tom Lane wrote:

>> Are we deparsing the names of the SQL files to infer the set of
>> version numbers we have to worry about?  It seems to me that if
>> there's a list of known version numbers somewhere, we can use dash as
>> the separator without any special restricton.
>
> The list of known version numbers is inferred from the available files,
> not vice versa.  IMO that's a feature not a bug.  A manually maintained
> list would just be one more thing to forget to update.

Yes, but the truth is that the extension name, at least, is known from the control file.

Best,

David



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: .gitignore patch for coverage builds
Next
From: "David E. Wheeler"
Date:
Subject: Re: [DOCS] "Extension" versus "module"