Dimitri Fontaine <dimi...@2ndquadrant.fr> writes: > Tom Lane <t...@sss.pgh.pa.us> writes: >> I'm hesitant to have any substitutions that happen unconditionally, >> but we could add a control parameter like >> module_pathname = '$libdir/hstore' >> and then things would be pretty clean.
> Ok. Maybe the simpler would be to make the current control variable a > static backend variable so that EXT_CONTROL(module_pathname) is easy to > find out from anywhere (I see you got rid of some direct usage of static > variables with recordDependencyOnCurrentExtension() already). I think it's better to keep it working as a textual substitution. That poses the least risk of breaking scripts that work today --- who's to say that somebody might not be relying on the substitution happening someplace else than CREATE FUNCTION's shlib string? regards, tom lane -- Sent via pgsql-hackers mailing list (firstname.lastname@example.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers