Re: Extension Facility

Поиск
Список
Период
Сортировка
От David E. Wheeler
Тема Re: Extension Facility
Дата
Msg-id 8E9CD7B2-5A39-4B28-A53F-94B984E72B1D@kineticode.com
обсуждение исходный текст
Ответ на Re: Extension Facility  (Dimitri Fontaine <dfontaine@hi-media.com>)
Ответы Re: Extension Facility  (Dimitri Fontaine <dfontaine@hi-media.com>)
Список pgsql-hackers
On Jul 23, 2009, at 2:11, Dimitri Fontaine <dfontaine@hi-media.com>  
wrote:

> Well the problem with that is if for example I define foo() and bar()
> functions in my extension, and the user also has a foo() function in  
> his
> own stuff (possibly lying in public, say).
>
> Now if in my extenion in function bar() I call foo(), how do I make  
> sure
> I'm calling my extension's foo()?

Part of the behavior of CREATE EXTENSION would be to automatically  
schema-qualify references to objects  in the extension. Or perhaps  
extension authors would need to use some sort of variable for the  
schema that would be properly resolved when CREATE EXTENSION installed  
an extension.

Those are the first ideas that come to kind for me, anyway.

Best,

David 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Higher TOAST compression.
Следующее
От: "David E. Wheeler"
Дата:
Сообщение: Re: extension facility (was: revised hstore patch)