Skip to content

Commit eab5f7d

Browse files
committed
[PGPRO-9977] Fix after vanilla commit 5f2e179bd31e
Tags: pg_pathman
1 parent 07f0a98 commit eab5f7d

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

src/include/compat/pg_compat.h

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,10 @@
119119
/*
120120
* CheckValidResultRel()
121121
*/
122-
#if PG_VERSION_NUM >= 100000
122+
#if PG_VERSION_NUM >= 170000
123+
#define CheckValidResultRelCompat(rri, cmd) \
124+
CheckValidResultRel((rri), (cmd), NIL)
125+
#elif PG_VERSION_NUM >= 100000
123126
#define CheckValidResultRelCompat(rri, cmd) \
124127
CheckValidResultRel((rri), (cmd))
125128
#elif PG_VERSION_NUM >= 90500
@@ -237,18 +240,6 @@
237240
#endif
238241

239242

240-
/*
241-
* CheckValidResultRel()
242-
*/
243-
#if PG_VERSION_NUM >= 100000
244-
#define CheckValidResultRelCompat(rri, cmd) \
245-
CheckValidResultRel((rri), (cmd))
246-
#elif PG_VERSION_NUM >= 90500
247-
#define CheckValidResultRelCompat(rri, cmd) \
248-
CheckValidResultRel((rri)->ri_RelationDesc, (cmd))
249-
#endif
250-
251-
252243
/*
253244
* create_append_path()
254245
*/

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy