Re: [BUGS] Portable, simple means of determining distribution directory

2011-02-02 Thread Dimitri Fontaine
Steve White writes: > It would be advantageous to have a portable, simple means of including > a module from the distribution contrib/ directory. Please have a look at the Extension patch section here: https://commitfest.postgresql.org/action/commitfest_view?id=9 Regards, -- Dimitri Fontaine

[BUGS] Portable, simple means of determining distribution directory

2011-02-01 Thread Steve White
Hi, This was discussed on pgsql-general 28 Jan 2011. It would be advantageous to have a portable, simple means of including a module from the distribution contrib/ directory. One idea would be some kind of variable expansion with the \i command: \i $libdir/contrib/module.sql Another woul