plpsql function problem

Поиск
Список
Период
Сортировка
От drdani@mazsola.iit.uni-miskolc.hu
Тема plpsql function problem
Дата
Msg-id Pine.LNX.4.61.0501052037070.20666@mazsola.iit.uni-miskolc.hu
обсуждение исходный текст
Ответы Re: plpsql function problem  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
Hi,

I'm writing a plpgsql function. There is an insert in it (let's say to 
table1). This insert causes to call a trigger function which inserts 
some info to an other table (let's say table2):

function  .  insert into table1 ...  --> trigger function (runs after insert)                                 .
                       insert into table2 ...  .  select from table2 ... not found  .
 

This info looks to be unavailable inside the function. Can it be made 
availabel or must this whole thing reorgenized?

Daniel


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

Предыдущее
От: Kretschmer Andreas
Дата:
Сообщение: Re: Calling a table residing in another database from Plpgsql
Следующее
От: Tom Lane
Дата:
Сообщение: Re: plpsql function problem