On Thu, Jan 8, 2015 at 6:52 AM, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> wrote:
> + seg = dsm_attach(DatumGetInt32(main_arg));
>
> Here, I think DatumGetUInt32() needs to be used instead of
> DatumGetInt32() as the segment handle is uint32.
OK, I'll change that in the next version.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company