Portable, simple means of determining distribution directory
От | Steve White |
---|---|
Тема | Portable, simple means of determining distribution directory |
Дата | |
Msg-id | 20110201113109.GB1327@cashmere.aip.de обсуждение исходный текст |
Ответы |
Re: Portable, simple means of determining distribution directory
|
Список | pgsql-bugs |
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 would be a special command for loading modules, maybe loadmod( modname ) There should of course be some reasonable means of informing a user that these have failed to find the desired module. Note that several options were discussed. One could work, but is quite messy, requiring special installations and code. Also, this proposal is not an alternative to a full module system as discussed in http://wiki.postgresql.org/wiki/Module_Manager (although it might facilitate development of such a thing.) Cheers! -- | - - - - - - - - - - - - - - - - - - - - - - - - - | Steve White +49(331)7499-202 | E-Science Zi. 27 Villa Turbulenz | - - - - - - - - - - - - - - - - - - - - - - - - - | Astrophysikalisches Institut Potsdam (AIP) | An der Sternwarte 16, D-14482 Potsdam | | Vorstand: Prof. Dr. Matthias Steinmetz, Peter A. Stolz | | Stiftung privaten Rechts, Stiftungsverzeichnis Brandenburg: III/7-71-026 | - - - - - - - - - - - - - - - - - - - - - - - - -
В списке pgsql-bugs по дате отправления: