diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-08-06 17:46:46 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-08-06 17:46:46 +0000 |
commit | 338aa57be021faa141777fc33f28a10925e794dc (patch) | |
tree | 35fd4ada74c82e9cec37fd0f40f584a552720e26 /src/backend/tcop/pquery.c | |
parent | d5f7d2c6825722b3717c062a2c0597d17c6747bc (diff) | |
download | postgresql-338aa57be021faa141777fc33f28a10925e794dc.tar.gz postgresql-338aa57be021faa141777fc33f28a10925e794dc.zip |
Rename fields of DestReceiver to avoid collisions with (ill-considered)
macros in some platforms' sys/socket.h.
Diffstat (limited to 'src/backend/tcop/pquery.c')
-rw-r--r-- | src/backend/tcop/pquery.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/tcop/pquery.c b/src/backend/tcop/pquery.c index de793297e2c..f204d2214dc 100644 --- a/src/backend/tcop/pquery.c +++ b/src/backend/tcop/pquery.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/tcop/pquery.c,v 1.70 2003/08/04 02:40:04 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/tcop/pquery.c,v 1.71 2003/08/06 17:46:46 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -457,7 +457,7 @@ PortalRun(Portal portal, long count, treceiver = CreateDestReceiver(Tuplestore, portal); PortalRunUtility(portal, lfirst(portal->parseTrees), treceiver, NULL); - (*treceiver->destroy) (treceiver); + (*treceiver->rDestroy) (treceiver); portal->portalUtilReady = true; } @@ -666,7 +666,7 @@ RunFromStore(Portal portal, ScanDirection direction, long count, { long current_tuple_count = 0; - (*dest->startup) (dest, CMD_SELECT, portal->tupDesc); + (*dest->rStartup) (dest, CMD_SELECT, portal->tupDesc); if (direction == NoMovementScanDirection) { @@ -708,7 +708,7 @@ RunFromStore(Portal portal, ScanDirection direction, long count, } } - (*dest->shutdown) (dest); + (*dest->rShutdown) (dest); return (uint32) current_tuple_count; } |