File tree 2 files changed +0
-13
lines changed
2 files changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -40,9 +40,6 @@ the config file (or update the current values)
40
40
# libraries to load
41
41
shared_preload_libraries = 'shared_ispell'
42
42
43
- # known GUC prefixes
44
- custom_variable_classes = 'shared_ispell'
45
-
46
43
# config of the shared memory
47
44
shared_ispell.max_size = 32MB
48
45
Original file line number Diff line number Diff line change @@ -870,12 +870,6 @@ dispell_list_dicts(PG_FUNCTION_ARGS)
870
870
dictname = cstring_to_text (dict -> dictFile );
871
871
affname = cstring_to_text (dict -> affixFile );
872
872
873
- // SET_VARSIZE(dictname, strlen(dict->dictFile) + VARHDRSZ);
874
- // SET_VARSIZE(affname, strlen(dict->affixFile) + VARHDRSZ);
875
-
876
- // strcpy(dictname, dict->dictFile);
877
- // strcpy(affname, dict->affixFile);
878
-
879
873
values [0 ] = PointerGetDatum (dictname );
880
874
values [1 ] = PointerGetDatum (affname );
881
875
values [2 ] = UInt32GetDatum (dict -> nwords );
@@ -959,10 +953,6 @@ dispell_list_stoplists(PG_FUNCTION_ARGS)
959
953
960
954
stopname = cstring_to_text (stoplist -> stopFile );
961
955
962
- // SET_VARSIZE(stopname, strlen(stoplist->stopFile) + VARHDRSZ);
963
-
964
- // strcpy(VARDATA(stopname), stoplist->stopFile);
965
-
966
956
values [0 ] = PointerGetDatum (stopname );
967
957
values [1 ] = UInt32GetDatum (stoplist -> stop .len );
968
958
values [2 ] = UInt32GetDatum (stoplist -> nbytes );
You can’t perform that action at this time.
0 commit comments