Storing Procedures / Transactions

Поиск
Список
Период
Сортировка
От Christian Kasprowicz
Тема Storing Procedures / Transactions
Дата
Msg-id 004c01c6eb8c$5a87b5f0$0201a8c0@excalibur
обсуждение исходный текст
Ответы Re: Storing Procedures / Transactions  ("Merlin Moncure" <mmoncure@gmail.com>)
Список pgsql-general
Mabye I made myself not clear enough- sorry for that...
What I want is having a statement like:
 
PROCEDURE MyProcedure(Value1 int, Value2 text, Value3 varchar(30))
BEGIN
   ---check if something is valid
   ---compute something
   ---store values I got via THIS query and put them in table A, B and C
   ---see wether everything is ok
COMMIT;
 
...which I execute from a client like: exec MyProcedure(Value1, Value2, Value3)
 
Hope someone can talk me through this… ;)
 
Thanks in advance,
Chris

 

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

Предыдущее
От: maa1666@yahoo.fr
Дата:
Сообщение: database corruption question
Следующее
От: adam lawrence
Дата:
Сообщение: Looping through Arrays