| От | Tom Lane |
|---|---|
| Тема | Re: hashtable issue - HASH_FIND?? |
| Дата | |
| Msg-id | 25203.1280951507@sss.pgh.pa.us обсуждение |
| Ответ на | hashtable issue - HASH_FIND?? (Jay Flattery <jaycode@rocketmail.com>) |
| Список | pgsql-general |
Jay Flattery <jaycode@rocketmail.com> writes:
> Actually, if I just dump the example into a file, compile and install it as a
> function, it works.
> Only fails when I add the code (without changing anything!) to existing source
> where I'd like to use it.
Hmph, are you trying to incorporate this code into the core backend?
It's depending on being in a dynamic library, because otherwise that
_PG_init function won't get called. (Although that still seems like
it doesn't explain the symptom ... should crash sooner if the
hashtable's not been created.)
FWIW, that backtrace looks like it's from the postmaster process, not
from a crashing backend. You need to make sure you attach gdb to the
right process ...
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера