1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-30 21:42:05 +03:00

Rename fields of DestReceiver to avoid collisions with (ill-considered)

macros in some platforms' sys/socket.h.
This commit is contained in:
Tom Lane
2003-08-06 17:46:46 +00:00
parent d5f7d2c682
commit 338aa57be0
8 changed files with 34 additions and 34 deletions

View File

@ -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;
}