/dports/databases/timescaledb/timescaledb-2.5.1/src/ |
H A D | estimate.c | 24 static double group_estimate_opexpr(PlannerInfo *root, OpExpr *opexpr, double path_rows); 66 estimate_max_spread_opexpr(PlannerInfo *root, OpExpr *opexpr) in estimate_max_spread_opexpr() argument 68 char *function_name = get_opname(opexpr->opno); in estimate_max_spread_opexpr() 73 if (list_length(opexpr->args) != 2 || strlen(function_name) != 1) in estimate_max_spread_opexpr() 76 left = linitial(opexpr->args); in estimate_max_spread_opexpr() 77 right = lsecond(opexpr->args); in estimate_max_spread_opexpr() 174 group_estimate_opexpr(PlannerInfo *root, OpExpr *opexpr, double path_rows) in group_estimate_opexpr() argument 180 if (list_length(opexpr->args) != 2) in group_estimate_opexpr() 183 first = eval_const_expressions(root, linitial(opexpr->args)); in group_estimate_opexpr() 184 second = eval_const_expressions(root, lsecond(opexpr->args)); in group_estimate_opexpr() [all …]
|
/dports/databases/postgresql96-server/postgresql-9.6.24/src/backend/optimizer/util/ |
H A D | predtest.c | 871 OpExpr opexpr; member 906 state->opexpr.xpr.type = T_OpExpr; in arrayconst_startup_fn() 907 state->opexpr.opno = saop->opno; in arrayconst_startup_fn() 910 state->opexpr.opretset = false; in arrayconst_startup_fn() 938 return (Node *) &(state->opexpr); in arrayconst_next_fn() 948 list_free(state->opexpr.args); in arrayconst_cleanup_fn() 958 OpExpr opexpr; member 975 state->opexpr.opno = saop->opno; in arrayexpr_startup_fn() 978 state->opexpr.opretset = false; in arrayexpr_startup_fn() 997 return (Node *) &(state->opexpr); in arrayexpr_next_fn() [all …]
|
/dports/databases/postgresql96-plpython/postgresql-9.6.24/src/backend/optimizer/util/ |
H A D | predtest.c | 871 OpExpr opexpr; member 906 state->opexpr.xpr.type = T_OpExpr; in arrayconst_startup_fn() 907 state->opexpr.opno = saop->opno; in arrayconst_startup_fn() 910 state->opexpr.opretset = false; in arrayconst_startup_fn() 938 return (Node *) &(state->opexpr); in arrayconst_next_fn() 948 list_free(state->opexpr.args); in arrayconst_cleanup_fn() 958 OpExpr opexpr; member 975 state->opexpr.opno = saop->opno; in arrayexpr_startup_fn() 978 state->opexpr.opretset = false; in arrayexpr_startup_fn() 997 return (Node *) &(state->opexpr); in arrayexpr_next_fn() [all …]
|
/dports/databases/postgresql96-pltcl/postgresql-9.6.24/src/backend/optimizer/util/ |
H A D | predtest.c | 871 OpExpr opexpr; member 906 state->opexpr.xpr.type = T_OpExpr; in arrayconst_startup_fn() 907 state->opexpr.opno = saop->opno; in arrayconst_startup_fn() 910 state->opexpr.opretset = false; in arrayconst_startup_fn() 938 return (Node *) &(state->opexpr); in arrayconst_next_fn() 948 list_free(state->opexpr.args); in arrayconst_cleanup_fn() 958 OpExpr opexpr; member 975 state->opexpr.opno = saop->opno; in arrayexpr_startup_fn() 978 state->opexpr.opretset = false; in arrayexpr_startup_fn() 997 return (Node *) &(state->opexpr); in arrayexpr_next_fn() [all …]
|
/dports/databases/postgresql10-plperl/postgresql-10.19/src/backend/optimizer/util/ |
H A D | predtest.c | 907 OpExpr opexpr; member 942 state->opexpr.xpr.type = T_OpExpr; in arrayconst_startup_fn() 943 state->opexpr.opno = saop->opno; in arrayconst_startup_fn() 946 state->opexpr.opretset = false; in arrayconst_startup_fn() 974 return (Node *) &(state->opexpr); in arrayconst_next_fn() 984 list_free(state->opexpr.args); in arrayconst_cleanup_fn() 994 OpExpr opexpr; member 1011 state->opexpr.opno = saop->opno; in arrayexpr_startup_fn() 1014 state->opexpr.opretset = false; in arrayexpr_startup_fn() 1033 return (Node *) &(state->opexpr); in arrayexpr_next_fn() [all …]
|
/dports/databases/postgresql10-pltcl/postgresql-10.19/src/backend/optimizer/util/ |
H A D | predtest.c | 907 OpExpr opexpr; member 942 state->opexpr.xpr.type = T_OpExpr; in arrayconst_startup_fn() 943 state->opexpr.opno = saop->opno; in arrayconst_startup_fn() 946 state->opexpr.opretset = false; in arrayconst_startup_fn() 974 return (Node *) &(state->opexpr); in arrayconst_next_fn() 984 list_free(state->opexpr.args); in arrayconst_cleanup_fn() 994 OpExpr opexpr; member 1011 state->opexpr.opno = saop->opno; in arrayexpr_startup_fn() 1014 state->opexpr.opretset = false; in arrayexpr_startup_fn() 1033 return (Node *) &(state->opexpr); in arrayexpr_next_fn() [all …]
|
/dports/databases/postgresql10-server/postgresql-10.19/src/backend/optimizer/util/ |
H A D | predtest.c | 907 OpExpr opexpr; member 942 state->opexpr.xpr.type = T_OpExpr; in arrayconst_startup_fn() 943 state->opexpr.opno = saop->opno; in arrayconst_startup_fn() 946 state->opexpr.opretset = false; in arrayconst_startup_fn() 974 return (Node *) &(state->opexpr); in arrayconst_next_fn() 984 list_free(state->opexpr.args); in arrayconst_cleanup_fn() 994 OpExpr opexpr; member 1011 state->opexpr.opno = saop->opno; in arrayexpr_startup_fn() 1014 state->opexpr.opretset = false; in arrayexpr_startup_fn() 1033 return (Node *) &(state->opexpr); in arrayexpr_next_fn() [all …]
|
/dports/databases/postgresql11-client/postgresql-11.14/src/backend/optimizer/util/ |
H A D | predtest.c | 945 OpExpr opexpr; member 980 state->opexpr.xpr.type = T_OpExpr; in arrayconst_startup_fn() 981 state->opexpr.opno = saop->opno; in arrayconst_startup_fn() 984 state->opexpr.opretset = false; in arrayconst_startup_fn() 1012 return (Node *) &(state->opexpr); in arrayconst_next_fn() 1022 list_free(state->opexpr.args); in arrayconst_cleanup_fn() 1032 OpExpr opexpr; member 1049 state->opexpr.opno = saop->opno; in arrayexpr_startup_fn() 1052 state->opexpr.opretset = false; in arrayexpr_startup_fn() 1071 return (Node *) &(state->opexpr); in arrayexpr_next_fn() [all …]
|
/dports/databases/postgresql10-contrib/postgresql-10.19/src/backend/optimizer/util/ |
H A D | predtest.c | 907 OpExpr opexpr; member 942 state->opexpr.xpr.type = T_OpExpr; in arrayconst_startup_fn() 943 state->opexpr.opno = saop->opno; in arrayconst_startup_fn() 946 state->opexpr.opretset = false; in arrayconst_startup_fn() 974 return (Node *) &(state->opexpr); in arrayconst_next_fn() 984 list_free(state->opexpr.args); in arrayconst_cleanup_fn() 994 OpExpr opexpr; member 1011 state->opexpr.opno = saop->opno; in arrayexpr_startup_fn() 1014 state->opexpr.opretset = false; in arrayexpr_startup_fn() 1033 return (Node *) &(state->opexpr); in arrayexpr_next_fn() [all …]
|
/dports/databases/postgresql10-docs/postgresql-10.19/src/backend/optimizer/util/ |
H A D | predtest.c | 907 OpExpr opexpr; member 942 state->opexpr.xpr.type = T_OpExpr; in arrayconst_startup_fn() 943 state->opexpr.opno = saop->opno; in arrayconst_startup_fn() 946 state->opexpr.opretset = false; in arrayconst_startup_fn() 974 return (Node *) &(state->opexpr); in arrayconst_next_fn() 984 list_free(state->opexpr.args); in arrayconst_cleanup_fn() 994 OpExpr opexpr; member 1011 state->opexpr.opno = saop->opno; in arrayexpr_startup_fn() 1014 state->opexpr.opretset = false; in arrayexpr_startup_fn() 1033 return (Node *) &(state->opexpr); in arrayexpr_next_fn() [all …]
|
/dports/databases/postgresql10-client/postgresql-10.19/src/backend/optimizer/util/ |
H A D | predtest.c | 907 OpExpr opexpr; member 942 state->opexpr.xpr.type = T_OpExpr; in arrayconst_startup_fn() 943 state->opexpr.opno = saop->opno; in arrayconst_startup_fn() 946 state->opexpr.opretset = false; in arrayconst_startup_fn() 974 return (Node *) &(state->opexpr); in arrayconst_next_fn() 984 list_free(state->opexpr.args); in arrayconst_cleanup_fn() 994 OpExpr opexpr; member 1011 state->opexpr.opno = saop->opno; in arrayexpr_startup_fn() 1014 state->opexpr.opretset = false; in arrayexpr_startup_fn() 1033 return (Node *) &(state->opexpr); in arrayexpr_next_fn() [all …]
|
/dports/databases/postgresql10-plpython/postgresql-10.19/src/backend/optimizer/util/ |
H A D | predtest.c | 907 OpExpr opexpr; member 942 state->opexpr.xpr.type = T_OpExpr; in arrayconst_startup_fn() 943 state->opexpr.opno = saop->opno; in arrayconst_startup_fn() 946 state->opexpr.opretset = false; in arrayconst_startup_fn() 974 return (Node *) &(state->opexpr); in arrayconst_next_fn() 984 list_free(state->opexpr.args); in arrayconst_cleanup_fn() 994 OpExpr opexpr; member 1011 state->opexpr.opno = saop->opno; in arrayexpr_startup_fn() 1014 state->opexpr.opretset = false; in arrayexpr_startup_fn() 1033 return (Node *) &(state->opexpr); in arrayexpr_next_fn() [all …]
|
/dports/databases/postgresql11-plperl/postgresql-11.14/src/backend/optimizer/util/ |
H A D | predtest.c | 945 OpExpr opexpr; member 980 state->opexpr.xpr.type = T_OpExpr; in arrayconst_startup_fn() 981 state->opexpr.opno = saop->opno; in arrayconst_startup_fn() 984 state->opexpr.opretset = false; in arrayconst_startup_fn() 1012 return (Node *) &(state->opexpr); in arrayconst_next_fn() 1022 list_free(state->opexpr.args); in arrayconst_cleanup_fn() 1032 OpExpr opexpr; member 1049 state->opexpr.opno = saop->opno; in arrayexpr_startup_fn() 1052 state->opexpr.opretset = false; in arrayexpr_startup_fn() 1071 return (Node *) &(state->opexpr); in arrayexpr_next_fn() [all …]
|
/dports/databases/postgresql11-contrib/postgresql-11.14/src/backend/optimizer/util/ |
H A D | predtest.c | 945 OpExpr opexpr; member 980 state->opexpr.xpr.type = T_OpExpr; in arrayconst_startup_fn() 981 state->opexpr.opno = saop->opno; in arrayconst_startup_fn() 984 state->opexpr.opretset = false; in arrayconst_startup_fn() 1012 return (Node *) &(state->opexpr); in arrayconst_next_fn() 1022 list_free(state->opexpr.args); in arrayconst_cleanup_fn() 1032 OpExpr opexpr; member 1049 state->opexpr.opno = saop->opno; in arrayexpr_startup_fn() 1052 state->opexpr.opretset = false; in arrayexpr_startup_fn() 1071 return (Node *) &(state->opexpr); in arrayexpr_next_fn() [all …]
|
/dports/databases/postgresql11-plpython/postgresql-11.14/src/backend/optimizer/util/ |
H A D | predtest.c | 945 OpExpr opexpr; member 980 state->opexpr.xpr.type = T_OpExpr; in arrayconst_startup_fn() 981 state->opexpr.opno = saop->opno; in arrayconst_startup_fn() 984 state->opexpr.opretset = false; in arrayconst_startup_fn() 1012 return (Node *) &(state->opexpr); in arrayconst_next_fn() 1022 list_free(state->opexpr.args); in arrayconst_cleanup_fn() 1032 OpExpr opexpr; member 1049 state->opexpr.opno = saop->opno; in arrayexpr_startup_fn() 1052 state->opexpr.opretset = false; in arrayexpr_startup_fn() 1071 return (Node *) &(state->opexpr); in arrayexpr_next_fn() [all …]
|
/dports/databases/postgresql11-docs/postgresql-11.14/src/backend/optimizer/util/ |
H A D | predtest.c | 945 OpExpr opexpr; member 980 state->opexpr.xpr.type = T_OpExpr; in arrayconst_startup_fn() 981 state->opexpr.opno = saop->opno; in arrayconst_startup_fn() 984 state->opexpr.opretset = false; in arrayconst_startup_fn() 1012 return (Node *) &(state->opexpr); in arrayconst_next_fn() 1022 list_free(state->opexpr.args); in arrayconst_cleanup_fn() 1032 OpExpr opexpr; member 1049 state->opexpr.opno = saop->opno; in arrayexpr_startup_fn() 1052 state->opexpr.opretset = false; in arrayexpr_startup_fn() 1071 return (Node *) &(state->opexpr); in arrayexpr_next_fn() [all …]
|
/dports/databases/postgresql11-server/postgresql-11.14/src/backend/optimizer/util/ |
H A D | predtest.c | 945 OpExpr opexpr; member 980 state->opexpr.xpr.type = T_OpExpr; in arrayconst_startup_fn() 981 state->opexpr.opno = saop->opno; in arrayconst_startup_fn() 984 state->opexpr.opretset = false; in arrayconst_startup_fn() 1012 return (Node *) &(state->opexpr); in arrayconst_next_fn() 1022 list_free(state->opexpr.args); in arrayconst_cleanup_fn() 1032 OpExpr opexpr; member 1049 state->opexpr.opno = saop->opno; in arrayexpr_startup_fn() 1052 state->opexpr.opretset = false; in arrayexpr_startup_fn() 1071 return (Node *) &(state->opexpr); in arrayexpr_next_fn() [all …]
|
/dports/databases/postgresql11-pltcl/postgresql-11.14/src/backend/optimizer/util/ |
H A D | predtest.c | 945 OpExpr opexpr; member 980 state->opexpr.xpr.type = T_OpExpr; in arrayconst_startup_fn() 981 state->opexpr.opno = saop->opno; in arrayconst_startup_fn() 984 state->opexpr.opretset = false; in arrayconst_startup_fn() 1012 return (Node *) &(state->opexpr); in arrayconst_next_fn() 1022 list_free(state->opexpr.args); in arrayconst_cleanup_fn() 1032 OpExpr opexpr; member 1049 state->opexpr.opno = saop->opno; in arrayexpr_startup_fn() 1052 state->opexpr.opretset = false; in arrayexpr_startup_fn() 1071 return (Node *) &(state->opexpr); in arrayexpr_next_fn() [all …]
|
/dports/databases/postgresql96-client/postgresql-9.6.24/src/backend/optimizer/util/ |
H A D | predtest.c | 871 OpExpr opexpr; member 906 state->opexpr.xpr.type = T_OpExpr; in arrayconst_startup_fn() 907 state->opexpr.opno = saop->opno; in arrayconst_startup_fn() 910 state->opexpr.opretset = false; in arrayconst_startup_fn() 938 return (Node *) &(state->opexpr); in arrayconst_next_fn() 948 list_free(state->opexpr.args); in arrayconst_cleanup_fn() 958 OpExpr opexpr; member 975 state->opexpr.opno = saop->opno; in arrayexpr_startup_fn() 978 state->opexpr.opretset = false; in arrayexpr_startup_fn() 997 return (Node *) &(state->opexpr); in arrayexpr_next_fn() [all …]
|
/dports/databases/postgresql96-plperl/postgresql-9.6.24/src/backend/optimizer/util/ |
H A D | predtest.c | 871 OpExpr opexpr; member 906 state->opexpr.xpr.type = T_OpExpr; in arrayconst_startup_fn() 907 state->opexpr.opno = saop->opno; in arrayconst_startup_fn() 910 state->opexpr.opretset = false; in arrayconst_startup_fn() 938 return (Node *) &(state->opexpr); in arrayconst_next_fn() 948 list_free(state->opexpr.args); in arrayconst_cleanup_fn() 958 OpExpr opexpr; member 975 state->opexpr.opno = saop->opno; in arrayexpr_startup_fn() 978 state->opexpr.opretset = false; in arrayexpr_startup_fn() 997 return (Node *) &(state->opexpr); in arrayexpr_next_fn() [all …]
|
/dports/databases/postgresql96-contrib/postgresql-9.6.24/src/backend/optimizer/util/ |
H A D | predtest.c | 871 OpExpr opexpr; member 906 state->opexpr.xpr.type = T_OpExpr; in arrayconst_startup_fn() 907 state->opexpr.opno = saop->opno; in arrayconst_startup_fn() 910 state->opexpr.opretset = false; in arrayconst_startup_fn() 938 return (Node *) &(state->opexpr); in arrayconst_next_fn() 948 list_free(state->opexpr.args); in arrayconst_cleanup_fn() 958 OpExpr opexpr; member 975 state->opexpr.opno = saop->opno; in arrayexpr_startup_fn() 978 state->opexpr.opretset = false; in arrayexpr_startup_fn() 997 return (Node *) &(state->opexpr); in arrayexpr_next_fn() [all …]
|
/dports/databases/postgresql96-docs/postgresql-9.6.24/src/backend/optimizer/util/ |
H A D | predtest.c | 871 OpExpr opexpr; member 906 state->opexpr.xpr.type = T_OpExpr; in arrayconst_startup_fn() 907 state->opexpr.opno = saop->opno; in arrayconst_startup_fn() 910 state->opexpr.opretset = false; in arrayconst_startup_fn() 938 return (Node *) &(state->opexpr); in arrayconst_next_fn() 948 list_free(state->opexpr.args); in arrayconst_cleanup_fn() 958 OpExpr opexpr; member 975 state->opexpr.opno = saop->opno; in arrayexpr_startup_fn() 978 state->opexpr.opretset = false; in arrayexpr_startup_fn() 997 return (Node *) &(state->opexpr); in arrayexpr_next_fn() [all …]
|
/dports/databases/postgresql12-client/postgresql-12.9/src/backend/optimizer/util/ |
H A D | predtest.c | 946 OpExpr opexpr; 981 state->opexpr.xpr.type = T_OpExpr; 982 state->opexpr.opno = saop->opno; 985 state->opexpr.opretset = false; 1013 return (Node *) &(state->opexpr); 1023 list_free(state->opexpr.args); 1033 OpExpr opexpr; 1050 state->opexpr.opno = saop->opno; 1053 state->opexpr.opretset = false; 1072 return (Node *) &(state->opexpr); [all …]
|
/dports/databases/postgresql14-pltcl/postgresql-14.1/src/backend/optimizer/util/ |
H A D | predtest.c | 949 OpExpr opexpr; member 984 state->opexpr.xpr.type = T_OpExpr; in arrayconst_startup_fn() 985 state->opexpr.opno = saop->opno; in arrayconst_startup_fn() 988 state->opexpr.opretset = false; in arrayconst_startup_fn() 1016 return (Node *) &(state->opexpr); in arrayconst_next_fn() 1026 list_free(state->opexpr.args); in arrayconst_cleanup_fn() 1036 OpExpr opexpr; member 1053 state->opexpr.opno = saop->opno; in arrayexpr_startup_fn() 1056 state->opexpr.opretset = false; in arrayexpr_startup_fn() 1076 return (Node *) &(state->opexpr); in arrayexpr_next_fn() [all …]
|
/dports/databases/postgresql14-server/postgresql-14.1/src/backend/optimizer/util/ |
H A D | predtest.c | 949 OpExpr opexpr; member 984 state->opexpr.xpr.type = T_OpExpr; in arrayconst_startup_fn() 985 state->opexpr.opno = saop->opno; in arrayconst_startup_fn() 988 state->opexpr.opretset = false; in arrayconst_startup_fn() 1016 return (Node *) &(state->opexpr); in arrayconst_next_fn() 1026 list_free(state->opexpr.args); in arrayconst_cleanup_fn() 1036 OpExpr opexpr; member 1053 state->opexpr.opno = saop->opno; in arrayexpr_startup_fn() 1056 state->opexpr.opretset = false; in arrayexpr_startup_fn() 1076 return (Node *) &(state->opexpr); in arrayexpr_next_fn() [all …]
|