Is there an equivalent to sp_getapplock, sp_releaseapplock in PostgreSql?

İlyas Derse <[email protected]>
Newsgroups gmane.comp.db.postgresql.general
Message-ID <CALcdmyT-31tJi7VLwMzjt3QMYbydh35Rf-TiZ9v7vPgyodhoUg@mail.gmail.com>
In MSSQL I am using sp_getapplock, sp_releaseapplock.

How can I achieve the same functionality in PostgreSql?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.