Patch to fix ecpg core dump with nested structure pointer variable - Mailing list pgsql-hackers

From Muhammad Usama
Subject Patch to fix ecpg core dump with nested structure pointer variable
Date
Msg-id CAEJvTzWNaXfMkkm6G6mLivGL5gBpyErrGrn=mVWtnLXNCmuJ+g@mail.gmail.com
Whole thread Raw
Responses Re: Patch to fix ecpg core dump with nested structure pointer variable  (Michael Meskes <meskes@postgresql.org>)
List pgsql-hackers
Hi

I have bumped in the segmentation fault in ecpg when using pointer to nested structure variable.

ecpg crash.pgc 
Segmentation fault: 11

Please see the attached patch for the fix and test case to reproduce the scenario.


Thanks
Regards
Muhammad Usama
Attachment

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Bugs in CREATE/DROP INDEX CONCURRENTLY
Next
From: Heikki Linnakangas
Date:
Subject: Re: WIP: index support for regexp search