]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Don't include access/htup_details.h in executor/tuptable.h
authorÁlvaro Herrera <alvherre@kurilemu.de>
Sun, 5 Oct 2025 16:00:38 +0000 (18:00 +0200)
committerÁlvaro Herrera <alvherre@kurilemu.de>
Sun, 5 Oct 2025 16:00:38 +0000 (18:00 +0200)
This is not at all needed; I suspect it was a simple mistake in commit
5408e233f066.  It causes htup_details.h to bleed into a huge number of
places via execnodes.h.  Remove it and fix fallout.

Discussion: https://postgr.es/m/202510021240.ptc2zl5cvwen@alvherre.pgsql

33 files changed:
contrib/pageinspect/btreefuncs.c
contrib/pageinspect/gistfuncs.c
contrib/pg_stat_statements/pg_stat_statements.c
contrib/pg_walinspect/pg_walinspect.c
contrib/postgres_fdw/connection.c
contrib/xml2/xslt_proc.c
src/backend/access/common/printsimple.c
src/backend/access/common/printtup.c
src/backend/access/common/tupconvert.c
src/backend/backup/walsummaryfuncs.c
src/backend/catalog/pg_attrdef.c
src/backend/catalog/pg_largeobject.c
src/backend/catalog/pg_parameter_acl.c
src/backend/commands/explain_dr.c
src/backend/commands/proclang.c
src/backend/commands/statscmds.c
src/backend/executor/nodeGatherMerge.c
src/backend/executor/nodeMemoize.c
src/backend/executor/tstoreReceiver.c
src/backend/optimizer/path/indxpath.c
src/backend/optimizer/util/pathnode.c
src/backend/parser/parse_coerce.c
src/backend/parser/parse_expr.c
src/backend/utils/adt/arrayfuncs.c
src/backend/utils/adt/hbafuncs.c
src/backend/utils/adt/json.c
src/backend/utils/adt/misc.c
src/backend/utils/adt/rangetypes.c
src/backend/utils/adt/xid8funcs.c
src/backend/utils/fmgr/fmgr.c
src/backend/utils/misc/guc.c
src/include/executor/tuptable.h
src/test/modules/injection_points/injection_stats_fixed.c

index 4e2e8891cddfdfc1e81d5fc4a2069c8a39b2c846..2e67c9adf5aa7893e1888bf98455ad5f53f5a171 100644 (file)
@@ -27,6 +27,7 @@
 
 #include "postgres.h"
 
+#include "access/htup_details.h"
 #include "access/nbtree.h"
 #include "access/relation.h"
 #include "catalog/namespace.h"
index 1b299374890b0f1eeadae91b951c6d0e1ca75c4b..de3746a156b68a156cded3bcac1fd388d7ef7741 100644 (file)
@@ -11,6 +11,7 @@
 
 #include "access/gist.h"
 #include "access/htup.h"
+#include "access/htup_details.h"
 #include "access/relation.h"
 #include "catalog/pg_am_d.h"
 #include "funcapi.h"
index 0bb0f9333998b643bc5be147e4e6eeb5c08b5e7a..db1af36a705820a29327fa89ae0931ffd2341bf1 100644 (file)
@@ -47,6 +47,7 @@
 #include <sys/stat.h>
 #include <unistd.h>
 
+#include "access/htup_details.h"
 #include "access/parallel.h"
 #include "catalog/pg_authid.h"
 #include "common/int.h"
index 0398ad82cec90634bbde56e444fcb46d5f48057e..501cea8fc1a20a6ebf16710d115ee1dffdb4a176 100644 (file)
@@ -12,6 +12,7 @@
  */
 #include "postgres.h"
 
+#include "access/htup_details.h"
 #include "access/xlog.h"
 #include "access/xlog_internal.h"
 #include "access/xlogreader.h"
index 4fbb6c182b82c4f0d3dbee6ad1cef64208e12053..953c2e0ab828556c24b6979b260bae132b3d93ed 100644 (file)
@@ -16,6 +16,7 @@
 #include <poll.h>
 #endif
 
+#include "access/htup_details.h"
 #include "access/xact.h"
 #include "catalog/pg_user_mapping.h"
 #include "commands/defrem.h"
index 53550c7dc24069042029fb390cf5690b9b0f6357..36578b82e4d2010ca6a4c88879932e0b63ee5240 100644 (file)
@@ -10,6 +10,7 @@
 #include "fmgr.h"
 #include "utils/builtins.h"
 #include "utils/xml.h"
+#include "varatt.h"
 
 #ifdef USE_LIBXSLT
 
index a09c8fcd3323eabdb2443f37492de0a01853a44c..756f1c4822d720ae158f5f2e14d9415fb21b17b1 100644 (file)
@@ -23,6 +23,7 @@
 #include "libpq/pqformat.h"
 #include "libpq/protocol.h"
 #include "utils/builtins.h"
+#include "varatt.h"
 
 /*
  * At startup time, send a RowDescription message.
index 6d3045e2332113014713f4f4dcb0493fb20fe243..9f05e1d15bd12f2e03e45ac83b68813266c88f24 100644 (file)
@@ -22,6 +22,7 @@
 #include "utils/lsyscache.h"
 #include "utils/memdebug.h"
 #include "utils/memutils.h"
+#include "varatt.h"
 
 
 static void printtup_startup(DestReceiver *self, int operation,
index 54dc2f4ab80abd9d69f07f5f719e368947fdff06..1df0c2d2f98fafab8cb341b855c5ebeefafc25bd 100644 (file)
@@ -18,6 +18,7 @@
  */
 #include "postgres.h"
 
+#include "access/htup_details.h"
 #include "access/tupconvert.h"
 #include "executor/tuptable.h"
 
index d6dd131da145b59d497b3c477ca1e86f14e21fe6..29e2cb83ff449eb6766c8804e98f4835b605a43d 100644 (file)
@@ -12,6 +12,7 @@
 
 #include "postgres.h"
 
+#include "access/htup_details.h"
 #include "backup/walsummary.h"
 #include "common/blkreftable.h"
 #include "funcapi.h"
index 1b6270b12132421cad4e8b7cf4e04db72d41cba4..29f5691bee9e0240d65a6d27c95b388af1e86612 100644 (file)
@@ -14,6 +14,7 @@
  */
 #include "postgres.h"
 
+#include "access/htup_details.h"
 #include "access/relation.h"
 #include "access/table.h"
 #include "catalog/dependency.h"
index 89fc810215099812127288e735a03fb67b628ce4..33e8fa96a65a84bcd0d803d95b50c31864e7eee3 100644 (file)
@@ -14,6 +14,7 @@
  */
 #include "postgres.h"
 
+#include "access/htup_details.h"
 #include "access/table.h"
 #include "catalog/catalog.h"
 #include "catalog/indexing.h"
index 62a05783eb3334a41d821b27e55e62f8e1f05919..dcdf49ea408d6b46ef6877aca97dd975cec17118 100644 (file)
@@ -14,6 +14,7 @@
  */
 #include "postgres.h"
 
+#include "access/htup_details.h"
 #include "access/table.h"
 #include "catalog/catalog.h"
 #include "catalog/indexing.h"
index d6084077be71f541496c759f7b5fd34fa45e7c91..95685d7e88dd96eec5b27a2e6dd77f41f4bfba7c 100644 (file)
@@ -19,6 +19,7 @@
 #include "libpq/pqformat.h"
 #include "libpq/protocol.h"
 #include "utils/lsyscache.h"
+#include "varatt.h"
 
 /*
  * DestReceiver functions for SERIALIZE option
index 5036ac03639d6bc5a6e52921cc38143191dc462d..d75e2fa74b2973e7696d94201746743bb92a2298 100644 (file)
@@ -13,6 +13,7 @@
  */
 #include "postgres.h"
 
+#include "access/htup_details.h"
 #include "access/table.h"
 #include "catalog/catalog.h"
 #include "catalog/dependency.h"
index e24d540cd45baa5c45d03df83e5480f90b31163e..27bf67e7c4b12b2138117b2057cbac470e42824b 100644 (file)
@@ -14,6 +14,7 @@
  */
 #include "postgres.h"
 
+#include "access/htup_details.h"
 #include "access/relation.h"
 #include "access/table.h"
 #include "catalog/catalog.h"
index 15f8459706773c8b98396ee5cf10410b218c3cf7..93f3dbc6cf486b3de8dcb0ef7387773febfbdedf 100644 (file)
@@ -14,6 +14,7 @@
 
 #include "postgres.h"
 
+#include "access/htup_details.h"
 #include "executor/executor.h"
 #include "executor/execParallel.h"
 #include "executor/nodeGatherMerge.h"
index 609deb12afb2aa9132627fc035a41178504dbd76..d652663cb6a99b53b35ca6a4f4693795235e7342 100644 (file)
@@ -66,6 +66,7 @@
 
 #include "postgres.h"
 
+#include "access/htup_details.h"
 #include "common/hashfn.h"
 #include "executor/executor.h"
 #include "executor/nodeMemoize.h"
index 562de67645771581ed62a7c5f7cd8ead9abeb47c..02a3ad3aa680789866d770cc99d71d38bd93ef3c 100644 (file)
@@ -25,6 +25,7 @@
 #include "access/detoast.h"
 #include "access/tupconvert.h"
 #include "executor/tstoreReceiver.h"
+#include "varatt.h"
 
 
 typedef struct
index 3a3f55a236db3e4fd85d599b09325305a8152f57..edc6d2ac1d3f4ba4b596aec3b49c01db8fa19acc 100644 (file)
@@ -19,6 +19,7 @@
 
 #include "access/stratnum.h"
 #include "access/sysattr.h"
+#include "access/transam.h"
 #include "catalog/pg_am.h"
 #include "catalog/pg_amop.h"
 #include "catalog/pg_operator.h"
index b0da28150d32cf4ea7c3ae99670b2e4b1359c41d..bca51b4067b956efa780d488ef09b4022dc879cd 100644 (file)
@@ -16,6 +16,7 @@
 
 #include <math.h>
 
+#include "access/htup_details.h"
 #include "foreign/fdwapi.h"
 #include "miscadmin.h"
 #include "nodes/extensible.h"
index 0b5b81c7f27ee66743dd32859cf2b453466e5537..78b1e366ad707474a076f3f7e79e8b8d10643a0c 100644 (file)
@@ -14,6 +14,7 @@
  */
 #include "postgres.h"
 
+#include "access/htup_details.h"
 #include "catalog/pg_cast.h"
 #include "catalog/pg_class.h"
 #include "catalog/pg_inherits.h"
index e1979a80c198acc87c03aa7bc9781edc8b258df3..9d95c7140ee0ee93ad40ceb92ab9cdca59bad785 100644 (file)
@@ -15,6 +15,7 @@
 
 #include "postgres.h"
 
+#include "access/htup_details.h"
 #include "catalog/pg_aggregate.h"
 #include "catalog/pg_type.h"
 #include "miscadmin.h"
index e5f3e2da35cf959c3f3725d4d1a1776a6ac21441..a8951f55b9392f5334e9904d0fe8c157e24b4f67 100644 (file)
@@ -17,6 +17,7 @@
 #include <ctype.h>
 #include <math.h>
 
+#include "access/transam.h"
 #include "catalog/pg_type.h"
 #include "common/int.h"
 #include "funcapi.h"
index b62c3d944cf1a92a2c528e9852e5710211dca226..1614d6d230298b7702814f813c0d02f2b22e49fb 100644 (file)
@@ -14,6 +14,7 @@
  */
 #include "postgres.h"
 
+#include "access/htup_details.h"
 #include "catalog/objectaddress.h"
 #include "common/ip.h"
 #include "funcapi.h"
index e9d370cb3da8e976d10592173bd0b36defd8cfea..14f5cb498fc973286d109184e89ef930d457e106 100644 (file)
@@ -13,6 +13,7 @@
  */
 #include "postgres.h"
 
+#include "access/htup_details.h"
 #include "catalog/pg_proc.h"
 #include "catalog/pg_type.h"
 #include "common/hashfn.h"
index 2c5a7ee9ddc03d17cf05b7585c023e0f0bc217b5..7cb7716e58b49deddf267addb63e72252a2375ab 100644 (file)
@@ -21,6 +21,7 @@
 #include <math.h>
 #include <unistd.h>
 
+#include "access/htup_details.h"
 #include "access/sysattr.h"
 #include "access/table.h"
 #include "catalog/pg_tablespace.h"
index 18e467bccd3a07313935bc90e22ce7715f9bff39..0b2ad8b097589442efa7ed03b9aa1fc0c2ecc167 100644 (file)
@@ -45,6 +45,7 @@
 #include "utils/rangetypes.h"
 #include "utils/sortsupport.h"
 #include "utils/timestamp.h"
+#include "varatt.h"
 
 
 /* fn_extra cache entry for one of the range I/O functions */
index 1da3964ca6fb88084cfa10e773df94c9e64d8cf7..a211a10776749f2b27aeef42fb06acf8f63e20c1 100644 (file)
@@ -39,6 +39,7 @@
 #include "utils/memutils.h"
 #include "utils/snapmgr.h"
 #include "utils/xid8.h"
+#include "varatt.h"
 
 
 /*
index b4c1e2c4b21b238a708181f48d8271b24c3086c4..0fe63c6bb830cc62989d0c4d8b688645c8842768 100644 (file)
@@ -16,6 +16,7 @@
 #include "postgres.h"
 
 #include "access/detoast.h"
+#include "access/htup_details.h"
 #include "catalog/pg_language.h"
 #include "catalog/pg_proc.h"
 #include "catalog/pg_type.h"
index 46fdefebe353e561152413f414a333e2a75a2d25..107b5a273a2ede87e69326d3f55a1f5f56b6be34 100644 (file)
@@ -34,6 +34,7 @@
 #include "catalog/objectaccess.h"
 #include "catalog/pg_authid.h"
 #include "catalog/pg_parameter_acl.h"
+#include "catalog/pg_type.h"
 #include "guc_internal.h"
 #include "libpq/pqformat.h"
 #include "libpq/protocol.h"
index 095e4cc82e3d8ff719f2bb903559c737f9b5185d..43f1d999b9107e74115d5f794cb458d87bfd2b8f 100644 (file)
@@ -15,7 +15,6 @@
 #define TUPTABLE_H
 
 #include "access/htup.h"
-#include "access/htup_details.h"
 #include "access/sysattr.h"
 #include "access/tupdesc.h"
 #include "storage/buf.h"
index 74c35fcbfa711b546341102049fbbec1937957a8..b493e8f77a34171492f9ae36a0ccd459043e12fd 100644 (file)
@@ -16,6 +16,7 @@
 
 #include "fmgr.h"
 
+#include "access/htup_details.h"
 #include "common/hashfn.h"
 #include "funcapi.h"
 #include "injection_stats.h"