pgsql <pgsql(at)lavabit(dot)com> writes:
> Tom Lane wrote:
>> Looking at debug_query_string in the core dumps would
>> at least show what SQL command is calling the function(s) --- and I
>> wouldn't be surprised if there's exactly one function involved here.
> Content of debug_query_string:
> core.21207
> $1 = 63106368
Um, that's not too helpful, we want to see the string it's pointing at.
In a non-debug build you probably need to say
p (char *) debug_query_string
or something like that.
regards, tom lane