/dports/databases/postgresql14-pltcl/postgresql-14.1/src/backend/utils/misc/ |
H A D | queryjumble.c | 103 JumbleState *jstate = NULL; in JumbleQuery() local 119 jstate->jumble_len = 0; in JumbleQuery() 120 jstate->clocations_buf_size = 32; in JumbleQuery() 123 jstate->clocations_count = 0; in JumbleQuery() 140 return jstate; in JumbleQuery() 218 jstate->jumble_len = jumble_len; in AppendJumble() 845 if (jstate->clocations_count >= jstate->clocations_buf_size) in RecordConstLocation() 849 repalloc(jstate->clocations, in RecordConstLocation() 853 jstate->clocations[jstate->clocations_count].location = location; in RecordConstLocation() 855 jstate->clocations[jstate->clocations_count].length = -1; in RecordConstLocation() [all …]
|
/dports/databases/postgresql14-docs/postgresql-14.1/src/backend/utils/misc/ |
H A D | queryjumble.c | 103 JumbleState *jstate = NULL; in JumbleQuery() local 119 jstate->jumble_len = 0; in JumbleQuery() 120 jstate->clocations_buf_size = 32; in JumbleQuery() 123 jstate->clocations_count = 0; in JumbleQuery() 140 return jstate; in JumbleQuery() 218 jstate->jumble_len = jumble_len; in AppendJumble() 845 if (jstate->clocations_count >= jstate->clocations_buf_size) in RecordConstLocation() 849 repalloc(jstate->clocations, in RecordConstLocation() 853 jstate->clocations[jstate->clocations_count].location = location; in RecordConstLocation() 855 jstate->clocations[jstate->clocations_count].length = -1; in RecordConstLocation() [all …]
|
/dports/databases/postgresql14-plperl/postgresql-14.1/src/backend/utils/misc/ |
H A D | queryjumble.c | 103 JumbleState *jstate = NULL; in JumbleQuery() local 119 jstate->jumble_len = 0; in JumbleQuery() 120 jstate->clocations_buf_size = 32; in JumbleQuery() 123 jstate->clocations_count = 0; in JumbleQuery() 140 return jstate; in JumbleQuery() 218 jstate->jumble_len = jumble_len; in AppendJumble() 845 if (jstate->clocations_count >= jstate->clocations_buf_size) in RecordConstLocation() 849 repalloc(jstate->clocations, in RecordConstLocation() 853 jstate->clocations[jstate->clocations_count].location = location; in RecordConstLocation() 855 jstate->clocations[jstate->clocations_count].length = -1; in RecordConstLocation() [all …]
|
/dports/databases/postgresql14-server/postgresql-14.1/src/backend/utils/misc/ |
H A D | queryjumble.c | 103 JumbleState *jstate = NULL; in JumbleQuery() local 119 jstate->jumble_len = 0; in JumbleQuery() 120 jstate->clocations_buf_size = 32; in JumbleQuery() 123 jstate->clocations_count = 0; in JumbleQuery() 140 return jstate; in JumbleQuery() 218 jstate->jumble_len = jumble_len; in AppendJumble() 845 if (jstate->clocations_count >= jstate->clocations_buf_size) in RecordConstLocation() 849 repalloc(jstate->clocations, in RecordConstLocation() 853 jstate->clocations[jstate->clocations_count].location = location; in RecordConstLocation() 855 jstate->clocations[jstate->clocations_count].length = -1; in RecordConstLocation() [all …]
|
/dports/databases/postgresql14-plpython/postgresql-14.1/src/backend/utils/misc/ |
H A D | queryjumble.c | 103 JumbleState *jstate = NULL; in JumbleQuery() local 119 jstate->jumble_len = 0; in JumbleQuery() 120 jstate->clocations_buf_size = 32; in JumbleQuery() 123 jstate->clocations_count = 0; in JumbleQuery() 140 return jstate; in JumbleQuery() 218 jstate->jumble_len = jumble_len; in AppendJumble() 845 if (jstate->clocations_count >= jstate->clocations_buf_size) in RecordConstLocation() 849 repalloc(jstate->clocations, in RecordConstLocation() 853 jstate->clocations[jstate->clocations_count].location = location; in RecordConstLocation() 855 jstate->clocations[jstate->clocations_count].length = -1; in RecordConstLocation() [all …]
|
/dports/databases/postgresql14-client/postgresql-14.1/src/backend/utils/misc/ |
H A D | queryjumble.c | 103 JumbleState *jstate = NULL; in JumbleQuery() local 119 jstate->jumble_len = 0; in JumbleQuery() 120 jstate->clocations_buf_size = 32; in JumbleQuery() 123 jstate->clocations_count = 0; in JumbleQuery() 140 return jstate; in JumbleQuery() 218 jstate->jumble_len = jumble_len; in AppendJumble() 845 if (jstate->clocations_count >= jstate->clocations_buf_size) in RecordConstLocation() 849 repalloc(jstate->clocations, in RecordConstLocation() 853 jstate->clocations[jstate->clocations_count].location = location; in RecordConstLocation() 855 jstate->clocations[jstate->clocations_count].length = -1; in RecordConstLocation() [all …]
|
/dports/databases/postgresql14-contrib/postgresql-14.1/src/backend/utils/misc/ |
H A D | queryjumble.c | 103 JumbleState *jstate = NULL; in JumbleQuery() local 119 jstate->jumble_len = 0; in JumbleQuery() 120 jstate->clocations_buf_size = 32; in JumbleQuery() 123 jstate->clocations_count = 0; in JumbleQuery() 140 return jstate; in JumbleQuery() 218 jstate->jumble_len = jumble_len; in AppendJumble() 845 if (jstate->clocations_count >= jstate->clocations_buf_size) in RecordConstLocation() 849 repalloc(jstate->clocations, in RecordConstLocation() 853 jstate->clocations[jstate->clocations_count].location = location; in RecordConstLocation() 855 jstate->clocations[jstate->clocations_count].length = -1; in RecordConstLocation() [all …]
|
/dports/databases/py-pglast/pglast-1.2/libpg_query/src/ |
H A D | pg_query_normalize.c | 91 if (jstate->clocations_count > 1) in fill_in_constant_lengths() 92 qsort(jstate->clocations, jstate->clocations_count, in fill_in_constant_lengths() 94 locs = jstate->clocations; in fill_in_constant_lengths() 280 if (jstate->clocations_count >= jstate->clocations_buf_size) in RecordConstLocation() 284 repalloc(jstate->clocations, in RecordConstLocation() 288 jstate->clocations[jstate->clocations_count].location = location; in RecordConstLocation() 290 jstate->clocations[jstate->clocations_count].length = -1; in RecordConstLocation() 291 jstate->clocations_count++; in RecordConstLocation() 364 pgssConstLocations jstate; in pg_query_normalize() local 371 jstate.clocations_buf_size = 32; in pg_query_normalize() [all …]
|
/dports/databases/libpg_query/libpg_query-10-1.0.4/src/ |
H A D | pg_query_normalize.c | 91 if (jstate->clocations_count > 1) in fill_in_constant_lengths() 92 qsort(jstate->clocations, jstate->clocations_count, in fill_in_constant_lengths() 94 locs = jstate->clocations; in fill_in_constant_lengths() 280 if (jstate->clocations_count >= jstate->clocations_buf_size) in RecordConstLocation() 284 repalloc(jstate->clocations, in RecordConstLocation() 288 jstate->clocations[jstate->clocations_count].location = location; in RecordConstLocation() 290 jstate->clocations[jstate->clocations_count].length = -1; in RecordConstLocation() 291 jstate->clocations_count++; in RecordConstLocation() 364 pgssConstLocations jstate; in pg_query_normalize() local 371 jstate.clocations_buf_size = 32; in pg_query_normalize() [all …]
|
/dports/databases/postgresql11-plperl/postgresql-11.14/contrib/pg_stat_statements/ |
H A D | pg_stat_statements.c | 780 pgssJumbleState jstate; in pgss_post_parse_analyze() local 808 jstate.jumble_len = 0; in pgss_post_parse_analyze() 818 DatumGetUInt64(hash_any_extended(jstate.jumble, jstate.jumble_len, 0)); in pgss_post_parse_analyze() 842 &jstate); in pgss_post_parse_analyze() 1178 if (jstate) in pgss_store() 1220 jstate != NULL); in pgss_store() 1228 if (!jstate) in pgss_store() 2926 if (jstate->clocations_count >= jstate->clocations_buf_size) in RecordConstLocation() 2934 jstate->clocations[jstate->clocations_count].location = location; in RecordConstLocation() 2936 jstate->clocations[jstate->clocations_count].length = -1; in RecordConstLocation() [all …]
|
/dports/databases/postgresql11-docs/postgresql-11.14/contrib/pg_stat_statements/ |
H A D | pg_stat_statements.c | 780 pgssJumbleState jstate; in pgss_post_parse_analyze() local 808 jstate.jumble_len = 0; in pgss_post_parse_analyze() 818 DatumGetUInt64(hash_any_extended(jstate.jumble, jstate.jumble_len, 0)); in pgss_post_parse_analyze() 842 &jstate); in pgss_post_parse_analyze() 1178 if (jstate) in pgss_store() 1220 jstate != NULL); in pgss_store() 1228 if (!jstate) in pgss_store() 2926 if (jstate->clocations_count >= jstate->clocations_buf_size) in RecordConstLocation() 2934 jstate->clocations[jstate->clocations_count].location = location; in RecordConstLocation() 2936 jstate->clocations[jstate->clocations_count].length = -1; in RecordConstLocation() [all …]
|
/dports/databases/postgresql11-plpython/postgresql-11.14/contrib/pg_stat_statements/ |
H A D | pg_stat_statements.c | 780 pgssJumbleState jstate; in pgss_post_parse_analyze() local 808 jstate.jumble_len = 0; in pgss_post_parse_analyze() 818 DatumGetUInt64(hash_any_extended(jstate.jumble, jstate.jumble_len, 0)); in pgss_post_parse_analyze() 842 &jstate); in pgss_post_parse_analyze() 1178 if (jstate) in pgss_store() 1220 jstate != NULL); in pgss_store() 1228 if (!jstate) in pgss_store() 2926 if (jstate->clocations_count >= jstate->clocations_buf_size) in RecordConstLocation() 2934 jstate->clocations[jstate->clocations_count].location = location; in RecordConstLocation() 2936 jstate->clocations[jstate->clocations_count].length = -1; in RecordConstLocation() [all …]
|
/dports/databases/postgresql11-server/postgresql-11.14/contrib/pg_stat_statements/ |
H A D | pg_stat_statements.c | 780 pgssJumbleState jstate; 808 jstate.jumble_len = 0; 818 DatumGetUInt64(hash_any_extended(jstate.jumble, jstate.jumble_len, 0)); 842 &jstate); 1178 if (jstate) 1220 jstate != NULL); 1228 if (!jstate) 2926 if (jstate->clocations_count >= jstate->clocations_buf_size) 2934 jstate->clocations[jstate->clocations_count].location = location; 2936 jstate->clocations[jstate->clocations_count].length = -1; [all …]
|
/dports/databases/postgresql11-contrib/postgresql-11.14/contrib/pg_stat_statements/ |
H A D | pg_stat_statements.c | 780 pgssJumbleState jstate; in pgss_post_parse_analyze() local 808 jstate.jumble_len = 0; in pgss_post_parse_analyze() 818 DatumGetUInt64(hash_any_extended(jstate.jumble, jstate.jumble_len, 0)); in pgss_post_parse_analyze() 842 &jstate); in pgss_post_parse_analyze() 1178 if (jstate) in pgss_store() 1220 jstate != NULL); in pgss_store() 1228 if (!jstate) in pgss_store() 2926 if (jstate->clocations_count >= jstate->clocations_buf_size) in RecordConstLocation() 2934 jstate->clocations[jstate->clocations_count].location = location; in RecordConstLocation() 2936 jstate->clocations[jstate->clocations_count].length = -1; in RecordConstLocation() [all …]
|
/dports/databases/postgresql11-client/postgresql-11.14/contrib/pg_stat_statements/ |
H A D | pg_stat_statements.c | 780 pgssJumbleState jstate; in pgss_post_parse_analyze() local 808 jstate.jumble_len = 0; in pgss_post_parse_analyze() 818 DatumGetUInt64(hash_any_extended(jstate.jumble, jstate.jumble_len, 0)); in pgss_post_parse_analyze() 842 &jstate); in pgss_post_parse_analyze() 1178 if (jstate) in pgss_store() 1220 jstate != NULL); in pgss_store() 1228 if (!jstate) in pgss_store() 2926 if (jstate->clocations_count >= jstate->clocations_buf_size) in RecordConstLocation() 2934 jstate->clocations[jstate->clocations_count].location = location; in RecordConstLocation() 2936 jstate->clocations[jstate->clocations_count].length = -1; in RecordConstLocation() [all …]
|
/dports/databases/postgresql12-contrib/postgresql-12.9/contrib/pg_stat_statements/ |
H A D | pg_stat_statements.c | 781 pgssJumbleState jstate; in pgss_post_parse_analyze() local 809 jstate.jumble_len = 0; in pgss_post_parse_analyze() 819 DatumGetUInt64(hash_any_extended(jstate.jumble, jstate.jumble_len, 0)); in pgss_post_parse_analyze() 843 &jstate); in pgss_post_parse_analyze() 1189 if (jstate) in pgss_store() 1231 jstate != NULL); in pgss_store() 1239 if (!jstate) in pgss_store() 3005 if (jstate->clocations_count >= jstate->clocations_buf_size) in RecordConstLocation() 3013 jstate->clocations[jstate->clocations_count].location = location; in RecordConstLocation() 3015 jstate->clocations[jstate->clocations_count].length = -1; in RecordConstLocation() [all …]
|
/dports/databases/postgresql11-pltcl/postgresql-11.14/contrib/pg_stat_statements/ |
H A D | pg_stat_statements.c | 780 pgssJumbleState jstate; in pgss_post_parse_analyze() local 808 jstate.jumble_len = 0; in pgss_post_parse_analyze() 818 DatumGetUInt64(hash_any_extended(jstate.jumble, jstate.jumble_len, 0)); in pgss_post_parse_analyze() 842 &jstate); in pgss_post_parse_analyze() 1178 if (jstate) in pgss_store() 1220 jstate != NULL); in pgss_store() 1228 if (!jstate) in pgss_store() 2926 if (jstate->clocations_count >= jstate->clocations_buf_size) in RecordConstLocation() 2934 jstate->clocations[jstate->clocations_count].location = location; in RecordConstLocation() 2936 jstate->clocations[jstate->clocations_count].length = -1; in RecordConstLocation() [all …]
|
/dports/databases/postgresql12-client/postgresql-12.9/contrib/pg_stat_statements/ |
H A D | pg_stat_statements.c | 781 pgssJumbleState jstate; in pgss_post_parse_analyze() local 809 jstate.jumble_len = 0; in pgss_post_parse_analyze() 819 DatumGetUInt64(hash_any_extended(jstate.jumble, jstate.jumble_len, 0)); in pgss_post_parse_analyze() 843 &jstate); in pgss_post_parse_analyze() 1189 if (jstate) in pgss_store() 1231 jstate != NULL); in pgss_store() 1239 if (!jstate) in pgss_store() 3005 if (jstate->clocations_count >= jstate->clocations_buf_size) in RecordConstLocation() 3013 jstate->clocations[jstate->clocations_count].location = location; in RecordConstLocation() 3015 jstate->clocations[jstate->clocations_count].length = -1; in RecordConstLocation() [all …]
|
/dports/databases/postgresql12-plperl/postgresql-12.9/contrib/pg_stat_statements/ |
H A D | pg_stat_statements.c | 781 pgssJumbleState jstate; in pgss_post_parse_analyze() local 809 jstate.jumble_len = 0; in pgss_post_parse_analyze() 819 DatumGetUInt64(hash_any_extended(jstate.jumble, jstate.jumble_len, 0)); in pgss_post_parse_analyze() 843 &jstate); in pgss_post_parse_analyze() 1189 if (jstate) in pgss_store() 1231 jstate != NULL); in pgss_store() 1239 if (!jstate) in pgss_store() 3005 if (jstate->clocations_count >= jstate->clocations_buf_size) in RecordConstLocation() 3013 jstate->clocations[jstate->clocations_count].location = location; in RecordConstLocation() 3015 jstate->clocations[jstate->clocations_count].length = -1; in RecordConstLocation() [all …]
|
/dports/databases/postgresql12-plpython/postgresql-12.9/contrib/pg_stat_statements/ |
H A D | pg_stat_statements.c | 781 pgssJumbleState jstate; 809 jstate.jumble_len = 0; 819 DatumGetUInt64(hash_any_extended(jstate.jumble, jstate.jumble_len, 0)); 843 &jstate); 1189 if (jstate) 1231 jstate != NULL); 1239 if (!jstate) 3005 if (jstate->clocations_count >= jstate->clocations_buf_size) 3013 jstate->clocations[jstate->clocations_count].location = location; 3015 jstate->clocations[jstate->clocations_count].length = -1; [all …]
|
/dports/databases/postgresql12-pltcl/postgresql-12.9/contrib/pg_stat_statements/ |
H A D | pg_stat_statements.c | 781 pgssJumbleState jstate; in pgss_post_parse_analyze() local 809 jstate.jumble_len = 0; in pgss_post_parse_analyze() 819 DatumGetUInt64(hash_any_extended(jstate.jumble, jstate.jumble_len, 0)); in pgss_post_parse_analyze() 843 &jstate); in pgss_post_parse_analyze() 1189 if (jstate) in pgss_store() 1231 jstate != NULL); in pgss_store() 1239 if (!jstate) in pgss_store() 3005 if (jstate->clocations_count >= jstate->clocations_buf_size) in RecordConstLocation() 3013 jstate->clocations[jstate->clocations_count].location = location; in RecordConstLocation() 3015 jstate->clocations[jstate->clocations_count].length = -1; in RecordConstLocation() [all …]
|
/dports/databases/postgresql12-docs/postgresql-12.9/contrib/pg_stat_statements/ |
H A D | pg_stat_statements.c | 781 pgssJumbleState jstate; in pgss_post_parse_analyze() local 809 jstate.jumble_len = 0; in pgss_post_parse_analyze() 819 DatumGetUInt64(hash_any_extended(jstate.jumble, jstate.jumble_len, 0)); in pgss_post_parse_analyze() 843 &jstate); in pgss_post_parse_analyze() 1189 if (jstate) in pgss_store() 1231 jstate != NULL); in pgss_store() 1239 if (!jstate) in pgss_store() 3005 if (jstate->clocations_count >= jstate->clocations_buf_size) in RecordConstLocation() 3013 jstate->clocations[jstate->clocations_count].location = location; in RecordConstLocation() 3015 jstate->clocations[jstate->clocations_count].length = -1; in RecordConstLocation() [all …]
|
/dports/databases/postgresql12-server/postgresql-12.9/contrib/pg_stat_statements/ |
H A D | pg_stat_statements.c | 781 pgssJumbleState jstate; 809 jstate.jumble_len = 0; 819 DatumGetUInt64(hash_any_extended(jstate.jumble, jstate.jumble_len, 0)); 843 &jstate); 1189 if (jstate) 1231 jstate != NULL); 1239 if (!jstate) 3005 if (jstate->clocations_count >= jstate->clocations_buf_size) 3013 jstate->clocations[jstate->clocations_count].location = location; 3015 jstate->clocations[jstate->clocations_count].length = -1; [all …]
|
/dports/databases/postgresql10-plperl/postgresql-10.19/contrib/pg_stat_statements/ |
H A D | pg_stat_statements.c | 778 pgssJumbleState jstate; in pgss_post_parse_analyze() local 806 jstate.jumble_len = 0; in pgss_post_parse_analyze() 815 query->queryId = hash_any(jstate.jumble, jstate.jumble_len); in pgss_post_parse_analyze() 839 &jstate); in pgss_post_parse_analyze() 1204 if (jstate) in pgss_store() 1246 jstate != NULL); in pgss_store() 1254 if (!jstate) in pgss_store() 2950 if (jstate->clocations_count >= jstate->clocations_buf_size) in RecordConstLocation() 2958 jstate->clocations[jstate->clocations_count].location = location; in RecordConstLocation() 2960 jstate->clocations[jstate->clocations_count].length = -1; in RecordConstLocation() [all …]
|
/dports/databases/postgresql10-server/postgresql-10.19/contrib/pg_stat_statements/ |
H A D | pg_stat_statements.c | 778 pgssJumbleState jstate; in pgss_post_parse_analyze() local 806 jstate.jumble_len = 0; in pgss_post_parse_analyze() 815 query->queryId = hash_any(jstate.jumble, jstate.jumble_len); in pgss_post_parse_analyze() 839 &jstate); in pgss_post_parse_analyze() 1204 if (jstate) in pgss_store() 1246 jstate != NULL); in pgss_store() 1254 if (!jstate) in pgss_store() 2950 if (jstate->clocations_count >= jstate->clocations_buf_size) in RecordConstLocation() 2958 jstate->clocations[jstate->clocations_count].location = location; in RecordConstLocation() 2960 jstate->clocations[jstate->clocations_count].length = -1; in RecordConstLocation() [all …]
|