]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Fix compile of src/tutorial/funcs.c
authorÁlvaro Herrera <alvherre@kurilemu.de>
Tue, 7 Oct 2025 08:45:57 +0000 (10:45 +0200)
committerÁlvaro Herrera <alvherre@kurilemu.de>
Tue, 7 Oct 2025 08:45:57 +0000 (10:45 +0200)
I broke this with recent #include removals.  Fix by adding an explicit

Reported-by: Devrim Gündüz <devrim@gunduz.org>
Discussion: https://postgr.es/m/5e2c2d7c44434f3f0af7523864b27fe4fb590902.camel@gunduz.org

src/tutorial/funcs.c

index 4a61177567c2b80d1b4cc0cea2a4cf1791a59c45..3cc945341876509e0ab46f335f06c4def54d1c0d 100644 (file)
@@ -13,6 +13,7 @@
 #include "executor/executor.h" /* for GetAttributeByName() */
 #include "utils/fmgrprotos.h"  /* for text_starts_with() */
 #include "utils/geo_decls.h"   /* for point type */
+#include "varatt.h"                            /* for VARDATA/VARSIZE macros */
 
 PG_MODULE_MAGIC;