Re: Extensions, this time with a patch - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Extensions, this time with a patch
Date
Msg-id 29135.1287781755@sss.pgh.pa.us
Whole thread Raw
In response to Re: Extensions, this time with a patch  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
List pgsql-hackers
Dimitri Fontaine <dimitri@2ndQuadrant.fr> writes:
> Anyway, my point is that by default there's no directory scanning: the
> lookup is first directed towards ${extension-name}.control, of
> course. Only when this file does not exists or its name property is
> different from the extension name do we get to scan the directory, and
> we stop as soon as we find the .control file with the right name in it.

This seems (a) way overcomplicated, and (b) sorely in need of a
unique-index mechanism.

Please just use the filenames and have done.  This is lily-gilding
at its finest.  People who want to use non-ascii filenames are welcome
to do so, and deal with any ensuing fallout themselves.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Integer input functions for date and timestamp
Next
From: Tom Lane
Date:
Subject: Re: Integer input functions for date and timestamp