| From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
|---|---|
| To: | Wei Weng <wweng(at)kencast(dot)com> |
| Cc: | <pgsql-sql(at)postgresql(dot)org> |
| Subject: | Re: Is function atomic? |
| Date: | 2001-07-06 17:25:38 |
| Message-ID: | Pine.LNX.4.30.0107061924190.679-100000@peter.localdomain |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-sql |
Wei Weng writes:
> What I wanted is simple:
> I don't want other processes that run the function at the same time have
> read/write access from the tables this function accesses(select and
> insert/update). Is it possible, say, let other proccess blocked on this
> function?
See LOCK command. But note that this would lock out process in this
function or any other access to these tables. Maybe you should take a
look at the userlock module in contrib.
--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Wei Weng | 2001-07-06 17:35:51 | Re: Is function atomic? |
| Previous Message | Peter Eisentraut | 2001-07-06 16:49:49 | Re: Is function atomic? |