public inbox for [email protected]  
help / color / mirror / Atom feed
From: Igor Korot <[email protected]>
To: pgsql-generallists.postgresql.org <[email protected]>
Subject: Fwd: Lock in postgreSQL
Date: Tue, 14 Jan 2025 12:42:41 -0600
Message-ID: <CA+FnnTy9PNY07qa9DJ5yb+gb17MMHpYXVrZLbWcRrPf5Yk7E5w@mail.gmail.com> (raw)
In-Reply-To: <CA+FnnTwP6x6O-DO2RMop5UK5C23OuzEVHFxia3RnV7cXR=84qg@mail.gmail.com>
References: <CA+FnnTwP6x6O-DO2RMop5UK5C23OuzEVHFxia3RnV7cXR=84qg@mail.gmail.com>

Hi, ALL,

This concern both libpq and DBC API.

Hopefully I can get answers on both.

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.






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]
  Subject: Re: Fwd: Lock in postgreSQL
  In-Reply-To: <CA+FnnTy9PNY07qa9DJ5yb+gb17MMHpYXVrZLbWcRrPf5Yk7E5w@mail.gmail.com>

* 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