Re: [HACKERS] taking stdbool.h into use

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>
Subject: Re: [HACKERS] taking stdbool.h into use
Date: 2017-12-28 18:45:54
Message-ID: d86ec1f4-941c-e702-b05a-748ea2e59e9c@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox
Thread:
Lists: pgsql-hackers

Here is a new patch set that picks up the best pieces of the recent
discussions: We use stdbool.h if available, use bool8 in the system
catalogs, define GinTernaryValue to be the same size as bool, and
rewrite the GinNullCategory code to work without casting.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Attachment Content-Type Size
v5-0001-Add-bool8-typedef-for-system-catalog-structs.patch text/plain 24.2 KB
v5-0002-Don-t-cast-between-GinNullCategory-and-bool.patch text/plain 5.0 KB
v5-0003-Make-casting-between-bool-and-GinTernaryValue-mor.patch text/plain 2.0 KB
v5-0004-Use-stdbool.h-if-available.patch text/plain 12.8 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2017-12-28 19:03:11 Re: pg_(total_)relation_size and partitioned tables
Previous Message Tels 2017-12-28 18:18:19 Re: plpgsql function startup-time improvements