public inbox for [email protected]
help / color / mirror / Atom feedFrom: Adrian Klaver <[email protected]>
To: Igor Korot <[email protected]>
To: pgsql-generallists.postgresql.org <[email protected]>
Subject: Re: Fwd: Lock in postgreSQL
Date: Tue, 14 Jan 2025 10:46:19 -0800
Message-ID: <[email protected]> (raw)
In-Reply-To: <CA+FnnTy9PNY07qa9DJ5yb+gb17MMHpYXVrZLbWcRrPf5Yk7E5w@mail.gmail.com>
References: <CA+FnnTwP6x6O-DO2RMop5UK5C23OuzEVHFxia3RnV7cXR=84qg@mail.gmail.com>
<CA+FnnTy9PNY07qa9DJ5yb+gb17MMHpYXVrZLbWcRrPf5Yk7E5w@mail.gmail.com>
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 <[email protected]>
> Date: Tue, Jan 14, 2025 at 12:50 AM
> Subject: Lock in postgreSQL
> To: pgsql-generallists.postgresql.org
> <[email protected]>, PostgreSQL ODBC list
> <[email protected]>
>
>
> 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
[email protected]
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: Fwd: Lock in postgreSQL
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox