Re: Checking if a table locked from pl/pgsql

From: Hal Davison <hal(at)faams(dot)net>
To: Jan Wieck <janwieck(at)yahoo(dot)com>
Cc: Jose Luis LG <jlopezgonz(at)terra(dot)es>, "'PostgreSQL-interfaces'" <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: Checking if a table locked from pl/pgsql
Date: 2002-03-27 12:24:17
Message-ID: Pine.LNX.4.10.10203270723000.11002-100000@development.faams.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces


In an operational sense, if a user is updating a table for some accounting
function then decides to go to lunch leaving the table locked.

--Hal.

===========================================================
Hal Davison Internet Petroleum Distribution
Davison Consulting LSE Linux V1.22
6850 Myakka Valley Tr PostgreSQL 7.03 - Sun Forte - JAVA
Sarasota, Florida 34241 Phone: (941) 921-6578
http://www.faams.net FAX: (941) 924-7135
===========================================================

On Mon, 25 Mar 2002, Jan Wieck wrote:

> Jose Luis LG wrote:
> > Hi,
> >
> > Could anybody tell me if it is posible to check if a if a table is being
> > locked from pl/pgsql functions.
>
> Yes, it is not.
>
> That you ask for such a functionality leads to the question,
> why can a lock exist long enough that you want to check at
> all?
>
>
> Jan
>
> --
>
> #======================================================================#
> # It's easier to get forgiveness for being wrong than for being right. #
> # Let's break this rule - forgive me. #
> #================================================== JanWieck(at)Yahoo(dot)com #
>
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
>

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Jan Wieck 2002-03-27 15:36:39 Re: Checking if a table locked from pl/pgsql
Previous Message Nicolas Bazin 2002-03-27 06:34:34 Re: pgc.l modif. has been overwritten again