Re: the lock mechanism - Mailing list pgsql-novice

From Oliver Elphick
Subject Re: the lock mechanism
Date
Msg-id 1044402890.1521.331.camel@linda.lfix.co.uk
Whole thread Raw
In response to the lock mechanism  ("Sumaira Ali" <nat_lazy@hotmail.com>)
List pgsql-novice
On Tue, 2003-02-04 at 23:25, Sumaira Ali wrote:
> hi,
>  i found this piece of documentation on user locks in the postgresql
> source code in the file lock.c
> "
>
> User locks are handled totally on the application side as
...
>
> could some one enlighten me on the meaning of " locked at application
> level in this context..!!

It means your program knows about it, but PostgreSQL doesn't, except for
the purpose of telling your program.  If you use user locks, it is up to
you to have your program respect them; the database won't do it for you.

--
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight, UK                             http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "That at the name of Jesus every knee should bow, of
      things in heaven, and things in earth, and things
      under the earth; And that every tongue should confess
      that Jesus Christ is Lord, to the glory of God the
      Father."              Philippians 2:10,11


pgsql-novice by date:

Previous
From: Oliver Elphick
Date:
Subject: Re: PL/Perl on HPUX
Next
From: David Nicely
Date:
Subject: Re: PL/Perl on HPUX