projects
/
pg_filedump.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31666e5
)
Fix compilation on PG13
author
Christoph Berg
<christoph.berg@credativ.de>
Tue, 27 Oct 2020 14:11:16 +0000
(15:11 +0100)
committer
Christoph Berg
<christoph.berg@credativ.de>
Tue, 27 Oct 2020 14:27:11 +0000
(15:27 +0100)
decode.c
patch
|
blob
|
blame
|
history
diff --git
a/decode.c
b/decode.c
index 9415baa3d175be35f291a2d7dd4a9cad0a5b2c62..86169355a862ef02bf9d82114f29cf8438b5ac65 100644
(file)
--- a/
decode.c
+++ b/
decode.c
@@
-4,7
+4,12
@@
#include <lib/stringinfo.h>
#include <access/htup_details.h>
#include <access/tupmacs.h>
+#if PG_VERSION_NUM >= 130000
+#include <access/detoast.h>
+#include <access/heaptoast.h>
+#else
#include <access/tuptoaster.h>
+#endif
#include <datatype/timestamp.h>
#include <common/pg_lzcompress.h>
#include <string.h>