_USE_32BIT_TIME_T Patch

Owais Khan <owais.khan@enterprisedb.com>

From: Owais Khan <owais.khan@enterprisedb.com>
To: pgsql-hackers@postgresql.org
Cc: Hamid Quddus <hamid.quddus@enterprisedb.com>
Date: 2012-08-30T05:34:35Z
Lists: pgsql-hackers

Attachments

Hello,

We are getting crash while using plperl on Win32 as ActiveState perl(Win32)
uses 32-bit time_t structures. So, We have to compile DB Server's code also
with 32-bit time_t structure.

Patch is adding _USE_32BIT_TIME_T in preprocessor definitions in case
platform is Windows-32 for all project files.

Thanks & Regards,

Owais.

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Replace time_t with pg_time_t (same values, but always int64) in on-disk

  2. Use _USE_32BIT_TIME_T when building with MSVC. Also, enforce that it's