Fix a couple of missed None -> DestNone in comments.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 3 Nov 2005 21:35:57 +0000 (21:35 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 3 Nov 2005 21:35:57 +0000 (21:35 +0000)
src/backend/tcop/pquery.c

index 0c61da5e4c664d7abf7273e5f7f4a64b8b18c143..c46b03d635bb9f7957c80360b126a4a0ee65c9c6 100644 (file)
@@ -376,7 +376,7 @@ PortalStart(Portal portal, ParamListInfo params, Snapshot snapshot)
 
                                /*
                                 * Create QueryDesc in portal's context; for the moment, set
-                                * the destination to None.
+                                * the destination to DestNone.
                                 */
                                queryDesc = CreateQueryDesc((Query *) linitial(portal->parseTrees),
                                                                                (Plan *) linitial(portal->planTrees),
@@ -757,8 +757,8 @@ PortalRunSelect(Portal portal,
 
        /*
         * Force the queryDesc destination to the right thing.  This supports
-        * MOVE, for example, which will pass in dest = None.  This is okay to
-        * change as long as we do it on every fetch.  (The Executor must not
+        * MOVE, for example, which will pass in dest = DestNone.  This is okay
+        * to change as long as we do it on every fetch.  (The Executor must not
         * assume that dest never changes.)
         */
        if (queryDesc)