Search Postgresql Archives

Re: hashtable issue - HASH_FIND??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jay Flattery <jaycode@xxxxxxxxxxxxxx> 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

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux