aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/common/printtup.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2005-11-03 17:11:40 +0000
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2005-11-03 17:11:40 +0000
commit902377c465031947d747bb2e3912b22a92329b7f (patch)
tree6586e15af12609b6135275d06d2339adc669a94e /src/backend/access/common/printtup.c
parent76c9ac8ebbba391c3062bf10cc6d8b187746b6eb (diff)
downloadpostgresql-902377c465031947d747bb2e3912b22a92329b7f.tar.gz
postgresql-902377c465031947d747bb2e3912b22a92329b7f.zip
Rename the members of CommandDest enum so they don't collide with other uses of
those names. (Debug and None were pretty bad names anyway.) I hope I catched all uses of the names in comments too.
Diffstat (limited to 'src/backend/access/common/printtup.c')
-rw-r--r--src/backend/access/common/printtup.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/backend/access/common/printtup.c b/src/backend/access/common/printtup.c
index 96dfafb7cbf..c41cc119a46 100644
--- a/src/backend/access/common/printtup.c
+++ b/src/backend/access/common/printtup.c
@@ -9,7 +9,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/access/common/printtup.c,v 1.92 2005/10/15 02:49:08 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/access/common/printtup.c,v 1.93 2005/11/03 17:11:30 alvherre Exp $
*
*-------------------------------------------------------------------------
*/
@@ -94,8 +94,11 @@ printtup_create_DR(CommandDest dest, Portal portal)
self->portal = portal;
- /* Send T message automatically if Remote, but not if RemoteExecute */
- self->sendDescrip = (dest == Remote);
+ /*
+ * Send T message automatically if DestRemote, but not if
+ * DestRemoteExecute
+ */
+ self->sendDescrip = (dest == DestRemote);
self->attrinfo = NULL;
self->nattrs = 0;