aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorDavid Rowley <drowley@postgresql.org>2024-08-12 15:42:16 +1200
committerDavid Rowley <drowley@postgresql.org>2024-08-12 15:42:16 +1200
commitf0d11275954719fd5d0281d4135e5c78de46e099 (patch)
tree6c8b6ad56624f1959a36d77e8bb4163bbe55e363 /doc/src
parent3f44959f47460fb350d25d760cf2384f9aa14e9a (diff)
downloadpostgresql-f0d11275954719fd5d0281d4135e5c78de46e099.tar.gz
postgresql-f0d11275954719fd5d0281d4135e5c78de46e099.zip
Remove "parent" column from pg_backend_memory_contexts
32d3ed816 added the "path" column to pg_backend_memory_contexts to allow a stable method of obtaining the parent MemoryContext of a given row in the view. Using the "path" column is now the preferred method of obtaining the parent row. Previously, any queries which were self-joining to this view using the "name" and "parent" columns could get incorrect results due to the fact that names are not unique. Here we aim to explicitly break such queries so that they can be corrected and use the "path" column instead. It is possible that there are more innocent users of the parent column that just need an indication of the parent and having to write out a self-joining CTE may be an unnecessary hassle for those cases. Let's remove the column for now and see if anyone comes back with any complaints. This does seem like a good time to attempt to get rid of the column as we still have around 1 year to revert this if someone comes back with a valid complaint. Plus this view is new to v14 and is quite niche, so perhaps not many people will be affected. Author: Melih Mutlu <m.melihmutlu@gmail.com> Discussion: https://postgr.es/m/CAGPVpCT7NOe4fZXRL8XaoxHpSXYTu6GTpULT_3E-HT9hzjoFRA@mail.gmail.com
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/system-views.sgml9
1 files changed, 0 insertions, 9 deletions
diff --git a/doc/src/sgml/system-views.sgml b/doc/src/sgml/system-views.sgml
index a0b692bf1e9..634a4c0fab4 100644
--- a/doc/src/sgml/system-views.sgml
+++ b/doc/src/sgml/system-views.sgml
@@ -483,15 +483,6 @@
<row>
<entry role="catalog_table_entry"><para role="column_definition">
- <structfield>parent</structfield> <type>text</type>
- </para>
- <para>
- Name of the parent of this memory context
- </para></entry>
- </row>
-
- <row>
- <entry role="catalog_table_entry"><para role="column_definition">
<structfield>type</structfield> <type>text</type>
</para>
<para>