| От | Kris Kiger |
|---|---|
| Тема | Functions in postgres |
| Дата | |
| Msg-id | 3EB19D92.6050400@musicrebellion.com обсуждение |
| Ответ на | old pgAdmin? (Kris Deugau <kdeugau@webhart.net>) |
| Список | pgsql-admin |
Hey all, here's a question that I think can be easily answered by those of you with more experience than I. What are the advantages/disadvantages of using a function with postgres as opposed to putting all of the SQL in an external file (a web page for example)? The only advantages that I can see is that if you want to isolate an entire process or want to associate a trigger with it, you can. Also, I suppose it could cut down on a bit of network traffic by sending only the needed variables rather than the entire query. Aside from this however, does it offer any kind of performance increase (ie stored query plan, pre-compiled, etc)? Thanks for the insite Kris
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера