diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2011-11-27 12:57:11 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2011-11-27 12:57:11 -0500 |
commit | 8722a1a06aedbbbeb4f848a7b9ee62d6ae8649c6 (patch) | |
tree | 83599b18a88da9b7c4947b4e9ae54bd2a510050c /src/backend/access/gist/gistutil.c | |
parent | 4a9018135a37203e176a561913453b38788ac7da (diff) | |
download | postgresql-8722a1a06aedbbbeb4f848a7b9ee62d6ae8649c6.tar.gz postgresql-8722a1a06aedbbbeb4f848a7b9ee62d6ae8649c6.zip |
Use the proper macro to convert a bool to a Datum.
The original coding was
var->value = (Datum) state;
which is bogus, and then in commit 2f0f7b4bce13e68394543728801ef011fd82fac6
it was "corrected" to
var->value = PointerGetDatum(state);
which is a faithful translation but still wrong.
This seems purely cosmetic, though, so no need for a back-patch.
Pavel Stehule
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions