Persistent user-defined functions

Поиск
Список
Период
Сортировка
От David T
Тема Persistent user-defined functions
Дата
Msg-id BAY131-W1F630C3C89F274EC76EB2AEF90@phx.gbl
обсуждение исходный текст
Ответы Re: Persistent user-defined functions  (Martijn van Oosterhout <kleptog@svana.org>)
Re: Persistent user-defined functions  (Felipe de Jesús Molina Bravo<felipe.molina@inegi.gob.mx>)
Список pgsql-general
Hi all,

I am using Ubuntu 7.10 with PostgreSQL 8.2.  I have just finished creating two C functions and have successfully loaded
themusing "CREATE OR REPLACE FUNCTION" ... This was an extremely smooth process, and I have a lot of respect for the
devteam for creating such a robust system. 

Anyway - I would like these new functions to be permanently available to a database, or to all databases.  These
functionswill ultimately be called from PHP, where there is no guarantee of server state in between requests (maybe a
rebootoccurs and my functions are lost, etc...).  On the other hand, it is inefficient to "CREATE OR REPLACE" all the
time. Can anybody suggest a lightweight method to keep these functions permanently available, or point me towards a
resourcethat might assist? 

Best regards,

Dave.
_________________________________________________________________
This Valentine's Day, get creative and show your sweetheart how much you care with flair! Find fun date ideas here!
http://g.msn.ca/ca55/224

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

Предыдущее
От: ashish
Дата:
Сообщение: Re: Need help on how to backup a table
Следующее
От: Chris Mayfield
Дата:
Сообщение: Merge Joins and Views