summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorPeter Eisentraut2017-12-16 22:43:41 +0000
committerPeter Eisentraut2018-01-09 18:47:56 +0000
commita77dd53f3089a3d6bf74966bfd3ab7e27537183b (patch)
tree8d841865fad219438a8712d9552f4cdf09459c4c /src/include
parent0f7c49e85518dd846ccd0a044d49a922b9132983 (diff)
Remove PortalGetQueryDesc()
After having gotten rid of PortalGetHeapMemory(), there seems little reason to keep one Portal access macro around that offers no actual abstraction and isn't consistently used anyway. Reviewed-by: Andrew Dunstan <andrew.dunstan@2ndquadrant.com> Reviewed-by: Alvaro Herrera <alvherre@alvh.no-ip.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/utils/portal.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/include/utils/portal.h b/src/include/utils/portal.h
index 8cedc0ea602..bc9d52e506e 100644
--- a/src/include/utils/portal.h
+++ b/src/include/utils/portal.h
@@ -198,11 +198,6 @@ typedef struct PortalData
*/
#define PortalIsValid(p) PointerIsValid(p)
-/*
- * Access macros for Portal ... use these in preference to field access.
- */
-#define PortalGetQueryDesc(portal) ((portal)->queryDesc)
-
/* Prototypes for functions in utils/mmgr/portalmem.c */
extern void EnablePortalManager(void);