diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2000-08-21 17:22:36 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2000-08-21 17:22:36 +0000 |
| commit | e67ff6b6706540f16640e5025864d6063130b502 (patch) | |
| tree | bb6de1596f3741d45e1d1db302aa82e363aa89de /src/include | |
| parent | b503cbe3194fd21686335bb05eb48d79f3c6384b (diff) | |
| download | postgresql-e67ff6b6706540f16640e5025864d6063130b502.tar.gz | |
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.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/c.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/c.h b/src/include/c.h index 2cd807d98c..8bdb40a58a 100644 --- a/src/include/c.h +++ b/src/include/c.h @@ -8,7 +8,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: c.h,v 1.80 2000/07/17 04:35:55 tgl Exp $ + * $Id: c.h,v 1.81 2000/08/21 17:22:32 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -186,6 +186,9 @@ typedef unsigned int uint32; /* == 32 bits */ * * Since sizeof(floatN) may be > sizeof(char *), always pass * floatN by reference. + * + * XXX: these typedefs are now deprecated in favor of float4 and float8. + * They will eventually go away. */ typedef float float32data; typedef double float64data; |
