public inbox for [email protected]
help / color / mirror / Atom feedFrom: David G. Johnston <[email protected]>
To: Edwin UY <[email protected]>
Cc: Pgsql-admin <[email protected]>
Subject: Re: How to check if a Procedure or FUNCTION EXIST
Date: Tue, 27 May 2025 17:26:51 -0700
Message-ID: <CAKFQuwbahQY6iNv_80XNg3Za-9A3EExraRuL8HnGr8V9tbvvQQ@mail.gmail.com> (raw)
In-Reply-To: <CA+wokJ8OoVEwBSXsaFxE5MQ7hyjP5Z3OZk6WU0f3Wy7KXm7=8w@mail.gmail.com>
References: <CA+wokJ_fJphYtOFxd2nHV7P6B9YdhN3=cOcevGHXPd50iUvreQ@mail.gmail.com>
<CAKFQuwYPb9+Lei7qx4k87cLUHNcyt_BTpGGZd6gxQhSv_OCaNA@mail.gmail.com>
<CA+wokJ8OoVEwBSXsaFxE5MQ7hyjP5Z3OZk6WU0f3Wy7KXm7=8w@mail.gmail.com>
On Tuesday, May 27, 2025, Edwin UY <[email protected]> wrote:
> Hi David J
>
> Just thought I will just have to check whether the proowner is one of the
> users/roles that we've created and if it is so, then it is not a system
> function.
> By system function, I mean something like version or current_user, they
> are system functions, right? Or am I wrong again :(
>
I mean, so long as you never use/leave “postgres” (or whatever your
bootstrap role name is) as the owner of a user-defined function it can
work. Schema just seems easier though…
David J.
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: How to check if a Procedure or FUNCTION EXIST
In-Reply-To: <CAKFQuwbahQY6iNv_80XNg3Za-9A3EExraRuL8HnGr8V9tbvvQQ@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