Re: What DBMS_LOCK?

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: Saret Sout <saretsout(at)gmail(dot)com>
Cc: pgsql novice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: What DBMS_LOCK?
Date: 2014-02-28 08:18:33
Message-ID: CA+U5nMLfTb3uvqk8cqYMD-D-4ft3SbmB0dRxK_QYDejSNTCZwQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On 27 February 2014 13:13, Saret Sout <saretsout(at)gmail(dot)com> wrote:
> Dear Community!
>
> Do you know about DBMS_LOCK on oracle? What is the main purpose of it?
> How about postgresql ?Does postgresql has DBMS_LOCK? If it doesn't have how
> can we implement like DBMS_LOCK in oracle? Please help me to explain this
> issue. Thank

You probably want to look at Advisory Locks
http://www.postgresql.org/docs/devel/static/functions-admin.html#FUNCTIONS-ADVISORY-LOCKS

--
Simon Riggs http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Simon Riggs 2014-02-28 08:20:59 Re: Override PostgreSQL internal functions
Previous Message Thomas Kellerer 2014-02-28 07:34:17 Re: What DBMS_LOCK?