pgsql: Fix code that doesn't work on machines with strict alignment - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Fix code that doesn't work on machines with strict alignment
Date
Msg-id 20100420225504.71A827541D0@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Fix code that doesn't work on machines with strict alignment requirements:
must use memcpy here rather than struct assignment.

In passing, rearrange some randomly-ordered declarations to be a tad less
random.

Modified Files:
--------------
    pgsql/src/backend/replication:
        walreceiver.c (r1.9 -> r1.10)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/replication/walreceiver.c?r1=1.9&r2=1.10)

pgsql-committers by date:

Previous
From: rhaas@postgresql.org (Robert Haas)
Date:
Subject: pgsql: Rename standby_keep_segments to wal_keep_segments.
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Arrange for client authentication to occur before we select a