On 16.11.26 17:40, Matheus Alcantara wrote:
I think that is mostly for back-patching. Turning into an error would
make a server to not start after a minor release upgrade. Querying
pg_available_extensions would also break after the upgrade with an
empty path element.

Ideally I also think that raising an error would be better, but this
back-patching issue got me, and having different behaviors across
different versions also seems confusing to me, but I might being to
conservative here.

(Thinking while writing this, and not being too conservative, perhaps we can consider to ignore empty path elements for back-patching and change master to raise an error since the with extension_control_path = '$system:' is an invalid syntax.).

I think that would be a good solution.

The backpatched versions could raise a warning instead of an error, so that (1) the patches are structured similarly, and (2) users of those versions get told that they are making a mistake and they should fix their setting.



Reply via email to