pgsql: Fix brain fade in e530be2c5ce77475d56ccf8f4e0c4872b666ad5f.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix brain fade in e530be2c5ce77475d56ccf8f4e0c4872b666ad5f.
Date: 2022-07-26 19:14:36
Message-ID: E1oGQ0p-001Nbh-9Y@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8bb3ad462f8d53b67d2c4707e9dde6604a276bd9

Modified Files
--------------
src/backend/commands/user.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2022-07-26 19:38:28 pgsql: Improve makeArrayTypeName's algorithm for choosing array type na
Previous Message Robert Haas 2022-07-26 19:10:22 pgsql: Remove the restriction that the relmap must be 512 bytes.