Re: Locking a Table - Mailing list pgsql-novice

From Shay Moreno
Subject Re: Locking a Table
Date
Msg-id 5D38890DAE46D41186A800508B6F7187026FFE58@oestmb010-b0.tdk.dk
Whole thread Raw
In response to Locking a Table  ("Manohar.K (GM Systems)" <manohark@elgi.jet.co.in>)
List pgsql-novice
> How to lock a table during transaction processing in PostgreSQL 7.0.2

    In the reference manual at
http://postgresql.org/users-lounge/docs/7.1/reference/ you will find the
LOCK command,
http://postgresql.org/users-lounge/docs/7.1/reference/sql-lock.html.  Again
you can find this information thru the users' lounge at
http://postgresql.org./

    But usually you won't need to lock explicitly.  Locking will be done
automagically whenever you access any data.  The locks will be the minimum
necessary and sufficient to keep data integrity, and they will be release at
the end of the transaction: COMMIT, ROLLBACK or a program failure.



--
  _
 / \       Leandro Guimarães Faria Corcete Dutra        +55 (11) 3040 8913
 \ /       Amdocs Brasil Ltda at Tele Danmark                +45 3387 5214
  X      http://geocities.com./lgdutra/       mailto:leandrod@amdocs.com
 / \     Campanha fita ASCII                        mailto:moreno@tdk.dk

pgsql-novice by date:

Previous
From: Joel Burton
Date:
Subject: Re: DROP COLUMN ?
Next
From: Phill Kenoyer
Date:
Subject: plpgsql locate provider by zip code