From e67ff6b6706540f16640e5025864d6063130b502 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 21 Aug 2000 17:22:36 +0000 Subject: fmgr interface mopup work. Use new DatumGetBool and BoolGetDatum macros where appropriate (the code used to have several different ways of doing that, including Int32, Int8, UInt8, ...). Remove last few references to float32 and float64 typedefs --- it's all float4/float8 now. The typedefs themselves should probably stay in c.h for a release or two, though, to avoid breaking user-written C functions. --- src/backend/commands/command.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/commands/command.c') diff --git a/src/backend/commands/command.c b/src/backend/commands/command.c index 68487f64ffc..13d0ad56497 100644 --- a/src/backend/commands/command.c +++ b/src/backend/commands/command.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.94 2000/08/04 04:16:06 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.95 2000/08/21 17:22:32 tgl Exp $ * * NOTES * The PerformAddAttribute() code, like most of the relation @@ -614,7 +614,7 @@ AlterTableAlterColumn(const char *relationName, Int16GetDatum(attnum)); ScanKeyEntryInitialize(&scankeys[2], 0x0, Anum_pg_attribute_atthasdef, F_BOOLEQ, - Int32GetDatum(TRUE)); + BoolGetDatum(true)); scan = heap_beginscan(attr_rel, false, SnapshotNow, 3, scankeys); AssertState(scan != NULL); -- cgit v1.2.3