"Jean-Yves F. Barbier" <12ukwn(at)gmail(dot)com> writes:
> I've an old script installing Pg extensions that I modified to fit
> from 9.1 paths & file names.
As of 9.1, extension script files are not meant to be read directly.
They typically will fail, and if you found one that didn't fail,
executing it directly would still be the wrong thing because the
SQL objects wouldn't get bundled into an extension.
Use the CREATE EXTENSION command, instead.
regards, tom lane