We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07f0a98 commit eab5f7dCopy full SHA for eab5f7d
src/include/compat/pg_compat.h
@@ -119,7 +119,10 @@
119
/*
120
* CheckValidResultRel()
121
*/
122
-#if PG_VERSION_NUM >= 100000
+#if PG_VERSION_NUM >= 170000
123
+#define CheckValidResultRelCompat(rri, cmd) \
124
+ CheckValidResultRel((rri), (cmd), NIL)
125
+#elif PG_VERSION_NUM >= 100000
126
#define CheckValidResultRelCompat(rri, cmd) \
127
CheckValidResultRel((rri), (cmd))
128
#elif PG_VERSION_NUM >= 90500
@@ -237,18 +240,6 @@
237
240
#endif
238
241
239
242
-/*
- * CheckValidResultRel()
- */
243
244
-#define CheckValidResultRelCompat(rri, cmd) \
245
- CheckValidResultRel((rri), (cmd))
246
-#elif PG_VERSION_NUM >= 90500
247
248
- CheckValidResultRel((rri)->ri_RelationDesc, (cmd))
249
-#endif
250
-
251
252
253
* create_append_path()
254
0 commit comments