Re: Fwd: Lock in postgreSQL

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Igor Korot <ikorot01(at)gmail(dot)com>, "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Fwd: Lock in postgreSQL
Date: 2025-01-14 18:46:19
Message-ID: cee64d43-3763-4e8b-9ca5-559e5c274879@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 1/14/25 10:42 AM, Igor Korot wrote:
> Hi, ALL,
>
> This concern both libpq and DBC API.
>
> Hopefully I can get answers on both.

Read:

https://www.postgresql.org/docs/current/explicit-locking.html#ADVISORY-LOCKS

>
> Than yu.
>
>
> ---------- Forwarded message ---------
> From: Igor Korot <ikorot01(at)gmail(dot)com>
> Date: Tue, Jan 14, 2025 at 12:50 AM
> Subject: Lock in postgreSQL
> To: pgsql-generallists.postgresql.org
> <pgsql-general(at)lists(dot)postgresql(dot)org>, PostgreSQL ODBC list
> <pgsql-odbc(at)postgresql(dot)org>
>
>
> Hi, ALL,
> https://www.postgresql.org/docs/current/functions-admin.html#FUNCTIONS-ADVISORY-LOCKS
>
> There is an explanation about a promissory
> lock functions().
>
> I have 2 questions about that:
> 1. Is calling one of them a way to get the lock()?
> 2. If I work on ODBC-based connection - I should call SQLExectDirect()
> with the function in question, correct?
>
> Thank you.
>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Enrico Schenone 2025-01-15 07:46:36 Re: Intermittent errors when fetching cursor rows on PostgreSQL 16
Previous Message Igor Korot 2025-01-14 18:42:41 Fwd: Lock in postgreSQL