Re: Storing session-local data
От | Elijah Epifanov |
---|---|
Тема | Re: Storing session-local data |
Дата | |
Msg-id | 456FFBB1.204@xmart.ws обсуждение исходный текст |
Ответ на | Re: Storing session-local data ("Heikki Linnakangas" <heikki@enterprisedb.com>) |
Ответы |
Re: Storing session-local data
|
Список | pgsql-hackers |
That would definitely help ))) 2) Question isn't silly)) I don't need it right now, but may (with high degree of probability) need it in future. Heikki Linnakangas wrote: > Elijah Epifanov wrote: >> How can I store session-local data in an efficient way (I need to store >> every primary key/oid value for every changed row using triggers)?? > >> I tried to use session-local temporary table, but it doesn't work with >> PREPARE TRANSACTION... > > We might be able to relax that restriction so that you could use a "on > commit delete rows" or "on commit drop" kind of temporary table in a > global transaction. Would that help you? > > Maybe a silly queestion, but are you sure you need 2-phase commit? >
В списке pgsql-hackers по дате отправления: