| От | Anastasios Hatzis |
|---|---|
| Тема | Difference between function and procedure? |
| Дата | |
| Msg-id | 44BE53E9.3060506@gmx.net обсуждение исходный текст |
| Ответы |
Re: Difference between function and procedure?
|
| Список | pgsql-general |
Hi, I'm diving more into depth of the features outside the typical table stuff, which I usually need. I wrote a trigger that fires a function written in PL/Python, both works fine so far. But as I browsed my database via pgAdmin3 I recognized that there is also 'Procedures' under 'public' available, but empty yet. Trying to create a procedure resulted in the same SQL statement like creating a function (CREATE FUNCTION ...). I couldn't see any difference. Also didn't find in the PostgreSQL manual if there is a difference between functions and procedures. Are there any at all? Anastasios PS: Using PostgreSQL 8.1.3 on Windows XP development machine.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера