Does that mean if I used
DECLARE
...
BEGIN
DO_STUFF
END;
the DO_STUFF will not be interrupted (maintain atomicity) even when
multiple threads use the function concurrently?
On 06 Jul 2001 18:13:37 +0200, Peter Eisentraut wrote:
> Wei Weng writes:
>
> > If it is not, is it possible to acquire a lock on a row ? how about a
> > lock on a table?
>
> SQL statements issued by server-side functions operate with the same
> transaction isolation semantics as "normal" SQL statements. However,
> whatever the function does outside the database may obviously have
> different semantics.
>
> --
> Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter
>
>
--
Wei Weng
Network Software Engineer
KenCast Inc.