public inbox for [email protected]
help / color / mirror / Atom feedFrom: PG Doc comments form <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: 'CREATE OR REPLACE FUNCTION' behavior whenever a transaction is running
Date: Wed, 20 Apr 2022 18:02:49 +0000
Message-ID: <[email protected]> (raw)
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/14/sql-createfunction.html
Description:
The page does not mention what is the default behavior whenever a function
is replaced while the same function is being used in another
query/transaction.
Does the query fail? Does the 'CREATE OR REPLACE' operation fail? Does the
query finish before the function is replaced?
As a side note, my interest in this came from our need to use 'C-Language
Functions', aka binary functions, so it would be neat to also add what is
the behavior on those as well, if there's any difference.
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: 'CREATE OR REPLACE FUNCTION' behavior whenever a transaction is running
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