pgsql: Avoid redefining simplehash_allocate/simplehash_free.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Avoid redefining simplehash_allocate/simplehash_free.
Date: 2017-02-07 21:21:22
Message-ID: E1cbDCU-00057N-Hw@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Avoid redefining simplehash_allocate/simplehash_free.

There's no generic guard against multiple inclusion in this file,
for good reason. But these typedefs need one, as per a report
from Jeff Janes.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/ac8eb972f268c787bfe7579b1747c3866fced5a9

Modified Files
--------------
src/include/lib/simplehash.h | 3 +++
1 file changed, 3 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2017-02-07 21:34:55 pgsql: Speed up "brin" regression test a little bit.
Previous Message Robert Haas 2017-02-07 21:02:21 pgsql: Allow the element allocator for a simplehash to be specified.