Yves Weißig wrote:
> I can not find "amcostestimate" in hash.h or anywhere, or am I
> missing something?
Search for hashcostestimate here:
http://git.postgresql.org/gitweb?p=postgresql.git;a=blob;f=src/backend/utils/adt/selfuncs.c
To find that, I ran this query:
select * from pg_am;
That showed me that the name for the hash implementation of that
function was hashcostestimate. Then I ran this in my bash shell, at
the root of the source tree:
find -name '*.h' -or -name '*.c' \| egrep -v '^\./src/test/.+/tmp_check/' \| xargs egrep -n '\bhashcostestimate\b'
-Kevin
Есть вопросы? Напишите нам!
✖
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера