7
7
*
8
8
*
9
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/backend/executor/execQual.c,v 1.31 1998/04/27 04:05:35 momjian Exp $
10
+ * $Header: /cvsroot/pgsql/src/backend/executor/execQual.c,v 1.32 1998/05/29 17:00:06 momjian Exp $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
@@ -671,7 +671,7 @@ ExecMakeFunctionResult(Node *node,
671
671
bool * isNull ,
672
672
bool * isDone )
673
673
{
674
- Datum argv [MAXFMGRARGS ];
674
+ Datum argV [MAXFMGRARGS ];
675
675
FunctionCachePtr fcache ;
676
676
Func * funcNode = NULL ;
677
677
Oper * operNode = NULL ;
@@ -699,7 +699,7 @@ ExecMakeFunctionResult(Node *node,
699
699
* arguments is a list of expressions to evaluate
700
700
* before passing to the function manager.
701
701
* We collect the results of evaluating the expressions
702
- * into a datum array (argv ) and pass this array to arrayFmgr()
702
+ * into a datum array (argV ) and pass this array to arrayFmgr()
703
703
* ----------------
704
704
*/
705
705
if (fcache -> nargs != 0 )
@@ -718,11 +718,11 @@ ExecMakeFunctionResult(Node *node,
718
718
*/
719
719
if ((fcache -> hasSetArg ) && fcache -> setArg != NULL )
720
720
{
721
- argv [0 ] = (Datum ) fcache -> setArg ;
721
+ argV [0 ] = (Datum ) fcache -> setArg ;
722
722
argDone = false;
723
723
}
724
724
else
725
- ExecEvalFuncArgs (fcache , econtext , arguments , argv , & argDone );
725
+ ExecEvalFuncArgs (fcache , econtext , arguments , argV , & argDone );
726
726
727
727
if ((fcache -> hasSetArg ) && (argDone ))
728
728
{
@@ -745,26 +745,26 @@ ExecMakeFunctionResult(Node *node,
745
745
* which defines this set. So replace the existing funcid in the
746
746
* funcnode with the set's OID. Also, we want a new fcache which
747
747
* points to the right function, so get that, now that we have the
748
- * right OID. Also zero out the argv , since the real set doesn't take
748
+ * right OID. Also zero out the argV , since the real set doesn't take
749
749
* any arguments.
750
750
*/
751
751
if (((Func * ) node )-> funcid == F_SETEVAL )
752
752
{
753
753
funcisset = true;
754
754
if (fcache -> setArg )
755
755
{
756
- argv [0 ] = 0 ;
756
+ argV [0 ] = 0 ;
757
757
758
758
((Func * ) node )-> funcid = (Oid ) PointerGetDatum (fcache -> setArg );
759
759
760
760
}
761
761
else
762
762
{
763
- ((Func * ) node )-> funcid = (Oid ) argv [0 ];
764
- setFcache (node , argv [0 ], NIL , econtext );
763
+ ((Func * ) node )-> funcid = (Oid ) argV [0 ];
764
+ setFcache (node , argV [0 ], NIL , econtext );
765
765
fcache = ((Func * ) node )-> func_fcache ;
766
- fcache -> setArg = (char * ) argv [0 ];
767
- argv [0 ] = (Datum ) 0 ;
766
+ fcache -> setArg = (char * ) argV [0 ];
767
+ argV [0 ] = (Datum ) 0 ;
768
768
}
769
769
}
770
770
@@ -778,7 +778,7 @@ ExecMakeFunctionResult(Node *node,
778
778
Datum result ;
779
779
780
780
Assert (funcNode );
781
- result = postquel_function (funcNode , (char * * ) argv , isNull , isDone );
781
+ result = postquel_function (funcNode , (char * * ) argV , isNull , isDone );
782
782
783
783
/*
784
784
* finagle the situation where we are iterating through all
@@ -791,7 +791,7 @@ ExecMakeFunctionResult(Node *node,
791
791
{
792
792
bool argDone ;
793
793
794
- ExecEvalFuncArgs (fcache , econtext , arguments , argv , & argDone );
794
+ ExecEvalFuncArgs (fcache , econtext , arguments , argV , & argDone );
795
795
796
796
if (argDone )
797
797
{
@@ -801,7 +801,7 @@ ExecMakeFunctionResult(Node *node,
801
801
}
802
802
else
803
803
result = postquel_function (funcNode ,
804
- (char * * ) argv ,
804
+ (char * * ) argV ,
805
805
isNull ,
806
806
isDone );
807
807
}
@@ -837,7 +837,7 @@ ExecMakeFunctionResult(Node *node,
837
837
if (fcache -> nullVect [i ] == true)
838
838
* isNull = true;
839
839
840
- return ((Datum ) fmgr_c (& fcache -> func , (FmgrValues * ) argv , isNull ));
840
+ return ((Datum ) fmgr_c (& fcache -> func , (FmgrValues * ) argV , isNull ));
841
841
}
842
842
}
843
843
0 commit comments