On 2014-09-05 1:38 PM, I wrote:
    3) I've changed the code to use ntohl() and pg_time_t as per Thomas'
comments.

sig->creation_time = ntohl(*((uint32_t *) creation_time));

This is probably a horrible idea due to strict aliasing rules and alignment, though. I think I'll just hide the bit shifts behind a function instead.



.marko


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

Reply via email to