postgresql/src/backend/commands
Tom Lane 72a5b1fc88 Add @extschema:name@ and no_relocate options to extensions.
@extschema:name@ extends the existing @extschema@ feature so that
we can also insert the schema name of some required extension,
thus making cross-extension references robust even if they are in
different schemas.

However, this has the same hazard as @extschema@: if the schema
name is embedded literally in an installed object, rather than being
looked up once during extension script execution, then it's no longer
safe to relocate the other extension to another schema.  To deal with
that without restricting things unnecessarily, add a "no_relocate"
option to extension control files.  This allows an extension to
specify that it cannot handle relocation of some of its required
extensions, even if in themselves those extensions are relocatable.
We detect "no_relocate" requests of dependent extensions during
ALTER EXTENSION SET SCHEMA.

Regina Obe, reviewed by Sandro Santilli and myself

Discussion: https://postgr.es/m/003001d8f4ae$402282c0$c0678840$@pcorp.us
2023-03-20 18:37:11 -04:00
..
Makefile Move parallel vacuum code to vacuumparallel.c. 2021-12-23 11:42:52 +05:30
aggregatecmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
alter.c Wake up a subscription's replication worker processes after DDL. 2023-01-06 17:27:58 -05:00
amcmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
analyze.c Remove useless casts to (void *) in arguments of some system functions 2023-02-07 06:57:59 +01:00
async.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
cluster.c Fix MAINTAIN privileges for toast tables and partitions. 2023-01-14 00:16:23 -08:00
collationcmds.c Disallow specifying ICU rules unless locale provider is ICU 2023-03-09 08:09:40 +01:00
comment.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
constraint.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
conversioncmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
copy.c Improve several permission-related error messages. 2023-03-17 10:33:09 +01:00
copyfrom.c Ignore BRIN indexes when checking for HOT updates 2023-03-20 11:02:42 +01:00
copyfromparse.c Don't try to read default for a non-existent attribute 2023-03-15 17:20:42 -04:00
copyto.c Ensure COPY TO on an RLS-enabled table copies no more than it should. 2023-03-10 13:52:44 -05:00
createas.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
dbcommands.c Disallow specifying ICU rules unless locale provider is ICU 2023-03-09 08:09:40 +01:00
define.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
discard.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
dropcmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
event_trigger.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
explain.c Rename force_parallel_mode to debug_parallel_query 2023-02-15 21:21:59 +13:00
extension.c Add @extschema:name@ and no_relocate options to extensions. 2023-03-20 18:37:11 -04:00
foreigncmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
functioncmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
indexcmds.c Ignore BRIN indexes when checking for HOT updates 2023-03-20 11:02:42 +01:00
lockcmds.c Get rid of the "new" and "old" entries in a view's rangetable. 2023-01-18 13:23:57 -05:00
matview.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
meson.build Update copyright for 2023 2023-01-02 15:00:37 -05:00
opclasscmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
operatorcmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
policy.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
portalcmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
prepare.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
proclang.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
publicationcmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
schemacmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
seclabel.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
sequence.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
statscmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
subscriptioncmds.c Track logrep apply workers' last start times to avoid useless waits. 2023-01-22 14:08:46 -05:00
tablecmds.c Clean up comments 2023-03-08 15:56:32 +01:00
tablespace.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
trigger.c Fix concurrent update issues with MERGE. 2023-03-13 10:22:22 +00:00
tsearchcmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
typecmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
user.c Fix typo 2023-03-17 21:40:25 +01:00
vacuum.c Fix fractional vacuum_cost_delay. 2023-03-15 13:58:18 +13:00
vacuumparallel.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
variable.c Fix outdated references to guc.c 2023-03-02 13:49:39 +01:00
view.c Get rid of the "new" and "old" entries in a view's rangetable. 2023-01-18 13:23:57 -05:00