Fix brain fade in e530be2c5ce77475d56ccf8f4e0c4872b666ad5f.

Robert Haas <rhaas@postgresql.org>

Commit: 8bb3ad462f8d53b67d2c4707e9dde6604a276bd9
Author: Robert Haas <rhaas@postgresql.org>
Date: 2022-07-26T19:12:09Z
Releases: 16.0
Fix brain fade in e530be2c5ce77475d56ccf8f4e0c4872b666ad5f.

The BoolGetDatum() call ended up in the wrong place. It should be
applied when we, err, want to convert a bool to a datum.

Thanks to Tom Lane for noticing this.

Discussion: http://postgr.es/m/2511599.1658861964@sss.pgh.pa.us

Files

PathChange+/−
src/backend/commands/user.c modified +2 −2

Discussion