diff options
Diffstat (limited to 'src/include/nodes/nodes.h')
-rw-r--r-- | src/include/nodes/nodes.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/nodes/nodes.h b/src/include/nodes/nodes.h index c1d6c4c1ca5..161b53c25af 100644 --- a/src/include/nodes/nodes.h +++ b/src/include/nodes/nodes.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: nodes.h,v 1.63 2000/01/26 05:58:16 momjian Exp $ + * $Id: nodes.h,v 1.64 2000/02/15 20:49:24 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -257,6 +257,9 @@ typedef struct Node (IsA(t, Noname) || IsA(t, Material) || IsA(t, Sort) || \ IsA(t, Unique)) +#define IsA_Value(t) \ + (IsA(t, Integer) || IsA(t, Float) || IsA(t, String)) + /* ---------------------------------------------------------------- * extern declarations follow * ---------------------------------------------------------------- |