Re: hashtable issue - HASH_FIND?? - Mailing list pgsql-general

From Tom Lane
Subject Re: hashtable issue - HASH_FIND??
Date
Msg-id 25203.1280951507@sss.pgh.pa.us
Whole thread Raw
In response to hashtable issue - HASH_FIND??  (Jay Flattery <jaycode@rocketmail.com>)
List 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 by date:

Previous
From: Vick Khera
Date:
Subject: Re: Embedded text column versus referenced text
Next
From: Jay Flattery
Date:
Subject: Re: hashtable issue - HASH_FIND??