Re: Stored Procedure examples

Поиск
Список
Период
Сортировка
От Walter Vaughan
Тема Re: Stored Procedure examples
Дата
Msg-id 45D38AA2.6090703@steelerubber.com
обсуждение исходный текст
Ответ на Stored Procedure examples  (Vladimir Zelinski <zelvlad@yahoo.com>)
Ответы Re: Stored Procedure examples  (Martijn van Oosterhout <kleptog@svana.org>)
Re: Stored Procedure examples  (Paul Lambert <paul.lambert@autoledgers.com.au>)
Re: Stored Procedure examples  (Dave Page <dpage@postgresql.org>)
Список pgsql-general
Vladimir Zelinski wrote:

> I'm struggling to create a stored procedure. I
> searched on Internet for several hours trying to find
> a simple example, but didn't find anything. I saw
> dozens of questions how to create a procedure without
> any responses. I searched on postgreSql site and found
> a topic "Stored Procedure Example". But actually, they
> showed how to write a function on postgreSql database.

This may not help, but I noticed using pgAdminIII, you can create a procedure or
a function, but they seem to have the same creation interface and use the same icon.

Did you try using pgAdminIII to create your procedure and see if it works any
different a creating an identical function?

I am sure others will chime in with reasons why you haven't found any stored
procedure examples. My sad guess is that in postgresSQL they may be aliases.

--
Walter

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

Предыдущее
От: "John D. Burger"
Дата:
Сообщение: Re: Recover anything from dropped database?
Следующее
От: "Jeanna Geier"
Дата:
Сообщение: Problem with INNER JOIN