diff options
author | Michael Paquier <michael@paquier.xyz> | 2023-03-07 14:18:20 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2023-03-07 14:18:20 +0900 |
commit | e20b1ea1575cb523821d51e9934d8d6dab835335 (patch) | |
tree | 28e33930d10005edbbcf1a67603e8f4364812228 /src/backend/utils/adt/dbsize.c | |
parent | cf96907aadca454c4094819c2ecddee07eafe203 (diff) | |
download | postgresql-e20b1ea1575cb523821d51e9934d8d6dab835335.tar.gz postgresql-e20b1ea1575cb523821d51e9934d8d6dab835335.zip |
Make get_extension_schema() available
This routine is able to retrieve the OID of the schema used with an
extension (pg_extension.extnamespace), or InvalidOid if this information
is not available. plpgsql_check embeds a copy of this code when
performing checks on functions, as one out-of-core example.
Author: Pavel Stehule
Reviewed-by: Julien Rouhaud
Discussion: https://postgr.es/m/CAFj8pRD+9x55hjDoi285jCcjPc8uuY_D+FLn5RpXggdz+4O2sQ@mail.gmail.com
Diffstat (limited to 'src/backend/utils/adt/dbsize.c')
0 files changed, 0 insertions, 0 deletions