projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c9d41a
)
Fix compile of src/tutorial/funcs.c
author
Álvaro Herrera
<
[email protected]
>
Tue, 7 Oct 2025 08:45:57 +0000
(10:45 +0200)
committer
Álvaro Herrera
<
[email protected]
>
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 <
[email protected]
>
Discussion: https://postgr.es/m/
5e2c2d7c44434f3f0af7523864b27fe4fb590902
[email protected]
src/tutorial/funcs.c
patch
|
blob
|
blame
|
history
diff --git
a/src/tutorial/funcs.c
b/src/tutorial/funcs.c
index 4a61177567c2b80d1b4cc0cea2a4cf1791a59c45..3cc945341876509e0ab46f335f06c4def54d1c0d 100644
(file)
--- a/
src/tutorial/funcs.c
+++ b/
src/tutorial/funcs.c
@@
-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;